Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
refactor: deprecate the database config (#15051)
ecmadaofec2057cf0f9
diff --git a/backend/api/v1/database_converter.go b/backend/api/v1/database_converter.goindex c960eef72d..5fb572ca32 100644--- a/backend/api/v1/database_converter.go+++ b/backend/api/v1/database_converter.go@@ -475,57 +475,6 @@ func convertStoreGenerationMetadata(generation *storepb.GenerationMetadata) *v1preturn meta}-func convertStoreDatabaseConfig(config *storepb.DatabaseConfig, filter *metadataFilter) *v1pb.DatabaseConfig {- databaseConfig := &v1pb.DatabaseConfig{- Name: config.Name,- }- for _, schema := range config.Schemas {- if schema == nil {- continue- }- if filter != nil && filter.schema != schema.Name {- continue- }- s := &v1pb.SchemaConfig{- Name: schema.Name,- }- for _, table := range schema.Tables {- if table == nil {- continue- }- if filter != nil && filter.table != table.Name {- continue- }- s.TableConfigs = append(s.TableConfigs, convertStoreTableConfig(table))- }- databaseConfig.SchemaConfigs = append(databaseConfig.SchemaConfigs, s)- }- return databaseConfig-}--func convertStoreTableConfig(table *storepb.TableCatalog) *v1pb.TableConfig {- t := &v1pb.TableConfig{- Name: table.Name,- ClassificationId: table.Classification,- }- for _, column := range table.Columns {- if column == nil {- continue- }- t.ColumnConfigs = append(t.ColumnConfigs, convertStoreColumnConfig(column))- }- return t-}--func convertStoreColumnConfig(column *storepb.ColumnCatalog) *v1pb.ColumnConfig {- return &v1pb.ColumnConfig{- Name: column.Name,- SemanticTypeId: column.SemanticType,- Labels: column.Labels,- ClassificationId: column.Classification,- }-}-func convertV1DatabaseMetadata(metadata *v1pb.DatabaseMetadata) (*storepb.DatabaseSchemaMetadata, error) {m := &storepb.DatabaseSchemaMetadata{Name: metadata.Name,@@ -946,49 +895,3 @@ func convertV1GenerationMetadata(generation *v1pb.GenerationMetadata) *storepb.G}return meta}--func convertV1DatabaseConfig(databaseConfig *v1pb.DatabaseConfig) *storepb.DatabaseConfig {- config := &storepb.DatabaseConfig{- Name: databaseConfig.Name,- }- for _, schema := range databaseConfig.SchemaConfigs {- if schema == nil {- continue- }- s := &storepb.SchemaCatalog{- Name: schema.Name,- }- for _, table := range schema.TableConfigs {- if table == nil {- continue- }-- s.Tables = append(s.Tables, convertV1TableConfig(table))- }- config.Schemas = append(config.Schemas, s)- }- return config-}--func convertV1TableConfig(table *v1pb.TableConfig) *storepb.TableCatalog {- t := &storepb.TableCatalog{- Name: table.Name,- Classification: table.ClassificationId,- }- for _, column := range table.ColumnConfigs {- if column == nil {- continue- }- t.Columns = append(t.Columns, convertV1ColumnConfig(column))- }- return t-}--func convertV1ColumnConfig(column *v1pb.ColumnConfig) *storepb.ColumnCatalog {- return &storepb.ColumnCatalog{- Name: column.Name,- SemanticType: column.SemanticTypeId,- Labels: column.Labels,- Classification: column.ClassificationId,- }-}diff --git a/backend/api/v1/database_service.go b/backend/api/v1/database_service.goindex a0d0b1fafb..6e108afb28 100644--- a/backend/api/v1/database_service.go+++ b/backend/api/v1/database_service.go@@ -506,10 +506,6 @@ func (s *DatabaseService) GetDatabaseMetadata(ctx context.Context, request *v1pbif err != nil {return nil, err}- dbConfig := convertStoreDatabaseConfig(dbSchema.GetConfig(), filter)- if dbConfig != nil {- v1pbMetadata.SchemaConfigs = dbConfig.SchemaConfigs- }v1pbMetadata.Name = fmt.Sprintf("%s%s/%s%s%s", common.InstanceNamePrefix, database.InstanceID, common.DatabaseIDPrefix, database.DatabaseName, common.MetadataSuffix)return v1pbMetadata, nildiff --git a/backend/api/v1/sql_service.go b/backend/api/v1/sql_service.goindex 0b2391aa48..e70f3b2ecb 100644--- a/backend/api/v1/sql_service.go+++ b/backend/api/v1/sql_service.go@@ -1518,14 +1518,12 @@ func (*SQLService) StringifyMetadata(_ context.Context, request *v1pb.StringifyMif err != nil {return nil, err}- config := convertV1DatabaseConfig(- &v1pb.DatabaseConfig{- Name: request.Metadata.Name,- SchemaConfigs: request.Metadata.SchemaConfigs,- },- )if !request.ClassificationFromConfig {+ if request.Catalog == nil {+ return nil, status.Errorf(codes.InvalidArgument, "database catalog is required")+ }+ config := convertDatabaseCatalog(request.GetCatalog())sanitizeCommentForSchemaMetadata(storeSchemaMetadata, model.NewDatabaseConfig(config), request.ClassificationFromConfig)}@@ -1570,24 +1568,16 @@ func (*SQLService) DiffMetadata(_ context.Context, request *v1pb.DiffMetadataReqif err != nil {return nil, err}- sourceConfig := convertV1DatabaseConfig(- &v1pb.DatabaseConfig{- Name: request.SourceMetadata.Name,- SchemaConfigs: request.SourceMetadata.SchemaConfigs,- },- )++ sourceConfig := convertDatabaseCatalog(request.GetSourceCatalog())sanitizeCommentForSchemaMetadata(storeSourceMetadata, model.NewDatabaseConfig(sourceConfig), request.ClassificationFromConfig)storeTargetMetadata, err := convertV1DatabaseMetadata(request.TargetMetadata)if err != nil {return nil, err}- targetConfig := convertV1DatabaseConfig(- &v1pb.DatabaseConfig{- Name: request.TargetMetadata.Name,- SchemaConfigs: request.TargetMetadata.SchemaConfigs,- },- )++ targetConfig := convertDatabaseCatalog(request.GetTargetCatalog())if err := checkDatabaseMetadata(storepb.Engine(request.Engine), storeTargetMetadata); err != nil {return nil, status.Errorf(codes.InvalidArgument, "invalid target metadata: %v", err)}diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vueindex be06327d78..f9b3bee57c 100644--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue@@ -132,13 +132,13 @@/></template>-<script lang="ts" setup>+<script lang="tsx" setup>import { cloneDeep, head, uniq } from "lodash-es";import { NTabs, NCheckbox, NButton, NTabPane, useDialog } from "naive-ui";import { v4 as uuidv4 } from "uuid";import type { PropType } from "vue";import { computed, onMounted, h, reactive, ref, watch } from "vue";-import { I18nT, useI18n } from "vue-i18n";+import { useI18n } from "vue-i18n";import { useRouter } from "vue-router";import { BBModal } from "@/bbkit";import { ActionConfirmModal } from "@/components/SchemaEditorLite";@@ -154,10 +154,12 @@ import {useDBSchemaV1Store,useAppFeature,useStorageStore,+ useDatabaseCatalogV1Store,} from "@/store";import type { ComposedDatabase } from "@/types";import { dialectOfEngineV1, isValidProjectName, unknownProject } from "@/types";import { Engine } from "@/types/proto/v1/common";+import type { DatabaseCatalog } from "@/types/proto/v1/database_catalog_service";import type { DatabaseMetadata } from "@/types/proto/v1/database_service";import { DatabaseMetadataView } from "@/types/proto/v1/database_service";import { DatabaseChangeMode } from "@/types/proto/v1/setting_service";@@ -232,6 +234,7 @@ const state = reactive<LocalState>({useOnlineSchemaMigration: false,});const databaseV1Store = useDatabaseV1Store();+const dbCatalogStore = useDatabaseCatalogV1Store();const notificationStore = useNotificationStore();const dbSchemaStore = useDBSchemaV1Store();const { runSQLCheck } = provideSQLCheckContext();@@ -289,6 +292,7 @@ const prepareDatabaseMetadata = async () => {const targets: {database: ComposedDatabase;metadata: DatabaseMetadata;+ catalog: DatabaseCatalog;}[] = [];for (let i = 0; i < databaseList.value.length; i++) {const database = databaseList.value[i];@@ -297,16 +301,23 @@ const prepareDatabaseMetadata = async () => {view: DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL,skipCache: true,});- targets.push({ database, metadata });+ const catalog = await dbCatalogStore.getOrFetchDatabaseCatalog({+ database: database.name,+ skipCache: true,+ });++ targets.push({ database, metadata, catalog });}timer.end("fetchMetadata", databaseList.value.length);timer.begin("convertEditTargets");- state.targets = targets.map<EditTarget>(({ database, metadata }) => {+ state.targets = targets.map<EditTarget>(({ database, metadata, catalog }) => {return {database,metadata: cloneDeep(metadata),baselineMetadata: metadata,+ catalog: cloneDeep(catalog),+ baselineCatalog: catalog,};});timer.end("convertEditTargets", databaseList.value.length);@@ -392,14 +403,22 @@ const generateDiffDDLMap = async (silent: boolean) => {}for (let i = 0; i < state.targets.length; i++) {const target = state.targets[i];- const { database, baselineMetadata: source, metadata } = target;- applyMetadataEdit(database, metadata);- const result = await generateSingleDiffDDL(+ const {database,- source,+ baselineMetadata: source,metadata,- /* !allowEmptyDiffDDLWithConfigChange */ false- );+ catalog,+ baselineCatalog,+ } = target;+ applyMetadataEdit(database, metadata, catalog);+ const result = await generateSingleDiffDDL({+ database,+ sourceMetadata: source,+ targetMetadata: metadata,+ sourceCatalog: baselineCatalog,+ targetCatalog: catalog,+ allowEmptyDiffDDLWithConfigChange: false,+ });if (result.errors.length > 0 && !silent) {pushNotification({@@ -522,15 +541,12 @@ const handlePreviewIssue = async () => {const renderEmptyGeneratedDDLContent = (databases: ComposedDatabase[]) => {const children = databases.map((database) => {- return h(- I18nT,- {- tag: "li",- keypath: "schema-editor.nothing-changed-for-database",- },- {- database: () => database.databaseName,- }+ return (+ <li>+ {t("schema-editor.nothing-changed-for-database", {+ database: database.databaseName,+ })}+ </li>);});return h(diff --git a/frontend/src/components/ColumnDataTable/LabelsCell.vue b/frontend/src/components/ColumnDataTable/LabelsCell.vueindex 522a98e278..7172f1db7b 100644--- a/frontend/src/components/ColumnDataTable/LabelsCell.vue+++ b/frontend/src/components/ColumnDataTable/LabelsCell.vue@@ -14,7 +14,7 @@v-if="state.showLabelsDrawer":show="true":readonly="!!readonly"- :title="$t('db.labels-for-resource', { resource: `'${column.name}'` })"+ :title="$t('db.labels-for-resource', { resource: `'${column}'` })":labels="[labels]"@dismiss="state.showLabelsDrawer = false"@apply="onLabelsApply($event)"@@ -26,23 +26,18 @@ import { computed } from "vue";import { reactive } from "vue";import { DatabaseLabelsCell } from "@/components/v2/Model/DatabaseV1Table/cells";import { useDatabaseCatalog, getColumnCatalog } from "@/store";-import type { ComposedDatabase } from "@/types";-import type {- ColumnMetadata,- TableMetadata,-} from "@/types/proto/v1/database_service";import LabelEditorDrawer from "../LabelEditorDrawer.vue";-import { updateColumnConfig } from "./utils";+import { updateColumnCatalog } from "./utils";type LocalState = {showLabelsDrawer: boolean;};const props = defineProps<{- database: ComposedDatabase;+ database: string;schema: string;- table: TableMetadata;- column: ColumnMetadata;+ table: string;+ column: string;readonly?: boolean;}>();@@ -50,10 +45,15 @@ const state = reactive<LocalState>({showLabelsDrawer: false,});-const databaseCatalog = useDatabaseCatalog(props.database.name, false);+const databaseCatalog = useDatabaseCatalog(props.database, false);const columnCatalog = computed(() =>- getColumnCatalog(databaseCatalog.value, props.schema, props.table.name, props.column.name)+ getColumnCatalog(+ databaseCatalog.value,+ props.schema,+ props.table,+ props.column+ ));const labels = computed(() => columnCatalog.value?.labels ?? {});@@ -63,11 +63,11 @@ const openLabelsDrawer = () => {};const onLabelsApply = async (labelsList: { [key: string]: string }[]) => {- await updateColumnConfig({- database: props.database.name,+ await updateColumnCatalog({+ database: props.database,schema: props.schema,- table: props.table.name,- column: props.column.name,+ table: props.table,+ column: props.column,columnCatalog: { labels: labelsList[0] },});};diff --git a/frontend/src/components/ColumnDataTable/SemanticTypeCell.vue b/frontend/src/components/ColumnDataTable/SemanticTypeCell.vueindex a645ce08e9..8ea27a488b 100644--- a/frontend/src/components/ColumnDataTable/SemanticTypeCell.vue+++ b/frontend/src/components/ColumnDataTable/SemanticTypeCell.vue@@ -49,7 +49,7 @@ import { useSubscriptionV1Store } from "@/store";import type { ComposedDatabase } from "@/types";import FeatureModal from "../FeatureGuard/FeatureModal.vue";import SemanticTypesDrawer from "../SensitiveData/components/SemanticTypesDrawer.vue";-import { updateColumnConfig } from "./utils";+import { updateColumnCatalog } from "./utils";type LocalState = {showFeatureModal: boolean;@@ -97,7 +97,7 @@ const openSemanticTypeDrawer = () => {};const onSemanticTypeApply = async (semanticType: string) => {- await updateColumnConfig({+ await updateColumnCatalog({database: props.database.name,schema: props.schema,table: props.table,diff --git a/frontend/src/components/ColumnDataTable/index.vue b/frontend/src/components/ColumnDataTable/index.vueindex 1be47ca6fe..cd9d5049a1 100644--- a/frontend/src/components/ColumnDataTable/index.vue+++ b/frontend/src/components/ColumnDataTable/index.vue@@ -36,7 +36,7 @@ import ClassificationCell from "./ClassificationCell.vue";import LabelsCell from "./LabelsCell.vue";import SemanticTypeCell from "./SemanticTypeCell.vue";import {- updateColumnConfig,+ updateColumnCatalog,supportSetClassificationFromComment,} from "./utils";@@ -255,10 +255,10 @@ const columns = computed(() => {width: 140,render: (column) => {return h(LabelsCell, {- database: props.database,+ database: props.database.name,schema: props.schema,- table: props.table,- column: column,+ table: props.table.name,+ column: column.name,readonly: !hasDatabaseCatalogPermission.value,});},@@ -281,7 +281,7 @@ const onClassificationIdApply = async (column: string,classification: string) => {- await updateColumnConfig({+ await updateColumnCatalog({database: props.database.name,schema: props.schema,table: props.table.name,diff --git a/frontend/src/components/ColumnDataTable/utils.ts b/frontend/src/components/ColumnDataTable/utils.tsindex df5741d2a8..49cff5a9b9 100644--- a/frontend/src/components/ColumnDataTable/utils.ts+++ b/frontend/src/components/ColumnDataTable/utils.ts@@ -25,7 +25,7 @@ export const supportSetClassificationFromComment = (return !classificationFromConfig;};-export const updateColumnConfig = async ({+export const updateColumnCatalog = async ({database,schema,table,@@ -83,7 +83,7 @@ export const updateColumnConfig = async ({});};-export const updateTableConfig = async ({+export const updateTableCatalog = async ({database,schema,table,diff --git a/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue b/frontend/src/components/Database/DatabaseSensitiveDataPanel.vueindex a4fd8c3f02..3d0e13f5dd 100644--- a/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue+++ b/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue@@ -96,7 +96,7 @@import { ShieldCheckIcon } from "lucide-vue-next";import { NButton } from "naive-ui";import { computed, reactive, watch } from "vue";-import { updateColumnConfig } from "@/components/ColumnDataTable/utils";+import { updateColumnCatalog } from "@/components/ColumnDataTable/utils";import {FeatureModal,FeatureBadge,@@ -220,7 +220,7 @@ const filteredColumnList = computed(() => {});const removeSensitiveColumn = async (sensitiveColumn: MaskData) => {- await updateColumnConfig({+ await updateColumnCatalog({database: props.database.name,schema: sensitiveColumn.schema,table: sensitiveColumn.table,diff --git a/frontend/src/components/SchemaEditorLite/Aside/Tree.vue b/frontend/src/components/SchemaEditorLite/Aside/Tree.vueindex 35c032c92f..4f9e7a08f7 100644--- a/frontend/src/components/SchemaEditorLite/Aside/Tree.vue+++ b/frontend/src/components/SchemaEditorLite/Aside/Tree.vue@@ -5,9 +5,7 @@<div class="w-full sticky top-0 pt-2 h-12 bg-white z-10"><NInputv-model:value="searchPattern"- :placeholder="- $t('schema-editor.search-database-and-table')- "+ :placeholder="$t('schema-editor.search-database-and-table')"><template #prefix><heroicons-outline:search class="w-4 h-auto text-gray-300" />@@ -199,7 +197,8 @@ const {getViewStatus,getProcedureStatus,getFunctionStatus,- upsertTableConfig,+ getTableCatalog,+ upsertTableCatalog,queuePendingScrollToTable,queuePendingScrollToColumn,} = useSchemaEditorContext();@@ -665,7 +664,6 @@ const handleDuplicateTable = (treeNode: TreeNodeForTable) => {newTable.columns.forEach((newColumn) => {markEditStatus(db,-{...treeNode.metadata,table: newTable,@@ -674,23 +672,26 @@ const handleDuplicateTable = (treeNode: TreeNodeForTable) => {"created");});- const tableConfig = treeNode.metadata.database.schemaConfigs- .find((sc) => sc.name === schema.name)- ?.tableConfigs.find((tc) => tc.name === table.name);- if (tableConfig) {- const tableConfigCopy = cloneDeep(tableConfig);- tableConfigCopy.name = newTable.name;- upsertTableConfig(- db,- {- ...treeNode.metadata,- table: newTable,- },- (config) => {- Object.assign(config, tableConfigCopy);- }- );- }++ upsertTableCatalog(+ {+ database: db.name,+ schema: schema.name,+ table: newTable.name,+ },+ (config) => {+ Object.assign(+ config,+ getTableCatalog({+ database: db.name,+ schema: schema.name,+ table: table.name,+ }),+ { name: newTable.name }+ );+ }+ );+addTab({type: "table",database: db,diff --git a/frontend/src/components/SchemaEditorLite/Aside/common.ts b/frontend/src/components/SchemaEditorLite/Aside/common.tsindex caa5344a14..5229d26200 100644--- a/frontend/src/components/SchemaEditorLite/Aside/common.ts+++ b/frontend/src/components/SchemaEditorLite/Aside/common.ts@@ -263,7 +263,6 @@ export const useBuildTree = () => {if (context.disableDiffColoring.value) {schemas = schemas.filter((schema) => {const status = context.getSchemaStatus(db, {- database,schema,});return status !== "dropped";diff --git a/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vueindex 4987ac60c8..dd9590dcfa 100644--- a/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue+++ b/frontend/src/components/SchemaEditorLite/Modals/FunctionNameModal.vue@@ -109,7 +109,6 @@ const handleConfirmButtonClick = async () => {markEditStatus(props.database,{- database: props.metadata,schema,function: func,},diff --git a/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vueindex 5f6ba90854..eacd55f525 100644--- a/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue+++ b/frontend/src/components/SchemaEditorLite/Modals/ProcedureNameModal.vue@@ -108,7 +108,6 @@ const handleConfirmButtonClick = async () => {markEditStatus(props.database,{- database: props.metadata,schema,procedure,},diff --git a/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vueindex f37c07e39c..b5b982d9bb 100644--- a/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue+++ b/frontend/src/components/SchemaEditorLite/Modals/SchemaNameModal.vue@@ -75,7 +75,6 @@ const handleConfirmButtonClick = async () => {markEditStatus(props.database,{- database: props.metadata,schema,},"created"diff --git a/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vueindex 8ef02026a8..ff6cba4169 100644--- a/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue+++ b/frontend/src/components/SchemaEditorLite/Modals/TableNameModal.vue@@ -67,8 +67,14 @@ const emit = defineEmits<{}>();const { t } = useI18n();-const { events, addTab, markEditStatus, queuePendingScrollToTable } =- useSchemaEditorContext();+const {+ events,+ addTab,+ markEditStatus,+ queuePendingScrollToTable,+ upsertTableCatalog,+ removeTableCatalog,+} = useSchemaEditorContext();const inputRef = ref<InputInst>();const notificationStore = useNotificationStore();const mode = computed(() => {@@ -109,7 +115,6 @@ const handleConfirmButtonClick = async () => {markEditStatus(props.database,{- database: props.metadata,schema,table,},@@ -126,7 +131,6 @@ const handleConfirmButtonClick = async () => {markEditStatus(props.database,{- database: props.metadata,schema,table,column,@@ -157,6 +161,22 @@ const handleConfirmButtonClick = async () => {});} else {const { table } = props;+ upsertTableCatalog(+ {+ database: props.database.name,+ schema: props.schema.name,+ table: table.name,+ },+ (catalog) => {+ catalog.name = state.tableName;+ }+ );+ removeTableCatalog({+ database: props.database.name,+ schema: props.schema.name,+ table: table.name,+ });+table.name = state.tableName;events.emit("rebuild-edit-status", {resets: ["tree"],diff --git a/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue b/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vueindex ac3f3a6110..ccb81bcfaf 100644--- a/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue+++ b/frontend/src/components/SchemaEditorLite/Modals/ViewNameModal.vue@@ -101,7 +101,6 @@ const handleConfirmButtonClick = async () => {markEditStatus(props.database,{- database: props.metadata,schema,view,},diff --git a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vueindex 87156c8821..3efa758348 100644--- a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue@@ -212,7 +212,7 @@ const {addTab,getSchemaStatus,markEditStatus,- upsertTableConfig,+ upsertTableCatalog,queuePendingScrollToTable,} = context;const state = reactive<LocalState>({@@ -237,7 +237,6 @@ const allowCreateTable = computed(() => {if (!schema) return false;if (engine.value === Engine.POSTGRES) {const status = getSchemaStatus(props.db, {- database: props.database,schema,});@@ -255,7 +254,6 @@ const schemaSelectorOptionList = computed(() => {const schemas = disableDiffColoring.value? props.database.schemas.filter((schema) => {const status = getSchemaStatus(props.db, {- database: props.database,schema,});return status !== "dropped";@@ -368,9 +366,16 @@ const handleApplyTemplate = (template: SchemaTemplateSetting_TableTemplate) => {};const { db } = props;if (template.catalog) {- upsertTableConfig(db, metadataForTable(), (config) => {- Object.assign(config, template.catalog);- });+ upsertTableCatalog(+ {+ database: props.db.name,+ schema: schema.name,+ table: table.name,+ },+ (catalog) => {+ Object.assign(catalog, template.catalog);+ }+ );}markEditStatus(db, metadataForTable(), "created");table.columns.forEach((column) => {diff --git a/frontend/src/components/SchemaEditorLite/Panels/FunctionEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/FunctionEditor.vueindex 5ebbe6a077..b5399118e8 100644--- a/frontend/src/components/SchemaEditorLite/Panels/FunctionEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/FunctionEditor.vue@@ -32,13 +32,11 @@ const { readonly, markEditStatus, getSchemaStatus, getFunctionStatus } =const statusForSchema = () => {return getSchemaStatus(props.db, {- database: props.database,schema: props.schema,});};const status = computed(() => {return getFunctionStatus(props.db, {- database: props.database,schema: props.schema,function: props.func,});@@ -47,7 +45,6 @@ const markStatus = (status: EditStatus) => {markEditStatus(props.db,{- database: props.database,schema: props.schema,function: props.func,},diff --git a/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vueindex 5ec89f8a04..a96e5e0fa3 100644--- a/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/PartitionsEditor/PartitionsEditor.vue@@ -107,7 +107,6 @@ const {const tableStatus = computed(() => {return getTableStatus(props.db, {- database: props.database,schema: props.schema,table: props.table,});diff --git a/frontend/src/components/SchemaEditorLite/Panels/PreviewPane.vue b/frontend/src/components/SchemaEditorLite/Panels/PreviewPane.vueindex dcc65faf80..20862642c6 100644--- a/frontend/src/components/SchemaEditorLite/Panels/PreviewPane.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/PreviewPane.vue@@ -56,6 +56,7 @@ import { MonacoEditor } from "@/components/MonacoEditor";import MaskSpinner from "@/components/misc/MaskSpinner.vue";import { sqlServiceClient } from "@/grpcweb";import type { ComposedDatabase } from "@/types";+import type { DatabaseCatalog } from "@/types/proto/v1/database_catalog_service";import {DatabaseMetadata,SchemaMetadata,@@ -69,7 +70,7 @@ const props = defineProps<{database: DatabaseMetadata;schema: SchemaMetadata;title: string;- mocked: DatabaseMetadata | undefined;+ mocked: { metadata: DatabaseMetadata; catalog: DatabaseCatalog } | undefined;}>();const { hidePreview } = useSchemaEditorContext();@@ -92,13 +93,15 @@ const { status, data, error } = useQuery({queryKey: [engine, debouncedMocked],queryFn: async () => {if (!expanded.value) return "";- const metadata = debouncedMocked.value;- if (!metadata) return "";+ if (!debouncedMocked.value) return "";+ const { metadata, catalog } = debouncedMocked.value;+try {const response = await sqlServiceClient.stringifyMetadata({engine: engine.value,metadata,+ catalog,},{silent: true,diff --git a/frontend/src/components/SchemaEditorLite/Panels/ProcedureEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/ProcedureEditor.vueindex 982700dde6..a7f16f9557 100644--- a/frontend/src/components/SchemaEditorLite/Panels/ProcedureEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/ProcedureEditor.vue@@ -32,13 +32,11 @@ const { readonly, markEditStatus, getSchemaStatus, getProcedureStatus } =const statusForSchema = () => {return getSchemaStatus(props.db, {- database: props.database,schema: props.schema,});};const status = computed(() => {return getProcedureStatus(props.db, {- database: props.database,schema: props.schema,procedure: props.procedure,});@@ -47,7 +45,6 @@ const markStatus = (status: EditStatus) => {markEditStatus(props.db,{- database: props.database,schema: props.schema,procedure: props.procedure,},diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vueindex e8ddc82ae3..615a1d1fb0 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue@@ -49,7 +49,7 @@resource: `'${state.pendingUpdateColumn.name}'`,})"- :labels="[configForColumn(state.pendingUpdateColumn).labels]"+ :labels="[catalogForColumn(state.pendingUpdateColumn.name).labels]"@dismiss="state.showLabelsDrawer = false"@apply="onLabelsApply"/>@@ -66,9 +66,10 @@ import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.import LabelEditorDrawer from "@/components/LabelEditorDrawer.vue";import SemanticTypesDrawer from "@/components/SensitiveData/components/SemanticTypesDrawer.vue";import { InlineInput } from "@/components/v2";-import { useSettingV1Store } from "@/store/modules";+import { useSettingV1Store, hasFeature } from "@/store";import type { ComposedDatabase } from "@/types";import { Engine } from "@/types/proto/v1/common";+import { ColumnCatalog } from "@/types/proto/v1/database_catalog_service";import type {ColumnMetadata,DatabaseMetadata,@@ -76,7 +77,6 @@ import type {SchemaMetadata,TableMetadata,} from "@/types/proto/v1/database_service";-import { ColumnConfig } from "@/types/proto/v1/database_service";import { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";import ColumnDefaultValueExpressionModal from "../../Modals/ColumnDefaultValueExpressionModal.vue";import { useSchemaEditorContext } from "../../context";@@ -90,6 +90,8 @@ import {ReorderCell,SelectionCell,DefaultValueCell,+ SemanticTypeCell,+ LabelsCell,} from "./components";interface LocalState {@@ -108,11 +110,12 @@ const props = withDefaults(schema: SchemaMetadata;table: TableMetadata;engine: Engine;- classificationConfigId?: string;disableChangeTable?: boolean;allowChangePrimaryKeys?: boolean;allowReorderColumns?: boolean;maxBodyHeight?: number;+ showDatabaseCatalogColumn?: boolean;+ showClassificationColumn?: "ALWAYS" | "AUTO";filterColumn?: (column: ColumnMetadata) => boolean;disableAlterColumn?: (column: ColumnMetadata) => boolean;getColumnItemComputedClassList?: (column: ColumnMetadata) => string;@@ -124,7 +127,8 @@ const props = withDefaults(allowChangePrimaryKeys: false,allowReorderColumns: false,maxBodyHeight: undefined,- classificationConfigId: "",+ showDatabaseCatalogColumn: false,+ showClassificationColumn: "AUTO",filterColumn: (_: ColumnMetadata) => true,disableAlterColumn: (_: ColumnMetadata) => false,getColumnItemComputedClassList: (_: ColumnMetadata) => "",@@ -164,13 +168,14 @@ const state = reactive<LocalState>({const {classificationConfig,- showClassificationColumn,+ showClassificationColumn: canShowClassificationColumn,disableDiffColoring,selectionEnabled,markEditStatus,getColumnStatus,- getColumnConfig,- upsertColumnConfig,+ getColumnCatalog,+ removeColumnCatalog,+ upsertColumnCatalog,useConsumePendingScrollToColumn,getAllColumnsSelectionState,updateAllColumnsSelection,@@ -207,9 +212,11 @@ const metadataForColumn = (column: ColumnMetadata) => {column,};};+const statusForColumn = (column: ColumnMetadata) => {return getColumnStatus(props.db, metadataForColumn(column));};+const markColumnStatus = (column: ColumnMetadata,status: EditStatus,@@ -228,12 +235,21 @@ const markColumnStatus = (markEditStatus(props.db, metadataForColumn(column), status);};-const configForColumn = (column: ColumnMetadata) => {+const semanticTypeList = computed(() => {+ return (+ settingStore.getSettingByName("bb.workspace.semantic-types")?.value+ ?.semanticTypeSettingValue?.types ?? []+ );+});++const catalogForColumn = (column: string) => {return (- getColumnConfig(props.db, metadataForColumn(column)) ??- ColumnConfig.fromPartial({- name: column.name,- })+ getColumnCatalog({+ database: props.db.name,+ schema: props.schema.name,+ table: props.table.name,+ column,+ }) ?? ColumnCatalog.fromPartial({ name: column }));};@@ -241,19 +257,25 @@ const primaryKey = computed(() => {return props.table.indexes.find((idx) => idx.primary);});-const semanticTypeList = computed(() => {+const showClassification = computed(() => {return (- settingStore.getSettingByName("bb.workspace.semantic-types")?.value- ?.semanticTypeSettingValue?.types ?? []+ props.showClassificationColumn === "ALWAYS" ||+ canShowClassificationColumn(+ props.engine,+ classificationConfig.value?.classificationFromConfig ?? false+ ));});-const showClassification = computed(() => {- return showClassificationColumn(- props.engine,- classificationConfig.value?.classificationFromConfig ?? false- );-});+const openSemanticTypeDrawer = (column: ColumnMetadata) => {+ state.pendingUpdateColumn = column;+ state.showSemanticTypesDrawer = true;+};++const openLabelsDrawer = (column: ColumnMetadata) => {+ state.pendingUpdateColumn = column;+ state.showLabelsDrawer = true;+};const columns = computed(() => {const columns: (DataTableColumn<ColumnMetadata> & { hide?: boolean })[] = [@@ -299,7 +321,6 @@ const columns = computed(() => {className: "!px-0",render: (column, index) => {return h(ReorderCell, {- column,allowMoveUp: index > 0,allowMoveDown: index < shownColumnList.value.length - 1,disabled: props.disableChangeTable,@@ -324,13 +345,55 @@ const columns = computed(() => {"--n-text-color-disabled": "rgb(var(--color-main))",},"onUpdate:value": (value: string) => {+ upsertColumnCatalog(+ {+ database: props.db.name,+ schema: props.schema.name,+ table: props.table.name,+ column: column.name,+ },+ (catalog) => {+ catalog.name = value;+ }+ );+ removeColumnCatalog({+ database: props.db.name,+ schema: props.schema.name,+ table: props.table.name,+ column: column.name,+ });const oldStatus = statusForColumn(column);+column.name = value;markColumnStatus(column, "updated", oldStatus);},});},},+ {+ key: "semantic-types",+ title: t("settings.sensitive-data.semantic-types.table.semantic-type"),+ resizable: true,+ minWidth: 140,+ maxWidth: 320,+ hide:+ !props.showDatabaseCatalogColumn ||+ !hasFeature("bb.feature.sensitive-data"),+ render: (column) => {+ return h(SemanticTypeCell, {+ database: props.database.name,+ schema: props.schema.name,+ table: props.table.name,+ column: column.name,+ readonly: props.readonly,+ disabled:+ props.disableChangeTable || props.disableAlterColumn(column),+ semanticTypeList: semanticTypeList.value,+ onRemove: () => onSemanticTypeRemove(column),+ onEdit: () => openSemanticTypeDrawer(column),+ });+ },+ },{key: "classification",title: t("schema-editor.column.classification"),@@ -339,10 +402,9 @@ const columns = computed(() => {minWidth: 140,maxWidth: 320,render: (column) => {- // TODO(ed): use catalog- const config = configForColumn(column);+ const config = catalogForColumn(column.name);return h(ClassificationCell, {- classification: config.classificationId,+ classification: config.classification,readonly: props.readonly,disabled: props.disableChangeTable,classificationConfig:@@ -505,6 +567,25 @@ const columns = computed(() => {});},},+ {+ key: "labels",+ title: t("common.labels"),+ resizable: true,+ minWidth: 140,+ maxWidth: 320,+ hide: !props.showDatabaseCatalogColumn,+ render: (column) => {+ return h(LabelsCell, {+ database: props.database.name,+ schema: props.schema.name,+ table: props.table.name,+ column: column.name,+ readonly: props.readonly,+ disabled: props.disableChangeTable,+ onEdit: () => openLabelsDrawer(column),+ });+ },+ },{key: "operations",title: "",@@ -514,7 +595,6 @@ const columns = computed(() => {className: "!px-0",render: (column) => {return h(OperationCell, {- column,dropped: isDroppedColumn(column),disabled: props.disableChangeTable,onDrop: () => emit("drop", column),@@ -625,41 +705,56 @@ const handleSelectColumnDefaultValueExpression = (expression: string) => {markColumnStatus(column, "updated");};-const onClassificationSelect = (classificationId: string) => {+const onSemanticTypeApply = async (semanticTypeId: string) => {if (!state.pendingUpdateColumn) {return;}- markColumnStatus(state.pendingUpdateColumn, "updated");- updateColumnConfig(state.pendingUpdateColumn, (config) => {- config.classificationId = classificationId;+ updateColumnConfig(state.pendingUpdateColumn, (catalog) => {+ catalog.semanticType = semanticTypeId;});};-const updateColumnConfig = (- column: ColumnMetadata,- update: (config: ColumnConfig) => void-) => {- upsertColumnConfig(props.db, metadataForColumn(column), update);+const onSemanticTypeRemove = async (column: ColumnMetadata) => {markColumnStatus(column, "updated");+ updateColumnConfig(column, (catalog) => {+ catalog.semanticType = "";+ });};-const onSemanticTypeApply = async (semanticTypeId: string) => {+const onClassificationSelect = (classificationId: string) => {if (!state.pendingUpdateColumn) {return;}- updateColumnConfig(state.pendingUpdateColumn, (config) => {- config.semanticTypeId = semanticTypeId;+ markColumnStatus(state.pendingUpdateColumn, "updated");+ updateColumnConfig(state.pendingUpdateColumn, (catalog) => {+ catalog.classification = classificationId;});};+const updateColumnConfig = (+ column: ColumnMetadata,+ update: (config: ColumnCatalog) => void+) => {+ upsertColumnCatalog(+ {+ database: props.db.name,+ schema: props.schema.name,+ table: props.table.name,+ column: column.name,+ },+ update+ );+ markColumnStatus(column, "updated");+};+const onLabelsApply = (labelsList: { [key: string]: string }[]) => {if (!state.pendingUpdateColumn) {return;}- updateColumnConfig(state.pendingUpdateColumn, (config) => {- config.labels = labelsList[0];+ updateColumnConfig(state.pendingUpdateColumn, (catalog) => {+ catalog.labels = labelsList[0];});markColumnStatus(state.pendingUpdateColumn, "updated");};diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/LabelsCell.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/LabelsCell.vueindex 10cbd2aefc..9b99d4ac74 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/LabelsCell.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/LabelsCell.vue@@ -1,6 +1,6 @@<template><div class="flex justify-start items-center">- <DatabaseLabelsCell :labels="columnConfig?.labels ?? {}" :show-count="1" />+ <DatabaseLabelsCell :labels="columnCatalog?.labels ?? {}" :show-count="1" /><MiniActionButton v-if="!readonly && !disabled" @click="$emit('edit')"><PencilIcon class="w-3 h-3" /></MiniActionButton>@@ -13,20 +13,12 @@ import { computed } from "vue";import { useSchemaEditorContext } from "@/components/SchemaEditorLite/context";import { MiniActionButton } from "@/components/v2";import { DatabaseLabelsCell } from "@/components/v2/Model/DatabaseV1Table/cells";-import type { ComposedDatabase } from "@/types";-import type {- ColumnMetadata,- DatabaseMetadata,- SchemaMetadata,- TableMetadata,-} from "@/types/proto/v1/database_service";const props = defineProps<{- db: ComposedDatabase;- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;- column: ColumnMetadata;+ database: string;+ schema: string;+ table: string;+ column: string;readonly?: boolean;disabled?: boolean;}>();@@ -34,10 +26,10 @@ defineEmits<{(event: "edit"): void;}>();-const { getColumnConfig } = useSchemaEditorContext();+const { getColumnCatalog } = useSchemaEditorContext();-const columnConfig = computed(() => {- return getColumnConfig(props.db, {+const columnCatalog = computed(() => {+ return getColumnCatalog({database: props.database,schema: props.schema,table: props.table,diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/OperationCell.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/OperationCell.vueindex f43c96312b..effe6e41f9 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/OperationCell.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/OperationCell.vue@@ -27,10 +27,8 @@import { TrashIcon, Undo2Icon } from "lucide-vue-next";import { NTooltip } from "naive-ui";import { MiniActionButton } from "@/components/v2";-import type { ColumnMetadata } from "@/types/proto/v1/database_service";defineProps<{- column: ColumnMetadata;dropped?: boolean;disabled?: boolean;}>();diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ReorderCell.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ReorderCell.vueindex be66f1f943..9b238e942f 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ReorderCell.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ReorderCell.vue@@ -17,10 +17,8 @@<script setup lang="ts">import { ChevronDownIcon, ChevronUpIcon } from "lucide-vue-next";import { MiniActionButton } from "@/components/v2";-import type { ColumnMetadata } from "@/types/proto/v1/database_service";defineProps<{- column: ColumnMetadata;allowMoveUp?: boolean;allowMoveDown?: boolean;disabled?: boolean;diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/SemanticTypeCell.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/SemanticTypeCell.vueindex 5fda1e79f9..e4bae9d0fa 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/SemanticTypeCell.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/SemanticTypeCell.vue@@ -2,18 +2,15 @@<div class="flex flex-row flex-wrap whitespace-nowrap"><span v-if="semanticType?.title">{{ semanticType?.title }}</span><span v-else class="text-control-placeholder italic">N/A</span>- <template v-if="!readonly && !disabled">+ <template v-if="!readonly"><MiniActionButtonv-if="semanticType"- :disabled="disableAlterColumn(column)"+ :disabled="disabled"@click.prevent="$emit('remove')"><XIcon class="w-3 h-3" /></MiniActionButton>- <MiniActionButton- :disabled="disableAlterColumn(column)"- @click.prevent="$emit('edit')"- >+ <MiniActionButton :disabled="disabled" @click.prevent="$emit('edit')"><PencilIcon class="w-3 h-3" /></MiniActionButton></template>@@ -25,36 +22,27 @@ import { PencilIcon, XIcon } from "lucide-vue-next";import { computed } from "vue";import { useSchemaEditorContext } from "@/components/SchemaEditorLite/context";import { MiniActionButton } from "@/components/v2";-import type { ComposedDatabase } from "@/types";-import type {- ColumnMetadata,- DatabaseMetadata,- SchemaMetadata,- TableMetadata,-} from "@/types/proto/v1/database_service";import type { SemanticTypeSetting_SemanticType as SemanticType } from "@/types/proto/v1/setting_service";const props = defineProps<{- db: ComposedDatabase;- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;- column: ColumnMetadata;+ database: string;+ schema: string;+ table: string;+ column: string;readonly?: boolean;- disabled?: boolean;+ disabled: boolean;semanticTypeList: SemanticType[];- disableAlterColumn: (column: ColumnMetadata) => boolean;}>();+defineEmits<{(event: "edit"): void;(event: "remove"): void;}>();-const { getColumnConfig } = useSchemaEditorContext();+const { getColumnCatalog } = useSchemaEditorContext();-const columnConfig = computed(() => {- // TODO: use catalog- return getColumnConfig(props.db, {+const columnCatalog = computed(() => {+ return getColumnCatalog({database: props.database,schema: props.schema,table: props.table,@@ -64,10 +52,10 @@ const columnConfig = computed(() => {const semanticType = computed(() => {const { semanticTypeList } = props;- const config = columnConfig.value;- if (!config?.semanticTypeId) {+ const catalog = columnCatalog.value;+ if (!catalog?.semanticType) {return;}- return semanticTypeList.find((data) => data.id === config.semanticTypeId);+ return semanticTypeList.find((data) => data.id === catalog.semanticType);});</script>diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vueindex f6f4e7a443..15a60d64c6 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue@@ -110,7 +110,6 @@:schema="schema":table="table":engine="engine"- :classification-config-id="project.dataClassificationConfigId":disable-change-table="disableChangeTable":allow-change-primary-keys="allowChangePrimaryKeys":allow-reorder-columns="allowReorderColumns"@@ -120,6 +119,7 @@":disable-alter-column="disableAlterColumn":get-column-item-computed-class-list="getColumnItemComputedClassList"+ :show-database-catalog-column="false"@drop="handleDropColumn"@restore="handleRestoreColumn"@reorder="handleReorderColumn"@@ -200,9 +200,12 @@ import { IndexIcon, TablePartitionIcon } from "@/components/Icon";import { Drawer, DrawerContent } from "@/components/v2";import { hasFeature, pushNotification } from "@/store/modules";import type { ComposedDatabase } from "@/types";+import {+ DatabaseCatalog,+ SchemaCatalog,+} from "@/types/proto/v1/database_catalog_service";import {DatabaseMetadata,- SchemaConfig,type ForeignKeyMetadata,type SchemaMetadata,type TableMetadata,@@ -262,7 +265,6 @@ interface LocalState {const { t } = useI18n();const {- project,readonly,events,options,@@ -272,7 +274,9 @@ const {getSchemaStatus,getTableStatus,getColumnStatus,- upsertColumnConfig,+ getDatabaseCatalog,+ removeColumnCatalog,+ upsertColumnCatalog,queuePendingScrollToColumn,selectionEnabled,} = useSchemaEditorContext();@@ -301,13 +305,11 @@ const metadataForColumn = (column: ColumnMetadata) => {};const statusForSchema = () => {return getSchemaStatus(props.db, {- database: props.database,schema: props.schema,});};const statusForTable = () => {return getTableStatus(props.db, {- database: props.database,schema: props.schema,table: props.table,});@@ -422,9 +424,17 @@ const handleApplyColumnTemplate = (/* eslint-disable-next-line vue/no-mutating-props */props.table.columns.push(column);if (template.catalog) {- upsertColumnConfig(props.db, metadataForColumn(column), (config) => {- Object.assign(config, template.catalog);- });+ upsertColumnCatalog(+ {+ database: props.db.name,+ schema: props.schema.name,+ table: props.table.name,+ column: template.column.name,+ },+ (catalog) => {+ Object.assign(catalog, template.catalog);+ }+ );}markColumnStatus(column, "created");queuePendingScrollToColumn({@@ -460,7 +470,6 @@ const handleAddPartition = () => {markEditStatus(props.db,{- database: props.database,schema: props.schema,table: props.table,partition,@@ -554,6 +563,12 @@ const handleDropColumn = (column: ColumnMetadata) => {removeColumnPrimaryKey(table, column.name);removeColumnFromAllForeignKeys(table, column.name);+ removeColumnCatalog({+ database: props.db.name,+ schema: props.schema.name,+ table: props.table.name,+ column: column.name,+ });} else {markColumnStatus(column, "dropped");}@@ -580,13 +595,14 @@ const handleReorderColumn = (const mocked = computed(() => {const { db, database, schema, table } = props;+ const databaseCatalog = getDatabaseCatalog(db.name);const mockedTable = cloneDeep(table);mockedTable.columns = mockedTable.columns.filter((column) => {- const status = getColumnStatus(db, { database, schema, table, column });+ const status = getColumnStatus(db, { schema, table, column });return status !== "dropped";});- const mockedDatabase = DatabaseMetadata.fromJSON({+ const mockedDatabase = DatabaseMetadata.fromPartial({name: database.name,characterSet: database.characterSet,collation: database.collation,@@ -597,21 +613,24 @@ const mocked = computed(() => {},],});- const schemaConfig = database.schemaConfigs.find(+ const mockedCatalog = DatabaseCatalog.fromPartial({+ name: database.name,+ });+ const schemaCatalog = databaseCatalog.schemas.find((sc) => sc.name === schema.name);- const tableConfig = schemaConfig?.tableConfigs.find(+ const tableCatalog = schemaCatalog?.tables.find((tc) => tc.name === table.name);- if (schemaConfig && tableConfig) {- mockedDatabase.schemaConfigs = [- SchemaConfig.fromJSON({- name: schemaConfig.name,- tableConfigs: [cloneDeep(tableConfig)],+ if (schemaCatalog && tableCatalog) {+ mockedCatalog.schemas = [+ SchemaCatalog.fromPartial({+ ...schemaCatalog,+ tables: [cloneDeep(tableCatalog)],}),];}- return mockedDatabase;+ return { metadata: mockedDatabase, catalog: mockedCatalog };});const markTableStatus = (status: EditStatus) => {@@ -625,7 +644,6 @@ const markTableStatus = (status: EditStatus) => {markEditStatus(props.db,{- database: props.database,schema: props.schema,table: props.table,},diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vueindex ee3a111c49..00cf07710f 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue@@ -58,12 +58,15 @@ import FeatureModal from "@/components/FeatureGuard/FeatureModal.vue";import { Drawer, DrawerContent, InlineInput } from "@/components/v2";import { hasFeature } from "@/store";import type { ComposedDatabase } from "@/types";+import {+ TableCatalog,+ TableCatalog_Columns,+} from "@/types/proto/v1/database_catalog_service";import type {DatabaseMetadata,SchemaMetadata,TableMetadata,} from "@/types/proto/v1/database_service";-import { TableConfig } from "@/types/proto/v1/database_service";import type { SchemaTemplateSetting_TableTemplate } from "@/types/proto/v1/setting_service";import { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";import TableTemplates from "@/views/SchemaTemplate/TableTemplates.vue";@@ -106,9 +109,9 @@ const {markEditStatus,removeEditStatus,getSchemaStatus,- getTableConfig,+ getTableCatalog,getTableStatus,- upsertTableConfig,+ upsertTableCatalog,useConsumePendingScrollToTable,getAllTablesSelectionState,updateAllTablesSelection,@@ -152,11 +155,16 @@ const engine = computed(() => {return props.db.instanceResource.engine;});-const configForTable = (table: TableMetadata) => {+const catalogForTable = (table: string) => {return (- getTableConfig(props.db, { schema: props.schema, table }) ??- TableConfig.fromPartial({- name: table.name,+ getTableCatalog({+ database: props.db.name,+ schema: props.schema.name,+ table,+ }) ??+ TableCatalog.fromPartial({+ name: table,+ columns: TableCatalog_Columns.fromPartial({}),}));};@@ -172,10 +180,13 @@ const onClassificationSelect = (classificationId: string) => {const table = state.activeTable;if (!table) return;- upsertTableConfig(- props.db,- metadataForTable(table),- (config) => (config.classificationId = classificationId)+ upsertTableCatalog(+ {+ database: props.db.name,+ schema: props.schema.name,+ table: table.name,+ },+ (config) => (config.classification = classificationId));state.activeTable = undefined;@@ -201,7 +212,6 @@ const classesForRow = (table: TableMetadata) => {const isDroppedSchema = computed(() => {return (getSchemaStatus(props.db, {- database: props.database,schema: props.schema,}) === "dropped");@@ -263,10 +273,9 @@ const columns = computed(() => {maxWidth: 320,hide: !showClassification.value,render: (table) => {- // TODO(ed): use catalog- const config = configForTable(table);+ const catalog = catalogForTable(table.name);return h(ClassificationCell, {- classification: config.classificationId,+ classification: catalog.classification,readonly: readonly.value,disabled: isDroppedSchema.value || isDroppedTable(table),classificationConfig:@@ -383,8 +392,14 @@ const handleApplyTemplate = (template: SchemaTemplateSetting_TableTemplate) => {/* eslint-disable-next-line vue/no-mutating-props */props.schema.tables.push(table);const metadata = metadataForTable(table);- upsertTableConfig(props.db, metadata, (catalog) =>- Object.assign(catalog, template.catalog)++ upsertTableCatalog(+ {+ database: props.db.name,+ schema: props.schema.name,+ table: table.name,+ },+ (catalog) => Object.assign(catalog, template.catalog));markEditStatus(props.db, metadata, "created");diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableSchemaPreview.vue b/frontend/src/components/SchemaEditorLite/Panels/TableSchemaPreview.vuedeleted file mode 100644index 60b35bf6d7..0000000000--- a/frontend/src/components/SchemaEditorLite/Panels/TableSchemaPreview.vue+++ /dev/null@@ -1,150 +0,0 @@-<template>- <div- v-show="layoutReady"- class="overflow-hidden flex flex-col items-stretch shrink-0 transition-all"- :style="{- height: expanded ? `${panelHeight}px` : '1rem',- }"- :data-parent-height="parentHeight"- >- <div- class="cursor-pointer flex items-center justify-start px-2 gap-1 overflow-y-visible bg-control-bg hover:bg-control-bg-hover"- :style="{- height: '1rem',- }"- @click="expanded = !expanded"- >- <ChevronDownIcon- class="w-4 h-4 transition-transform"- :class="expanded ? '' : 'rotate-180'"- />- <span v-if="true || expanded" class="text-xs origin-left">- {{ $t("schema-editor.preview-schema-text") }}- </span>- </div>- <div class="relative flex-1 overflow-hidden">- <MonacoEditor- v-if="status === 'pending' || status === 'success'"- :readonly="true"- :content="data?.trim() ?? ''"- :options="{- fontSize: '12px',- lineHeight: '18px',- }"- class="w-full h-full"- />- <pre v-if="expanded && status === 'error'" class="text-sm text-error">{{- error?.message ?? "Unknown error"- }}</pre>- <MaskSpinner v-if="status === 'pending'" />- </div>- </div>-</template>--<script setup lang="ts">-import { useQuery } from "@tanstack/vue-query";-import {- useElementSize,- useLocalStorage,- useParentElement,-} from "@vueuse/core";-import { cloneDeep } from "lodash-es";-import { ChevronDownIcon } from "lucide-vue-next";-import { computed } from "vue";-import { MonacoEditor } from "@/components/MonacoEditor";-import MaskSpinner from "@/components/misc/MaskSpinner.vue";-import { sqlServiceClient } from "@/grpcweb";-import type { ComposedDatabase } from "@/types";-import {- DatabaseMetadata,- SchemaConfig,- SchemaMetadata,- type TableMetadata,-} from "@/types/proto/v1/database_service";-import { minmax } from "@/utils";-import { extractGrpcErrorMessage } from "@/utils/grpcweb";-import { useSchemaEditorContext } from "../context";--const props = defineProps<{- db: ComposedDatabase;- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;-}>();--const expanded = useLocalStorage(- "bb.schema-editor.table-schema-preview.expanded",- true-);-const { getColumnStatus } = useSchemaEditorContext();-const parentElement = useParentElement();-const { height: parentHeight } = useElementSize(parentElement);-const layoutReady = computed(() => parentHeight.value > 0);-const panelHeight = computed(() => {- const min = 8 * 16; // 8rem ~= 6 lines- const max = 16 * 16; // 16rem ~= 13 lines- const flexible = parentHeight.value * 0.4;- return minmax(flexible, min, max);-});--const engine = computed(() => props.db.instanceResource.engine);-const mockedSchemaMetadata = computed(() => {- if (!expanded.value) return undefined;- const { db, database, schema, table } = props;-- const mockedTable = cloneDeep(table);- mockedTable.columns = mockedTable.columns.filter((column) => {- const status = getColumnStatus(db, { database, schema, table, column });- return status !== "dropped";- });- const mockedDatabase = DatabaseMetadata.fromJSON({- name: database.name,- characterSet: database.characterSet,- collation: database.collation,- schemas: [- {- name: schema.name,- tables: [mockedTable],- },- ],- });- const schemaConfig = database.schemaConfigs.find(- (sc) => sc.name === schema.name- );- const tableConfig = schemaConfig?.tableConfigs.find(- (tc) => tc.name === table.name- );- if (schemaConfig && tableConfig) {- mockedDatabase.schemaConfigs = [- SchemaConfig.fromJSON({- name: schemaConfig.name,- tableConfigs: [cloneDeep(tableConfig)],- }),- ];- }- return mockedDatabase;-});--const { status, data, error } = useQuery({- queryKey: [engine, mockedSchemaMetadata],- queryFn: async () => {- if (!expanded.value) return "";- const metadata = mockedSchemaMetadata.value;- if (!metadata) return "";- try {- const response = await sqlServiceClient.stringifyMetadata(- {- engine: engine.value,- metadata,- },- {- silent: true,- }- );- return response.schema;- } catch (err) {- return Promise.reject(new Error(extractGrpcErrorMessage(err)));- }- },-});-</script>diff --git a/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vueindex 9e30eab170..dbbd61af3f 100644--- a/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vue@@ -39,18 +39,21 @@ const props = defineProps<{view: ViewMetadata;}>();-const { readonly, markEditStatus, getSchemaStatus, getViewStatus } =- useSchemaEditorContext();+const {+ readonly,+ markEditStatus,+ getDatabaseCatalog,+ getSchemaStatus,+ getViewStatus,+} = useSchemaEditorContext();const statusForSchema = () => {return getSchemaStatus(props.db, {- database: props.database,schema: props.schema,});};const status = computed(() => {return getViewStatus(props.db, {- database: props.database,schema: props.schema,view: props.view,});@@ -59,7 +62,6 @@ const markStatus = (status: EditStatus) => {markEditStatus(props.db,{- database: props.database,schema: props.schema,view: props.view,},@@ -76,6 +78,7 @@ const disallowChangeView = computed(() => {const mocked = computed(() => {const { database, schema, view } = props;+ const databaseCatalog = getDatabaseCatalog(database.name);const mockedView = cloneDeep(view);const mockedDatabase = DatabaseMetadata.fromJSON({@@ -89,7 +92,9 @@ const mocked = computed(() => {},],});- return mockedDatabase;+ const mockedCatalog = cloneDeep(databaseCatalog);++ return { metadata: mockedDatabase, catalog: mockedCatalog };});const handleUpdateDefinition = (code: string) => {diff --git a/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue b/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vueindex 01270c6086..6a30c0875d 100644--- a/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue+++ b/frontend/src/components/SchemaEditorLite/SchemaEditorLite.vue@@ -23,7 +23,7 @@<script lang="ts" setup>import { Splitpanes, Pane } from "splitpanes";import "splitpanes/dist/splitpanes.css";-import { reactive, computed, onMounted, toRef, watch } from "vue";+import { reactive, computed, onMounted, toRef, ref, watch } from "vue";import MaskSpinner from "@/components/misc/MaskSpinner.vue";import { useEmitteryEventListener } from "@/composables/useEmitteryEventListener";import { useSettingV1Store } from "@/store";@@ -81,25 +81,18 @@ const combinedLoading = computed(() => {const context = provideSchemaEditorContext({targets,project: toRef(props, "project"),+ classificationConfigId: ref(props.project.dataClassificationConfigId),readonly: toRef(props, "readonly"),selectedRolloutObjects: toRef(props, "selectedRolloutObjects"),disableDiffColoring: toRef(props, "disableDiffColoring"),hidePreview: toRef(props, "hidePreview"),});-const { rebuildMetadataEdit, applyMetadataEdit, applySelectedMetadataEdit } =- useAlgorithm(context);+const { rebuildMetadataEdit, applyMetadataEdit } = useAlgorithm(context);useEmitteryEventListener(context.events, "rebuild-edit-status", (params) => {- if (- ready.value- ) {+ if (ready.value) {targets.value.forEach((target) => {- rebuildMetadataEdit(- target.database,- target.baselineMetadata,- target.metadata,- params.resets- );+ rebuildMetadataEdit(target, params.resets);});}});@@ -109,11 +102,7 @@ watch(([ready, diffWhenReady]) => {if (ready && diffWhenReady) {targets.value.forEach((target) => {- rebuildMetadataEdit(- target.database,- target.baselineMetadata,- target.metadata- );+ rebuildMetadataEdit(target);});}},@@ -131,7 +120,6 @@ useEmitteryEventListener(defineExpose({rebuildMetadataEdit,applyMetadataEdit,- applySelectedMetadataEdit,});</script>diff --git a/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.ts b/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.tsdeleted file mode 100644index efcc64141f..0000000000--- a/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.ts+++ /dev/null@@ -1,312 +0,0 @@-import { cloneDeep } from "lodash-es";-import type { ComposedDatabase } from "@/types";-import type {- ColumnConfig,- ColumnMetadata,- DatabaseMetadata,- FunctionMetadata,- ProcedureMetadata,- SchemaMetadata,- TableMetadata,- ViewMetadata,-} from "@/types/proto/v1/database_service";-import { SchemaConfig, TableConfig } from "@/types/proto/v1/database_service";-import { filterColumnMetadata, filterTableMetadata } from "@/utils";-import type { SchemaEditorContext } from "../context";-import { keyForResource, keyForResourceName } from "../context/common";-import type { RolloutObject } from "../types";-import {- buildColumnConfigMap,- buildColumnMap,- cleanupUnusedConfigs,-} from "./utils";--export const useApplySelectedMetadataEdit = (context: SchemaEditorContext) => {- const {- getTableStatus,- getColumnStatus,- getViewStatus,- getProcedureStatus,- getFunctionStatus,- } = context;-- const applySelectedMetadataEdit = (- db: ComposedDatabase,- source: DatabaseMetadata,- target: DatabaseMetadata,- selectedRolloutObjects: RolloutObject[]- ) => {- const selectedObjectKeys = new Set(- selectedRolloutObjects.map((ro) => keyForResource(ro.db, ro.metadata))- );- const sourceTableMap = new Map(- source.schemas.flatMap((schema) => {- return schema.tables.map((table) => {- const key = keyForResource(db, {- schema,- table,- });- return [key, { schema, table }];- });- })- );- const sourceViewMap = new Map(- source.schemas.flatMap((schema) => {- return schema.views.map((view) => {- const key = keyForResource(db, {- schema,- view,- });- return [key, { schema, view }];- });- })- );- const sourceProcedureMap = new Map(- source.schemas.flatMap((schema) => {- return schema.procedures.map((procedure) => {- const key = keyForResource(db, {- schema,- procedure,- });- return [key, { schema, procedure }];- });- })- );- const sourceFunctionMap = new Map(- source.schemas.flatMap((schema) => {- return schema.functions.map((func) => {- const key = keyForResource(db, {- schema,- function: func,- });- return [key, { schema, function: func }];- });- })- );- const sourceTableConfigMap = new Map(- source.schemaConfigs.flatMap((schemaConfig) => {- return schemaConfig.tableConfigs.map((tableConfig) => {- const key = keyForResourceName({- database: db.name,- schema: schemaConfig.name,- table: tableConfig.name,- });- return [key, { schemaConfig, tableConfig }];- });- })- );- const sourceColumnMap = buildColumnMap(db, source);- const sourceColumnConfigMap = buildColumnConfigMap(db, source);-- const applyTableEdits = (- schema: SchemaMetadata,- table: TableMetadata,- schemaConfig: SchemaConfig,- tableConfig: TableConfig- ) => {- const targetTableConfigMap = new Map(- tableConfig.columnConfigs.map((cc) => [cc.name, cc])- );- const pickedColumns: ColumnMetadata[] = [];- const pickedColumnConfigs: ColumnConfig[] = [];- for (let i = 0; i < table.columns.length; i++) {- const column = table.columns[i];- const key = keyForResourceName({- database: db.name,- schema: schema.name,- table: table.name,- column: column.name,- });- const picked = selectedObjectKeys.has(key);- if (picked) {- const status = getColumnStatus(db, {- database: target,- schema,- table,- column,- });- if (status === "dropped") {- // Don't collect dropped columns- continue;- } else {- // collect the column- // maybe it's clean, updated or created- pickedColumns.push(column);- // Together with its column config, if found- const columnConfig = targetTableConfigMap.get(column.name);- if (columnConfig) {- pickedColumnConfigs.push(columnConfig);- }- }- } else {- // for non-picked columns, collect the original version of the column- const sourceColumn = sourceColumnMap.get(key);- if (sourceColumn) {- // collect the original column- pickedColumns.push(- filterColumnMetadata(cloneDeep(sourceColumn.column))- );- // together with its original columnConfig- const columnConfig = sourceColumnConfigMap.get(key)?.columnConfig;- if (columnConfig) {- pickedColumnConfigs.push(cloneDeep(columnConfig));- }- }- }- }- table.columns = pickedColumns;- schemaConfig.tableConfigs.push(- TableConfig.fromPartial({- ...tableConfig,- columnConfigs: pickedColumnConfigs,- })- );- };-- const schemaConfigs: SchemaConfig[] = [];- for (let i = 0; i < target.schemas.length; i++) {- const schema = target.schemas[i];- const schemaConfig = SchemaConfig.fromPartial({ name: schema.name });- const targetSchemaConfig = target.schemaConfigs.find(- (sc) => sc.name === schema.name- );- const tables: TableMetadata[] = [];- for (let j = 0; j < schema.tables.length; j++) {- const table = schema.tables[j];- const key = keyForResource(db, { schema, table });- const picked = selectedObjectKeys.has(key);- if (picked) {- const status = getTableStatus(db, {- database: target,- schema,- table,- });- if (status === "dropped") {- // Drop table- // Don't collect the dropped table- continue;- } else {- // Collect the edited table- tables.push(table);- const tableConfig =- targetSchemaConfig?.tableConfigs.find(- (tc) => tc.name === table.name- ) ?? TableConfig.fromPartial({ name: table.name });- // apply column edits for picked table- // Together with its tableConfig and columnConfigs- applyTableEdits(schema, table, schemaConfig, tableConfig);- }- } else {- const sourceTable = sourceTableMap.get(key);- if (sourceTable) {- // Collect the original table- tables.push(filterTableMetadata(cloneDeep(sourceTable.table)));- // Together with its tableConfig- const sourceTableConfig =- sourceTableConfigMap.get(key)?.tableConfig;- if (sourceTableConfig) {- schemaConfig.tableConfigs.push(cloneDeep(sourceTableConfig));- }- }- }- }- schema.tables = tables;- if (schemaConfig.tableConfigs.length > 0) {- schemaConfigs.push(schemaConfig);- }-- const views: ViewMetadata[] = [];- for (let j = 0; j < schema.views.length; j++) {- const view = schema.views[j];- const key = keyForResource(db, { schema, view });- const picked = selectedObjectKeys.has(key);- if (picked) {- const status = getViewStatus(db, {- database: target,- schema,- view,- });- if (status === "dropped") {- // Drop view- // Don't collect the dropped view- continue;- } else {- // Collect the edited view- views.push(view);- }- } else {- const sourceView = sourceViewMap.get(key);- if (sourceView) {- // Collect the original view- views.push(cloneDeep(sourceView.view));- }- }- }- schema.views = views;-- const procedures: ProcedureMetadata[] = [];- for (let j = 0; j < schema.procedures.length; j++) {- const procedure = schema.procedures[j];- const key = keyForResource(db, { schema, procedure });- const picked = selectedObjectKeys.has(key);- if (picked) {- const status = getProcedureStatus(db, {- database: target,- schema,- procedure,- });- if (status === "dropped") {- // Drop procedure- // Don't collect the dropped procedure- continue;- } else {- // Collect the edited procedure- procedures.push(procedure);- }- } else {- const sourceProcedure = sourceProcedureMap.get(key);- if (sourceProcedure) {- // Collect the original procedure- procedures.push(cloneDeep(sourceProcedure.procedure));- }- }- }- schema.procedures = procedures;-- const functions: FunctionMetadata[] = [];- for (let j = 0; j < schema.functions.length; j++) {- const func = schema.functions[j];- const key = keyForResource(db, { schema, function: func });- const picked = selectedObjectKeys.has(key);- if (picked) {- const status = getFunctionStatus(db, {- database: target,- schema,- function: func,- });- if (status === "dropped") {- // Drop function- // Don't collect the dropped function- continue;- } else {- // Collect the edited function- functions.push(func);- }- } else {- const sourceFunction = sourceFunctionMap.get(key);- if (sourceFunction) {- // Collect the original function- functions.push(cloneDeep(sourceFunction.function));- }- }- }- schema.functions = functions;- }-- target.schemaConfigs = schemaConfigs;-- cleanupUnusedConfigs(target);- };-- return { applySelectedMetadataEdit };-};diff --git a/frontend/src/components/SchemaEditorLite/algorithm/apply.ts b/frontend/src/components/SchemaEditorLite/algorithm/apply.tsindex 8e6f509893..4635ab37f6 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/apply.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/apply.ts@@ -1,7 +1,8 @@import type { ComposedDatabase } from "@/types";+import type { DatabaseCatalog } from "@/types/proto/v1/database_catalog_service";import type { DatabaseMetadata } from "@/types/proto/v1/database_service";import type { SchemaEditorContext } from "../context";-import { cleanupUnusedConfigs } from "./utils";+import { cleanupUnusedCatalog } from "./utils";export const useApplyMetadataEdit = (context: SchemaEditorContext) => {const {@@ -15,12 +16,12 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {const applyMetadataEdit = (database: ComposedDatabase,- metadata: DatabaseMetadata+ metadata: DatabaseMetadata,+ catalog: DatabaseCatalog) => {// Drop schemasmetadata.schemas = metadata.schemas.filter((schema) => {const status = getSchemaStatus(database, {- database: metadata,schema,});return status !== "dropped";@@ -29,7 +30,6 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {metadata.schemas.forEach((schema) => {schema.tables = schema.tables.filter((table) => {const status = getTableStatus(database, {- database: metadata,schema,table,});@@ -37,7 +37,6 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {});schema.views = schema.views.filter((view) => {const status = getViewStatus(database, {- database: metadata,schema,view,});@@ -45,7 +44,6 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {});schema.procedures = schema.procedures.filter((procedure) => {const status = getProcedureStatus(database, {- database: metadata,schema,procedure,});@@ -53,7 +51,6 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {});schema.functions = schema.functions.filter((func) => {const status = getFunctionStatus(database, {- database: metadata,schema,function: func,});@@ -65,7 +62,6 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {schema.tables.forEach((table) => {table.columns = table.columns.filter((column) => {const status = getColumnStatus(database, {- database: metadata,schema,table,column,@@ -75,7 +71,7 @@ export const useApplyMetadataEdit = (context: SchemaEditorContext) => {});});- cleanupUnusedConfigs(metadata);+ cleanupUnusedCatalog(metadata, catalog);};return { applyMetadataEdit };diff --git a/frontend/src/components/SchemaEditorLite/algorithm/diff-merge.ts b/frontend/src/components/SchemaEditorLite/algorithm/diff-merge.tsindex b71e79745d..0f469cb891 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/diff-merge.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/diff-merge.ts@@ -1,5 +1,12 @@import { cloneDeep, isEqual, pick } from "lodash-es";import type { ComposedDatabase } from "@/types";+import {+ DatabaseCatalog,+ ColumnCatalog,+ SchemaCatalog,+ TableCatalog,+ TableCatalog_Columns,+} from "@/types/proto/v1/database_catalog_service";import type {FunctionMetadata,ProcedureMetadata,@@ -14,11 +21,6 @@ import {type SchemaMetadata,type TableMetadata,} from "@/types/proto/v1/database_service";-import {- ColumnConfig,- SchemaConfig,- TableConfig,-} from "@/types/proto/v1/database_service";import { ComparableTablePartitionFields, TinyTimer, keyBy } from "@/utils";import {ComparableColumnFields,@@ -39,21 +41,14 @@ type RichTableMetadata = RichSchemaMetadata & {type RichColumnMetadata = RichTableMetadata & {column: ColumnMetadata;};-type RichSchemaConfig = {- schemaConfig: SchemaConfig;-};-type RichTableConfig = RichSchemaConfig & {- tableConfig: TableConfig;-};-type RichColumnConfig = RichTableConfig & {- columnConfig: ColumnConfig;-};export class DiffMerge {context: SchemaEditorContext;database: ComposedDatabase;sourceMetadata: DatabaseMetadata;targetMetadata: DatabaseMetadata;+ sourceCatalog: DatabaseCatalog;+ targetCatalog: DatabaseCatalog;sourceSchemaMap = new Map<string, SchemaMetadata>();targetSchemaMap = new Map<string, SchemaMetadata>();sourceTableMap = new Map<string, TableMetadata>();@@ -66,12 +61,12 @@ export class DiffMerge {targetProcedureMap = new Map<string, ProcedureMetadata>();sourceFunctionMap = new Map<string, FunctionMetadata>();targetFunctionMap = new Map<string, FunctionMetadata>();- sourceSchemaConfigMap = new Map<string, SchemaConfig>();- targetSchemaConfigMap = new Map<string, SchemaConfig>();- sourceTableConfigMap = new Map<string, TableConfig>();- targetTableConfigMap = new Map<string, TableConfig>();- sourceColumnConfigMap = new Map<string, ColumnConfig>();- targetColumnConfigMap = new Map<string, ColumnConfig>();+ sourceSchemaCatalogMap = new Map<string, SchemaCatalog>();+ targetSchemaCatalogMap = new Map<string, SchemaCatalog>();+ sourceTableCatalogMap = new Map<string, TableCatalog>();+ targetTableCatalogMap = new Map<string, TableCatalog>();+ sourceColumnCatalogMap = new Map<string, ColumnCatalog>();+ targetColumnCatalogMap = new Map<string, ColumnCatalog>();timer = new TinyTimer<| "merge"| "mergeSchemas"@@ -82,26 +77,37 @@ export class DiffMerge {| "mergeViews"| "mergeProcedures"| "mergeFunctions"- | "mergeSchemaConfigs"- | "mergeTableConfigs"- | "mergeColumnConfigs"- | "diffColumnConfig"+ | "mergeSchemaCatalog"+ | "mergeTableCatalog"+ | "mergeColumnCatalog"+ | "diffColumnCatalog">("DiffMerge");- constructor(- context: SchemaEditorContext,- database: ComposedDatabase,- sourceMetadata: DatabaseMetadata,- targetMetadata: DatabaseMetadata- ) {+ constructor({+ context,+ database,+ sourceMetadata,+ targetMetadata,+ sourceCatalog,+ targetCatalog,+ }: {+ context: SchemaEditorContext;+ database: ComposedDatabase;+ sourceMetadata: DatabaseMetadata;+ targetMetadata: DatabaseMetadata;+ sourceCatalog: DatabaseCatalog;+ targetCatalog: DatabaseCatalog;+ }) {this.context = context;this.database = database;this.sourceMetadata = sourceMetadata;this.targetMetadata = targetMetadata;+ this.sourceCatalog = sourceCatalog;+ this.targetCatalog = targetCatalog;}merge() {this.timer.begin("merge");this.mergeSchemas();- this.mergeSchemaConfigs();+ this.mergeSchemaCatalog();this.timer.end("merge");}mergeSchemas() {@@ -112,24 +118,12 @@ export class DiffMerge {targetMetadata,sourceSchemaMap,targetSchemaMap,- sourceSchemaConfigMap,- targetSchemaConfigMap,} = this;const sourceSchemas = sourceMetadata.schemas;const targetSchemas = targetMetadata.schemas;this.timer.begin("mergeSchemas");mapSchemas(database, sourceSchemas, sourceSchemaMap);mapSchemas(database, targetSchemas, targetSchemaMap);- mapSchemaConfigs(- database,- sourceMetadata.schemaConfigs,- sourceSchemaConfigMap- );- mapSchemaConfigs(- database,- targetMetadata.schemaConfigs,- targetSchemaConfigMap- );const mergedSchemas: SchemaMetadata[] = [];for (let i = 0; i < sourceSchemas.length; i++) {@@ -240,6 +234,7 @@ export class DiffMerge {{ ...source, table: sourceTable },{ ...target, table: targetTable });+if (!isEqual(pick(sourceTable, ComparableTableFields),@@ -277,6 +272,18 @@ export class DiffMerge {// mark it as 'created'mergedTables.push(targetTable);context.markEditStatusByKey(key, "created");++ for (const column of targetTable.columns) {+ context.markEditStatus(+ database,+ {+ schema: targetSchema,+ table: targetTable,+ column,+ },+ "created"+ );+ }}}targetSchema.tables = mergedTables;@@ -472,8 +479,7 @@ export class DiffMerge {);const mergedColumns: ColumnMetadata[] = [];- for (let i = 0; i < sourceColumns.length; i++) {- const sourceColumn = sourceColumns[i];+ for (const sourceColumn of sourceColumns) {const key = keyForResourceName({database: database.name,schema: sourceSchema.name,@@ -496,8 +502,7 @@ export class DiffMerge {mergedColumns.push(targetColumn);context.markEditStatusByKey(key, "dropped");}- for (let i = 0; i < targetColumns.length; i++) {- const targetColumn = targetColumns[i];+ for (const targetColumn of targetColumns) {const key = keyForResourceName({database: database.name,schema: targetSchema.name,@@ -699,88 +704,85 @@ export class DiffMerge {sourceFunctions.length + targetFunctions.length);}- mergeSchemaConfigs() {+ mergeSchemaCatalog() {const {context,database,- sourceMetadata,+ sourceCatalog,+ targetCatalog,targetMetadata,- sourceSchemaConfigMap,- targetSchemaConfigMap,+ sourceSchemaCatalogMap,+ targetSchemaCatalogMap,} = this;- this.timer.begin("mergeSchemaConfigs");- const sourceSchemaConfigs = sourceMetadata.schemaConfigs;- const targetSchemaConfigs = targetMetadata.schemaConfigs;- mapSchemaConfigs(database, sourceSchemaConfigs, sourceSchemaConfigMap);- mapSchemaConfigs(database, targetSchemaConfigs, targetSchemaConfigMap);- const mergedSchemaConfigs: SchemaConfig[] = [];+ this.timer.begin("mergeSchemaCatalog");+ mapSchemaCatalog({+ database: database.name,+ schemas: sourceCatalog.schemas,+ map: sourceSchemaCatalogMap,+ });+ mapSchemaCatalog({+ database: database.name,+ schemas: targetCatalog.schemas,+ map: targetSchemaCatalogMap,+ });+ const mergedSchemaCatalogs: SchemaCatalog[] = [];for (let i = 0; i < targetMetadata.schemas.length; i++) {const schema = targetMetadata.schemas[i];const key = keyForResourceName({database: database.name,schema: schema.name,});- const sourceSchemaConfig = sourceSchemaConfigMap.get(key);- const targetSchemaConfig = targetSchemaConfigMap.get(key);+ const sourceSchemaCatalog = sourceSchemaCatalogMap.get(key);+ const targetSchemaCatalog = targetSchemaCatalogMap.get(key);const schemaStatus = context.getEditStatusByKey(key);if (schemaStatus === "dropped") {- // copy source schemaConfig for further restoring- if (sourceSchemaConfig) {- mergedSchemaConfigs.push(cloneDeep(sourceSchemaConfig));+ // copy source schema catalog for further restoring+ if (sourceSchemaCatalog) {+ mergedSchemaCatalogs.push(cloneDeep(sourceSchemaCatalog));}} else if (schemaStatus === "created") {- // use newly created schemaConfig- if (targetSchemaConfig) {- mergedSchemaConfigs.push(targetSchemaConfig);+ // use newly created schema catalog+ if (targetSchemaCatalog) {+ mergedSchemaCatalogs.push(targetSchemaCatalog);}} else {- // use the updated schemaConfig and diff recursively- if (targetSchemaConfig) {- mergedSchemaConfigs.push(targetSchemaConfig);+ // use the updated schema catalog and diff recursively+ if (targetSchemaCatalog) {+ mergedSchemaCatalogs.push(targetSchemaCatalog);}- this.mergeTableConfigs(+ this.mergeTableCatalog(schema,- {- schemaConfig:- sourceSchemaConfig ??- SchemaConfig.fromPartial({ name: schema.name }),- },- {- schemaConfig:- targetSchemaConfig ??- SchemaConfig.fromPartial({ name: schema.name }),- }+ sourceSchemaCatalog ??+ SchemaCatalog.fromPartial({ name: schema.name }),+ targetSchemaCatalog ??+ SchemaCatalog.fromPartial({ name: schema.name }));}}- targetMetadata.schemaConfigs = mergedSchemaConfigs;- this.timer.end("mergeSchemaConfigs", targetMetadata.schemas.length);+ targetCatalog.schemas = mergedSchemaCatalogs;+ this.timer.end("mergeSchemaCatalog", targetCatalog.schemas.length);}- mergeTableConfigs(+ mergeTableCatalog(schema: SchemaMetadata,- source: RichSchemaConfig,- target: RichSchemaConfig+ source: SchemaCatalog,+ target: SchemaCatalog) {- const { context, database, sourceTableConfigMap, targetTableConfigMap } =+ const { context, database, sourceTableCatalogMap, targetTableCatalogMap } =this;- const { schemaConfig: sourceSchemaConfig } = source;- const { schemaConfig: targetSchemaConfig } = target;- const sourceTableConfigs = sourceSchemaConfig.tableConfigs;- const targetTableConfigs = targetSchemaConfig.tableConfigs;- this.timer.begin("mergeTableConfigs");- mapTableConfigs(- database,- sourceSchemaConfig,- sourceTableConfigs,- sourceTableConfigMap- );- mapTableConfigs(- database,- targetSchemaConfig,- targetTableConfigs,- targetTableConfigMap- );- const mergedTableConfigs: TableConfig[] = [];+ this.timer.begin("mergeTableCatalog");+ mapTableCatalog({+ database: database.name,+ schema: source.name,+ tables: source.tables,+ map: sourceTableCatalogMap,+ });+ mapTableCatalog({+ database: database.name,+ schema: target.name,+ tables: target.tables,+ map: targetTableCatalogMap,+ });+ const mergedTableCatalogs: TableCatalog[] = [];for (let i = 0; i < schema.tables.length; i++) {const table = schema.tables[i];const key = keyForResourceName({@@ -788,154 +790,137 @@ export class DiffMerge {schema: schema.name,table: table.name,});- const sourceTableConfig = sourceTableConfigMap.get(key);- const targetTableConfig = targetTableConfigMap.get(key);+ const sourceTableCatalog = sourceTableCatalogMap.get(key);+ const targetTableCatalog = targetTableCatalogMap.get(key);const tableStatus = context.getEditStatusByKey(key);if (tableStatus === "dropped") {- // copy source tableConfig for further restoring- if (sourceTableConfig) {- mergedTableConfigs.push(cloneDeep(sourceTableConfig));+ // copy source table catalog for further restoring+ if (sourceTableCatalog) {+ mergedTableCatalogs.push(cloneDeep(sourceTableCatalog));}} else if (tableStatus === "created") {- // use newly created tableConfig- if (targetTableConfig) {- mergedTableConfigs.push(targetTableConfig);+ // use newly created table catalog+ if (targetTableCatalog) {+ mergedTableCatalogs.push(targetTableCatalog);}} else {- // use the updated tableConfig and diff recursively- if (targetTableConfig) {- mergedTableConfigs.push(targetTableConfig);+ // use the updated table catalog and diff recursively+ if (targetTableCatalog) {+ mergedTableCatalogs.push(targetTableCatalog);}- this.mergeColumnConfigs(- schema,+ this.mergeColumnCatalog(+ schema.name,table,- {- ...source,- tableConfig:- sourceTableConfig ??- TableConfig.fromPartial({ name: table.name }),- },- {- ...target,- tableConfig:- targetTableConfig ??- TableConfig.fromPartial({ name: table.name }),- }+ sourceTableCatalog ??+ TableCatalog.fromPartial({+ name: table.name,+ columns: TableCatalog_Columns.fromPartial({}),+ }),+ targetTableCatalog ??+ TableCatalog.fromPartial({+ name: table.name,+ columns: TableCatalog_Columns.fromPartial({}),+ }));}}- targetSchemaConfig.tableConfigs = mergedTableConfigs;- this.timer.end("mergeTableConfigs", schema.tables.length);+ target.tables = mergedTableCatalogs;+ this.timer.end("mergeTableCatalog", schema.tables.length);}- mergeColumnConfigs(- schema: SchemaMetadata,+ mergeColumnCatalog(+ schema: string,table: TableMetadata,- source: RichTableConfig,- target: RichTableConfig+ source: TableCatalog,+ target: TableCatalog) {- const { context, database, sourceColumnConfigMap, targetColumnConfigMap } =- this;- const { schemaConfig: sourceSchemaConfig, tableConfig: sourceTableConfig } =- source;- const { schemaConfig: targetSchemaConfig, tableConfig: targetTableConfig } =- target;- const sourceColumnConfigs = sourceTableConfig.columnConfigs;- const targetColumnConfigs = targetTableConfig.columnConfigs;- this.timer.begin("mergeColumnConfigs");- mapColumnConfigs(- database,- sourceSchemaConfig,- sourceTableConfig,- sourceColumnConfigs,- sourceColumnConfigMap- );- mapColumnConfigs(+ const {+ context,database,- targetSchemaConfig,- targetTableConfig,- targetColumnConfigs,- targetColumnConfigMap- );- const mergedColumnConfigs: ColumnConfig[] = [];+ sourceColumnCatalogMap,+ targetColumnCatalogMap,+ } = this;+ this.timer.begin("mergeColumnCatalog");+ mapColumnCatalog({+ database: database.name,+ schema,+ table: table.name,+ columns: source.columns?.columns ?? [],+ map: sourceColumnCatalogMap,+ });+ mapColumnCatalog({+ database: database.name,+ schema,+ table: table.name,+ columns: source.columns?.columns ?? [],+ map: targetColumnCatalogMap,+ });+ const mergedColumnCatalogs: ColumnCatalog[] = [];for (let i = 0; i < table.columns.length; i++) {const column = table.columns[i];const key = keyForResourceName({database: database.name,- schema: schema.name,+ schema,table: table.name,column: column.name,});- const sourceColumnConfig = sourceColumnConfigMap.get(key);- const targetColumnConfig = targetColumnConfigMap.get(key);+ const sourceColumnCatalog = sourceColumnCatalogMap.get(key);+ const targetColumnCatalog = targetColumnCatalogMap.get(key);const columnStatus = context.getEditStatusByKey(key);if (columnStatus === "dropped") {- // copy source columnConfig for further restoring- if (sourceColumnConfig) {- mergedColumnConfigs.push(cloneDeep(sourceColumnConfig));+ // copy source column catalog for further restoring+ if (sourceColumnCatalog) {+ mergedColumnCatalogs.push(cloneDeep(sourceColumnCatalog));}} else if (columnStatus === "created") {- // use newly created columnConfig- if (targetColumnConfig) {- mergedColumnConfigs.push(targetColumnConfig);+ // use newly created column catalog+ if (targetColumnCatalog) {+ mergedColumnCatalogs.push(targetColumnCatalog);}} else {- // use the updated columnConfig and diff recursively- if (targetColumnConfig) {- mergedColumnConfigs.push(targetColumnConfig);+ // use the updated column catalog and diff recursively+ if (targetColumnCatalog) {+ mergedColumnCatalogs.push(targetColumnCatalog);}- this.diffColumnConfig(+ this.diffColumnCatalog(schema,- table,- column,- {- ...source,- columnConfig:- sourceColumnConfig ??- ColumnConfig.fromPartial({ name: column.name }),- },- {- ...target,- columnConfig:- targetColumnConfig ??- ColumnConfig.fromPartial({ name: column.name }),- }+ table.name,+ sourceColumnCatalog ??+ ColumnCatalog.fromPartial({ name: column.name }),+ targetColumnCatalog ??+ ColumnCatalog.fromPartial({ name: column.name }));}}- targetTableConfig.columnConfigs = mergedColumnConfigs;- this.timer.end("mergeColumnConfigs", table.columns.length);+ target.columns = TableCatalog_Columns.fromPartial({+ columns: mergedColumnCatalogs,+ });+ this.timer.end("mergeColumnCatalog", table.columns.length);}- diffColumnConfig(- schema: SchemaMetadata,- table: TableMetadata,- column: ColumnMetadata,- source: RichColumnConfig,- target: RichColumnConfig+ diffColumnCatalog(+ schema: string,+ table: string,+ source: ColumnCatalog,+ target: ColumnCatalog) {- const { columnConfig: sourceColumnConfig } = source;- const {- schemaConfig: targetSchemaConfig,- tableConfig: targetTableConfig,- columnConfig: targetColumnConfig,- } = target;- this.timer.begin("diffColumnConfig");+ this.timer.begin("diffColumnCatalog");- if (!isEqual(sourceColumnConfig, targetColumnConfig)) {+ if (!isEqual(source, target)) {const key = keyForResourceName({database: this.database.name,- schema: targetSchemaConfig.name,- table: targetTableConfig.name,- column: targetColumnConfig.name,+ schema,+ table,+ column: target.name,});const status = this.context.getEditStatusByKey(key);if (status !== "created" && status !== "dropped") {this.context.markEditStatusByKey(key, "updated");}}- this.timer.end("diffColumnConfig", 1);+ this.timer.end("diffColumnCatalog", 1);}}+// database schemaconst mapSchemas = (database: ComposedDatabase,schemas: SchemaMetadata[],@@ -1043,49 +1028,64 @@ const mapFunctions = (map.set(key, fn);});};-const mapSchemaConfigs = (- db: ComposedDatabase,- schemaConfigs: SchemaConfig[],- map: Map<string, SchemaConfig>-) => {- schemaConfigs.forEach((schemaConfig) => {+// database catalog+const mapSchemaCatalog = ({+ database,+ schemas,+ map,+}: {+ database: string;+ schemas: SchemaCatalog[];+ map: Map<string, SchemaCatalog>;+}) => {+ schemas.forEach((schemaCatalog) => {const key = keyForResourceName({- database: db.name,- schema: schemaConfig.name,+ database,+ schema: schemaCatalog.name,});- map.set(key, schemaConfig);+ map.set(key, schemaCatalog);});};-const mapTableConfigs = (- db: ComposedDatabase,- schemaConfig: SchemaConfig,- tableConfigs: TableConfig[],- map: Map<string, TableConfig>-) => {- tableConfigs.forEach((tableConfig) => {+const mapTableCatalog = ({+ database,+ schema,+ tables,+ map,+}: {+ database: string;+ schema: string;+ tables: TableCatalog[];+ map: Map<string, TableCatalog>;+}) => {+ tables.forEach((tableCatalog) => {const key = keyForResourceName({- database: db.name,- schema: schemaConfig.name,- table: tableConfig.name,+ database,+ schema,+ table: tableCatalog.name,});- map.set(key, tableConfig);+ map.set(key, tableCatalog);});};--const mapColumnConfigs = (- db: ComposedDatabase,- schemaConfig: SchemaConfig,- tableConfig: TableConfig,- columnConfigs: ColumnConfig[],- map: Map<string, ColumnConfig>-) => {- columnConfigs.forEach((columnConfig) => {+const mapColumnCatalog = ({+ database,+ schema,+ table,+ columns,+ map,+}: {+ database: string;+ schema: string;+ table: string;+ columns: ColumnCatalog[];+ map: Map<string, ColumnCatalog>;+}) => {+ columns.forEach((columnCatalog) => {const key = keyForResourceName({- database: db.name,- schema: schemaConfig.name,- table: tableConfig.name,- column: columnConfig.name,+ database,+ schema,+ table,+ column: columnCatalog.name,});- map.set(key, columnConfig);+ map.set(key, columnCatalog);});};diff --git a/frontend/src/components/SchemaEditorLite/algorithm/index.ts b/frontend/src/components/SchemaEditorLite/algorithm/index.tsindex 9b62f9655b..5f0a6f7a91 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/index.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/index.ts@@ -1,12 +1,10 @@import type { SchemaEditorContext } from "../context";import { useApplyMetadataEdit } from "./apply";-import { useApplySelectedMetadataEdit } from "./apply-selected";import { useRebuildMetadataEdit } from "./rebuild";export const useAlgorithm = (context: SchemaEditorContext) => {return {...useRebuildMetadataEdit(context),...useApplyMetadataEdit(context),- ...useApplySelectedMetadataEdit(context),};};diff --git a/frontend/src/components/SchemaEditorLite/algorithm/rebuild.ts b/frontend/src/components/SchemaEditorLite/algorithm/rebuild.tsindex 9116a23c98..eeeb6ec5e7 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/rebuild.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/rebuild.ts@@ -1,7 +1,6 @@import { nextTick } from "vue";-import type { ComposedDatabase } from "@/types";-import type { DatabaseMetadata } from "@/types/proto/v1/database_service";import type { SchemaEditorContext } from "../context";+import type { EditTarget } from "../types";import { DiffMerge } from "./diff-merge";export type RebuildMetadataEditReset = "tabs" | "tree";@@ -10,13 +9,21 @@ export const useRebuildMetadataEdit = (context: SchemaEditorContext) => {const { clearEditStatus, events } = context;const rebuildMetadataEdit = (- database: ComposedDatabase,- source: DatabaseMetadata,- target: DatabaseMetadata,+ target: EditTarget,resets: RebuildMetadataEditReset[] = ["tree"]) => {clearEditStatus();- const dm = new DiffMerge(context, database, source, target);++ const { database, catalog, baselineCatalog, metadata, baselineMetadata } =+ target;+ const dm = new DiffMerge({+ context,+ database,+ sourceMetadata: baselineMetadata,+ targetMetadata: metadata,+ sourceCatalog: baselineCatalog,+ targetCatalog: catalog,+ });dm.merge();dm.timer.printAll();nextTick(() => {diff --git a/frontend/src/components/SchemaEditorLite/algorithm/utils.ts b/frontend/src/components/SchemaEditorLite/algorithm/utils.tsindex e75fd16b6f..8fb2a58ecd 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/utils.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/utils.ts@@ -1,118 +1,56 @@-import type { ComposedDatabase } from "@/types";+import {+ TableCatalog,+ SchemaCatalog,+ TableCatalog_Columns,+ DatabaseCatalog,+} from "@/types/proto/v1/database_catalog_service";import type {- ColumnConfig,- ColumnMetadata,DatabaseMetadata,- SchemaConfig,SchemaMetadata,- TableConfig,TableMetadata,} from "@/types/proto/v1/database_service";import { keyBy } from "@/utils";-import { keyForResource, keyForResourceName } from "../context/common";-type RichSchemaMetadata = {- database: DatabaseMetadata;- schema: SchemaMetadata;-};-type RichTableMetadata = RichSchemaMetadata & {- table: TableMetadata;-};-type RichColumnMetadata = RichTableMetadata & {- column: ColumnMetadata;-};-type RichSchemaConfig = {- schemaConfig: SchemaConfig;-};-type RichTableConfig = RichSchemaConfig & {- tableConfig: TableConfig;-};-type RichColumnConfig = RichTableConfig & {- columnConfig: ColumnConfig;-};--export const cleanupUnusedConfigs = (metadata: DatabaseMetadata) => {- const cleanupColumnConfigs = (+export const cleanupUnusedCatalog = (+ metadata: DatabaseMetadata,+ catalog: DatabaseCatalog+) => {+ const cleanupColumnCatalog = (table: TableMetadata,- tableConfig: TableConfig+ tableCatalog: TableCatalog) => {const columnMap = keyBy(table.columns, (column) => column.name);- // Remove unused column configs- tableConfig.columnConfigs = tableConfig.columnConfigs.filter((cc) =>+ // Remove unused column catalog+ if (!tableCatalog.columns) {+ tableCatalog.columns = TableCatalog_Columns.fromPartial({});+ }+ tableCatalog.columns.columns = tableCatalog.columns?.columns.filter((cc) =>columnMap.has(cc.name));};- const cleanupTableConfigs = (+ const cleanupTableCatalog = (schema: SchemaMetadata,- schemaConfig: SchemaConfig+ schemaCatalog: SchemaCatalog) => {const tableMap = keyBy(schema.tables, (table) => table.name);- // Remove unused table configs- schemaConfig.tableConfigs = schemaConfig.tableConfigs.filter((tc) =>+ // Remove unused table catalog+ schemaCatalog.tables = schemaCatalog.tables.filter((tc) =>tableMap.has(tc.name));- // Recursively cleanup column configs- schemaConfig.tableConfigs.forEach((tc) => {- cleanupColumnConfigs(tableMap.get(tc.name)!, tc);- })- };- const cleanupSchemaConfigs = (metadata: DatabaseMetadata) => {- const schemaMap = keyBy(metadata.schemas, (schema) => schema.name);- // Remove unused schema configs- metadata.schemaConfigs = metadata.schemaConfigs.filter((sc) =>- schemaMap.has(sc.name)- );- // Recursively cleanup table configs- metadata.schemaConfigs.forEach((sc) => {- const schema = schemaMap.get(sc.name)!;- cleanupTableConfigs(schema, sc);+ // Recursively cleanup column catalog+ schemaCatalog.tables.forEach((tc) => {+ cleanupColumnCatalog(tableMap.get(tc.name)!, tc);});- // Cleanup empty schema configs- metadata.schemaConfigs = metadata.schemaConfigs.filter(- (sc) =>- sc.tableConfigs.length > 0- );};- cleanupSchemaConfigs(metadata);-};--export const buildColumnMap = (- db: ComposedDatabase,- database: DatabaseMetadata-) => {- return new Map<string, RichColumnMetadata>(- database.schemas.flatMap((schema) => {- return schema.tables.flatMap((table) => {- return table.columns.map((column) => {- const key = keyForResource(db, {- schema,- table,- column,- });- return [key, { database, schema, table, column }];- });- });- })- );-};-export const buildColumnConfigMap = (- db: ComposedDatabase,- database: DatabaseMetadata-) => {- return new Map<string, RichColumnConfig>(- database.schemaConfigs.flatMap((schemaConfig) => {- return schemaConfig.tableConfigs.flatMap((tableConfig) => {- return tableConfig.columnConfigs.map((columnConfig) => {- const key = keyForResourceName({- database: db.name,- schema: schemaConfig.name,- table: tableConfig.name,- column: columnConfig.name,- });- return [key, { schemaConfig, tableConfig, columnConfig }];- });- });- })- );+ const schemaMap = keyBy(metadata.schemas, (schema) => schema.name);+ // Remove unused schema catalog+ catalog.schemas = catalog.schemas.filter((sc) => schemaMap.has(sc.name));+ // Recursively cleanup table catalog+ catalog.schemas.forEach((sc) => {+ const schema = schemaMap.get(sc.name)!;+ cleanupTableCatalog(schema, sc);+ });+ // Cleanup empty schema catalog+ catalog.schemas = catalog.schemas.filter((sc) => sc.tables.length > 0);};diff --git a/frontend/src/components/SchemaEditorLite/common.ts b/frontend/src/components/SchemaEditorLite/common.tsindex 685506a485..536ae21117 100644--- a/frontend/src/components/SchemaEditorLite/common.ts+++ b/frontend/src/components/SchemaEditorLite/common.ts@@ -3,6 +3,7 @@ import { sqlServiceClient } from "@/grpcweb";import { t } from "@/plugins/i18n";import { useSettingV1Store } from "@/store";import type { ComposedDatabase } from "@/types";+import type { DatabaseCatalog } from "@/types/proto/v1/database_catalog_service";import type { DatabaseMetadata } from "@/types/proto/v1/database_service";import { TinyTimer } from "@/utils";import { extractGrpcErrorMessage } from "@/utils/grpcweb";@@ -17,12 +18,21 @@ export type GenerateDiffDDLResult = {errors: string[];};-export const generateDiffDDL = async (- database: ComposedDatabase,- source: DatabaseMetadata,- target: DatabaseMetadata,- allowEmptyDiffDDLWithConfigChange = true-): Promise<GenerateDiffDDLResult> => {+export const generateDiffDDL = async ({+ database,+ sourceMetadata,+ targetMetadata,+ sourceCatalog,+ targetCatalog,+ allowEmptyDiffDDLWithConfigChange = true,+}: {+ database: ComposedDatabase;+ sourceMetadata: DatabaseMetadata;+ targetMetadata: DatabaseMetadata;+ sourceCatalog: DatabaseCatalog;+ targetCatalog: DatabaseCatalog;+ allowEmptyDiffDDLWithConfigChange?: boolean;+}): Promise<GenerateDiffDDLResult> => {const finish = (statement: string, errors: string[]) => {_generateDiffDDLTimer.end("generateDiffDDL");return {@@ -31,11 +41,14 @@ export const generateDiffDDL = async (};};- if (isEqual(source, target)) {+ if (+ isEqual(sourceMetadata, targetMetadata) &&+ isEqual(sourceCatalog, targetCatalog)+ ) {return finish("", []);}- const validationMessages = validateDatabaseMetadata(target);+ const validationMessages = validateDatabaseMetadata(targetMetadata);if (validationMessages.length > 0) {return finish("", [t("schema-editor.message.invalid-schema"),@@ -46,10 +59,13 @@ export const generateDiffDDL = async (const classificationConfig = useSettingV1Store().getProjectClassification(database.projectEntity.dataClassificationConfigId);+const diffResponse = await sqlServiceClient.diffMetadata({- sourceMetadata: source,- targetMetadata: target,+ sourceMetadata,+ targetMetadata,+ sourceCatalog,+ targetCatalog,engine: database.instanceResource.engine,classificationFromConfig:classificationConfig?.classificationFromConfig ?? false,@@ -62,7 +78,7 @@ export const generateDiffDDL = async (if (diff.length === 0) {if (!allowEmptyDiffDDLWithConfigChange &&- !isEqual(source.schemaConfigs, target.schemaConfigs)+ !isEqual(sourceCatalog, targetCatalog)) {return finish("", [t("schema-editor.message.cannot-change-config")]);}diff --git a/frontend/src/components/SchemaEditorLite/context/config.ts b/frontend/src/components/SchemaEditorLite/context/config.tsindex 67667edcdc..55dbd3b2b5 100644--- a/frontend/src/components/SchemaEditorLite/context/config.ts+++ b/frontend/src/components/SchemaEditorLite/context/config.ts@@ -1,60 +1,66 @@-import { pick } from "lodash-es";import type { Ref } from "vue";import { reactive, watch } from "vue";-import type { ComposedDatabase } from "@/types";-import type {- ColumnMetadata,- DatabaseMetadata,- SchemaMetadata,- TableMetadata,-} from "@/types/proto/v1/database_service";import {- ColumnConfig,- SchemaConfig,- TableConfig,-} from "@/types/proto/v1/database_service";+ DatabaseCatalog,+ SchemaCatalog,+ TableCatalog,+ TableCatalog_Columns,+ ColumnCatalog,+} from "@/types/proto/v1/database_catalog_service";import type { EditTarget } from "../types";-import { keyForResource, keyForResourceName } from "./common";+import { keyForResourceName } from "./common";-export const useEditConfigs = (targets: Ref<EditTarget[]>) => {+export const useEditCatalogs = (targets: Ref<EditTarget[]>) => {// Build maps from keys to metadata objects for accelerationconst buildMaps = (targets: EditTarget[]) => {- const tableConfig = reactive(+ const databaseCatalog = reactive(+ new Map(+ targets.map((target) => {+ const key = keyForResourceName({+ database: target.database.name,+ });+ return [key, target.catalog];+ })+ )+ );+ const tableCatalog = reactive(new Map(targets.flatMap((target) => {- return target.metadata.schemaConfigs.flatMap((schemaConfig) => {- return schemaConfig.tableConfigs.map((tableConfig) => {+ return target.catalog.schemas.flatMap((schemaCatalog) => {+ return schemaCatalog.tables.map((tableCatalog) => {const key = keyForResourceName({database: target.database.name,- schema: schemaConfig.name,- table: tableConfig.name,+ schema: schemaCatalog.name,+ table: tableCatalog.name,});- return [key, tableConfig];+ return [key, tableCatalog];});});})));- const columnConfig = reactive(+ const columnCatalog = reactive(new Map(targets.flatMap((target) => {- return target.metadata.schemaConfigs.flatMap((schemaConfig) => {- return schemaConfig.tableConfigs.flatMap((tableConfig) => {- return tableConfig.columnConfigs.map((columnConfig) => {- const key = keyForResourceName({- database: target.database.name,- schema: schemaConfig.name,- table: tableConfig.name,- column: columnConfig.name,- });- return [key, columnConfig];- });+ return target.catalog.schemas.flatMap((schemaCatalog) => {+ return schemaCatalog.tables.flatMap((tableCatalog) => {+ return (tableCatalog.columns?.columns ?? []).map(+ (columnCatalog) => {+ const key = keyForResourceName({+ database: target.database.name,+ schema: schemaCatalog.name,+ table: tableCatalog.name,+ column: columnCatalog.name,+ });+ return [key, columnCatalog];+ }+ );});});})));- return { tableConfig, columnConfig };+ return { databaseCatalog, tableCatalog, columnCatalog };};const maps = reactive(buildMaps(targets.value));@@ -68,130 +74,230 @@ export const useEditConfigs = (targets: Ref<EditTarget[]>) => {});- // TableConfig- const getTableConfig = (- database: ComposedDatabase,- metadata: {- schema: SchemaMetadata;- table: TableMetadata;+ const getDatabaseCatalog = (database: string) => {+ const databaseKey = keyForResourceName({+ database,+ });+ let databaseCatalog = maps.databaseCatalog.get(databaseKey);+ if (!databaseCatalog) {+ databaseCatalog = DatabaseCatalog.fromPartial({+ name: database,+ });+ maps.databaseCatalog.set(databaseKey, databaseCatalog);}- ) => {- const key = keyForResource(database, pick(metadata, "schema", "table"));- return maps.tableConfig.get(key);+ return databaseCatalog;};- const insertTableConfig = (- database: ComposedDatabase,- metadata: {- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;- },- tableConfig: TableConfig- ) => {- let schemaConfig = metadata.database.schemaConfigs.find(- (sc) => sc.name === metadata.schema.name++ // Table catalog+ const getTableCatalog = ({+ database,+ schema,+ table,+ }: {+ database: string;+ schema: string;+ table: string;+ }) => {+ const key = keyForResourceName({+ database,+ schema,+ table,+ });+ return maps.tableCatalog.get(key);+ };+ const insertTableCatalog = ({+ database,+ schema,+ table,+ }: {+ database: string;+ schema: string;+ table: TableCatalog;+ }) => {+ const databaseCatalog = getDatabaseCatalog(database);+ let schemaCatalog = databaseCatalog.schemas.find(+ (sc) => sc.name === schema);- if (!schemaConfig) {- schemaConfig = SchemaConfig.fromPartial({- name: metadata.schema.name,- tableConfigs: [],+ if (!schemaCatalog) {+ schemaCatalog = SchemaCatalog.fromPartial({+ name: schema,+ tables: [],});- metadata.database.schemaConfigs.push(schemaConfig);+ databaseCatalog.schemas.push(schemaCatalog);}- schemaConfig.tableConfigs.push(tableConfig);+ schemaCatalog.tables.push(table);- const key = keyForResource(database, pick(metadata, "schema", "table"));- maps.tableConfig.set(key, tableConfig);+ const key = keyForResourceName({+ database,+ schema,+ table: table.name,+ });+ maps.tableCatalog.set(key, table);};- const upsertTableConfig = (- database: ComposedDatabase,- metadata: {- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;+ const removeTableCatalog = ({+ database,+ schema,+ table,+ }: {+ database: string;+ schema: string;+ table: string;+ }) => {+ const databaseCatalog = getDatabaseCatalog(database);+ const schemaCatalog = databaseCatalog.schemas.find(+ (sc) => sc.name === schema+ );+ if (schemaCatalog) {+ schemaCatalog.tables = schemaCatalog.tables.filter(+ (tableCatalog) => tableCatalog.name !== table+ );+ }+ };+ const upsertTableCatalog = (+ {+ database,+ schema,+ table,+ }: {+ database: string;+ schema: string;+ table: string;},- update: (config: TableConfig) => void+ update: (catalog: TableCatalog) => void) => {- let config = getTableConfig(database, metadata);- if (!config) {- config = TableConfig.fromPartial({- name: metadata.table.name,+ let tableCatalog = getTableCatalog({+ database,+ schema,+ table,+ });+ if (!tableCatalog) {+ tableCatalog = TableCatalog.fromPartial({+ name: table,+ columns: TableCatalog_Columns.fromPartial({}),});- insertTableConfig(database, metadata, config);- }- update(config);- // Maintain the columnConfig map- config.columnConfigs.forEach((columnConfig) => {- const key = keyForResourceName({- database: database.name,- schema: metadata.schema.name,- table: metadata.table.name,- column: columnConfig.name,+ insertTableCatalog({+ database,+ schema,+ table: tableCatalog,});- maps.columnConfig.set(key, columnConfig);- });+ }+ if (!tableCatalog.columns) {+ tableCatalog.columns = TableCatalog_Columns.fromPartial({});+ }+ update(tableCatalog);};- // ColumnConfig- const getColumnConfig = (- database: ComposedDatabase,- metadata: {- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;- column: ColumnMetadata;- }- ) => {- const key = keyForResource(+ // Column catalog+ const getColumnCatalog = ({+ database,+ schema,+ table,+ column,+ }: {+ database: string;+ schema: string;+ table: string;+ column: string;+ }) => {+ const key = keyForResourceName({database,- pick(metadata, "schema", "table", "column")+ schema,+ table,+ column,+ });+ return maps.columnCatalog.get(key);+ };+ const insertColumnCatalog = ({+ database,+ schema,+ table,+ column,+ }: {+ database: string;+ schema: string;+ table: string;+ column: ColumnCatalog;+ }) => {+ upsertTableCatalog(+ {+ database,+ schema,+ table,+ },+ (tableCatalog) => {+ tableCatalog.columns?.columns.push(column);+ });- return maps.columnConfig.get(key);+ // Need not to maintain column catalog map here+ // since `upsertTableCatalog` did this already};- const insertColumnConfig = (- database: ComposedDatabase,- metadata: {- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;- column: ColumnMetadata;- },- columnConfig: ColumnConfig- ) => {- upsertTableConfig(+ const removeColumnCatalog = ({+ database,+ schema,+ table,+ column,+ }: {+ database: string;+ schema: string;+ table: string;+ column: string;+ }) => {+ const tableCatalog = getTableCatalog({database,- pick(metadata, "database", "schema", "table"),- (tableConfig) => {- tableConfig.columnConfigs.push(columnConfig);- }+ schema,+ table,+ });+ if (!tableCatalog) {+ return;+ }+ if (!tableCatalog.columns) {+ tableCatalog.columns = TableCatalog_Columns.fromPartial({});+ }+ tableCatalog.columns.columns = tableCatalog.columns.columns.filter(+ (columnCatalog) => columnCatalog.name !== column);- // Need not to maintain columnConfig map here- // since `upsertTableConfig` did this already};- const upsertColumnConfig = (- database: ComposedDatabase,- metadata: {- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;- column: ColumnMetadata;+ const upsertColumnCatalog = (+ {+ database,+ schema,+ table,+ column,+ }: {+ database: string;+ schema: string;+ table: string;+ column: string;},- update: (config: ColumnConfig) => void+ update: (catalog: ColumnCatalog) => void) => {- let config = getColumnConfig(database, metadata);- if (!config) {- config = ColumnConfig.fromPartial({- name: metadata.column.name,+ let columnCatalog = getColumnCatalog({+ database,+ schema,+ table,+ column,+ });+ if (!columnCatalog) {+ columnCatalog = ColumnCatalog.fromPartial({+ name: column,+ });+ insertColumnCatalog({+ database,+ schema,+ table,+ column: columnCatalog,});- insertColumnConfig(database, metadata, config);}- update(config);+ update(columnCatalog);};return {- getTableConfig,- upsertTableConfig,- getColumnConfig,- upsertColumnConfig,+ getDatabaseCatalog,+ getTableCatalog,+ upsertTableCatalog,+ removeTableCatalog,+ getColumnCatalog,+ removeColumnCatalog,+ upsertColumnCatalog,};};diff --git a/frontend/src/components/SchemaEditorLite/context/edit.ts b/frontend/src/components/SchemaEditorLite/context/edit.tsindex 3a80b6cd5e..a8a3380d01 100644--- a/frontend/src/components/SchemaEditorLite/context/edit.ts+++ b/frontend/src/components/SchemaEditorLite/context/edit.ts@@ -2,7 +2,6 @@ import { computed, ref } from "vue";import type { ComposedDatabase } from "@/types";import type {ColumnMetadata,- DatabaseMetadata,FunctionMetadata,ProcedureMetadata,SchemaMetadata,@@ -22,7 +21,6 @@ export const useEditStatus = () => {const markEditStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;table?: TableMetadata;column?: ColumnMetadata;@@ -48,7 +46,6 @@ export const useEditStatus = () => {const removeEditStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;table?: TableMetadata;column?: ColumnMetadata;@@ -69,20 +66,9 @@ export const useEditStatus = () => {keys.forEach((key) => dirtyPaths.value.delete(key));};- const removeEditStatusByKey = (key: string, recursive: boolean) => {- const keys = recursive- ? dirtyPathsArray.value.filter(- (path) => path === key || path.startsWith(`${key}/`)- )- : [key];-- keys.forEach((key) => dirtyPaths.value.delete(key));- };-const getSchemaStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;}): EditStatus => {@@ -99,7 +85,6 @@ export const useEditStatus = () => {const getTableStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;table: TableMetadata;}@@ -117,7 +102,6 @@ export const useEditStatus = () => {const getColumnStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;table: TableMetadata;column: ColumnMetadata;@@ -136,7 +120,6 @@ export const useEditStatus = () => {const getPartitionStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;table: TableMetadata;partition: TablePartitionMetadata;@@ -155,7 +138,6 @@ export const useEditStatus = () => {const getProcedureStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;procedure: ProcedureMetadata;}@@ -170,7 +152,6 @@ export const useEditStatus = () => {const getFunctionStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;function: FunctionMetadata;}@@ -185,7 +166,6 @@ export const useEditStatus = () => {const getViewStatus = (database: ComposedDatabase,metadata: {- database: DatabaseMetadata;schema: SchemaMetadata;view: ViewMetadata;}@@ -207,7 +187,6 @@ export const useEditStatus = () => {markEditStatusByKey,getEditStatusByKey,removeEditStatus,- removeEditStatusByKey,clearEditStatus,getSchemaStatus,getTableStatus,diff --git a/frontend/src/components/SchemaEditorLite/context/index.ts b/frontend/src/components/SchemaEditorLite/context/index.tsindex a71e237a8c..5281b2d1c5 100644--- a/frontend/src/components/SchemaEditorLite/context/index.ts+++ b/frontend/src/components/SchemaEditorLite/context/index.ts@@ -7,7 +7,7 @@ import type { ComposedProject } from "@/types";import { Engine } from "@/types/proto/v1/common";import type { RebuildMetadataEditReset } from "../algorithm/rebuild";import type { EditTarget, RolloutObject } from "../types";-import { useEditConfigs } from "./config";+import { useEditCatalogs } from "./config";import { useEditStatus } from "./edit";import { useScrollStatus } from "./scroll";import { useSelection } from "./selection";@@ -32,6 +32,7 @@ export type SchemaEditorOptions = {export const provideSchemaEditorContext = (params: {readonly: Ref<boolean>;project: Ref<ComposedProject>;+ classificationConfigId: Ref<string | undefined>;targets: Ref<EditTarget[]>;selectedRolloutObjects: Ref<RolloutObject[] | undefined>;disableDiffColoring: Ref<boolean>;@@ -40,11 +41,11 @@ export const provideSchemaEditorContext = (params: {}) => {const events = new Emittery() as SchemaEditorEvents;const classificationConfig = computed(() => {- if (!params.project.value.dataClassificationConfigId) {+ if (!params.classificationConfigId.value) {return;}return useSettingV1Store().getProjectClassification(- params.project.value.dataClassificationConfigId+ params.classificationConfigId.value);});@@ -53,7 +54,7 @@ export const provideSchemaEditorContext = (params: {...params,...useTabs(events),...useEditStatus(),- ...useEditConfigs(params.targets),+ ...useEditCatalogs(params.targets),...useScrollStatus(),...useSelection(params.selectedRolloutObjects, events),classificationConfig,diff --git a/frontend/src/components/SchemaEditorLite/types.ts b/frontend/src/components/SchemaEditorLite/types.tsindex 6fefc60c31..ccaa316198 100644--- a/frontend/src/components/SchemaEditorLite/types.ts+++ b/frontend/src/components/SchemaEditorLite/types.ts@@ -1,4 +1,5 @@import type { ComposedDatabase } from "@/types";+import type { DatabaseCatalog } from "@/types/proto/v1/database_catalog_service";import type {ColumnMetadata,DatabaseMetadata,@@ -13,6 +14,8 @@ export type EditTarget = {database: ComposedDatabase;metadata: DatabaseMetadata;baselineMetadata: DatabaseMetadata;+ catalog: DatabaseCatalog;+ baselineCatalog: DatabaseCatalog;};export type TabType = "database" | "table" | "view" | "procedure" | "function";diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vueindex 47fb431efd..acc73b3916 100644--- a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue+++ b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue@@ -51,7 +51,9 @@<div class="sm:col-span-1 sm:col-start-1"><label for="semantic-types" class="textlabel">- {{ $t("settings.sensitive-data.semantic-types.table.semantic-type") }}+ {{+ $t("settings.sensitive-data.semantic-types.table.semantic-type")+ }}</label><div class="flex items-center gap-x-2 mt-3 text-sm">{{ columnSemanticType?.title }}@@ -259,12 +261,8 @@ import {MiniActionButton,} from "@/components/v2";import { useSettingV1Store, useNotificationStore } from "@/store";-import {- ColumnMetadata,-} from "@/types/proto/v1/database_service";-import {- ColumnCatalog,-} from "@/types/proto/v1/database_catalog_service";+import { ColumnCatalog } from "@/types/proto/v1/database_catalog_service";+import { ColumnMetadata } from "@/types/proto/v1/database_service";import {SchemaTemplateSetting,SchemaTemplateSetting_FieldTemplate,@@ -417,7 +415,10 @@ const submit = async () => {catalog: ColumnCatalog.fromPartial({...state.catalog,name: state.column?.name,- labels: convertKVListToLabels(state.kvList, false /* !omitEmpty */),+ labels: convertKVListToLabels(+ state.kvList.filter((item) => item.key),+ false /* !omitEmpty */+ ),}),});const setting = await settingStore.fetchSettingByName(diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateTable.vue b/frontend/src/components/SchemaTemplate/FieldTemplateTable.vueindex b1e722955c..429015b4e8 100644--- a/frontend/src/components/SchemaTemplate/FieldTemplateTable.vue+++ b/frontend/src/components/SchemaTemplate/FieldTemplateTable.vue@@ -15,13 +15,10 @@{{ item.column?.name }}</div><div class="bb-grid-cell flex gap-x-1">- {{- item.catalog?.semanticType- ? (semanticTypeList.find(- (data) => data.id === item.catalog?.semanticType- )?.title ?? "N/A")- : "N/A"- }}+ <span v-if="getSemanticType(item.catalog?.semanticType)">+ {{ getSemanticType(item.catalog?.semanticType)?.title }}+ </span>+ <span v-else class="text-control-placeholder italic"> N/A </span></div><div v-if="classificationConfig" class="bb-grid-cell flex gap-x-1"><ClassificationLevelBadge@@ -185,4 +182,11 @@ const semanticTypeList = computed(() => {?.semanticTypeSettingValue?.types ?? []);});++const getSemanticType = (semanticType: string | undefined) => {+ if (!semanticType) {+ return;+ }+ return semanticTypeList.value.find((data) => data.id === semanticType);+};</script>diff --git a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue b/frontend/src/components/SchemaTemplate/TableTemplateForm.vueindex d982616ae9..5a480af3fc 100644--- a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue+++ b/frontend/src/components/SchemaTemplate/TableTemplateForm.vue@@ -68,7 +68,7 @@<span class="text-red-600 mr-2">*</span></label><NInput- :value="editing.table.name"+ :value="editing.tableMetadata.name":disabled="readonly"placeholder="table name"@update:value="handleUpdateTableName"@@ -81,7 +81,7 @@{{ $t("schema-template.form.comment") }}</label><NInput- v-model:value="editing.table.userComment"+ v-model:value="editing.tableMetadata.userComment"type="textarea":autosize="{ minRows: 3, maxRows: 3 }":disabled="readonly"@@ -116,14 +116,15 @@:readonly="!!readonly":show-foreign-key="false":db="editing.db"- :database="editing.database"- :schema="editing.schema"- :table="editing.table"+ :database="editing.databaseMetadata"+ :schema="editing.schemaMetadata"+ :table="editing.tableMetadata":engine="editing.engine"- :classification-config-id="classificationConfig?.id":allow-change-primary-keys="true":allow-reorder-columns="allowReorderColumns":max-body-height="640"+ :show-database-catalog-column="true"+ :show-classification-column="'ALWAYS'"@drop="handleDropColumn"@reorder="handleReorderColumn"@primary-key-set="setColumnPrimaryKey"@@ -200,18 +201,9 @@ import {InstanceEngineRadioGrid,MiniActionButton,} from "@/components/v2";-import {- useSettingV1Store,- useDatabaseCatalog,- useNotificationStore,- pushNotification,-} from "@/store";+import { useSettingV1Store, pushNotification } from "@/store";import { unknownProject } from "@/types";-import {- SchemaCatalog,- TableCatalog,- TableCatalog_Columns,-} from "@/types/proto/v1/database_catalog_service";+import { TableCatalog } from "@/types/proto/v1/database_catalog_service";import { ColumnMetadata } from "@/types/proto/v1/database_service";import {SchemaTemplateSetting_TableTemplate,@@ -250,8 +242,10 @@ const editing = computed(() => {const targets = computed(() => {const target: EditTarget = {database: editing.value.db,- metadata: editing.value.database,- baselineMetadata: editing.value.database,+ metadata: editing.value.databaseMetadata,+ baselineMetadata: editing.value.databaseMetadata,+ catalog: editing.value.databaseCatalog,+ baselineCatalog: editing.value.databaseCatalog,};return [target];});@@ -259,6 +253,7 @@ const targets = computed(() => {const context = provideSchemaEditorContext({targets,project: ref(unknownProject()),+ classificationConfigId: ref(classificationConfig.value?.id),readonly: toRef(props, "readonly"),selectedRolloutObjects: ref(undefined),disableDiffColoring: ref(true),@@ -271,51 +266,39 @@ const state = reactive<LocalState>({});const { t } = useI18n();const settingStore = useSettingV1Store();-const databaseCatalog = useDatabaseCatalog(editing.value.database.name, false);-const tableCatalog = computed(() => {- const { schema, table } = editing.value;- const schemaCatalog = databaseCatalog.value.schemas.find(- (sc) => sc.name === schema.name- );- if (!schemaCatalog) return undefined;- return schemaCatalog.tables.find((tc) => tc.name === table.name);-});++const tableCatalog = computed(() =>+ context.getTableCatalog({+ database: editing.value.databaseMetadata.name,+ schema: editing.value.schemaMetadata.name,+ table: editing.value.tableMetadata.name,+ })+);const tableClassificationId = computed({get() {return tableCatalog.value?.classification;},set(id) {- const { schema, table } = editing.value;- let schemaCatalog = databaseCatalog.value.schemas.find(- (sc) => sc.name === schema.name+ context.upsertTableCatalog(+ {+ database: editing.value.databaseCatalog.name,+ schema: editing.value.schemaCatalog.name,+ table: editing.value.tableMetadata.name,+ },+ (catalog) => {+ catalog.classification = id ?? "";+ });- if (!schemaCatalog) {- schemaCatalog = SchemaCatalog.fromPartial({- name: schema.name,- tables: [],- });- }- if (!schemaCatalog.tables) {- schemaCatalog.tables = [];- }- let tableCatalog = schemaCatalog.tables.find(- (tc) => tc.name === table.name- );- if (!tableCatalog) {- tableCatalog = TableCatalog.fromPartial({- name: table.name,- classification: id,- columns: TableCatalog_Columns.fromPartial({}),- });- schemaCatalog.tables.push(tableCatalog);- }- tableCatalog.classification = id ?? "";},});const metadataForColumn = (column: ColumnMetadata) => {- const { database, schema, table } = editing.value;+ const {+ databaseMetadata: database,+ schemaMetadata: schema,+ tableMetadata: table,+ } = editing.value;return {database,schema,@@ -324,10 +307,6 @@ const metadataForColumn = (column: ColumnMetadata) => {};};-const statusForColumn = (column: ColumnMetadata) => {- return context.getColumnStatus(editing.value.db, metadataForColumn(column));-};-const markColumnStatus = (column: ColumnMetadata, status: EditStatus) => {context.markEditStatus(editing.value.db, metadataForColumn(column), status);};@@ -344,16 +323,16 @@ const allowReorderColumns = computed(() => {});const submitDisabled = computed(() => {- const { table, category } = editing.value;- if (!table.name || table.columns.length === 0) {+ const { tableMetadata, category } = editing.value;+ if (!tableMetadata.name || tableMetadata.columns.length === 0) {return true;}- if (table.columns.some((col) => !col.name || !col.type)) {+ if (tableMetadata.columns.some((col) => !col.name || !col.type)) {return true;}if (!props.create &&- isEqual(props.template.table, table) &&+ isEqual(props.template.table, tableMetadata) &&isEqual(props.template.catalog, tableCatalog.value) &&props.template.category === category) {@@ -363,7 +342,10 @@ const submitDisabled = computed(() => {});const onSubmit = async () => {- const template = rebuildTableTemplateFromMetadata(editing.value);+ const template = rebuildTableTemplateFromMetadata({+ ...editing.value,+ tableCatalog: tableCatalog.value ?? TableCatalog.fromPartial({}),+ });const setting = await settingStore.fetchSettingByName("bb.workspace.schema-template");@@ -392,7 +374,7 @@ const onSubmit = async () => {},});- useNotificationStore().pushNotification({+ pushNotification({module: "bytebase",style: "SUCCESS",title: t("common.updated"),@@ -402,7 +384,12 @@ const onSubmit = async () => {};const onColumnAdd = () => {- const { db, database, schema, table } = editing.value;+ const {+ db,+ databaseMetadata: database,+ schemaMetadata: schema,+ tableMetadata: table,+ } = editing.value;const column = ColumnMetadata.fromPartial({});table.columns.push(column);markColumnStatus(column, "created");@@ -419,29 +406,18 @@ const onColumnAdd = () => {};const handleDropColumn = (column: ColumnMetadata) => {- const { table } = editing.value;- // Disallow to drop the last column.- const nonDroppedColumns = table.columns.filter((column) => {- return statusForColumn(column) !== "dropped";+ const { tableMetadata } = editing.value;+ pull(tableMetadata.columns, column);+ tableMetadata.columns = tableMetadata.columns.filter((col) => col !== column);++ removeColumnPrimaryKey(tableMetadata, column.name);+ removeColumnFromAllForeignKeys(tableMetadata, column.name);+ context.removeColumnCatalog({+ database: editing.value.databaseCatalog.name,+ schema: editing.value.schemaCatalog.name,+ table: editing.value.tableMetadata.name,+ column: column.name,});- if (nonDroppedColumns.length === 1) {- pushNotification({- module: "bytebase",- style: "CRITICAL",- title: t("schema-editor.message.cannot-drop-the-last-column"),- });- return;- }- const status = statusForColumn(column);- if (status === "created") {- pull(table.columns, column);- table.columns = table.columns.filter((col) => col !== column);-- removeColumnPrimaryKey(table, column.name);- removeColumnFromAllForeignKeys(table, column.name);- } else {- markColumnStatus(column, "dropped");- }};const setColumnPrimaryKey = (column: ColumnMetadata, isPrimaryKey: boolean) => {@@ -449,11 +425,11 @@ const setColumnPrimaryKey = (column: ColumnMetadata, isPrimaryKey: boolean) => {column.nullable = false;upsertColumnPrimaryKey(editing.value.engine,- editing.value.table,+ editing.value.tableMetadata,column.name);} else {- removeColumnPrimaryKey(editing.value.table, column.name);+ removeColumnPrimaryKey(editing.value.tableMetadata, column.name);}markColumnStatus(column, "updated");};@@ -465,16 +441,24 @@ const handleApplyColumnTemplate = (if (!template.column) {return;}- const { db, table, engine } = editing.value;+ const { db, tableMetadata, engine } = editing.value;if (template.engine !== engine) {return;}const column = cloneDeep(template.column);- table.columns.push(column);+ tableMetadata.columns.push(column);if (template.catalog) {- context.upsertColumnConfig(db, metadataForColumn(column), (config) => {- Object.assign(config, template.catalog);- });+ context.upsertColumnCatalog(+ {+ database: editing.value.databaseCatalog.name,+ schema: editing.value.schemaCatalog.name,+ table: editing.value.tableCatalog.name,+ column: template.column.name,+ },+ (config) => {+ Object.assign(config, template.catalog);+ }+ );}markColumnStatus(column, "created");context.queuePendingScrollToColumn({@@ -489,17 +473,28 @@ const handleReorderColumn = (delta: -1 | 1) => {const target = index + delta;- const { columns } = editing.value.table;+ const { columns } = editing.value.tableMetadata;if (target < 0) return;if (target >= columns.length) return;arraySwap(columns, index, target);};const handleUpdateTableName = (name: string) => {- editing.value.table.name = name;- const tc = tableCatalog.value;- if (tc) {- tc.name = name;- }+ context.upsertTableCatalog(+ {+ database: editing.value.databaseCatalog.name,+ schema: editing.value.schemaCatalog.name,+ table: editing.value.tableMetadata.name,+ },+ (catalog) => {+ catalog.name = name;+ }+ );+ context.removeTableCatalog({+ database: editing.value.databaseCatalog.name,+ schema: editing.value.schemaCatalog.name,+ table: editing.value.tableMetadata.name,+ });+ editing.value.tableMetadata.name = name;};</script>diff --git a/frontend/src/components/SchemaTemplate/utils.ts b/frontend/src/components/SchemaTemplate/utils.tsindex 9185a11574..53fddea48a 100644--- a/frontend/src/components/SchemaTemplate/utils.ts+++ b/frontend/src/components/SchemaTemplate/utils.ts@@ -1,16 +1,23 @@import { cloneDeep } from "lodash-es";import { computed, reactive } from "vue";-import { useSettingV1Store, useDatabaseCatalog } from "@/store";+import { useSettingV1Store } from "@/store";import { unknownDatabase, type ComposedDatabase } from "@/types";import { Engine } from "@/types/proto/v1/common";+import {+ DatabaseCatalog,+ SchemaCatalog,+ TableCatalog,+ TableCatalog_Columns,+} from "@/types/proto/v1/database_catalog_service";import {DatabaseMetadata,- SchemaConfig,SchemaMetadata,- TableConfig,TableMetadata,} from "@/types/proto/v1/database_service";-import { SchemaTemplateSetting_TableTemplate } from "@/types/proto/v1/setting_service";+import {+ SchemaTemplateSetting_TableTemplate,+ DataClassificationSetting_DataClassificationConfig,+} from "@/types/proto/v1/setting_service";export const engineList = [Engine.MYSQL, Engine.POSTGRES];@@ -35,11 +42,13 @@ export const categoryList = computed(() => {return resp;});-export const classificationConfig = computed(() => {- const settingStore = useSettingV1Store();- // TODO(ed): it's a temporary solution- return settingStore.classification[0];-});+export const classificationConfig = computed(+ (): DataClassificationSetting_DataClassificationConfig | undefined => {+ const settingStore = useSettingV1Store();+ // TODO(ed): it's a temporary solution+ return settingStore.classification[0];+ }+);export const mockMetadataFromTableTemplate = (template: SchemaTemplateSetting_TableTemplate@@ -47,27 +56,44 @@ export const mockMetadataFromTableTemplate = (const db = {...unknownDatabase(),};- const table = cloneDeep(template.table) ?? TableMetadata.fromPartial({});- const schema = SchemaMetadata.fromPartial({+ const tableMetadata =+ cloneDeep(template.table) ?? TableMetadata.fromPartial({});+ const schemaMetadata = SchemaMetadata.fromPartial({name: "",- tables: [table],+ tables: [tableMetadata],});- const tableConfig =- cloneDeep(template.catalog) ?? TableConfig.fromPartial({ name: "" });- const database = DatabaseMetadata.fromPartial({- schemas: [schema],- schemaConfigs: [- SchemaConfig.fromPartial({++ const tableCatalog =+ cloneDeep(template.catalog) ??+ TableCatalog.fromPartial({+ name: "",+ columns: TableCatalog_Columns.fromPartial({}),+ });+ const databaseMetadata = DatabaseMetadata.fromPartial({+ name: db.name,+ schemas: [+ SchemaMetadata.fromPartial({name: "",- tableConfigs: [tableConfig],+ tables: [cloneDeep(template.table) ?? TableMetadata.fromPartial({})],}),],});+ const schemaCatalog = SchemaCatalog.fromPartial({+ name: "",+ tables: [tableCatalog],+ });+ const databaseCatalog = DatabaseCatalog.fromPartial({+ name: db.name,+ schemas: [schemaCatalog],+ });return reactive({db,- database,- schema,- table,+ databaseMetadata,+ databaseCatalog,+ schemaCatalog,+ schemaMetadata,+ tableCatalog,+ tableMetadata,id: template.id,category: template.category,engine: template.engine,@@ -76,21 +102,16 @@ export const mockMetadataFromTableTemplate = (export const rebuildTableTemplateFromMetadata = (params: {db: ComposedDatabase;- database: DatabaseMetadata;- schema: SchemaMetadata;- table: TableMetadata;+ tableMetadata: TableMetadata;+ tableCatalog: TableCatalog;id: string;category: string;engine: Engine;}) => {- const { schema, table, id, category, engine } = params;- const databaseCatalog = useDatabaseCatalog(params.database.name, false);+ const { tableMetadata, tableCatalog, id, category, engine } = params;- const tableCatalog = databaseCatalog.value.schemas- .find((sc) => sc.name === schema.name)- ?.tables.find((tc) => tc.name === table.name);return SchemaTemplateSetting_TableTemplate.fromPartial({- table,+ table: tableMetadata,catalog: tableCatalog,id,category,diff --git a/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vue b/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vueindex fd093f3894..f7c7d4f75d 100644--- a/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vue+++ b/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vue@@ -18,7 +18,7 @@ import { useI18n } from "vue-i18n";import { useRouter, RouterLink } from "vue-router";import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";import SemanticTypeCell from "@/components/ColumnDataTable/SemanticTypeCell.vue";-import { updateColumnConfig } from "@/components/ColumnDataTable/utils";+import { updateColumnCatalog } from "@/components/ColumnDataTable/utils";import type { MaskData } from "@/components/SensitiveData/types";import { MiniActionButton } from "@/components/v2";import {@@ -230,7 +230,7 @@ const onClassificationIdApply = async (item: MaskData,classification: string) => {- await updateColumnConfig({+ await updateColumnCatalog({database: props.database.name,schema: item.schema,table: item.table,diff --git a/frontend/src/components/TableDataTable.vue b/frontend/src/components/TableDataTable.vueindex 2a03efc0b8..97349be5a2 100644--- a/frontend/src/components/TableDataTable.vue+++ b/frontend/src/components/TableDataTable.vue@@ -31,7 +31,7 @@ import { useI18n } from "vue-i18n";import { useRoute, useRouter } from "vue-router";import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";import {- updateTableConfig,+ updateTableCatalog,supportSetClassificationFromComment,} from "@/components/ColumnDataTable/utils";import {@@ -260,7 +260,7 @@ const onClassificationIdApply = async (table: string,classification: string) => {- await updateTableConfig({+ await updateTableCatalog({database: props.database.name,schema: props.schemaName,table,diff --git a/frontend/src/components/TableSchemaViewer.vue b/frontend/src/components/TableSchemaViewer.vueindex 662917e78c..89ddedad79 100644--- a/frontend/src/components/TableSchemaViewer.vue+++ b/frontend/src/components/TableSchemaViewer.vue@@ -45,6 +45,7 @@ import {pushNotification,useDBSchemaV1Store,useSettingV1Store,+ useDatabaseCatalogV1Store,} from "@/store";import type { ComposedDatabase } from "@/types";import {@@ -63,6 +64,7 @@ const props = defineProps<{const { t } = useI18n();const dbSchemaStore = useDBSchemaV1Store();+const dbCatalogStore = useDatabaseCatalogV1Store();const settingStore = useSettingV1Store();const { copy: copyTextToClipboard, isSupported } = useClipboard({@@ -121,6 +123,11 @@ onMounted(async () => {const mockedDatabaseMetadata = DatabaseMetadata.fromPartial({name: props.database.name,});+ const catalog = await dbCatalogStore.getOrFetchDatabaseCatalog({+ database: props.database.name,+ skipCache: false,+ });+if (!isUndefined(props.schema)) {const schemaMetadata = SchemaMetadata.fromPartial({name: props.schema,@@ -141,6 +148,7 @@ onMounted(async () => {);const { schema } = await sqlServiceClient.stringifyMetadata({metadata: mockedDatabaseMetadata,+ catalog,engine: engine.value,classificationFromConfig:classificationConfig?.classificationFromConfig ?? false,diff --git a/frontend/src/composables/utils.ts b/frontend/src/composables/utils.tsindex c2d530f289..3164e3d3a5 100644--- a/frontend/src/composables/utils.ts+++ b/frontend/src/composables/utils.ts@@ -38,6 +38,7 @@ const flattenNoSQLColumn = (value: any): any => {const dict = value as { [key: string]: any };if (Object.keys(dict).length === 1 && Object.keys(dict)[0].startsWith("$")) {// Used by the MongoDB response.+ // https://www.mongodb.com/zh-cn/docs/manual/reference/mongodb-extended-json/#bson-data-types-and-associated-representationsconst key = Object.keys(dict)[0];switch (key) {case "$oid":@@ -61,6 +62,7 @@ const flattenNoSQLColumn = (value: any): any => {case "$timestamp":return (dict[key] as { t: number; i: number }).t;case "$binary": {+ // https://www.mongodb.com/zh-cn/docs/manual/reference/bson-types/#binary-dataconst { base64, subType } = dict[key] as {base64: string;subType: string;diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 377600d37e..4bbc87d761 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1955,6 +1955,7 @@"search-database-and-table": "Search database and table","search-table": "Search table","search-column": "Search column",+ "nothing-changed-for-database": "Nothing changed for database {database}","actions": {"create-schema": "Create schema","drop-schema": "Drop schema",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 72777e9145..5ee8547753 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1955,6 +1955,7 @@"search-database-and-table": "Buscar base de datos y tabla","search-table": "Buscar tabla","search-column": "Buscar columna",+ "nothing-changed-for-database": "Nada cambió para la base de datos {database}","actions": {"create-schema": "Crear esquema","drop-schema": "Eliminar esquema",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 7fc07d0885..895b31c16f 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1955,6 +1955,7 @@"search-database-and-table": "データベースとテーブルを検索する","search-table": "検索テーブル","search-column": "検索欄",+ "nothing-changed-for-database": "データベース {database} には何も変更されていません","actions": {"create-schema": "新しいスキーマ","drop-schema": "スキーマの削除",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 4fde4c3863..7f29957e11 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1955,6 +1955,7 @@"search-database-and-table": "搜索数据库和表","search-table": "搜索表","search-column": "搜索列",+ "nothing-changed-for-database": "数据库 {database} 未发生任何变化","actions": {"create-schema": "新建 Schema","drop-schema": "删除 Schema",@@ -2761,4 +2762,4 @@"last-visit": "上次访问","changelog-for-version": "{version} 的更新日志"}-}+}\ No newline at end of filediff --git a/frontend/src/store/modules/v1/dbSchema.ts b/frontend/src/store/modules/v1/dbSchema.tsindex fb8cb667f4..23dc3247ee 100644--- a/frontend/src/store/modules/v1/dbSchema.ts+++ b/frontend/src/store/modules/v1/dbSchema.ts@@ -97,42 +97,6 @@ export const useDBSchemaV1Store = defineStore("dbSchema_v1", () => {);}- for (const schemaConfig of metadata.schemaConfigs) {- const schemaConfigIndex = existed.schemaConfigs.findIndex(- (s) => s.name === schemaConfig.name- );- if (schemaConfigIndex < 0) {- existed.schemaConfigs.push(schemaConfig);- continue;- }-- for (const tableConfig of schemaConfig.tableConfigs) {- const tableIndex = existed.schemaConfigs[- schemaConfigIndex- ].tableConfigs.findIndex((t) => t.name === tableConfig.name);- if (tableIndex < 0) {- existed.schemaConfigs[schemaConfigIndex].tableConfigs.push(- tableConfig- );- } else {- existed.schemaConfigs[schemaConfigIndex].tableConfigs[tableIndex] =- tableConfig;- }- }-- dropCacheIfNotExist(- dropIfNotExist,- schemaConfig.tableConfigs,- existed.schemaConfigs[schemaConfigIndex].tableConfigs- );- }-- dropCacheIfNotExist(- dropIfNotExist,- metadata.schemaConfigs,- existed.schemaConfigs- );-for (const schema of metadata.schemas) {const schemaIndex = existed.schemas.findIndex((s) => s.name === schema.namediff --git a/frontend/src/types/proto/google/protobuf/descriptor.ts b/frontend/src/types/proto/google/protobuf/descriptor.tsindex 2fdf22f5e2..ae3f877dc7 100644--- a/frontend/src/types/proto/google/protobuf/descriptor.ts+++ b/frontend/src/types/proto/google/protobuf/descriptor.ts@@ -36,7 +36,7 @@ export enum Edition {EDITION_2024 = "EDITION_2024",/*** EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be- * used or relied on outside of tests.+ * used or relyed on outside of tests.*/EDITION_1_TEST_ONLY = "EDITION_1_TEST_ONLY",EDITION_2_TEST_ONLY = "EDITION_2_TEST_ONLY",@@ -1093,13 +1093,12 @@ export interface MessageOptions {export interface FieldOptions {/**- * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.* The ctype option instructs the C++ code generator to use a different* representation of the field than it normally would. See the specific* options below. This option is only implemented to support use of* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of- * type "bytes" in the open source release.- * TODO: make ctype actually deprecated.+ * type "bytes" in the open source release -- sorry, we'll try to include+ * other types in a future version!*/ctype?:| FieldOptions_CType@@ -1315,7 +1314,11 @@ export function fieldOptions_JSTypeToNumber(object: FieldOptions_JSType): number}}-/** If set to RETENTION_SOURCE, the option will be omitted from the binary. */+/**+ * If set to RETENTION_SOURCE, the option will be omitted from the binary.+ * Note: as of January 2023, support for this is in progress and does not yet+ * have an effect (b/264593489).+ */export enum FieldOptions_OptionRetention {RETENTION_UNKNOWN = "RETENTION_UNKNOWN",RETENTION_RUNTIME = "RETENTION_RUNTIME",@@ -1372,7 +1375,8 @@ export function fieldOptions_OptionRetentionToNumber(object: FieldOptions_Option/*** This indicates the types of entities that the field may apply to when used* as an option. If it is unset, then the field may be freely used as an- * option on any kind of entity.+ * option on any kind of entity. Note: as of January 2023, support for this is+ * in progress and does not yet have an effect (b/264593489).*/export enum FieldOptions_OptionTargetType {TARGET_TYPE_UNKNOWN = "TARGET_TYPE_UNKNOWN",diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.tsindex aeea30f3cf..1b2f13a197 100644--- a/frontend/src/types/proto/v1/database_service.ts+++ b/frontend/src/types/proto/v1/database_service.ts@@ -375,8 +375,6 @@ export interface DatabaseMetadata {collation: string;/** The extensions is the list of extensions in a database. */extensions: ExtensionMetadata[];- /** The schema_configs is the list of configs for schemas in a database. */- schemaConfigs: SchemaConfig[];owner: string;}@@ -1186,44 +1184,6 @@ export interface ForeignKeyMetadata {matchType: string;}-export interface DatabaseConfig {- name: string;- /** The schema_configs is the list of configs for schemas in a database. */- schemaConfigs: SchemaConfig[];-}--export interface SchemaConfig {- /**- * The name is the schema name.- * It is an empty string for databases without such concept such as MySQL.- */- name: string;- /** The table_configs is the list of configs for tables in a schema. */- tableConfigs: TableConfig[];-}--export interface TableConfig {- /** The name is the name of a table. */- name: string;- /** The column_configs is the ordered list of configs for columns in a table. */- columnConfigs: ColumnConfig[];- classificationId: string;-}--export interface ColumnConfig {- /** The name is the name of a column. */- name: string;- semanticTypeId: string;- /** The user labels for a column. */- labels: { [key: string]: string };- classificationId: string;-}--export interface ColumnConfig_LabelsEntry {- key: string;- value: string;-}-/** DatabaseSchema is the metadata for databases. */export interface DatabaseSchema {/** The schema dump from database. */@@ -3220,7 +3180,7 @@ export const Database_LabelsEntry: MessageFns<Database_LabelsEntry> = {};function createBaseDatabaseMetadata(): DatabaseMetadata {- return { name: "", schemas: [], characterSet: "", collation: "", extensions: [], schemaConfigs: [], owner: "" };+ return { name: "", schemas: [], characterSet: "", collation: "", extensions: [], owner: "" };}export const DatabaseMetadata: MessageFns<DatabaseMetadata> = {@@ -3240,9 +3200,6 @@ export const DatabaseMetadata: MessageFns<DatabaseMetadata> = {for (const v of message.extensions) {ExtensionMetadata.encode(v!, writer.uint32(42).fork()).join();}- for (const v of message.schemaConfigs) {- SchemaConfig.encode(v!, writer.uint32(50).fork()).join();- }if (message.owner !== "") {writer.uint32(58).string(message.owner);}@@ -3296,14 +3253,6 @@ export const DatabaseMetadata: MessageFns<DatabaseMetadata> = {message.extensions.push(ExtensionMetadata.decode(reader, reader.uint32()));continue;}- case 6: {- if (tag !== 50) {- break;- }-- message.schemaConfigs.push(SchemaConfig.decode(reader, reader.uint32()));- continue;- }case 7: {if (tag !== 58) {break;@@ -3332,9 +3281,6 @@ export const DatabaseMetadata: MessageFns<DatabaseMetadata> = {extensions: globalThis.Array.isArray(object?.extensions)? object.extensions.map((e: any) => ExtensionMetadata.fromJSON(e)): [],- schemaConfigs: globalThis.Array.isArray(object?.schemaConfigs)- ? object.schemaConfigs.map((e: any) => SchemaConfig.fromJSON(e))- : [],owner: isSet(object.owner) ? globalThis.String(object.owner) : "",};},@@ -3356,9 +3302,6 @@ export const DatabaseMetadata: MessageFns<DatabaseMetadata> = {if (message.extensions?.length) {obj.extensions = message.extensions.map((e) => ExtensionMetadata.toJSON(e));}- if (message.schemaConfigs?.length) {- obj.schemaConfigs = message.schemaConfigs.map((e) => SchemaConfig.toJSON(e));- }if (message.owner !== "") {obj.owner = message.owner;}@@ -3375,7 +3318,6 @@ export const DatabaseMetadata: MessageFns<DatabaseMetadata> = {message.characterSet = object.characterSet ?? "";message.collation = object.collation ?? "";message.extensions = object.extensions?.map((e) => ExtensionMetadata.fromPartial(e)) || [];- message.schemaConfigs = object.schemaConfigs?.map((e) => SchemaConfig.fromPartial(e)) || [];message.owner = object.owner ?? "";return message;},@@ -7353,459 +7295,6 @@ export const ForeignKeyMetadata: MessageFns<ForeignKeyMetadata> = {},};-function createBaseDatabaseConfig(): DatabaseConfig {- return { name: "", schemaConfigs: [] };-}--export const DatabaseConfig: MessageFns<DatabaseConfig> = {- encode(message: DatabaseConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- for (const v of message.schemaConfigs) {- SchemaConfig.encode(v!, writer.uint32(18).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): DatabaseConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseDatabaseConfig();- 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.schemaConfigs.push(SchemaConfig.decode(reader, reader.uint32()));- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): DatabaseConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- schemaConfigs: globalThis.Array.isArray(object?.schemaConfigs)- ? object.schemaConfigs.map((e: any) => SchemaConfig.fromJSON(e))- : [],- };- },-- toJSON(message: DatabaseConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.schemaConfigs?.length) {- obj.schemaConfigs = message.schemaConfigs.map((e) => SchemaConfig.toJSON(e));- }- return obj;- },-- create(base?: DeepPartial<DatabaseConfig>): DatabaseConfig {- return DatabaseConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<DatabaseConfig>): DatabaseConfig {- const message = createBaseDatabaseConfig();- message.name = object.name ?? "";- message.schemaConfigs = object.schemaConfigs?.map((e) => SchemaConfig.fromPartial(e)) || [];- return message;- },-};--function createBaseSchemaConfig(): SchemaConfig {- return { name: "", tableConfigs: [] };-}--export const SchemaConfig: MessageFns<SchemaConfig> = {- encode(message: SchemaConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- for (const v of message.tableConfigs) {- TableConfig.encode(v!, writer.uint32(18).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): SchemaConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseSchemaConfig();- 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.tableConfigs.push(TableConfig.decode(reader, reader.uint32()));- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): SchemaConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- tableConfigs: globalThis.Array.isArray(object?.tableConfigs)- ? object.tableConfigs.map((e: any) => TableConfig.fromJSON(e))- : [],- };- },-- toJSON(message: SchemaConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.tableConfigs?.length) {- obj.tableConfigs = message.tableConfigs.map((e) => TableConfig.toJSON(e));- }- return obj;- },-- create(base?: DeepPartial<SchemaConfig>): SchemaConfig {- return SchemaConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<SchemaConfig>): SchemaConfig {- const message = createBaseSchemaConfig();- message.name = object.name ?? "";- message.tableConfigs = object.tableConfigs?.map((e) => TableConfig.fromPartial(e)) || [];- return message;- },-};--function createBaseTableConfig(): TableConfig {- return { name: "", columnConfigs: [], classificationId: "" };-}--export const TableConfig: MessageFns<TableConfig> = {- encode(message: TableConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- for (const v of message.columnConfigs) {- ColumnConfig.encode(v!, writer.uint32(18).fork()).join();- }- if (message.classificationId !== "") {- writer.uint32(26).string(message.classificationId);- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): TableConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseTableConfig();- 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.columnConfigs.push(ColumnConfig.decode(reader, reader.uint32()));- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.classificationId = reader.string();- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): TableConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- columnConfigs: globalThis.Array.isArray(object?.columnConfigs)- ? object.columnConfigs.map((e: any) => ColumnConfig.fromJSON(e))- : [],- classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",- };- },-- toJSON(message: TableConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.columnConfigs?.length) {- obj.columnConfigs = message.columnConfigs.map((e) => ColumnConfig.toJSON(e));- }- if (message.classificationId !== "") {- obj.classificationId = message.classificationId;- }- return obj;- },-- create(base?: DeepPartial<TableConfig>): TableConfig {- return TableConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<TableConfig>): TableConfig {- const message = createBaseTableConfig();- message.name = object.name ?? "";- message.columnConfigs = object.columnConfigs?.map((e) => ColumnConfig.fromPartial(e)) || [];- message.classificationId = object.classificationId ?? "";- return message;- },-};--function createBaseColumnConfig(): ColumnConfig {- return { name: "", semanticTypeId: "", labels: {}, classificationId: "" };-}--export const ColumnConfig: MessageFns<ColumnConfig> = {- encode(message: ColumnConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.semanticTypeId !== "") {- writer.uint32(18).string(message.semanticTypeId);- }- Object.entries(message.labels).forEach(([key, value]) => {- ColumnConfig_LabelsEntry.encode({ key: key as any, value }, writer.uint32(26).fork()).join();- });- if (message.classificationId !== "") {- writer.uint32(34).string(message.classificationId);- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): ColumnConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseColumnConfig();- 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.semanticTypeId = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- const entry3 = ColumnConfig_LabelsEntry.decode(reader, reader.uint32());- if (entry3.value !== undefined) {- message.labels[entry3.key] = entry3.value;- }- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.classificationId = reader.string();- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): ColumnConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- semanticTypeId: isSet(object.semanticTypeId) ? globalThis.String(object.semanticTypeId) : "",- labels: isObject(object.labels)- ? Object.entries(object.labels).reduce<{ [key: string]: string }>((acc, [key, value]) => {- acc[key] = String(value);- return acc;- }, {})- : {},- classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",- };- },-- toJSON(message: ColumnConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.semanticTypeId !== "") {- obj.semanticTypeId = message.semanticTypeId;- }- if (message.labels) {- const entries = Object.entries(message.labels);- if (entries.length > 0) {- obj.labels = {};- entries.forEach(([k, v]) => {- obj.labels[k] = v;- });- }- }- if (message.classificationId !== "") {- obj.classificationId = message.classificationId;- }- return obj;- },-- create(base?: DeepPartial<ColumnConfig>): ColumnConfig {- return ColumnConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ColumnConfig>): ColumnConfig {- const message = createBaseColumnConfig();- message.name = object.name ?? "";- message.semanticTypeId = object.semanticTypeId ?? "";- message.labels = Object.entries(object.labels ?? {}).reduce<{ [key: string]: string }>((acc, [key, value]) => {- if (value !== undefined) {- acc[key] = globalThis.String(value);- }- return acc;- }, {});- message.classificationId = object.classificationId ?? "";- return message;- },-};--function createBaseColumnConfig_LabelsEntry(): ColumnConfig_LabelsEntry {- return { key: "", value: "" };-}--export const ColumnConfig_LabelsEntry: MessageFns<ColumnConfig_LabelsEntry> = {- encode(message: ColumnConfig_LabelsEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.key !== "") {- writer.uint32(10).string(message.key);- }- if (message.value !== "") {- writer.uint32(18).string(message.value);- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): ColumnConfig_LabelsEntry {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseColumnConfig_LabelsEntry();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.key = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.value = reader.string();- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): ColumnConfig_LabelsEntry {- return {- key: isSet(object.key) ? globalThis.String(object.key) : "",- value: isSet(object.value) ? globalThis.String(object.value) : "",- };- },-- toJSON(message: ColumnConfig_LabelsEntry): unknown {- const obj: any = {};- if (message.key !== "") {- obj.key = message.key;- }- if (message.value !== "") {- obj.value = message.value;- }- return obj;- },-- create(base?: DeepPartial<ColumnConfig_LabelsEntry>): ColumnConfig_LabelsEntry {- return ColumnConfig_LabelsEntry.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ColumnConfig_LabelsEntry>): ColumnConfig_LabelsEntry {- const message = createBaseColumnConfig_LabelsEntry();- message.key = object.key ?? "";- message.value = object.value ?? "";- return message;- },-};-function createBaseDatabaseSchema(): DatabaseSchema {return { schema: "" };}diff --git a/frontend/src/types/proto/v1/sql_service.ts b/frontend/src/types/proto/v1/sql_service.tsindex 89290fe450..293511d741 100644--- a/frontend/src/types/proto/v1/sql_service.ts+++ b/frontend/src/types/proto/v1/sql_service.ts@@ -509,11 +509,10 @@ export interface StringifyMetadataRequest {| undefined;/** The database engine of the schema string. */engine: Engine;- /**- * If false, we will build the raw common by classification in database- * config.- */+ /** If false, we will build the raw common by classification in database catalog. */classificationFromConfig: boolean;+ /** Database catlog is required if classification_from_config is false. */+ catalog?: DatabaseCatalog | undefined;}export interface StringifyMetadataResponse {@@ -3079,7 +3078,12 @@ export const ParseMyBatisMapperResponse: MessageFns<ParseMyBatisMapperResponse>};function createBaseStringifyMetadataRequest(): StringifyMetadataRequest {- return { metadata: undefined, engine: Engine.ENGINE_UNSPECIFIED, classificationFromConfig: false };+ return {+ metadata: undefined,+ engine: Engine.ENGINE_UNSPECIFIED,+ classificationFromConfig: false,+ catalog: undefined,+ };}export const StringifyMetadataRequest: MessageFns<StringifyMetadataRequest> = {@@ -3093,6 +3097,9 @@ export const StringifyMetadataRequest: MessageFns<StringifyMetadataRequest> = {if (message.classificationFromConfig !== false) {writer.uint32(24).bool(message.classificationFromConfig);}+ if (message.catalog !== undefined) {+ DatabaseCatalog.encode(message.catalog, writer.uint32(34).fork()).join();+ }return writer;},@@ -3127,6 +3134,14 @@ export const StringifyMetadataRequest: MessageFns<StringifyMetadataRequest> = {message.classificationFromConfig = reader.bool();continue;}+ case 4: {+ if (tag !== 34) {+ break;+ }++ message.catalog = DatabaseCatalog.decode(reader, reader.uint32());+ continue;+ }}if ((tag & 7) === 4 || tag === 0) {break;@@ -3143,6 +3158,7 @@ export const StringifyMetadataRequest: MessageFns<StringifyMetadataRequest> = {classificationFromConfig: isSet(object.classificationFromConfig)? globalThis.Boolean(object.classificationFromConfig): false,+ catalog: isSet(object.catalog) ? DatabaseCatalog.fromJSON(object.catalog) : undefined,};},@@ -3157,6 +3173,9 @@ export const StringifyMetadataRequest: MessageFns<StringifyMetadataRequest> = {if (message.classificationFromConfig !== false) {obj.classificationFromConfig = message.classificationFromConfig;}+ if (message.catalog !== undefined) {+ obj.catalog = DatabaseCatalog.toJSON(message.catalog);+ }return obj;},@@ -3170,6 +3189,9 @@ export const StringifyMetadataRequest: MessageFns<StringifyMetadataRequest> = {: undefined;message.engine = object.engine ?? Engine.ENGINE_UNSPECIFIED;message.classificationFromConfig = object.classificationFromConfig ?? false;+ message.catalog = (object.catalog !== undefined && object.catalog !== null)+ ? DatabaseCatalog.fromPartial(object.catalog)+ : undefined;return message;},};diff --git a/frontend/src/types/v1/schemaEditor/atomType.ts b/frontend/src/types/v1/schemaEditor/atomType.tsindex 769b686681..75155c58b2 100644--- a/frontend/src/types/v1/schemaEditor/atomType.ts+++ b/frontend/src/types/v1/schemaEditor/atomType.ts@@ -1,16 +1,4 @@import type Long from "long";-import { v1 as uuidv1 } from "uuid";-import type {- SchemaMetadata,- TableMetadata,- ColumnMetadata,-} from "@/types/proto/v1/database_service";-import {- ColumnConfig,- TableConfig,- SchemaConfig,-} from "@/types/proto/v1/database_service";-import { isGhostTable, keyBy } from "@/utils";type Status = "normal" | "created" | "dropped";@@ -28,7 +16,6 @@ export interface Column extends ColumnDefaultValue {comment: string;userComment: string;status: Status;- config: ColumnConfig;}export interface PrimaryKey {@@ -59,7 +46,6 @@ export interface Table {primaryKey: PrimaryKey;foreignKeyList: ForeignKey[];status: Status;- config: TableConfig;}export interface Schema {@@ -69,189 +55,3 @@ export interface Schema {tableList: Table[];status: Status;}--export const convertColumnMetadataToColumn = (- columnMetadata: ColumnMetadata,- status: Status,- config: ColumnConfig | undefined = undefined-): Column => {- return {- id: uuidv1(),- name: columnMetadata.name,- type: columnMetadata.type,- nullable: columnMetadata.nullable,- comment: columnMetadata.comment,- userComment: columnMetadata.userComment,- hasDefault: columnMetadata.hasDefault,- defaultNull: columnMetadata.defaultNull,- defaultString: columnMetadata.defaultString,- defaultExpression: columnMetadata.defaultExpression,- status,- config: ColumnConfig.fromPartial({- ...(config ?? {}),- name: columnMetadata.name,- }),- };-};--export const convertTableMetadataToTable = (- tableMetadata: TableMetadata,- status: Status,- config: TableConfig = TableConfig.fromPartial({})-): Table => {- const table: Table = {- id: uuidv1(),- name: tableMetadata.name,- engine: tableMetadata.engine,- collation: tableMetadata.collation,- rowCount: tableMetadata.rowCount,- dataSize: tableMetadata.dataSize,- comment: tableMetadata.comment,- userComment: tableMetadata.userComment,- columnList: tableMetadata.columns.map((column) =>- convertColumnMetadataToColumn(- column,- status,- config.columnConfigs.find(- (columnConfig) => columnConfig.name === column.name- )- )- ),- primaryKey: {- name: "",- columnIdList: [],- },- foreignKeyList: [],- status,- config: TableConfig.fromPartial({- ...(config ?? {}),- name: tableMetadata.name,- }),- };-- for (const indexMetadata of tableMetadata.indexes) {- if (indexMetadata.primary === true) {- table.primaryKey.name = indexMetadata.name;- for (const columnName of indexMetadata.expressions) {- const column = table.columnList.find(- (column) => column.name === columnName- );- if (column) {- table.primaryKey.columnIdList.push(column.id);- }- }- break;- }- }-- return table;-};--export const convertSchemaMetadataToSchema = (- schemaMetadata: SchemaMetadata,- status: Status,- config: SchemaConfig = SchemaConfig.fromPartial({})-): Schema => {- const tableList: Table[] = [];-- for (const tableMetadata of schemaMetadata.tables) {- // Don't display ghost table in Schema Editor.- if (isGhostTable(tableMetadata)) {- continue;- }-- const tableConfig = config.tableConfigs.find(- (tableConfig) => tableConfig.name === tableMetadata.name- );-- const table = convertTableMetadataToTable(- tableMetadata,- status,- tableConfig- );- tableList.push(table);- }-- return {- id: uuidv1(),- name: schemaMetadata.name,- tableList: tableList,- status,- };-};--export const convertSchemaMetadataList = (- schemaMetadataList: SchemaMetadata[],- schemaConfigList: SchemaConfig[]-): Schema[] => {- // Compose all tables of each schema.- const schemaConfigByName = keyBy(schemaConfigList, (sc) => sc.name);- const schemaList: Schema[] = schemaMetadataList.map((schemaMetadata) =>- convertSchemaMetadataToSchema(- schemaMetadata,- "normal",- schemaConfigByName.get(schemaMetadata.name)- )- );-- // Build foreign keys for schema and referenced schema.- const schemaByName = keyBy(schemaList, (s) => s.name);- for (const schemaMetadata of schemaMetadataList) {- const schema = schemaByName.get(schemaMetadata.name);- if (!schema) {- continue;- }-- const tableList = schema.tableList;- for (const tableMetadata of schemaMetadata.tables) {- const table = tableList.find(- (table) => table.name === tableMetadata.name- );- if (!table) {- continue;- }-- const foreignKeyList: ForeignKey[] = [];- for (const foreignKeyMetadata of tableMetadata.foreignKeys) {- const referencedSchema = schemaList.find(- (schema) => schema.name === foreignKeyMetadata.referencedSchema- );- const referencedTable = referencedSchema?.tableList.find(- (table) => table.name === foreignKeyMetadata.referencedTable- );- if (!referencedSchema || !referencedTable) {- continue;- }-- const fk: ForeignKey = {- name: foreignKeyMetadata.name,- tableId: table.id,- columnIdList: [],- referencedSchemaId: referencedSchema.id,- referencedTableId: referencedTable.id,- referencedColumnIdList: [],- };- for (const columnName of foreignKeyMetadata.columns) {- const column = table.columnList.find(- (column) => column.name === columnName- );- if (column) {- fk.columnIdList.push(column.id);- }- }- for (const referencedColumnName of foreignKeyMetadata.referencedColumns) {- const referencedColumn = referencedTable.columnList.find(- (column) => column.name === referencedColumnName- );- if (referencedColumn) {- fk.referencedColumnIdList.push(referencedColumn.id);- }- }- foreignKeyList.push(fk);- }- table.foreignKeyList = foreignKeyList;- }- }-- return schemaList;-};diff --git a/frontend/src/utils/schemaEditor/filter.ts b/frontend/src/utils/schemaEditor/filter.tsindex 5f9acaf615..995eacf014 100644--- a/frontend/src/utils/schemaEditor/filter.ts+++ b/frontend/src/utils/schemaEditor/filter.ts@@ -1,128 +1,11 @@-import { cloneDeep } from "lodash-es";import {ColumnMetadata,- DatabaseMetadata,ForeignKeyMetadata,- FunctionMetadata,IndexMetadata,- ProcedureMetadata,- SchemaMetadata,TableMetadata,TablePartitionMetadata,- ViewMetadata,} from "@/types/proto/v1/database_service";-// filterDatabaseMetadata filter out the objects/attributes we do not support.-// TODO: While supporting new objects/attributes, we should update this function.-// see backend's api/v1/branch_service.go-export const filterDatabaseMetadata = (metadata: DatabaseMetadata) => {- return DatabaseMetadata.fromPartial({- name: metadata.name,- schemaConfigs: metadata.schemaConfigs,- schemas: metadata.schemas.map((schema) => {- return SchemaMetadata.fromPartial({- name: schema.name,- tables: schema.tables.map((table) => filterTableMetadata(table)),- views: schema.views.map((view) => filterViewMetadata(view)),- procedures: schema.procedures.map((procedure) =>- filterProcedureMetadata(procedure)- ),- functions: schema.functions.map((func) => filterFunctionMetadata(func)),- });- }),- });-};--export const filterColumnMetadata = (column: ColumnMetadata) => {- return ColumnMetadata.fromPartial({- name: column.name,- comment: column.comment,- userComment: column.userComment,- type: column.type,- hasDefault: column.hasDefault,- defaultExpression: column.defaultExpression,- defaultNull: column.defaultNull,- defaultString: column.defaultString,- onUpdate: column.onUpdate,- nullable: column.nullable,- });-};--export const filterIndexMetadata = (index: IndexMetadata) => {- return IndexMetadata.fromPartial({- name: index.name,- definition: index.definition,- primary: index.primary,- unique: index.unique,- comment: index.comment,- expressions: index.expressions,- });-};--export const filterForeignKeyMetadata = (fk: ForeignKeyMetadata) => {- return ForeignKeyMetadata.fromPartial({- name: fk.name,- columns: fk.columns,- referencedSchema: fk.referencedSchema,- referencedTable: fk.referencedTable,- referencedColumns: fk.referencedColumns,- });-};--export const filterTablePartitionMetadata = (- partition: TablePartitionMetadata-): TablePartitionMetadata => {- return TablePartitionMetadata.fromPartial({- name: partition.name,- type: partition.type,- useDefault: partition.useDefault,- value: partition.value,- expression: partition.expression,- subpartitions: partition.subpartitions- ? partition.subpartitions.map((sub) => filterTablePartitionMetadata(sub))- : undefined,- });-};--export const filterTableMetadata = (table: TableMetadata) => {- return TableMetadata.fromPartial({- name: table.name,- comment: table.comment,- userComment: table.userComment,- collation: table.collation,- engine: table.engine,- columns: table.columns.map((column) => filterColumnMetadata(column)),- indexes: table.indexes.map((index) => filterIndexMetadata(index)),- foreignKeys: table.foreignKeys.map((fk) => filterForeignKeyMetadata(fk)),- partitions: table.partitions.map((partition) =>- filterTablePartitionMetadata(partition)- ),- });-};--export const filterViewMetadata = (view: ViewMetadata) => {- return ViewMetadata.fromPartial({- name: view.name,- comment: view.comment,- definition: view.definition,- dependencyColumns: cloneDeep(view.dependencyColumns),- });-};--export const filterProcedureMetadata = (procedure: ProcedureMetadata) => {- return ProcedureMetadata.fromPartial({- name: procedure.name,- definition: procedure.definition,- });-};--export const filterFunctionMetadata = (func: FunctionMetadata) => {- return FunctionMetadata.fromPartial({- name: func.name,- definition: func.definition,- });-};-export const ComparableTableFields: (keyof TableMetadata)[] = ["name","comment",diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 58936d8b6d..989355fb0f 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -13592,9 +13592,11 @@ components:format: enumclassificationFromConfig:type: boolean- description: |-- If false, we will build the raw common by classification in database- config.+ description: If false, we will build the raw common by classification in database catalog.+ catalog:+ allOf:+ - $ref: '#/components/schemas/DatabaseCatalog'+ description: Database catlog is required if classification_from_config is false.StringifyMetadataResponse:type: objectproperties:diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex dad9320175..79fb3a9e57 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -97,13 +97,10 @@- [ChangedResources](#bytebase-v1-ChangedResources)- [Changelog](#bytebase-v1-Changelog)- [CheckConstraintMetadata](#bytebase-v1-CheckConstraintMetadata)- - [ColumnConfig](#bytebase-v1-ColumnConfig)- - [ColumnConfig.LabelsEntry](#bytebase-v1-ColumnConfig-LabelsEntry)- [ColumnMetadata](#bytebase-v1-ColumnMetadata)- [CreateRevisionRequest](#bytebase-v1-CreateRevisionRequest)- [Database](#bytebase-v1-Database)- [Database.LabelsEntry](#bytebase-v1-Database-LabelsEntry)- - [DatabaseConfig](#bytebase-v1-DatabaseConfig)- [DatabaseMetadata](#bytebase-v1-DatabaseMetadata)- [DatabaseSchema](#bytebase-v1-DatabaseSchema)- [DeleteRevisionRequest](#bytebase-v1-DeleteRevisionRequest)@@ -141,7 +138,6 @@- [PackageMetadata](#bytebase-v1-PackageMetadata)- [ProcedureMetadata](#bytebase-v1-ProcedureMetadata)- [Revision](#bytebase-v1-Revision)- - [SchemaConfig](#bytebase-v1-SchemaConfig)- [SchemaMetadata](#bytebase-v1-SchemaMetadata)- [Secret](#bytebase-v1-Secret)- [SequenceMetadata](#bytebase-v1-SequenceMetadata)@@ -151,7 +147,6 @@- [StreamMetadata](#bytebase-v1-StreamMetadata)- [SyncDatabaseRequest](#bytebase-v1-SyncDatabaseRequest)- [SyncDatabaseResponse](#bytebase-v1-SyncDatabaseResponse)- - [TableConfig](#bytebase-v1-TableConfig)- [TableMetadata](#bytebase-v1-TableMetadata)- [TablePartitionMetadata](#bytebase-v1-TablePartitionMetadata)- [TaskMetadata](#bytebase-v1-TaskMetadata)@@ -2084,40 +2079,6 @@ CheckConstraintMetadata is the metadata for check constraints.-<a name="bytebase-v1-ColumnConfig"></a>--### ColumnConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a column. |-| semantic_type_id | [string](#string) | | |-| labels | [ColumnConfig.LabelsEntry](#bytebase-v1-ColumnConfig-LabelsEntry) | repeated | The user labels for a column. |-| classification_id | [string](#string) | | |-------<a name="bytebase-v1-ColumnConfig-LabelsEntry"></a>--### ColumnConfig.LabelsEntry----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| key | [string](#string) | | |-| value | [string](#string) | | |------<a name="bytebase-v1-ColumnMetadata"></a>### ColumnMetadata@@ -2202,22 +2163,6 @@ ColumnMetadata is the metadata for columns.-<a name="bytebase-v1-DatabaseConfig"></a>--### DatabaseConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | |-| schema_configs | [SchemaConfig](#bytebase-v1-SchemaConfig) | repeated | The schema_configs is the list of configs for schemas in a database. |------<a name="bytebase-v1-DatabaseMetadata"></a>### DatabaseMetadata@@ -2233,7 +2178,6 @@ Format: instances/{instance}/databases/{database}/metadata || character_set | [string](#string) | | The character_set is the character set of a database. || collation | [string](#string) | | The collation is the collation of a database. || extensions | [ExtensionMetadata](#bytebase-v1-ExtensionMetadata) | repeated | The extensions is the list of extensions in a database. |-| schema_configs | [SchemaConfig](#bytebase-v1-SchemaConfig) | repeated | The schema_configs is the list of configs for schemas in a database. || owner | [string](#string) | | |@@ -2896,22 +2840,6 @@ ProcedureMetadata is the metadata for procedures.-<a name="bytebase-v1-SchemaConfig"></a>--### SchemaConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| 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. |------<a name="bytebase-v1-SchemaMetadata"></a>### SchemaMetadata@@ -3096,23 +3024,6 @@ SlowQueryStatistics is the statistics of the slow query log.-<a name="bytebase-v1-TableConfig"></a>--### TableConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| 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) | | |------<a name="bytebase-v1-TableMetadata"></a>### TableMetadata@@ -9305,7 +9216,8 @@ for field description.| ----- | ---- | ----- | ----------- || metadata | [DatabaseMetadata](#bytebase-v1-DatabaseMetadata) | | || engine | [Engine](#bytebase-v1-Engine) | | The database engine of the schema string. |-| classification_from_config | [bool](#bool) | | If false, we will build the raw common by classification in database config. |+| classification_from_config | [bool](#bool) | | If false, we will build the raw common by classification in database catalog. |+| catalog | [DatabaseCatalog](#bytebase-v1-DatabaseCatalog) | optional | Database catlog is required if classification_from_config is false. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 80e03710cb..6511baf540 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -537,14 +537,6 @@<a href="#bytebase.v1.CheckConstraintMetadata"><span class="badge">M</span>CheckConstraintMetadata</a></li>- <li>- <a href="#bytebase.v1.ColumnConfig"><span class="badge">M</span>ColumnConfig</a>- </li>-- <li>- <a href="#bytebase.v1.ColumnConfig.LabelsEntry"><span class="badge">M</span>ColumnConfig.LabelsEntry</a>- </li>-<li><a href="#bytebase.v1.ColumnMetadata"><span class="badge">M</span>ColumnMetadata</a></li>@@ -561,10 +553,6 @@<a href="#bytebase.v1.Database.LabelsEntry"><span class="badge">M</span>Database.LabelsEntry</a></li>- <li>- <a href="#bytebase.v1.DatabaseConfig"><span class="badge">M</span>DatabaseConfig</a>- </li>-<li><a href="#bytebase.v1.DatabaseMetadata"><span class="badge">M</span>DatabaseMetadata</a></li>@@ -713,10 +701,6 @@<a href="#bytebase.v1.Revision"><span class="badge">M</span>Revision</a></li>- <li>- <a href="#bytebase.v1.SchemaConfig"><span class="badge">M</span>SchemaConfig</a>- </li>-<li><a href="#bytebase.v1.SchemaMetadata"><span class="badge">M</span>SchemaMetadata</a></li>@@ -753,10 +737,6 @@<a href="#bytebase.v1.SyncDatabaseResponse"><span class="badge">M</span>SyncDatabaseResponse</a></li>- <li>- <a href="#bytebase.v1.TableConfig"><span class="badge">M</span>TableConfig</a>- </li>-<li><a href="#bytebase.v1.TableMetadata"><span class="badge">M</span>TableMetadata</a></li>@@ -6492,82 +6472,6 @@ Or present but not found if deleted </p></td>- <h3 id="bytebase.v1.ColumnConfig">ColumnConfig</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 column. </p></td>- </tr>-- <tr>- <td>semantic_type_id</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>labels</td>- <td><a href="#bytebase.v1.ColumnConfig.LabelsEntry">ColumnConfig.LabelsEntry</a></td>- <td>repeated</td>- <td><p>The user labels for a column. </p></td>- </tr>-- <tr>- <td>classification_id</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.ColumnConfig.LabelsEntry">ColumnConfig.LabelsEntry</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>key</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>value</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.ColumnMetadata">ColumnMetadata</h3><p>ColumnMetadata is the metadata for columns.</p>@@ -6841,37 +6745,6 @@ https://cloud.google.com/resource-manager/docs/tags/tags-overview. </p></td>- <h3 id="bytebase.v1.DatabaseConfig">DatabaseConfig</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> </p></td>- </tr>-- <tr>- <td>schema_configs</td>- <td><a href="#bytebase.v1.SchemaConfig">SchemaConfig</a></td>- <td>repeated</td>- <td><p>The schema_configs is the list of configs for schemas in a database. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.DatabaseMetadata">DatabaseMetadata</h3><p>DatabaseMetadata is the metadata for databases.</p>@@ -6919,13 +6792,6 @@ Format: instances/{instance}/databases/{database}/metadata </p></td><td><p>The extensions is the list of extensions in a database. </p></td></tr>- <tr>- <td>schema_configs</td>- <td><a href="#bytebase.v1.SchemaConfig">SchemaConfig</a></td>- <td>repeated</td>- <td><p>The schema_configs is the list of configs for schemas in a database. </p></td>- </tr>-<tr><td>owner</td><td><a href="#string">string</a></td>@@ -8623,38 +8489,6 @@ projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{task- <h3 id="bytebase.v1.SchemaConfig">SchemaConfig</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 schema name.-It is an empty string for databases without such concept such as MySQL. </p></td>- </tr>-- <tr>- <td>table_configs</td>- <td><a href="#bytebase.v1.TableConfig">TableConfig</a></td>- <td>repeated</td>- <td><p>The table_configs is the list of configs for tables in a schema. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.SchemaMetadata">SchemaMetadata</h3><p>SchemaMetadata is the metadata for schemas.</p><p>This is the concept of schema in Postgres, but it's a no-op for MySQL.</p>@@ -9234,44 +9068,6 @@ Format: instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.TableConfig">TableConfig</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 table. </p></td>- </tr>-- <tr>- <td>column_configs</td>- <td><a href="#bytebase.v1.ColumnConfig">ColumnConfig</a></td>- <td>repeated</td>- <td><p>The column_configs is the ordered list of configs for columns in a table. </p></td>- </tr>-- <tr>- <td>classification_id</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.TableMetadata">TableMetadata</h3><p>TableMetadata is the metadata for tables.</p>@@ -25732,8 +25528,14 @@ Pass this value in the page_token field in the subsequent call to<td>classification_from_config</td><td><a href="#bool">bool</a></td><td></td>- <td><p>If false, we will build the raw common by classification in database-config. </p></td>+ <td><p>If false, we will build the raw common by classification in database catalog. </p></td>+ </tr>++ <tr>+ <td>catalog</td>+ <td><a href="#bytebase.v1.DatabaseCatalog">DatabaseCatalog</a></td>+ <td>optional</td>+ <td><p>Database catlog is required if classification_from_config is false. </p></td></tr></tbody>diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.goindex fb15607a2f..351ae2edd0 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{72, 0}+ return file_v1_database_service_proto_rawDescGZIP(), []int{68, 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{72, 1}+ return file_v1_database_service_proto_rawDescGZIP(), []int{68, 1}}type GetDatabaseRequest struct {@@ -1478,10 +1478,8 @@ type DatabaseMetadata struct {// The collation is the collation of a database.Collation string `protobuf:"bytes,4,opt,name=collation,proto3" json:"collation,omitempty"`// The extensions is the list of extensions in a database.- Extensions []*ExtensionMetadata `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`- // The schema_configs is the list of configs for schemas in a database.- SchemaConfigs []*SchemaConfig `protobuf:"bytes,6,rep,name=schema_configs,json=schemaConfigs,proto3" json:"schema_configs,omitempty"`- Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`+ Extensions []*ExtensionMetadata `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`+ Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}@@ -1551,13 +1549,6 @@ func (x *DatabaseMetadata) GetExtensions() []*ExtensionMetadata {return nil}-func (x *DatabaseMetadata) GetSchemaConfigs() []*SchemaConfig {- if x != nil {- return x.SchemaConfigs- }- return nil-}-func (x *DatabaseMetadata) GetOwner() string {if x != nil {return x.Owner@@ -3991,246 +3982,6 @@ func (x *ForeignKeyMetadata) GetMatchType() string {return ""}-type DatabaseConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The schema_configs is the list of configs for schemas in a database.- SchemaConfigs []*SchemaConfig `protobuf:"bytes,2,rep,name=schema_configs,json=schemaConfigs,proto3" json:"schema_configs,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *DatabaseConfig) Reset() {- *x = DatabaseConfig{}- mi := &file_v1_database_service_proto_msgTypes[39]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *DatabaseConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*DatabaseConfig) ProtoMessage() {}--func (x *DatabaseConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[39]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use DatabaseConfig.ProtoReflect.Descriptor instead.-func (*DatabaseConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{39}-}--func (x *DatabaseConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *DatabaseConfig) GetSchemaConfigs() []*SchemaConfig {- if x != nil {- return x.SchemaConfigs- }- return nil-}--type SchemaConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the schema name.- // 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"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *SchemaConfig) Reset() {- *x = SchemaConfig{}- mi := &file_v1_database_service_proto_msgTypes[40]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *SchemaConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*SchemaConfig) ProtoMessage() {}--func (x *SchemaConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[40]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use SchemaConfig.ProtoReflect.Descriptor instead.-func (*SchemaConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{40}-}--func (x *SchemaConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *SchemaConfig) GetTableConfigs() []*TableConfig {- if x != nil {- return x.TableConfigs- }- return nil-}--type TableConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a table.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The column_configs is the ordered list of configs for columns in a table.- ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`- ClassificationId string `protobuf:"bytes,3,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *TableConfig) Reset() {- *x = TableConfig{}- mi := &file_v1_database_service_proto_msgTypes[41]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *TableConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*TableConfig) ProtoMessage() {}--func (x *TableConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[41]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use TableConfig.ProtoReflect.Descriptor instead.-func (*TableConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{41}-}--func (x *TableConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *TableConfig) GetColumnConfigs() []*ColumnConfig {- if x != nil {- return x.ColumnConfigs- }- return nil-}--func (x *TableConfig) GetClassificationId() string {- if x != nil {- return x.ClassificationId- }- return ""-}--type ColumnConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a column.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- SemanticTypeId string `protobuf:"bytes,2,opt,name=semantic_type_id,json=semanticTypeId,proto3" json:"semantic_type_id,omitempty"`- // The user labels for a column.- Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`- ClassificationId string `protobuf:"bytes,4,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ColumnConfig) Reset() {- *x = ColumnConfig{}- mi := &file_v1_database_service_proto_msgTypes[42]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ColumnConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ColumnConfig) ProtoMessage() {}--func (x *ColumnConfig) 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 ColumnConfig.ProtoReflect.Descriptor instead.-func (*ColumnConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{42}-}--func (x *ColumnConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *ColumnConfig) GetSemanticTypeId() string {- if x != nil {- return x.SemanticTypeId- }- return ""-}--func (x *ColumnConfig) GetLabels() map[string]string {- if x != nil {- return x.Labels- }- return nil-}--func (x *ColumnConfig) GetClassificationId() string {- if x != nil {- return x.ClassificationId- }- return ""-}-// DatabaseSchema is the metadata for databases.type DatabaseSchema struct {state protoimpl.MessageState `protogen:"open.v1"`@@ -4242,7 +3993,7 @@ type DatabaseSchema struct {func (x *DatabaseSchema) Reset() {*x = DatabaseSchema{}- mi := &file_v1_database_service_proto_msgTypes[43]+ mi := &file_v1_database_service_proto_msgTypes[39]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4254,7 +4005,7 @@ func (x *DatabaseSchema) String() string {func (*DatabaseSchema) ProtoMessage() {}func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[43]+ mi := &file_v1_database_service_proto_msgTypes[39]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4267,7 +4018,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{43}+ return file_v1_database_service_proto_rawDescGZIP(), []int{39}}func (x *DatabaseSchema) GetSchema() string {@@ -4310,7 +4061,7 @@ type ListSlowQueriesRequest struct {func (x *ListSlowQueriesRequest) Reset() {*x = ListSlowQueriesRequest{}- mi := &file_v1_database_service_proto_msgTypes[44]+ mi := &file_v1_database_service_proto_msgTypes[40]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4322,7 +4073,7 @@ func (x *ListSlowQueriesRequest) String() string {func (*ListSlowQueriesRequest) ProtoMessage() {}func (x *ListSlowQueriesRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[44]+ mi := &file_v1_database_service_proto_msgTypes[40]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4335,7 +4086,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{44}+ return file_v1_database_service_proto_rawDescGZIP(), []int{40}}func (x *ListSlowQueriesRequest) GetParent() string {@@ -4370,7 +4121,7 @@ type ListSlowQueriesResponse struct {func (x *ListSlowQueriesResponse) Reset() {*x = ListSlowQueriesResponse{}- mi := &file_v1_database_service_proto_msgTypes[45]+ mi := &file_v1_database_service_proto_msgTypes[41]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4382,7 +4133,7 @@ func (x *ListSlowQueriesResponse) String() string {func (*ListSlowQueriesResponse) ProtoMessage() {}func (x *ListSlowQueriesResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[45]+ mi := &file_v1_database_service_proto_msgTypes[41]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4395,7 +4146,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{45}+ return file_v1_database_service_proto_rawDescGZIP(), []int{41}}func (x *ListSlowQueriesResponse) GetSlowQueryLogs() []*SlowQueryLog {@@ -4422,7 +4173,7 @@ type SlowQueryLog struct {func (x *SlowQueryLog) Reset() {*x = SlowQueryLog{}- mi := &file_v1_database_service_proto_msgTypes[46]+ mi := &file_v1_database_service_proto_msgTypes[42]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4434,7 +4185,7 @@ func (x *SlowQueryLog) String() string {func (*SlowQueryLog) ProtoMessage() {}func (x *SlowQueryLog) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[46]+ mi := &file_v1_database_service_proto_msgTypes[42]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4447,7 +4198,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{46}+ return file_v1_database_service_proto_rawDescGZIP(), []int{42}}func (x *SlowQueryLog) GetResource() string {@@ -4505,7 +4256,7 @@ type SlowQueryStatistics struct {func (x *SlowQueryStatistics) Reset() {*x = SlowQueryStatistics{}- mi := &file_v1_database_service_proto_msgTypes[47]+ mi := &file_v1_database_service_proto_msgTypes[43]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4517,7 +4268,7 @@ func (x *SlowQueryStatistics) String() string {func (*SlowQueryStatistics) ProtoMessage() {}func (x *SlowQueryStatistics) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[47]+ mi := &file_v1_database_service_proto_msgTypes[43]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4530,7 +4281,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{47}+ return file_v1_database_service_proto_rawDescGZIP(), []int{43}}func (x *SlowQueryStatistics) GetSqlFingerprint() string {@@ -4638,7 +4389,7 @@ type SlowQueryDetails struct {func (x *SlowQueryDetails) Reset() {*x = SlowQueryDetails{}- mi := &file_v1_database_service_proto_msgTypes[48]+ mi := &file_v1_database_service_proto_msgTypes[44]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4650,7 +4401,7 @@ func (x *SlowQueryDetails) String() string {func (*SlowQueryDetails) ProtoMessage() {}func (x *SlowQueryDetails) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[48]+ mi := &file_v1_database_service_proto_msgTypes[44]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4663,7 +4414,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{48}+ return file_v1_database_service_proto_rawDescGZIP(), []int{44}}func (x *SlowQueryDetails) GetStartTime() *timestamppb.Timestamp {@@ -4732,7 +4483,7 @@ type ListSecretsRequest struct {func (x *ListSecretsRequest) Reset() {*x = ListSecretsRequest{}- mi := &file_v1_database_service_proto_msgTypes[49]+ mi := &file_v1_database_service_proto_msgTypes[45]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4744,7 +4495,7 @@ func (x *ListSecretsRequest) String() string {func (*ListSecretsRequest) ProtoMessage() {}func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[49]+ mi := &file_v1_database_service_proto_msgTypes[45]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4757,7 +4508,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{49}+ return file_v1_database_service_proto_rawDescGZIP(), []int{45}}func (x *ListSecretsRequest) GetParent() string {@@ -4794,7 +4545,7 @@ type ListSecretsResponse struct {func (x *ListSecretsResponse) Reset() {*x = ListSecretsResponse{}- mi := &file_v1_database_service_proto_msgTypes[50]+ mi := &file_v1_database_service_proto_msgTypes[46]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4806,7 +4557,7 @@ func (x *ListSecretsResponse) String() string {func (*ListSecretsResponse) ProtoMessage() {}func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[50]+ mi := &file_v1_database_service_proto_msgTypes[46]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4819,7 +4570,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{50}+ return file_v1_database_service_proto_rawDescGZIP(), []int{46}}func (x *ListSecretsResponse) GetSecrets() []*Secret {@@ -4850,7 +4601,7 @@ type UpdateSecretRequest struct {func (x *UpdateSecretRequest) Reset() {*x = UpdateSecretRequest{}- mi := &file_v1_database_service_proto_msgTypes[51]+ mi := &file_v1_database_service_proto_msgTypes[47]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4862,7 +4613,7 @@ func (x *UpdateSecretRequest) String() string {func (*UpdateSecretRequest) ProtoMessage() {}func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[51]+ mi := &file_v1_database_service_proto_msgTypes[47]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4875,7 +4626,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{51}+ return file_v1_database_service_proto_rawDescGZIP(), []int{47}}func (x *UpdateSecretRequest) GetSecret() *Secret {@@ -4911,7 +4662,7 @@ type DeleteSecretRequest struct {func (x *DeleteSecretRequest) Reset() {*x = DeleteSecretRequest{}- mi := &file_v1_database_service_proto_msgTypes[52]+ mi := &file_v1_database_service_proto_msgTypes[48]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4923,7 +4674,7 @@ func (x *DeleteSecretRequest) String() string {func (*DeleteSecretRequest) ProtoMessage() {}func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[52]+ mi := &file_v1_database_service_proto_msgTypes[48]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4936,7 +4687,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{52}+ return file_v1_database_service_proto_rawDescGZIP(), []int{48}}func (x *DeleteSecretRequest) GetName() string {@@ -4967,7 +4718,7 @@ type Secret struct {func (x *Secret) Reset() {*x = Secret{}- mi := &file_v1_database_service_proto_msgTypes[53]+ mi := &file_v1_database_service_proto_msgTypes[49]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4979,7 +4730,7 @@ func (x *Secret) String() string {func (*Secret) ProtoMessage() {}func (x *Secret) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[53]+ mi := &file_v1_database_service_proto_msgTypes[49]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4992,7 +4743,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{53}+ return file_v1_database_service_proto_rawDescGZIP(), []int{49}}func (x *Secret) GetName() string {@@ -5043,7 +4794,7 @@ type AdviseIndexRequest struct {func (x *AdviseIndexRequest) Reset() {*x = AdviseIndexRequest{}- mi := &file_v1_database_service_proto_msgTypes[54]+ mi := &file_v1_database_service_proto_msgTypes[50]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5055,7 +4806,7 @@ func (x *AdviseIndexRequest) String() string {func (*AdviseIndexRequest) ProtoMessage() {}func (x *AdviseIndexRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[54]+ mi := &file_v1_database_service_proto_msgTypes[50]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5068,7 +4819,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{54}+ return file_v1_database_service_proto_rawDescGZIP(), []int{50}}func (x *AdviseIndexRequest) GetParent() string {@@ -5100,7 +4851,7 @@ type AdviseIndexResponse struct {func (x *AdviseIndexResponse) Reset() {*x = AdviseIndexResponse{}- mi := &file_v1_database_service_proto_msgTypes[55]+ mi := &file_v1_database_service_proto_msgTypes[51]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5112,7 +4863,7 @@ func (x *AdviseIndexResponse) String() string {func (*AdviseIndexResponse) ProtoMessage() {}func (x *AdviseIndexResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[55]+ mi := &file_v1_database_service_proto_msgTypes[51]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5125,7 +4876,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{55}+ return file_v1_database_service_proto_rawDescGZIP(), []int{51}}func (x *AdviseIndexResponse) GetCurrentIndex() string {@@ -5158,7 +4909,7 @@ type ChangedResources struct {func (x *ChangedResources) Reset() {*x = ChangedResources{}- mi := &file_v1_database_service_proto_msgTypes[56]+ mi := &file_v1_database_service_proto_msgTypes[52]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5170,7 +4921,7 @@ func (x *ChangedResources) String() string {func (*ChangedResources) ProtoMessage() {}func (x *ChangedResources) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[56]+ mi := &file_v1_database_service_proto_msgTypes[52]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5183,7 +4934,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{56}+ return file_v1_database_service_proto_rawDescGZIP(), []int{52}}func (x *ChangedResources) GetDatabases() []*ChangedResourceDatabase {@@ -5203,7 +4954,7 @@ type ChangedResourceDatabase struct {func (x *ChangedResourceDatabase) Reset() {*x = ChangedResourceDatabase{}- mi := &file_v1_database_service_proto_msgTypes[57]+ mi := &file_v1_database_service_proto_msgTypes[53]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5215,7 +4966,7 @@ func (x *ChangedResourceDatabase) String() string {func (*ChangedResourceDatabase) ProtoMessage() {}func (x *ChangedResourceDatabase) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[57]+ mi := &file_v1_database_service_proto_msgTypes[53]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5228,7 +4979,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{57}+ return file_v1_database_service_proto_rawDescGZIP(), []int{53}}func (x *ChangedResourceDatabase) GetName() string {@@ -5258,7 +5009,7 @@ type ChangedResourceSchema struct {func (x *ChangedResourceSchema) Reset() {*x = ChangedResourceSchema{}- mi := &file_v1_database_service_proto_msgTypes[58]+ mi := &file_v1_database_service_proto_msgTypes[54]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5270,7 +5021,7 @@ func (x *ChangedResourceSchema) String() string {func (*ChangedResourceSchema) ProtoMessage() {}func (x *ChangedResourceSchema) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[58]+ mi := &file_v1_database_service_proto_msgTypes[54]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5283,7 +5034,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{58}+ return file_v1_database_service_proto_rawDescGZIP(), []int{54}}func (x *ChangedResourceSchema) GetName() string {@@ -5332,7 +5083,7 @@ type ChangedResourceTable struct {func (x *ChangedResourceTable) Reset() {*x = ChangedResourceTable{}- mi := &file_v1_database_service_proto_msgTypes[59]+ mi := &file_v1_database_service_proto_msgTypes[55]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5344,7 +5095,7 @@ func (x *ChangedResourceTable) String() string {func (*ChangedResourceTable) ProtoMessage() {}func (x *ChangedResourceTable) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[59]+ mi := &file_v1_database_service_proto_msgTypes[55]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5357,7 +5108,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{59}+ return file_v1_database_service_proto_rawDescGZIP(), []int{55}}func (x *ChangedResourceTable) GetName() string {@@ -5385,7 +5136,7 @@ type ChangedResourceView struct {func (x *ChangedResourceView) Reset() {*x = ChangedResourceView{}- mi := &file_v1_database_service_proto_msgTypes[60]+ mi := &file_v1_database_service_proto_msgTypes[56]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5397,7 +5148,7 @@ func (x *ChangedResourceView) String() string {func (*ChangedResourceView) ProtoMessage() {}func (x *ChangedResourceView) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[60]+ mi := &file_v1_database_service_proto_msgTypes[56]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5410,7 +5161,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{60}+ return file_v1_database_service_proto_rawDescGZIP(), []int{56}}func (x *ChangedResourceView) GetName() string {@@ -5438,7 +5189,7 @@ type ChangedResourceFunction struct {func (x *ChangedResourceFunction) Reset() {*x = ChangedResourceFunction{}- mi := &file_v1_database_service_proto_msgTypes[61]+ mi := &file_v1_database_service_proto_msgTypes[57]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5450,7 +5201,7 @@ func (x *ChangedResourceFunction) String() string {func (*ChangedResourceFunction) ProtoMessage() {}func (x *ChangedResourceFunction) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[61]+ mi := &file_v1_database_service_proto_msgTypes[57]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5463,7 +5214,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{61}+ return file_v1_database_service_proto_rawDescGZIP(), []int{57}}func (x *ChangedResourceFunction) GetName() string {@@ -5491,7 +5242,7 @@ type ChangedResourceProcedure struct {func (x *ChangedResourceProcedure) Reset() {*x = ChangedResourceProcedure{}- mi := &file_v1_database_service_proto_msgTypes[62]+ mi := &file_v1_database_service_proto_msgTypes[58]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5503,7 +5254,7 @@ func (x *ChangedResourceProcedure) String() string {func (*ChangedResourceProcedure) ProtoMessage() {}func (x *ChangedResourceProcedure) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[62]+ mi := &file_v1_database_service_proto_msgTypes[58]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5516,7 +5267,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{62}+ return file_v1_database_service_proto_rawDescGZIP(), []int{58}}func (x *ChangedResourceProcedure) GetName() string {@@ -5555,7 +5306,7 @@ type ListRevisionsRequest struct {func (x *ListRevisionsRequest) Reset() {*x = ListRevisionsRequest{}- mi := &file_v1_database_service_proto_msgTypes[63]+ mi := &file_v1_database_service_proto_msgTypes[59]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5567,7 +5318,7 @@ func (x *ListRevisionsRequest) String() string {func (*ListRevisionsRequest) ProtoMessage() {}func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[63]+ mi := &file_v1_database_service_proto_msgTypes[59]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5580,7 +5331,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{63}+ return file_v1_database_service_proto_rawDescGZIP(), []int{59}}func (x *ListRevisionsRequest) GetParent() string {@@ -5623,7 +5374,7 @@ type ListRevisionsResponse struct {func (x *ListRevisionsResponse) Reset() {*x = ListRevisionsResponse{}- mi := &file_v1_database_service_proto_msgTypes[64]+ mi := &file_v1_database_service_proto_msgTypes[60]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5635,7 +5386,7 @@ func (x *ListRevisionsResponse) String() string {func (*ListRevisionsResponse) ProtoMessage() {}func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[64]+ mi := &file_v1_database_service_proto_msgTypes[60]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5648,7 +5399,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{64}+ return file_v1_database_service_proto_rawDescGZIP(), []int{60}}func (x *ListRevisionsResponse) GetRevisions() []*Revision {@@ -5677,7 +5428,7 @@ type CreateRevisionRequest struct {func (x *CreateRevisionRequest) Reset() {*x = CreateRevisionRequest{}- mi := &file_v1_database_service_proto_msgTypes[65]+ mi := &file_v1_database_service_proto_msgTypes[61]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5689,7 +5440,7 @@ func (x *CreateRevisionRequest) String() string {func (*CreateRevisionRequest) ProtoMessage() {}func (x *CreateRevisionRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[65]+ mi := &file_v1_database_service_proto_msgTypes[61]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5702,7 +5453,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{65}+ return file_v1_database_service_proto_rawDescGZIP(), []int{61}}func (x *CreateRevisionRequest) GetParent() string {@@ -5730,7 +5481,7 @@ type GetRevisionRequest struct {func (x *GetRevisionRequest) Reset() {*x = GetRevisionRequest{}- mi := &file_v1_database_service_proto_msgTypes[66]+ mi := &file_v1_database_service_proto_msgTypes[62]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5742,7 +5493,7 @@ func (x *GetRevisionRequest) String() string {func (*GetRevisionRequest) ProtoMessage() {}func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[66]+ mi := &file_v1_database_service_proto_msgTypes[62]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5755,7 +5506,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{66}+ return file_v1_database_service_proto_rawDescGZIP(), []int{62}}func (x *GetRevisionRequest) GetName() string {@@ -5776,7 +5527,7 @@ type DeleteRevisionRequest struct {func (x *DeleteRevisionRequest) Reset() {*x = DeleteRevisionRequest{}- mi := &file_v1_database_service_proto_msgTypes[67]+ mi := &file_v1_database_service_proto_msgTypes[63]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5788,7 +5539,7 @@ func (x *DeleteRevisionRequest) String() string {func (*DeleteRevisionRequest) ProtoMessage() {}func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[67]+ mi := &file_v1_database_service_proto_msgTypes[63]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5801,7 +5552,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{67}+ return file_v1_database_service_proto_rawDescGZIP(), []int{63}}func (x *DeleteRevisionRequest) GetName() string {@@ -5853,7 +5604,7 @@ type Revision struct {func (x *Revision) Reset() {*x = Revision{}- mi := &file_v1_database_service_proto_msgTypes[68]+ mi := &file_v1_database_service_proto_msgTypes[64]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5865,7 +5616,7 @@ func (x *Revision) String() string {func (*Revision) ProtoMessage() {}func (x *Revision) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[68]+ mi := &file_v1_database_service_proto_msgTypes[64]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5878,7 +5629,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{68}+ return file_v1_database_service_proto_rawDescGZIP(), []int{64}}func (x *Revision) GetName() string {@@ -6038,7 +5789,7 @@ type ListChangelogsRequest struct {func (x *ListChangelogsRequest) Reset() {*x = ListChangelogsRequest{}- mi := &file_v1_database_service_proto_msgTypes[69]+ mi := &file_v1_database_service_proto_msgTypes[65]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6050,7 +5801,7 @@ func (x *ListChangelogsRequest) String() string {func (*ListChangelogsRequest) ProtoMessage() {}func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[69]+ mi := &file_v1_database_service_proto_msgTypes[65]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6063,7 +5814,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{69}+ return file_v1_database_service_proto_rawDescGZIP(), []int{65}}func (x *ListChangelogsRequest) GetParent() string {@@ -6114,7 +5865,7 @@ type ListChangelogsResponse struct {func (x *ListChangelogsResponse) Reset() {*x = ListChangelogsResponse{}- mi := &file_v1_database_service_proto_msgTypes[70]+ mi := &file_v1_database_service_proto_msgTypes[66]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6126,7 +5877,7 @@ func (x *ListChangelogsResponse) String() string {func (*ListChangelogsResponse) ProtoMessage() {}func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[70]+ mi := &file_v1_database_service_proto_msgTypes[66]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6139,7 +5890,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{70}+ return file_v1_database_service_proto_rawDescGZIP(), []int{66}}func (x *ListChangelogsResponse) GetChangelogs() []*Changelog {@@ -6170,7 +5921,7 @@ type GetChangelogRequest struct {func (x *GetChangelogRequest) Reset() {*x = GetChangelogRequest{}- mi := &file_v1_database_service_proto_msgTypes[71]+ mi := &file_v1_database_service_proto_msgTypes[67]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6182,7 +5933,7 @@ func (x *GetChangelogRequest) String() string {func (*GetChangelogRequest) ProtoMessage() {}func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[71]+ mi := &file_v1_database_service_proto_msgTypes[67]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6195,7 +5946,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{71}+ return file_v1_database_service_proto_rawDescGZIP(), []int{67}}func (x *GetChangelogRequest) GetName() string {@@ -6254,7 +6005,7 @@ type Changelog struct {func (x *Changelog) Reset() {*x = Changelog{}- mi := &file_v1_database_service_proto_msgTypes[72]+ mi := &file_v1_database_service_proto_msgTypes[68]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6266,7 +6017,7 @@ func (x *Changelog) String() string {func (*Changelog) ProtoMessage() {}func (x *Changelog) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[72]+ mi := &file_v1_database_service_proto_msgTypes[68]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6279,7 +6030,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{72}+ return file_v1_database_service_proto_rawDescGZIP(), []int{68}}func (x *Changelog) GetName() string {@@ -6566,7 +6317,7 @@ var file_v1_database_service_proto_rawDesc = []byte{0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x29, 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, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x91, 0x03,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xcf, 0x02,0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,@@ -6581,703 +6332,540 @@ var file_v1_database_service_proto_rawDesc = []byte{0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,0x76, 0x31, 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, 0x40, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x57, 0xea, 0x41, 0x54, 0x0a, 0x1d, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x22, 0x90, 0x06, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61,+ 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x57, 0xea, 0x41, 0x54, 0x0a, 0x1d, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22,+ 0x90, 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, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73,+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x65, 0x78,+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d,+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,+ 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73,+ 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69,+ 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75,+ 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72,+ 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65,+ 0x64, 0x75, 0x72, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73,+ 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x2f, 0x0a, 0x05,+ 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x54, 0x0a,+ 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x69,+ 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,+ 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69,+ 0x65, 0x77, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18,+ 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 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, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77,+ 0x6e, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x09, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73,+ 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 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, 0x32, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45,+ 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x65, 0x76,+ 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70,+ 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 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, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c,- 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61,- 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f,- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,- 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c,- 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72,- 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x69, 0x65,- 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x66, 0x75,- 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75,- 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65,- 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64,- 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f,- 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61,- 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x2f,- 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12,- 0x54, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f,- 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,- 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64,- 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,- 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,- 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x09, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,- 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x32, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06,- 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74,- 0x79, 0x70, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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,+ 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, 0xca, 0x01, 0x0a, 0x15, 0x45, 0x78,+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72,+ 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53,+ 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x78, 0x74,+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72,+ 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,+ 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63,+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x89, 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, 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,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07,+ 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75,+ 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75,+ 0x6d, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x03,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67,+ 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e,+ 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,+ 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, 0x42, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b,+ 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b,+ 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65,+ 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50,+ 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 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, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x38, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67,+ 0x67, 0x65, 0x72, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 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, 0xcf, 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,+ 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e,+ 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,+ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,+ 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61,+ 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65,+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x49, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74,+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65,+ 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,+ 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69,+ 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 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, 0xf9, 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, 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, 0xca, 0x01, 0x0a, 0x15,- 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x74,- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d,- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,- 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x65,- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78, 0x74,- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d,- 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x89, 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, 0x35,- 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,- 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f,- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73,- 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65,- 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67,- 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,- 0x6e, 0x12, 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, 0x42, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,- 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67,- 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f,- 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x61, 0x72,- 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c,- 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51,- 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, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x38, 0x0a, 0x08, 0x74, 0x72,- 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 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, 0xcf, 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72,- 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,- 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f,+ 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f,+ 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f, 0x64, 0x65,+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73,+ 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75,+ 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52,+ 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x27, 0x0a, 0x0e,+ 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x05,+ 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53,+ 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,+ 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,+ 0x09, 0x48, 0x00, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72,+ 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18,+ 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12,+ 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,+ 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72,+ 0x5f, 0x73, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72,+ 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c,+ 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,+ 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,+ 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,+ 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d,+ 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22,+ 0xaf, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 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, 0x03,+ 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,- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65,- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65,- 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x49, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61,- 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,- 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,- 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x07, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 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, 0xf9, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 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, 0x9b, 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, 0x4c, 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, 0x1d, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x35,+ 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,+ 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f,+ 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,+ 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0xa6, 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, 0x4c, 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, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x05,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 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, 0x34, 0x0a, 0x07,+ 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65,+ 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78,+ 0x65, 0x73, 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, 0xf8, 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, 0x1a, 0x0a, 0x08,- 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,- 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f,- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68,- 0x61, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66,- 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48,- 0x00, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x27,- 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,- 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75,- 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,- 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78,- 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c,- 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c,- 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,- 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68,- 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f,- 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,- 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,- 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,- 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65,- 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,- 0x74, 0x22, 0xaf, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 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, 0x9b, 0x02, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61,+ 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, 0x49, 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, 0x1c,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 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, 0x4c, 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, 0x1d,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67,- 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0xa6, 0x02, 0x0a, 0x18,- 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77,+ 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, 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, 0x4c, 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, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 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, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73,- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 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, 0x34,- 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,- 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64,- 0x65, 0x78, 0x65, 0x73, 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, 0xf8, 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, 0x49, 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, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 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, 0xfd,- 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,+ 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xfd, 0x02, 0x0a,+ 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,+ 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,+ 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,+ 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x05,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12,+ 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70,+ 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,+ 0x09, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12,+ 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73,+ 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,+ 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,+ 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a,+ 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54,+ 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45,+ 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9f, 0x03, 0x0a,+ 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,- 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65,- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73,- 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a,- 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20,- 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72,- 0x73, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,- 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74,- 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64,- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e,- 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,- 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f,- 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41,- 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9f,- 0x03, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65,- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,- 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,- 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,- 0x61, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65,- 0x12, 0x34, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72,- 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65,- 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,- 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,- 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c,- 0x54, 0x41, 0x10, 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10,- 0x4d, 0x4f, 0x44, 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, 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, 0x6c, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e,- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,- 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x4a, 0x04,- 0x08, 0x03, 0x10, 0x04, 0x22, 0x61, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c,- 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,- 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65,- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c,- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x63,- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x2b, 0x0a,- 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,- 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69,- 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x0c, 0x43,- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,- 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65,- 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e,- 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61, 0x62,- 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,- 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73,- 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,- 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 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, 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,+ 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,+ 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,+ 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,+ 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,+ 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79,+ 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6c,+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x12, 0x34,+ 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,+ 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04,+ 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,+ 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,+ 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41,+ 0x10, 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f,+ 0x44, 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, 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, 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, 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, 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, 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,+ 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, 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,@@ -7285,407 +6873,528 @@ var file_v1_database_service_proto_rawDesc = []byte{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,+ 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, 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, 0xa1, 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,+ 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, 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,- 0x22, 0x96, 0x07, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x12,+ 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, 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, 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, 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,- 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,+ 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, 0xa1, 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, 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, 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, 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,+ 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,- 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, 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,- 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, 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, 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,+ 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, 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, 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,+ 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, 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,+ 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 (@@ -7701,7 +7410,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, 75)+var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 70)var file_v1_database_service_proto_goTypes = []any{(DatabaseMetadataView)(0), // 0: bytebase.v1.DatabaseMetadataView(ChangelogView)(0), // 1: bytebase.v1.ChangelogView@@ -7751,183 +7460,173 @@ var file_v1_database_service_proto_goTypes = []any{(*IndexMetadata)(nil), // 45: bytebase.v1.IndexMetadata(*ExtensionMetadata)(nil), // 46: bytebase.v1.ExtensionMetadata(*ForeignKeyMetadata)(nil), // 47: bytebase.v1.ForeignKeyMetadata- (*DatabaseConfig)(nil), // 48: bytebase.v1.DatabaseConfig- (*SchemaConfig)(nil), // 49: bytebase.v1.SchemaConfig- (*TableConfig)(nil), // 50: bytebase.v1.TableConfig- (*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+ (*DatabaseSchema)(nil), // 48: bytebase.v1.DatabaseSchema+ (*ListSlowQueriesRequest)(nil), // 49: bytebase.v1.ListSlowQueriesRequest+ (*ListSlowQueriesResponse)(nil), // 50: bytebase.v1.ListSlowQueriesResponse+ (*SlowQueryLog)(nil), // 51: bytebase.v1.SlowQueryLog+ (*SlowQueryStatistics)(nil), // 52: bytebase.v1.SlowQueryStatistics+ (*SlowQueryDetails)(nil), // 53: bytebase.v1.SlowQueryDetails+ (*ListSecretsRequest)(nil), // 54: bytebase.v1.ListSecretsRequest+ (*ListSecretsResponse)(nil), // 55: bytebase.v1.ListSecretsResponse+ (*UpdateSecretRequest)(nil), // 56: bytebase.v1.UpdateSecretRequest+ (*DeleteSecretRequest)(nil), // 57: bytebase.v1.DeleteSecretRequest+ (*Secret)(nil), // 58: bytebase.v1.Secret+ (*AdviseIndexRequest)(nil), // 59: bytebase.v1.AdviseIndexRequest+ (*AdviseIndexResponse)(nil), // 60: bytebase.v1.AdviseIndexResponse+ (*ChangedResources)(nil), // 61: bytebase.v1.ChangedResources+ (*ChangedResourceDatabase)(nil), // 62: bytebase.v1.ChangedResourceDatabase+ (*ChangedResourceSchema)(nil), // 63: bytebase.v1.ChangedResourceSchema+ (*ChangedResourceTable)(nil), // 64: bytebase.v1.ChangedResourceTable+ (*ChangedResourceView)(nil), // 65: bytebase.v1.ChangedResourceView+ (*ChangedResourceFunction)(nil), // 66: bytebase.v1.ChangedResourceFunction+ (*ChangedResourceProcedure)(nil), // 67: bytebase.v1.ChangedResourceProcedure+ (*ListRevisionsRequest)(nil), // 68: bytebase.v1.ListRevisionsRequest+ (*ListRevisionsResponse)(nil), // 69: bytebase.v1.ListRevisionsResponse+ (*CreateRevisionRequest)(nil), // 70: bytebase.v1.CreateRevisionRequest+ (*GetRevisionRequest)(nil), // 71: bytebase.v1.GetRevisionRequest+ (*DeleteRevisionRequest)(nil), // 72: bytebase.v1.DeleteRevisionRequest+ (*Revision)(nil), // 73: bytebase.v1.Revision+ (*ListChangelogsRequest)(nil), // 74: bytebase.v1.ListChangelogsRequest+ (*ListChangelogsResponse)(nil), // 75: bytebase.v1.ListChangelogsResponse+ (*GetChangelogRequest)(nil), // 76: bytebase.v1.GetChangelogRequest+ (*Changelog)(nil), // 77: bytebase.v1.Changelog+ nil, // 78: bytebase.v1.Database.LabelsEntry+ (*fieldmaskpb.FieldMask)(nil), // 79: google.protobuf.FieldMask+ (State)(0), // 80: bytebase.v1.State+ (*timestamppb.Timestamp)(nil), // 81: google.protobuf.Timestamp+ (*InstanceResource)(nil), // 82: bytebase.v1.InstanceResource+ (*durationpb.Duration)(nil), // 83: google.protobuf.Duration+ (*Range)(nil), // 84: bytebase.v1.Range+ (*emptypb.Empty)(nil), // 85: 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- 84, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask+ 79, // 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- 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.InstanceResource+ 80, // 7: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State+ 81, // 8: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp+ 78, // 9: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry+ 82, // 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.ExtensionMetadata- 49, // 13: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig- 31, // 14: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata- 30, // 15: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata- 36, // 16: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata- 40, // 17: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata- 41, // 18: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata- 44, // 19: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata- 43, // 20: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata- 38, // 21: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata- 42, // 22: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata- 28, // 23: bytebase.v1.SchemaMetadata.sequences:type_name -> bytebase.v1.SequenceMetadata- 27, // 24: bytebase.v1.SchemaMetadata.events:type_name -> bytebase.v1.EventMetadata- 26, // 25: bytebase.v1.SchemaMetadata.enum_types:type_name -> bytebase.v1.EnumTypeMetadata- 34, // 26: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata- 34, // 27: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata- 45, // 28: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata- 47, // 29: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata- 33, // 30: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata- 32, // 31: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata- 29, // 32: bytebase.v1.TableMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata- 2, // 33: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type- 33, // 34: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata- 45, // 35: bytebase.v1.TablePartitionMetadata.indexes:type_name -> bytebase.v1.IndexMetadata- 35, // 36: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata- 3, // 37: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type- 37, // 38: bytebase.v1.ViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn- 34, // 39: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata- 29, // 40: bytebase.v1.ViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata- 37, // 41: bytebase.v1.MaterializedViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn- 29, // 42: bytebase.v1.MaterializedViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata- 45, // 43: bytebase.v1.MaterializedViewMetadata.indexes:type_name -> bytebase.v1.IndexMetadata- 39, // 44: bytebase.v1.FunctionMetadata.dependency_tables:type_name -> bytebase.v1.DependencyTable- 4, // 45: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State- 5, // 46: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type- 6, // 47: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode- 49, // 48: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig- 50, // 49: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig- 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+ 31, // 13: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata+ 30, // 14: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata+ 36, // 15: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata+ 40, // 16: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata+ 41, // 17: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata+ 44, // 18: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata+ 43, // 19: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata+ 38, // 20: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata+ 42, // 21: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata+ 28, // 22: bytebase.v1.SchemaMetadata.sequences:type_name -> bytebase.v1.SequenceMetadata+ 27, // 23: bytebase.v1.SchemaMetadata.events:type_name -> bytebase.v1.EventMetadata+ 26, // 24: bytebase.v1.SchemaMetadata.enum_types:type_name -> bytebase.v1.EnumTypeMetadata+ 34, // 25: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata+ 34, // 26: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata+ 45, // 27: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata+ 47, // 28: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata+ 33, // 29: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata+ 32, // 30: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata+ 29, // 31: bytebase.v1.TableMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata+ 2, // 32: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type+ 33, // 33: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata+ 45, // 34: bytebase.v1.TablePartitionMetadata.indexes:type_name -> bytebase.v1.IndexMetadata+ 35, // 35: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata+ 3, // 36: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type+ 37, // 37: bytebase.v1.ViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn+ 34, // 38: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata+ 29, // 39: bytebase.v1.ViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata+ 37, // 40: bytebase.v1.MaterializedViewMetadata.dependency_columns:type_name -> bytebase.v1.DependencyColumn+ 29, // 41: bytebase.v1.MaterializedViewMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata+ 45, // 42: bytebase.v1.MaterializedViewMetadata.indexes:type_name -> bytebase.v1.IndexMetadata+ 39, // 43: bytebase.v1.FunctionMetadata.dependency_tables:type_name -> bytebase.v1.DependencyTable+ 4, // 44: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State+ 5, // 45: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type+ 6, // 46: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode+ 51, // 47: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog+ 52, // 48: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics+ 81, // 49: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp+ 83, // 50: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration+ 83, // 51: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration+ 53, // 52: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails+ 81, // 53: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp+ 83, // 54: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration+ 83, // 55: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration+ 58, // 56: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret+ 58, // 57: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret+ 79, // 58: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask+ 81, // 59: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp+ 81, // 60: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp+ 62, // 61: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase+ 63, // 62: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema+ 64, // 63: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable+ 65, // 64: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView+ 66, // 65: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction+ 67, // 66: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure+ 84, // 67: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range+ 84, // 68: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range+ 84, // 69: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range+ 84, // 70: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range+ 73, // 71: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision+ 73, // 72: bytebase.v1.CreateRevisionRequest.revision:type_name -> bytebase.v1.Revision+ 81, // 73: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp+ 81, // 74: bytebase.v1.Revision.delete_time:type_name -> google.protobuf.Timestamp+ 1, // 75: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView+ 77, // 76: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog+ 1, // 77: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangelogView+ 81, // 78: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp+ 7, // 79: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status+ 61, // 80: bytebase.v1.Changelog.changed_resources:type_name -> bytebase.v1.ChangedResources+ 8, // 81: bytebase.v1.Changelog.type:type_name -> bytebase.v1.Changelog.Type+ 9, // 82: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest+ 10, // 83: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest+ 12, // 84: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest+ 14, // 85: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest+ 15, // 86: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest+ 17, // 87: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest+ 19, // 88: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest+ 20, // 89: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest+ 21, // 90: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest+ 49, // 91: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest+ 54, // 92: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest+ 56, // 93: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest+ 57, // 94: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest+ 59, // 95: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest+ 68, // 96: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest+ 71, // 97: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest+ 70, // 98: bytebase.v1.DatabaseService.CreateRevision:input_type -> bytebase.v1.CreateRevisionRequest+ 72, // 99: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest+ 74, // 100: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest+ 76, // 101: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest+ 23, // 102: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database+ 11, // 103: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse+ 13, // 104: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse+ 23, // 105: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database+ 16, // 106: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse+ 18, // 107: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse+ 24, // 108: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata+ 48, // 109: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema+ 22, // 110: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse+ 50, // 111: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse+ 55, // 112: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse+ 58, // 113: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret+ 85, // 114: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty+ 60, // 115: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse+ 69, // 116: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse+ 73, // 117: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision+ 73, // 118: bytebase.v1.DatabaseService.CreateRevision:output_type -> bytebase.v1.Revision+ 85, // 119: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty+ 75, // 120: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse+ 77, // 121: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog+ 102, // [102:122] is the sub-list for method output_type+ 82, // [82:102] is the sub-list for method input_type+ 82, // [82:82] is the sub-list for extension type_name+ 82, // [82:82] is the sub-list for extension extendee+ 0, // [0:82] is the sub-list for field type_name}func init() { file_v1_database_service_proto_init() }@@ -7953,7 +7652,7 @@ func file_v1_database_service_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_database_service_proto_rawDesc,NumEnums: 9,- NumMessages: 75,+ NumMessages: 70,NumExtensions: 0,NumServices: 1,},diff --git a/proto/generated-go/v1/sql_service.pb.go b/proto/generated-go/v1/sql_service.pb.goindex da0fb951e0..96ba6ee442 100644--- a/proto/generated-go/v1/sql_service.pb.go+++ b/proto/generated-go/v1/sql_service.pb.go@@ -1633,11 +1633,12 @@ type StringifyMetadataRequest struct {Metadata *DatabaseMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`// The database engine of the schema string.Engine Engine `protobuf:"varint,2,opt,name=engine,proto3,enum=bytebase.v1.Engine" json:"engine,omitempty"`- // If false, we will build the raw common by classification in database- // config.+ // If false, we will build the raw common by classification in database catalog.ClassificationFromConfig bool `protobuf:"varint,3,opt,name=classification_from_config,json=classificationFromConfig,proto3" json:"classification_from_config,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ // Database catlog is required if classification_from_config is false.+ Catalog *DatabaseCatalog `protobuf:"bytes,4,opt,name=catalog,proto3,oneof" json:"catalog,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *StringifyMetadataRequest) Reset() {@@ -1691,6 +1692,13 @@ func (x *StringifyMetadataRequest) GetClassificationFromConfig() bool {return false}+func (x *StringifyMetadataRequest) GetCatalog() *DatabaseCatalog {+ if x != nil {+ return x.Catalog+ }+ return nil+}+type StringifyMetadataResponse struct {state protoimpl.MessageState `protogen:"open.v1"`Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`@@ -2633,7 +2641,7 @@ var file_v1_sql_service_proto_rawDesc = []byte{0x74, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,- 0x73, 0x22, 0xc6, 0x01, 0x0a, 0x18, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d,+ 0x73, 0x22, 0x8f, 0x02, 0x0a, 0x18, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d,0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f,0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,@@ -2645,170 +2653,174 @@ var file_v1_sql_service_proto_rawDesc = []byte{0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66,0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,0x52, 0x18, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x39, 0x0a, 0x19, 0x53, 0x74,- 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x06, 0x73,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xa6, 0x03, 0x0a, 0x13, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65,- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a,- 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0e, 0x73, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x0f, 0x74,- 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65,- 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28,- 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52,- 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x43,- 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,- 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74,- 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x61, 0x74, 0x61,- 0x6c, 0x6f, 0x67, 0x12, 0x2b, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x03, 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, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,- 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04,- 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x2a,- 0x0a, 0x14, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x69, 0x66, 0x66, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x69, 0x66, 0x66, 0x22, 0x71, 0x0a, 0x1b, 0x53, 0x65,- 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69,- 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,- 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,- 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x90, 0x01,- 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73,- 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48,- 0x0a, 0x0f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65,- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f,- 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x48,- 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,- 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,- 0x22, 0xa2, 0x03, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,- 0x79, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x08, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 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, 0x22, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65,- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72,- 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,- 0x6e, 0x18, 0x07, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51,- 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65,- 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x33, 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, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12,- 0x0a, 0x0a, 0x06, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06, 0x5f,- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd1, 0x0a, 0x0a, 0x0a, 0x53, 0x51, 0x4c, 0x53, 0x65, 0x72,- 0x76, 0x69, 0x63, 0x65, 0x12, 0xb2, 0x01, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65,- 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x98,- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x3a, 0x01,- 0x2a, 0x22, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22,- 0x28, 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, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x89, 0x01, 0x0a, 0x0c, 0x41, 0x64,- 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78,- 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e,- 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,- 0x30, 0x8a, 0xea, 0x30, 0x0c, 0x62, 0x62, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69,- 0x6e, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12,- 0x10, 0x2f, 0x76, 0x31, 0x3a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,- 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x95, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,- 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x28,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,- 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65,- 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x22, 0x28, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a,- 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73,- 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0xe4, 0x01,- 0x0a, 0x06, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x22, 0xa0, 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, 0x98, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7e, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,- 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5a, 0x2a, 0x3a,- 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f,- 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x22, 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, 0x7d, 0x3a, 0x65, 0x78,- 0x70, 0x6f, 0x72, 0x74, 0x12, 0x72, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x19, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63,- 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x90, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x73,- 0x71, 0x6c, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x90, 0x01, 0x0a, 0x12, 0x50, 0x61, 0x72,- 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61, 0x74, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12,- 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61,- 0x72, 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61, 0x74, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61, 0x74,- 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x22, 0x29, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x3a, 0x01, 0x2a, 0x22,- 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x70, 0x61, 0x72, 0x73, 0x65, 0x4d, 0x79,- 0x42, 0x61, 0x74, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x06, 0x50,- 0x72, 0x65, 0x74, 0x74, 0x79, 0x12, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x74, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x50, 0x72, 0x65, 0x74, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d,- 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x3a, 0x01, 0x2a, 0x22, 0x0e, 0x2f,- 0x76, 0x31, 0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x70, 0x72, 0x65, 0x74, 0x74, 0x79, 0x12, 0x95, 0x01,- 0x0a, 0x11, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x61,+ 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x48, 0x00, 0x52, 0x07, 0x63, 0x61, 0x74,+ 0x61, 0x6c, 0x6f, 0x67, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x61, 0x74, 0x61,+ 0x6c, 0x6f, 0x67, 0x22, 0x39, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79,+ 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x12, 0x1c, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xa6,+ 0x03, 0x0a, 0x13, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 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, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61,+ 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d,+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x04, 0xe2, 0x41,+ 0x01, 0x02, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x74,+ 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x43, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65,+ 0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x0d, 0x74,+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x2b, 0x0a, 0x06,+ 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x03, 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, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c, 0x61,+ 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d,+ 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63,+ 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f,+ 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x2a, 0x0a, 0x14, 0x44, 0x69, 0x66, 0x66, 0x4d,+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x12, 0x0a, 0x04, 0x64, 0x69, 0x66, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64,+ 0x69, 0x66, 0x66, 0x22, 0x71, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65,+ 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,+ 0x01, 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, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16,+ 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,+ 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x90, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63,+ 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0f, 0x71, 0x75, 0x65, 0x72, 0x79,+ 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51,+ 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x03, 0x52, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65,+ 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,+ 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,+ 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa2, 0x03, 0x0a, 0x0c, 0x51, 0x75,+ 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08, 0x64, 0x61,+ 0x74, 0x61, 0x62, 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, 0x22, 0x0a, 0x09, 0x73, 0x74, 0x61,+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,+ 0x01, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a,+ 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,+ 0x01, 0x03, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x3b,+ 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 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, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x04, 0x74,+ 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73,+ 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22,+ 0x33, 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, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x58, 0x50, 0x4f,+ 0x52, 0x54, 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd1,+ 0x0a, 0x0a, 0x0a, 0x53, 0x51, 0x4c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb2, 0x01,+ 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72,+ 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x50, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x3a, 0x01, 0x2a, 0x22, 0x1c, 0x2f, 0x76, 0x31, 0x2f,+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x3a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x28, 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, 0x71, 0x75, 0x65,+ 0x72, 0x79, 0x12, 0x89, 0x01, 0x0a, 0x0c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63,+ 0x75, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x8a, 0xea, 0x30, 0x0c, 0x62, 0x62,+ 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea,+ 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x3a, 0x61, 0x64,+ 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x95,+ 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69,+ 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72,+ 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f,+ 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x90, 0xea,+ 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x76, 0x31,+ 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x3a,+ 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0xe4, 0x01, 0x0a, 0x06, 0x45, 0x78, 0x70, 0x6f, 0x72,+ 0x74, 0x12, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f,+ 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa0, 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, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7e, 0x3a,+ 0x01, 0x2a, 0x5a, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,+ 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,+ 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5a, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,+ 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f,+ 0x72, 0x74, 0x22, 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, 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x72, 0x0a,+ 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x8a,+ 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e,+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a,+ 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x63, 0x68, 0x65, 0x63,+ 0x6b, 0x12, 0x90, 0x01, 0x0a, 0x12, 0x50, 0x61, 0x72, 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61, 0x74,+ 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61,+ 0x74, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,+ 0x61, 0x72, 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61, 0x74, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x65,+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x80, 0xea, 0x30, 0x01, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x3a, 0x01, 0x2a, 0x22, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x71,+ 0x6c, 0x2f, 0x70, 0x61, 0x72, 0x73, 0x65, 0x4d, 0x79, 0x42, 0x61, 0x74, 0x69, 0x73, 0x4d, 0x61,+ 0x70, 0x70, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x06, 0x50, 0x72, 0x65, 0x74, 0x74, 0x79, 0x12, 0x1a,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65,+ 0x74, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x74, 0x74, 0x79, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x13, 0x3a, 0x01, 0x2a, 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x71, 0x6c, 0x2f,+ 0x70, 0x72, 0x65, 0x74, 0x74, 0x79, 0x12, 0x95, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x69, 0x6e,+ 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e,+ 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69,- 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x31, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01,- 0x2a, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x73,- 0x69, 0x67, 0x6e, 0x3a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x81, 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65,- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x80, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f,- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x64, 0x69, 0x66,- 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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,+ 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x80, 0xea, 0x30,+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f,+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x73, 0x74, 0x72,+ 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x81,+ 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69,+ 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x80, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22,+ 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44,+ 0x65, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 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 (@@ -2891,39 +2903,40 @@ var file_v1_sql_service_proto_depIdxs = []int32{12, // 21: bytebase.v1.CheckResponse.advices:type_name -> bytebase.v1.Advice37, // 22: bytebase.v1.StringifyMetadataRequest.metadata:type_name -> bytebase.v1.DatabaseMetadata36, // 23: bytebase.v1.StringifyMetadataRequest.engine:type_name -> bytebase.v1.Engine- 37, // 24: bytebase.v1.DiffMetadataRequest.source_metadata:type_name -> bytebase.v1.DatabaseMetadata- 37, // 25: bytebase.v1.DiffMetadataRequest.target_metadata:type_name -> bytebase.v1.DatabaseMetadata- 38, // 26: bytebase.v1.DiffMetadataRequest.source_catalog:type_name -> bytebase.v1.DatabaseCatalog- 38, // 27: bytebase.v1.DiffMetadataRequest.target_catalog:type_name -> bytebase.v1.DatabaseCatalog- 36, // 28: bytebase.v1.DiffMetadataRequest.engine:type_name -> bytebase.v1.Engine- 27, // 29: bytebase.v1.SearchQueryHistoriesResponse.query_histories:type_name -> bytebase.v1.QueryHistory- 33, // 30: bytebase.v1.QueryHistory.create_time:type_name -> google.protobuf.Timestamp- 30, // 31: bytebase.v1.QueryHistory.duration:type_name -> google.protobuf.Duration- 3, // 32: bytebase.v1.QueryHistory.type:type_name -> bytebase.v1.QueryHistory.Type- 33, // 33: bytebase.v1.RowValue.TimestampTZ.timestamp:type_name -> google.protobuf.Timestamp- 6, // 34: bytebase.v1.SQLService.Query:input_type -> bytebase.v1.QueryRequest- 4, // 35: bytebase.v1.SQLService.AdminExecute:input_type -> bytebase.v1.AdminExecuteRequest- 25, // 36: bytebase.v1.SQLService.SearchQueryHistories:input_type -> bytebase.v1.SearchQueryHistoriesRequest- 13, // 37: bytebase.v1.SQLService.Export:input_type -> bytebase.v1.ExportRequest- 17, // 38: bytebase.v1.SQLService.Check:input_type -> bytebase.v1.CheckRequest- 19, // 39: bytebase.v1.SQLService.ParseMyBatisMapper:input_type -> bytebase.v1.ParseMyBatisMapperRequest- 15, // 40: bytebase.v1.SQLService.Pretty:input_type -> bytebase.v1.PrettyRequest- 21, // 41: bytebase.v1.SQLService.StringifyMetadata:input_type -> bytebase.v1.StringifyMetadataRequest- 23, // 42: bytebase.v1.SQLService.DiffMetadata:input_type -> bytebase.v1.DiffMetadataRequest- 7, // 43: bytebase.v1.SQLService.Query:output_type -> bytebase.v1.QueryResponse- 5, // 44: bytebase.v1.SQLService.AdminExecute:output_type -> bytebase.v1.AdminExecuteResponse- 26, // 45: bytebase.v1.SQLService.SearchQueryHistories:output_type -> bytebase.v1.SearchQueryHistoriesResponse- 14, // 46: bytebase.v1.SQLService.Export:output_type -> bytebase.v1.ExportResponse- 18, // 47: bytebase.v1.SQLService.Check:output_type -> bytebase.v1.CheckResponse- 20, // 48: bytebase.v1.SQLService.ParseMyBatisMapper:output_type -> bytebase.v1.ParseMyBatisMapperResponse- 16, // 49: bytebase.v1.SQLService.Pretty:output_type -> bytebase.v1.PrettyResponse- 22, // 50: bytebase.v1.SQLService.StringifyMetadata:output_type -> bytebase.v1.StringifyMetadataResponse- 24, // 51: bytebase.v1.SQLService.DiffMetadata:output_type -> bytebase.v1.DiffMetadataResponse- 43, // [43:52] is the sub-list for method output_type- 34, // [34:43] is the sub-list for method input_type- 34, // [34:34] is the sub-list for extension type_name- 34, // [34:34] is the sub-list for extension extendee- 0, // [0:34] is the sub-list for field type_name+ 38, // 24: bytebase.v1.StringifyMetadataRequest.catalog:type_name -> bytebase.v1.DatabaseCatalog+ 37, // 25: bytebase.v1.DiffMetadataRequest.source_metadata:type_name -> bytebase.v1.DatabaseMetadata+ 37, // 26: bytebase.v1.DiffMetadataRequest.target_metadata:type_name -> bytebase.v1.DatabaseMetadata+ 38, // 27: bytebase.v1.DiffMetadataRequest.source_catalog:type_name -> bytebase.v1.DatabaseCatalog+ 38, // 28: bytebase.v1.DiffMetadataRequest.target_catalog:type_name -> bytebase.v1.DatabaseCatalog+ 36, // 29: bytebase.v1.DiffMetadataRequest.engine:type_name -> bytebase.v1.Engine+ 27, // 30: bytebase.v1.SearchQueryHistoriesResponse.query_histories:type_name -> bytebase.v1.QueryHistory+ 33, // 31: bytebase.v1.QueryHistory.create_time:type_name -> google.protobuf.Timestamp+ 30, // 32: bytebase.v1.QueryHistory.duration:type_name -> google.protobuf.Duration+ 3, // 33: bytebase.v1.QueryHistory.type:type_name -> bytebase.v1.QueryHistory.Type+ 33, // 34: bytebase.v1.RowValue.TimestampTZ.timestamp:type_name -> google.protobuf.Timestamp+ 6, // 35: bytebase.v1.SQLService.Query:input_type -> bytebase.v1.QueryRequest+ 4, // 36: bytebase.v1.SQLService.AdminExecute:input_type -> bytebase.v1.AdminExecuteRequest+ 25, // 37: bytebase.v1.SQLService.SearchQueryHistories:input_type -> bytebase.v1.SearchQueryHistoriesRequest+ 13, // 38: bytebase.v1.SQLService.Export:input_type -> bytebase.v1.ExportRequest+ 17, // 39: bytebase.v1.SQLService.Check:input_type -> bytebase.v1.CheckRequest+ 19, // 40: bytebase.v1.SQLService.ParseMyBatisMapper:input_type -> bytebase.v1.ParseMyBatisMapperRequest+ 15, // 41: bytebase.v1.SQLService.Pretty:input_type -> bytebase.v1.PrettyRequest+ 21, // 42: bytebase.v1.SQLService.StringifyMetadata:input_type -> bytebase.v1.StringifyMetadataRequest+ 23, // 43: bytebase.v1.SQLService.DiffMetadata:input_type -> bytebase.v1.DiffMetadataRequest+ 7, // 44: bytebase.v1.SQLService.Query:output_type -> bytebase.v1.QueryResponse+ 5, // 45: bytebase.v1.SQLService.AdminExecute:output_type -> bytebase.v1.AdminExecuteResponse+ 26, // 46: bytebase.v1.SQLService.SearchQueryHistories:output_type -> bytebase.v1.SearchQueryHistoriesResponse+ 14, // 47: bytebase.v1.SQLService.Export:output_type -> bytebase.v1.ExportResponse+ 18, // 48: bytebase.v1.SQLService.Check:output_type -> bytebase.v1.CheckResponse+ 20, // 49: bytebase.v1.SQLService.ParseMyBatisMapper:output_type -> bytebase.v1.ParseMyBatisMapperResponse+ 16, // 50: bytebase.v1.SQLService.Pretty:output_type -> bytebase.v1.PrettyResponse+ 22, // 51: bytebase.v1.SQLService.StringifyMetadata:output_type -> bytebase.v1.StringifyMetadataResponse+ 24, // 52: bytebase.v1.SQLService.DiffMetadata:output_type -> bytebase.v1.DiffMetadataResponse+ 44, // [44:53] is the sub-list for method output_type+ 35, // [35:44] is the sub-list for method input_type+ 35, // [35:35] is the sub-list for extension type_name+ 35, // [35:35] is the sub-list for extension extendee+ 0, // [0:35] is the sub-list for field type_name}func init() { file_v1_sql_service_proto_init() }@@ -2955,6 +2968,7 @@ func file_v1_sql_service_proto_init() {(*RowValue_TimestampValue)(nil),(*RowValue_TimestampTzValue)(nil),}+ file_v1_sql_service_proto_msgTypes[17].OneofWrappers = []any{}file_v1_sql_service_proto_msgTypes[23].OneofWrappers = []any{}type x struct{}out := protoimpl.TypeBuilder{diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.protoindex c7a8e4d6ea..c150e0272a 100644--- a/proto/v1/database_service.proto+++ b/proto/v1/database_service.proto@@ -433,9 +433,6 @@ message DatabaseMetadata {// The extensions is the list of extensions in a database.repeated ExtensionMetadata extensions = 5;- // The schema_configs is the list of configs for schemas in a database.- repeated SchemaConfig schema_configs = 6;-string owner = 7;}@@ -1062,46 +1059,6 @@ message ForeignKeyMetadata {string match_type = 8;}-message DatabaseConfig {- reserved 3;-- string name = 1;-- // The schema_configs is the list of configs for schemas in a database.- repeated SchemaConfig schema_configs = 2;-}--message SchemaConfig {- // The name is the schema name.- // It is an empty string for databases without such concept such as MySQL.- string name = 1;-- // The table_configs is the list of configs for tables in a schema.- repeated TableConfig table_configs = 2;-}--message TableConfig {- // The name is the name of a table.- string name = 1;-- // The column_configs is the ordered list of configs for columns in a table.- repeated ColumnConfig column_configs = 2;-- string classification_id = 3;-}--message ColumnConfig {- // The name is the name of a column.- string name = 1;-- string semantic_type_id = 2;-- // The user labels for a column.- map<string, string> labels = 3;-- string classification_id = 4;-}-// DatabaseSchema is the metadata for databases.message DatabaseSchema {// The schema dump from database.diff --git a/proto/v1/sql_service.proto b/proto/v1/sql_service.protoindex 560959b98f..d164a4817e 100644--- a/proto/v1/sql_service.proto+++ b/proto/v1/sql_service.proto@@ -435,9 +435,10 @@ message StringifyMetadataRequest {DatabaseMetadata metadata = 1 [(google.api.field_behavior) = REQUIRED];// The database engine of the schema string.Engine engine = 2;- // If false, we will build the raw common by classification in database- // config.+ // If false, we will build the raw common by classification in database catalog.bool classification_from_config = 3;+ // Database catlog is required if classification_from_config is false.+ optional DatabaseCatalog catalog = 4;}message StringifyMetadataResponse {