Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: pagination for project (#15390)
ecmadao395dc54aeff1
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.goindex ddabdb5631..036d912cd6 100644--- a/backend/api/v1/project_service.go+++ b/backend/api/v1/project_service.go@@ -65,11 +65,35 @@ func (s *ProjectService) GetProject(ctx context.Context, request *v1pb.GetProjec// ListProjects lists all projects.func (s *ProjectService) ListProjects(ctx context.Context, request *v1pb.ListProjectsRequest) (*v1pb.ListProjectsResponse, error) {- projects, err := s.store.ListProjectV2(ctx, &store.FindProjectMessage{ShowDeleted: request.ShowDeleted})+ offset, err := parseLimitAndOffset(&pageSize{+ token: request.PageToken,+ limit: int(request.PageSize),+ maximum: 1000,+ })+ if err != nil {+ return nil, err+ }+ limitPlusOne := offset.limit + 1+ projects, err := s.store.ListProjectV2(ctx, &store.FindProjectMessage{+ ShowDeleted: request.ShowDeleted,+ Limit: &limitPlusOne,+ Offset: &offset.offset,+ })if err != nil {return nil, status.Error(codes.Internal, err.Error())}- response := &v1pb.ListProjectsResponse{}++ nextPageToken := ""+ if len(projects) == limitPlusOne {+ projects = projects[:offset.limit]+ if nextPageToken, err = offset.getNextPageToken(); err != nil {+ return nil, status.Errorf(codes.Internal, "failed to marshal next page token, error: %v", err)+ }+ }++ response := &v1pb.ListProjectsResponse{+ NextPageToken: nextPageToken,+ }for _, project := range projects {response.Projects = append(response.Projects, convertToProject(project))}@@ -83,7 +107,14 @@ func (s *ProjectService) SearchProjects(ctx context.Context, request *v1pb.Searcreturn nil, status.Errorf(codes.Internal, "user not found")}- projects, err := s.store.ListProjectV2(ctx, &store.FindProjectMessage{ShowDeleted: request.ShowDeleted})+ find := &store.FindProjectMessage{+ ShowDeleted: request.ShowDeleted,+ }+ if request.Query != "" {+ find.Query = &request.Query+ }++ projects, err := s.store.ListProjectV2(ctx, find)if err != nil {return nil, status.Error(codes.Internal, err.Error())}diff --git a/backend/store/project.go b/backend/store/project.goindex ea991de58c..fd65e1c4d2 100644--- a/backend/store/project.go+++ b/backend/store/project.go@@ -33,6 +33,9 @@ func (p *ProjectMessage) GetName() string {type FindProjectMessage struct {ResourceID *stringShowDeleted bool+ Limit *int+ Offset *int+ Query *string}// UpdateProjectMessage is the message for updating a project.@@ -239,13 +242,14 @@ func (s *Store) listProjectImplV2(ctx context.Context, tx *Tx, find *FindProjectwhere, args := []string{"TRUE"}, []any{}if v := find.ResourceID; v != nil {where, args = append(where, fmt.Sprintf("resource_id = $%d", len(args)+1)), append(args, *v)+ } else if v := find.Query; v != nil {+ where = append(where, "(resource_id LIKE '%"+*v+"%' OR LOWER(name) LIKE '%"+strings.ToLower(*v)+"%')")}if !find.ShowDeleted {where, args = append(where, fmt.Sprintf("deleted = $%d", len(args)+1)), append(args, false)}- var projectMessages []*ProjectMessage- rows, err := tx.QueryContext(ctx, fmt.Sprintf(`+ query := fmt.Sprintf(`SELECTresource_id,name,@@ -254,9 +258,16 @@ func (s *Store) listProjectImplV2(ctx context.Context, tx *Tx, find *FindProjectdeletedFROM projectWHERE %s- ORDER BY project.resource_id`, strings.Join(where, " AND ")),- args...,- )+ ORDER BY project.resource_id`, strings.Join(where, " AND "))+ if v := find.Limit; v != nil {+ query += fmt.Sprintf(" LIMIT %d", *v)+ }+ if v := find.Offset; v != nil {+ query += fmt.Sprintf(" OFFSET %d", *v)+ }++ var projectMessages []*ProjectMessage+ rows, err := tx.QueryContext(ctx, query, args...)if err != nil {return nil, err}diff --git a/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts b/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.tsindex 11b1b3764d..79ad370f53 100644--- a/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts+++ b/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts@@ -35,7 +35,7 @@ export const useCommonSearchScopeOptions = (const databaseV1Store = useDatabaseV1Store();const environmentStore = useEnvironmentV1Store();const environmentList = useEnvironmentV1List();- const projectList = useProjectV1Store().projectList;+ const projectList = useProjectV1Store().getProjectList(false);const project = computed(() => {const { projectId } = route?.params ?? {};@@ -66,6 +66,7 @@ export const useCommonSearchScopeOptions = (id: "project",title: t("issue.advanced-search.scope.project.title"),description: t("issue.advanced-search.scope.project.description"),+ // TODO(ed): We need to support search projects asynchronous.options: projectList.map<ValueOption>((project) => {const name = extractProjectResourceName(project.name);return {diff --git a/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vue b/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vueindex c97fe4d26f..167168a0b3 100644--- a/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vue+++ b/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vue@@ -129,7 +129,7 @@ import {PROJECT_V1_ROUTE_ISSUE_DETAIL,PROJECT_V1_ROUTE_PLAN_DETAIL,} from "@/router/dashboard/projectV1";-import { useDatabaseV1Store, useProjectV1Store, useAppFeature } from "@/store";+import { useDatabaseV1Store, useProjectByName, useAppFeature } from "@/store";import { useDatabaseV1List } from "@/store/modules/v1/databaseList";import type { ComposedDatabase, FeatureType } from "@/types";import { UNKNOWN_ID, DEFAULT_PROJECT_NAME } from "@/types";@@ -182,7 +182,6 @@ const props = defineProps({const emit = defineEmits(["dismiss"]);const router = useRouter();-const projectV1Store = useProjectV1Store();const databaseV1Store = useDatabaseV1Store();const disableSchemaEditor = useAppFeature("bb.feature.issue.disable-schema-editor"@@ -216,9 +215,7 @@ const scopeOptions = useCommonSearchScopeOptions(computed(() => ["project", "instance", "environment"]));-const selectedProject = computed(() => {- return projectV1Store.getProjectByName(props.projectName);-});+const { project: selectedProject } = useProjectByName(props.projectName);const selectedInstance = computed(() => {return (diff --git a/frontend/src/components/AuditLog/AuditLogDataTable.vue b/frontend/src/components/AuditLog/AuditLogDataTable.vueindex 953bce759a..e940cbf9d1 100644--- a/frontend/src/components/AuditLog/AuditLogDataTable.vue+++ b/frontend/src/components/AuditLog/AuditLogDataTable.vue@@ -23,7 +23,7 @@ import { Setting } from "@/types/proto/v1/setting_service";import { extractProjectResourceName } from "@/utils";import JSONStringView from "./JSONStringView.vue";-type ProjectDataTableColumn = DataTableColumn<AuditLog> & {+type AuditDataTableColumn = DataTableColumn<AuditLog> & {hide?: boolean;};@@ -43,7 +43,7 @@ const { t } = useI18n();const projectStore = useProjectV1Store();const userStore = useUserStore();-const columnList = computed((): ProjectDataTableColumn[] => {+const columnList = computed((): AuditDataTableColumn[] => {return ([{@@ -67,12 +67,12 @@ const columnList = computed((): ProjectDataTableColumn[] => {title: t("common.project"),hide: !props.showProject,render: (auditLog) => {- const projectName = extractProjectResourceName(auditLog.name);- if (!projectName) {+ const projectResourceId = extractProjectResourceName(auditLog.name);+ if (!projectResourceId) {return <span>-</span>;}const project = projectStore.getProjectByName(- `${projectNamePrefix}${projectName}`+ `${projectNamePrefix}${projectResourceId}`);return <span>{project.title}</span>;},@@ -163,7 +163,7 @@ const columnList = computed((): ProjectDataTableColumn[] => {"-"),},- ] as ProjectDataTableColumn[]+ ] as AuditDataTableColumn[]).filter((column) => !column.hide);});diff --git a/frontend/src/components/AuditLog/AuditLogSearch/AuditLogSearch.vue b/frontend/src/components/AuditLog/AuditLogSearch/AuditLogSearch.vueindex 42c4a169b2..692ec12a5b 100644--- a/frontend/src/components/AuditLog/AuditLogSearch/AuditLogSearch.vue+++ b/frontend/src/components/AuditLog/AuditLogSearch/AuditLogSearch.vue@@ -94,6 +94,7 @@ const scopeOptions = computed((): ScopeOption[] => {id: "project",title: t("issue.advanced-search.scope.project.title"),description: t("issue.advanced-search.scope.project.description"),+ // TODO(ed): We need to support search projects asynchronous.options: projectList.value.map<ValueOption>((project) => {const name = extractProjectResourceName(project.name);return {diff --git a/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue b/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vueindex 16e551a87d..5a80b32e6e 100644--- a/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue+++ b/frontend/src/components/Changelist/ChangelistDashboard/CreateChangelistPanel.vue@@ -234,7 +234,9 @@ const validateResourceId = async (}if (!projectName.value) return [];- const project = useProjectV1Store().getProjectByName(projectName.value);+ const project = await useProjectV1Store().getOrFetchProjectByName(+ projectName.value+ );try {const name = `${project.name}/changelists/${resourceId}`;@@ -303,8 +305,9 @@ const doCreate = async () => {isLoading.value = true;try {- const project = useProjectV1Store().getProjectByName(projectName.value!);-+ const project = await useProjectV1Store().getOrFetchProjectByName(+ projectName.value!+ );const createdSheets = await Promise.all(files.value.map(async (f) => {const { name, arrayBuffer } = f;diff --git a/frontend/src/components/Changelist/ChangelistDetail/context.ts b/frontend/src/components/Changelist/ChangelistDetail/context.tsindex 5c81f17c8f..bb1606edc7 100644--- a/frontend/src/components/Changelist/ChangelistDetail/context.ts+++ b/frontend/src/components/Changelist/ChangelistDetail/context.ts@@ -1,3 +1,4 @@+import { computedAsync } from "@vueuse/core";import Emittery from "emittery";import type { InjectionKey, Ref } from "vue";import { computed, inject, provide, ref, watchEffect } from "vue";@@ -53,14 +54,17 @@ export const provideChangelistDetailContext = () => {const route = useRoute();const projectV1Store = useProjectV1Store();- const project = computed(() => {+ const project = computedAsync(async () => {const projectId = route.params.projectId as string;if (!projectId) {return unknownProject();}- return projectV1Store.getProjectByName(`${projectNamePrefix}${projectId}`);- });+ const proj = await projectV1Store.getOrFetchProjectByName(+ `${projectNamePrefix}${projectId}`+ );+ return proj;+ }, unknownProject());const name = computed(() => {return `${project.value.name}/changelists/${route.params.changelistName}`;diff --git a/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepForm.vue b/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepForm.vueindex bcecda9937..efb16bf5f2 100644--- a/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepForm.vue+++ b/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepForm.vue@@ -284,7 +284,9 @@ const requireDatabaseOwnerName = computed((): boolean => {if (!isValidInstanceName(instance.name)) {return false;}- return [Engine.POSTGRES, Engine.REDSHIFT, Engine.COCKROACHDB].includes(instance.engine);+ return [Engine.POSTGRES, Engine.REDSHIFT, Engine.COCKROACHDB].includes(+ instance.engine+ );});const validDatabaseOwnerName = computed((): boolean => {diff --git a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vue b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vueindex da8443ad90..e0af66783a 100644--- a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vue+++ b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vue@@ -55,7 +55,7 @@:allow-admin="allowAdmin":factor-list="getFactorList(state.risk.source)":factor-support-dropdown="factorSupportDropdown"- :factor-options-map="getFactorOptionsMap(state.risk.source)"+ :option-config-map="getOptionConfigMap(state.risk.source)"@update="$emit('update')"/></div>@@ -115,7 +115,7 @@ import {} from "@/utils";import {getFactorList,- getFactorOptionsMap,+ getOptionConfigMap,factorSupportDropdown,RiskSourceFactorMap,} from "../../common/utils";diff --git a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/ViewTemplate.vue b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/ViewTemplate.vueindex 7eea1db643..fcf7a2403d 100644--- a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/ViewTemplate.vue+++ b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/ViewTemplate.vue@@ -4,7 +4,7 @@:allow-admin="false":factor-list="getFactorList(source)":factor-support-dropdown="factorSupportDropdown"- :factor-options-map="getFactorOptionsMap(source)"+ :option-config-map="getOptionConfigMap(source)"/></template>@@ -14,7 +14,7 @@ import ExprEditor from "@/components/ExprEditor";import { Risk_Source } from "@/types/proto/v1/risk_service";import {getFactorList,- getFactorOptionsMap,+ getOptionConfigMap,factorSupportDropdown,} from "../../common/utils";import { type RuleTemplate } from "./template";diff --git a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts b/frontend/src/components/CustomApproval/Settings/components/common/utils.tsindex fbed83257f..9c49707bb9 100644--- a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts+++ b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts@@ -2,13 +2,15 @@ import { uniq, without } from "lodash-es";import { CheckIcon } from "lucide-vue-next";import type { SelectOption } from "naive-ui";import { h, type VNode } from "vue";+import { type OptionConfig } from "@/components/ExprEditor/context";import { type Factor, SQLTypeList } from "@/plugins/cel";import { t } from "@/plugins/i18n";-import { useEnvironmentV1Store, useProjectV1List } from "@/store";+import { useEnvironmentV1Store, useProjectV1Store } from "@/store";import {PresetRiskLevelList,DEFAULT_PROJECT_NAME,useSupportedSourceList,+ type ComposedProject,} from "@/types";import type { Risk } from "@/types/proto/v1/risk_service";import { Risk_Source, risk_SourceToJSON } from "@/types/proto/v1/risk_service";@@ -203,9 +205,8 @@ export const getEnvironmentIdOptions = () => {});};-export const getProjectIdOptions = () => {- const { projectList } = useProjectV1List();- return projectList.value+export const getProjectIdOptions = (projects: ComposedProject[]) => {+ return projects.filter((proj) => proj.name != DEFAULT_PROJECT_NAME).map<SelectOption>((proj) => {const projectId = extractProjectResourceName(proj.name);@@ -255,7 +256,7 @@ const getSQLTypeOptions = (source: Risk_Source) => {return [];};-export const getFactorOptionsMap = (source: Risk_Source) => {+export const getOptionConfigMap = (source: Risk_Source) => {const factorList = getFactorList(source);return factorList.reduce((map, factor) => {let options: SelectOption[] = [];@@ -264,8 +265,17 @@ export const getFactorOptionsMap = (source: Risk_Source) => {options = getEnvironmentIdOptions();break;case "project_id":- options = getProjectIdOptions();- break;+ const projectStore = useProjectV1Store();+ map.set(factor, {+ remote: true,+ options: getProjectIdOptions(projectStore.getProjectList()),+ search: async (keyword: string) => {+ return projectStore+ .searchProjects({ query: keyword })+ .then((projects) => getProjectIdOptions(projects));+ },+ });+ return map;case "db_engine":options = getDBEndingOptions();break;@@ -279,9 +289,12 @@ export const getFactorOptionsMap = (source: Risk_Source) => {options = getSQLTypeOptions(source);break;}- map.set(factor, options);+ map.set(factor, {+ remote: false,+ options,+ });return map;- }, new Map<Factor, SelectOption[]>());+ }, new Map<Factor, OptionConfig>());};export const factorSupportDropdown: Factor[] = [diff --git a/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue b/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vueindex 5f7aa1e5ac..e5aaa43c94 100644--- a/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue+++ b/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue@@ -62,7 +62,7 @@ import { useRouter } from "vue-router";import AdvancedSearch from "@/components/AdvancedSearch";import DatabaseV1Table from "@/components/v2/Model/DatabaseV1Table";import { PROJECT_V1_ROUTE_ISSUE_DETAIL } from "@/router/dashboard/projectV1";-import { useDatabaseV1Store, useProjectV1Store } from "@/store";+import { useDatabaseV1Store, useProjectByName } from "@/store";import type { ComposedDatabase } from "@/types";import { UNKNOWN_ID, DEFAULT_PROJECT_NAME } from "@/types";import { State } from "@/types/proto/v1/common";@@ -95,7 +95,6 @@ const props = defineProps({const emit = defineEmits(["dismiss"]);const router = useRouter();-const projectV1Store = useProjectV1Store();const databaseV1Store = useDatabaseV1Store();const state = reactive<LocalState>({@@ -112,9 +111,7 @@ const scopeOptions = useCommonSearchScopeOptions(["environment", "instance"]);-const selectedProject = computed(() => {- return projectV1Store.getProjectByName(props.projectName);-});+const { project: selectedProject } = useProjectByName(props.projectName);const selectedInstance = computed(() => {return (diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vueindex 54ced3322b..580a22f378 100644--- a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue@@ -37,7 +37,7 @@:enable-raw-expression="true":factor-list="FactorList":factor-support-dropdown="factorSupportDropdown"- :factor-options-map="DatabaseGroupFactorOptionsMap(project)"+ :option-config-map="getDatabaseGroupOptionConfigMap(project)"/><pv-if="matchingError"@@ -144,7 +144,10 @@ import { getErrorCode } from "@/utils/grpcweb";import { FeatureAttentionForInstanceLicense } from "../FeatureGuard";import { ResourceIdField } from "../v2";import MatchedDatabaseView from "./MatchedDatabaseView.vue";-import { factorSupportDropdown, DatabaseGroupFactorOptionsMap } from "./utils";+import {+ factorSupportDropdown,+ getDatabaseGroupOptionConfigMap,+} from "./utils";import { FactorList } from "./utils";const props = defineProps<{diff --git a/frontend/src/components/DatabaseGroup/utils.ts b/frontend/src/components/DatabaseGroup/utils.tsindex 488d363726..f4f1067102 100644--- a/frontend/src/components/DatabaseGroup/utils.ts+++ b/frontend/src/components/DatabaseGroup/utils.ts@@ -1,5 +1,6 @@import { uniq } from "lodash-es";import type { SelectOption } from "naive-ui";+import { type OptionConfig } from "@/components/ExprEditor/context";import type { Factor } from "@/plugins/cel";import { useEnvironmentV1Store } from "@/store";import { useDatabaseV1List } from "@/store/modules/v1/databaseList";@@ -20,7 +21,7 @@ export const factorSupportDropdown: Factor[] = ["resource.instance_id",];-export const DatabaseGroupFactorOptionsMap = (project: ComposedProject) => {+export const getDatabaseGroupOptionConfigMap = (project: ComposedProject) => {return FactorList.reduce((map, factor) => {let options: SelectOption[] = [];switch (factor) {@@ -31,9 +32,12 @@ export const DatabaseGroupFactorOptionsMap = (project: ComposedProject) => {options = getInstanceIdOptions(project);break;}- map.set(factor, options);+ map.set(factor, {+ remote: false,+ options,+ });return map;- }, new Map<Factor, SelectOption[]>());+ }, new Map<Factor, OptionConfig>());};const getEnvironmentOptions = () => {diff --git a/frontend/src/components/ExprEditor/ExprEditor.vue b/frontend/src/components/ExprEditor/ExprEditor.vueindex cd1501211a..78ae16e418 100644--- a/frontend/src/components/ExprEditor/ExprEditor.vue+++ b/frontend/src/components/ExprEditor/ExprEditor.vue@@ -5,11 +5,10 @@</template><script lang="ts" setup>-import type { SelectOption } from "naive-ui";import { toRef } from "vue";import type { ConditionGroupExpr, Factor, Operator } from "@/plugins/cel";import ConditionGroup from "./ConditionGroup.vue";-import { provideExprEditorContext } from "./context";+import { provideExprEditorContext, type OptionConfig } from "./context";const props = withDefaults(defineProps<{@@ -18,7 +17,7 @@ const props = withDefaults(enableRawExpression?: boolean;factorList: Factor[];factorSupportDropdown?: Factor[];- factorOptionsMap?: Map<Factor, SelectOption[]>;+ optionConfigMap?: Map<Factor, OptionConfig>;factorOperatorOverrideMap?: Map<Factor, Operator[]>;}>(),{@@ -26,7 +25,7 @@ const props = withDefaults(enableRawExpression: false,factorOperatorOverrideMap: undefined,factorSupportDropdown: () => [],- factorOptionsMap: () => new Map(),+ optionConfigMap: () => new Map(),});@@ -39,7 +38,7 @@ provideExprEditorContext({enableRawExpression: toRef(props, "enableRawExpression"),factorList: toRef(props, "factorList"),factorSupportDropdown: toRef(props, "factorSupportDropdown"),- factorOptionsMap: toRef(props, "factorOptionsMap"),+ optionConfigMap: toRef(props, "optionConfigMap"),factorOperatorOverrideMap: toRef(props, "factorOperatorOverrideMap"),});</script>diff --git a/frontend/src/components/ExprEditor/components/MultiSelect.vue b/frontend/src/components/ExprEditor/components/MultiSelect.vueindex 6ce0f77a5a..f032ba27e7 100644--- a/frontend/src/components/ExprEditor/components/MultiSelect.vue+++ b/frontend/src/components/ExprEditor/components/MultiSelect.vue@@ -1,15 +1,19 @@<template><NSelect:value="value"- :options="options"+ :remote="optionConfig.remote"+ :options="state.rawOptionList"+ :loading="state.loading":multiple="true":filterable="true":consistent-menu-width="false"+ :clear-filter-after-select="false":placeholder="$t('cel.condition.select-value')":disabled="!allowAdmin"max-tag-count="responsive"size="small"style="min-width: 12rem; width: auto; max-width: 20rem; overflow-x: hidden"+ @search="handleSearch"@update:value="$emit('update:value', $event)"><template #action>@@ -23,12 +27,19 @@</template><script lang="ts" setup>+import { useDebounceFn } from "@vueuse/core";import { NCheckbox, NSelect } from "naive-ui";-import { computed, toRef, watch } from "vue";+import type { SelectOption } from "naive-ui";+import { toRef, watch, reactive, computed, watchEffect } from "vue";import { type ConditionExpr } from "@/plugins/cel";import { useExprEditorContext } from "../context";import { useSelectOptions } from "./common";+interface LocalState {+ loading: boolean;+ rawOptionList: SelectOption[];+}+const props = defineProps<{value: string[] | number[];expr: ConditionExpr;@@ -40,14 +51,22 @@ const emit = defineEmits<{const context = useExprEditorContext();const { allowAdmin } = context;+const state = reactive<LocalState>({+ loading: false,+ rawOptionList: [],+});-const options = useSelectOptions(toRef(props, "expr"));+const optionConfig = useSelectOptions(toRef(props, "expr"));++watchEffect(() => {+ state.rawOptionList = [...optionConfig.value.options];+});const checkAllState = computed(() => {const selected = new Set<any>(props.value);const checked =selected.size > 0 &&- options.value.every((opt) => {+ state.rawOptionList.every((opt) => {return selected.has(opt.value);});const indeterminate = props.value.length > 0 && !checked;@@ -61,7 +80,7 @@ const toggleCheckAll = (on: boolean) => {if (on) {emit("update:value",- options.value.map((opt) => opt.value as string)+ state.rawOptionList.map((opt) => opt.value as string));} else {emit("update:value", []);@@ -69,9 +88,9 @@ const toggleCheckAll = (on: boolean) => {};watch(- [options, () => props.value],+ [state.rawOptionList, () => props.value],() => {- const values = new Set(options.value.map((opt) => opt.value));+ const values = new Set(state.rawOptionList.map((opt) => opt.value));const filtered = (props.value as any[]).filter((v) => values.has(v));if (filtered.length !== props.value.length) {// Some values are not suitable for the select options.@@ -80,4 +99,19 @@ watch(},{ immediate: true });++const handleSearch = useDebounceFn(async (search: string) => {+ if (!search || !optionConfig.value.search) {+ state.rawOptionList = [...optionConfig.value.options];+ return;+ }++ state.loading = true;+ try {+ const options = await optionConfig.value.search(search);+ state.rawOptionList = [...options];+ } finally {+ state.loading = false;+ }+}, 500);</script>diff --git a/frontend/src/components/ExprEditor/components/SingleSelect.vue b/frontend/src/components/ExprEditor/components/SingleSelect.vueindex cf86359995..6f31f2eeaa 100644--- a/frontend/src/components/ExprEditor/components/SingleSelect.vue+++ b/frontend/src/components/ExprEditor/components/SingleSelect.vue@@ -1,24 +1,34 @@<template><NSelect:value="value"- :options="options"+ :remote="optionConfig.remote"+ :options="state.rawOptionList"+ :loading="state.loading":consistent-menu-width="false":filterable="true":placeholder="$t('cel.condition.select-value')":disabled="!allowAdmin"size="small"style="min-width: 7rem; width: auto; overflow-x: hidden"+ @search="handleSearch"@update:value="$emit('update:value', $event)"/></template><script lang="ts" setup>+import { useDebounceFn } from "@vueuse/core";import { NSelect } from "naive-ui";-import { toRef, watch } from "vue";+import type { SelectOption } from "naive-ui";+import { toRef, watch, reactive, watchEffect } from "vue";import { type ConditionExpr } from "@/plugins/cel";import { useExprEditorContext } from "../context";import { useSelectOptions } from "./common";+interface LocalState {+ loading: boolean;+ rawOptionList: SelectOption[];+}+const props = defineProps<{value: string | number;expr: ConditionExpr;@@ -30,17 +40,40 @@ const emit = defineEmits<{const context = useExprEditorContext();const { allowAdmin } = context;+const state = reactive<LocalState>({+ loading: false,+ rawOptionList: [],+});++const optionConfig = useSelectOptions(toRef(props, "expr"));-const options = useSelectOptions(toRef(props, "expr"));+watchEffect(() => {+ state.rawOptionList = [...optionConfig.value.options];+});watch(- [options, () => props.value],+ [state.rawOptionList, () => props.value],() => {- if (options.value.length === 0) return;- if (!options.value.find((opt) => opt.value === props.value)) {- emit("update:value", options.value[0].value!);+ if (state.rawOptionList.length === 0) return;+ if (!state.rawOptionList.find((opt) => opt.value === props.value)) {+ emit("update:value", state.rawOptionList[0].value!);}},{ immediate: true });++const handleSearch = useDebounceFn(async (search: string) => {+ if (!search || !optionConfig.value.search) {+ state.rawOptionList = [...optionConfig.value.options];+ return;+ }++ state.loading = true;+ try {+ const options = await optionConfig.value.search(search);+ state.rawOptionList = [...options];+ } finally {+ state.loading = false;+ }+}, 500);</script>diff --git a/frontend/src/components/ExprEditor/components/common.ts b/frontend/src/components/ExprEditor/components/common.tsindex c21416282e..f7f2b0987b 100644--- a/frontend/src/components/ExprEditor/components/common.ts+++ b/frontend/src/components/ExprEditor/components/common.ts@@ -1,4 +1,5 @@-import { type Ref, computed } from "vue";+import type { Ref, ComputedRef } from "vue";+import { computed } from "vue";import type { ConditionExpr } from "@/plugins/cel";import {getOperatorListByFactor as getRawOperatorListByFactor,@@ -6,15 +7,17 @@ import {type Operator,} from "@/plugins/cel";import { t, te } from "@/plugins/i18n";-import { useExprEditorContext } from "../context";+import { useExprEditorContext, type OptionConfig } from "../context";-export const useSelectOptions = (expr: Ref<ConditionExpr>) => {+export const useSelectOptions = (+ expr: Ref<ConditionExpr>+): ComputedRef<OptionConfig> => {const context = useExprEditorContext();- const { factorOptionsMap } = context;+ const { optionConfigMap } = context;const options = computed(() => {const factor = expr.value.args[0];- return factorOptionsMap.value.get(factor) || [];+ return optionConfigMap.value.get(factor) || { remote: false, options: [] };});return options;diff --git a/frontend/src/components/ExprEditor/context.ts b/frontend/src/components/ExprEditor/context.tsindex a413ee7c3b..01734f9a1e 100644--- a/frontend/src/components/ExprEditor/context.ts+++ b/frontend/src/components/ExprEditor/context.ts@@ -2,12 +2,18 @@ import type { SelectOption } from "naive-ui";import { inject, provide, type InjectionKey, type Ref } from "vue";import type { Factor, Operator } from "@/plugins/cel";+export type OptionConfig = {+ remote: boolean;+ search?: (keyword: string) => Promise<SelectOption[]>;+ options: SelectOption[];+};+export type ExprEditorContext = {allowAdmin: Ref<boolean>;enableRawExpression: Ref<boolean>;factorList: Ref<Factor[]>;factorSupportDropdown: Ref<Factor[]>;- factorOptionsMap: Ref<Map<Factor, SelectOption[]>>;+ optionConfigMap: Ref<Map<Factor, OptionConfig>>;factorOperatorOverrideMap: Ref<Map<Factor, Operator[]> | undefined>;};diff --git a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vueindex 90c90381fa..f05b2ceee3 100644--- a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue+++ b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue@@ -102,7 +102,7 @@ import DatabaseResourceForm from "./DatabaseResourceForm/index.vue";import MaxRowCountSelect from "./MaxRowCountSelect.vue";interface LocalState {- databaseResources: DatabaseResource[];+ databaseResources?: DatabaseResource[];expirationTimestampInMS?: number;description: string;maxRowCount: number;@@ -135,7 +135,7 @@ const extractDatabaseResourcesFromProps = (): Pick<!isValidDatabaseName(databaseResource.databaseFullName)) {return {- databaseResources: [],+ databaseResources: undefined,};}return {diff --git a/frontend/src/components/IssueV1/logic/initialize/create.ts b/frontend/src/components/IssueV1/logic/initialize/create.tsindex c4a068e954..ad50f73744 100644--- a/frontend/src/components/IssueV1/logic/initialize/create.ts+++ b/frontend/src/components/IssueV1/logic/initialize/create.ts@@ -378,7 +378,7 @@ export const generateRolloutFromPlan = async (plan: Plan,params: CreateIssueParams) => {- const project = useProjectV1Store().getProjectByName(+ const project = await useProjectV1Store().getOrFetchProjectByName(`projects/${extractProjectResourceName(plan.name)}`);let rollout: Rollout = Rollout.fromPartial({});diff --git a/frontend/src/components/Project/ProjectCreatePanel.vue b/frontend/src/components/Project/ProjectCreatePanel.vueindex 3cb6e42b72..2c9714d185 100644--- a/frontend/src/components/Project/ProjectCreatePanel.vue+++ b/frontend/src/components/Project/ProjectCreatePanel.vue@@ -3,7 +3,7 @@:title="$t('quick-action.create-project')"class="max-w-[100vw]">- <form class="w-96 space-y-6 divide-y divide-block-border">+ <div class="w-96 space-y-6 divide-y divide-block-border"><div class="grid gap-y-6 gap-x-4 grid-cols-1"><div class="col-span-1"><label@@ -30,7 +30,7 @@/></div></div>- </form>+ </div><divv-if="state.isCreating"@@ -54,12 +54,6 @@</div></template></DrawerContent>-- <FeatureModal- feature="bb.feature.multi-tenancy"- :open="state.showFeatureModal"- @cancel="state.showFeatureModal = false"- /></template><script lang="ts" setup>@@ -75,23 +69,21 @@ import ResourceIdField from "@/components/v2/Form/ResourceIdField.vue";import { pushNotification, useUIStateStore } from "@/store";import { projectNamePrefix } from "@/store/modules/v1/common";import { useProjectV1Store } from "@/store/modules/v1/project";-import type { ResourceId, ValidatedMessage } from "@/types";+import type { ResourceId, ValidatedMessage, ComposedProject } from "@/types";import { emptyProject } from "@/types";import type { Project } from "@/types/proto/v1/project_service";import { hasWorkspacePermissionV2 } from "@/utils";import { getErrorCode } from "@/utils/grpcweb";-import { FeatureModal } from "../FeatureGuard";interface LocalState {project: Project;resourceId: string;- showFeatureModal: boolean;isCreating: boolean;}const props = defineProps<{simple?: boolean;- onCreated?: (project: Project) => void;+ onCreated?: (project: ComposedProject) => void;}>();const emit = defineEmits<{@@ -111,7 +103,6 @@ const state = reactive<LocalState>({autoResolveIssue: true,},resourceId: "",- showFeatureModal: false,isCreating: false,});const resourceIdField = ref<InstanceType<typeof ResourceIdField>>();diff --git a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vueindex 61a1d7d2dc..82ffb3b506 100644--- a/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue+++ b/frontend/src/components/Project/ProjectSwitch/ProjectSwitchContent.vue@@ -50,7 +50,7 @@:current-project="isValidProjectName(project.name) ? project : undefined"- :pagination="false"+ :loading="tab.id === 'all' && state.loading":keyword="state.searchText"@row-click="onProjectSelect"/>@@ -60,6 +60,7 @@</template><script lang="ts" setup>+import { useDebounceFn } from "@vueuse/core";import { ChevronLeftIcon, PlusIcon } from "lucide-vue-next";import { NButton, NTabPane, NTabs, NTooltip } from "naive-ui";import { computed, reactive, onMounted, watch } from "vue";@@ -71,7 +72,7 @@ import { SearchBox, ProjectV1Table } from "@/components/v2";import { PROJECT_V1_ROUTE_DETAIL } from "@/router/dashboard/projectV1";import { WORKSPACE_ROUTE_LANDING } from "@/router/dashboard/workspaceRoutes";import { useRecentVisit } from "@/router/useRecentVisit";-import { useProjectV1List } from "@/store";+import { useProjectV1List, useProjectV1Store } from "@/store";import { getProjectName } from "@/store/modules/v1/common";import type { ComposedProject } from "@/types";import { isValidProjectName, DEFAULT_PROJECT_NAME } from "@/types";@@ -80,10 +81,14 @@ import {hasWorkspacePermissionV2,} from "@/utils";+type LocalTabType = "recent" | "all";+interface LocalState {showPopover: boolean;searchText: string;- selectedTab: "recent" | "all";+ loading: boolean;+ selectedTab: LocalTabType;+ allProjects: ComposedProject[];}defineEmits<{@@ -95,12 +100,25 @@ const state = reactive<LocalState>({showPopover: false,searchText: "",selectedTab: "all",+ loading: false,+ allProjects: [],});-const { projectList } = useProjectV1List();+const projectStore = useProjectV1Store();+const { projectList, ready } = useProjectV1List();const { recentViewProjects } = useRecentProjects();const router = useRouter();const { record } = useRecentVisit();+watch(+ () => ready.value,+ () => {+ if (ready.value) {+ state.allProjects = [...projectList.value];+ }+ },+ { immediate: true }+);+const params = computed(() => {const route = router.currentRoute.value;return {@@ -130,26 +148,47 @@ const getFilteredProjectList = (const filteredRecentProjectList = computed(() => {return getFilteredProjectList(recentViewProjects.value);});-const filteredAllProjectList = computed(() => {- return getFilteredProjectList(projectList.value);-});const allowToCreateProject = computed(() =>hasWorkspacePermissionV2("bb.projects.create"));-const tabList = computed(() => [- {- title: t("common.recent"),- id: "recent",- list: filteredRecentProjectList.value,- },- {- title: t("common.all"),- id: "all",- list: filteredAllProjectList.value,- },-]);+watch(+ () => state.searchText,+ useDebounceFn(async () => {+ if (!state.searchText) {+ state.allProjects = [...projectList.value];+ return;+ }+ state.loading = true;+ try {+ const projects = await projectStore.searchProjects({+ query: state.searchText,+ showDeleted: false,+ });+ state.allProjects = [...projects];+ } finally {+ state.loading = false;+ }+ }, 500)+);++const tabList = computed(+ (): { title: string; id: LocalTabType; list: ComposedProject[] }[] => [+ {+ title: t("common.recent"),+ id: "recent",+ list: filteredRecentProjectList.value,+ },+ {+ title: t("common.all"),+ id: "all",+ list: state.allProjects.filter(+ (project) => project.name !== DEFAULT_PROJECT_NAME+ ),+ },+ ]+);const actualSelectedTab = computed((): LocalState["selectedTab"] => {if (diff --git a/frontend/src/components/Project/useCurrentProject.ts b/frontend/src/components/Project/useCurrentProject.tsindex b2ee5874c5..a2b8758677 100644--- a/frontend/src/components/Project/useCurrentProject.ts+++ b/frontend/src/components/Project/useCurrentProject.ts@@ -52,7 +52,7 @@ export const useCurrentProject = (const project = computedAsync(async () => {if (unref(params).projectId) {- return useProjectV1Store().getProjectByName(+ return await useProjectV1Store().getOrFetchProjectByName(`${projectNamePrefix}${unref(params).projectId}`);} else if (unref(params).databaseName || unref(params).changelogId) {diff --git a/frontend/src/components/Project/useRecentProjects.ts b/frontend/src/components/Project/useRecentProjects.tsindex 5c2e1f8a9a..f128d3e571 100644--- a/frontend/src/components/Project/useRecentProjects.ts+++ b/frontend/src/components/Project/useRecentProjects.ts@@ -1,3 +1,4 @@+import { computedAsync } from "@vueuse/core";import { computed } from "vue";import { useProjectV1Store, useCurrentUserV1 } from "@/store";import { isValidProjectName } from "@/types";@@ -31,17 +32,22 @@ export const useRecentProjects = () => {}};- const recentViewProjects = computed(() => {- return recentViewProjectNames.value- .map((project) => {- return projectV1Store.getProjectByName(project);- })- .filter(- (project) =>- isValidProjectName(project.name) &&- hasProjectPermissionV2(project, "bb.projects.get")+ const recentViewProjects = computedAsync(async () => {+ const projects = [];+ for (const projectName of recentViewProjectNames.value) {+ const project = await projectV1Store.getOrFetchProjectByName(+ projectName,+ true /* silent */);- });+ if (+ isValidProjectName(project.name) &&+ hasProjectPermissionV2(project, "bb.projects.get")+ ) {+ projects.push(project);+ }+ }+ return projects;+ }, []);return {setRecentProject,diff --git a/frontend/src/components/ProvideSQLEditorContext.vue b/frontend/src/components/ProvideSQLEditorContext.vueindex 6105dd2ee0..79be276513 100644--- a/frontend/src/components/ProvideSQLEditorContext.vue+++ b/frontend/src/components/ProvideSQLEditorContext.vue@@ -57,6 +57,7 @@ import {UNKNOWN_USER_NAME,isValidDatabaseName,isValidInstanceName,+ isValidProjectName,} from "@/types";import { PolicyResourceType } from "@/types/proto/v1/org_policy_service";import {@@ -101,6 +102,19 @@ const {} = useSQLEditorContext();const hideProjects = useAppFeature("bb.feature.sql-editor.hide-projects");+const fallbackToFirstProject = async () => {+ const { projectList, ready } = useProjectV1List();+ await wrapRefAsPromise(ready, true);+ const projectListWithoutDefaultProject = projectList.value.filter(+ (proj) => proj.name !== DEFAULT_PROJECT_NAME+ );+ return (+ head(projectListWithoutDefaultProject)?.name ??+ head(projectList.value)?.name ??+ ""+ );+};+const initializeProjects = async () => {const initProject = async (project: string) => {try {@@ -135,22 +149,18 @@ const initializeProjects = async () => {editorStore.strictProject = false;initializeSuccess = await initProject(DEFAULT_PROJECT_NAME);} else {- const { projectList, ready } = useProjectV1List();- await wrapRefAsPromise(ready, true);const lastView = editorStore.storedLastViewedProject;- if (- lastView &&- projectList.value.findIndex((proj) => proj.name === lastView) >= 0- ) {- editorStore.project = lastView;+ if (lastView) {+ const project = await projectStore.getOrFetchProjectByName(lastView);+ if (isValidProjectName(project.name)) {+ editorStore.project = lastView;+ } else {+ const project = await fallbackToFirstProject();+ editorStore.project = project;+ }} else {- const projectListWithoutDefaultProject = projectList.value.filter(- (proj) => proj.name !== DEFAULT_PROJECT_NAME- );- editorStore.project =- head(projectListWithoutDefaultProject)?.name ??- head(projectList.value)?.name ??- "";+ const project = await fallbackToFirstProject();+ editorStore.project = project;}editorStore.strictProject = false;if (editorStore.project) {diff --git a/frontend/src/components/Quickstart.vue b/frontend/src/components/Quickstart.vueindex a9b0c77d5e..6b7135f488 100644--- a/frontend/src/components/Quickstart.vue+++ b/frontend/src/components/Quickstart.vue@@ -107,6 +107,7 @@</template><script setup lang="ts">+import { computedAsync } from "@vueuse/core";import { XIcon, CheckCircleIcon } from "lucide-vue-next";import type { Ref } from "vue";import { computed, unref, watchEffect } from "vue";@@ -156,9 +157,10 @@ const show = computed(() => {return !uiStateStore.getIntroStateByKey("hidden");});-const sampleProject = computed(() => {- const project = projectStore.getProjectByName(- `${projectNamePrefix}${SAMPLE_PROJECT_NAME}`+const sampleProject = computedAsync(async () => {+ const project = await projectStore.getOrFetchProjectByName(+ `${projectNamePrefix}${SAMPLE_PROJECT_NAME}`,+ true /* silent */);if (!isValidProjectName(project.name)) {return;diff --git a/frontend/src/components/Release/ReleaseCreate/context.ts b/frontend/src/components/Release/ReleaseCreate/context.tsindex 8d8f3316d1..206727466c 100644--- a/frontend/src/components/Release/ReleaseCreate/context.ts+++ b/frontend/src/components/Release/ReleaseCreate/context.ts@@ -1,5 +1,6 @@+import { computedAsync } from "@vueuse/core";import type { InjectionKey, Ref } from "vue";-import { computed, inject, provide, ref } from "vue";+import { inject, provide, ref } from "vue";import { useRoute } from "vue-router";import { useProjectV1Store } from "@/store";import { projectNamePrefix } from "@/store/modules/v1/common";@@ -40,14 +41,16 @@ export const provideReleaseCreateContext = () => {const title = ref("");const files = ref<FileToCreate[]>([]);- const project = computed(() => {+ const project = computedAsync(async () => {const projectId = route.params.projectId as string;if (!projectId) {return unknownProject();}- return projectV1Store.getProjectByName(`${projectNamePrefix}${projectId}`);- });+ return await projectV1Store.getOrFetchProjectByName(+ `${projectNamePrefix}${projectId}`+ );+ }, unknownProject());const context: ReleaseCreateContext = {title,diff --git a/frontend/src/components/Release/ReleaseDetail/context.ts b/frontend/src/components/Release/ReleaseDetail/context.tsindex 16f3ced92a..91b3ba5b6a 100644--- a/frontend/src/components/Release/ReleaseDetail/context.ts+++ b/frontend/src/components/Release/ReleaseDetail/context.ts@@ -1,3 +1,4 @@+import { computedAsync } from "@vueuse/core";import type { InjectionKey, Ref } from "vue";import { computed, inject, provide, watchEffect } from "vue";import { useRoute } from "vue-router";@@ -26,14 +27,16 @@ export const provideReleaseDetailContext = () => {const projectV1Store = useProjectV1Store();const releaseStore = useReleaseStore();- const project = computed(() => {+ const project = computedAsync(async () => {const projectId = route.params.projectId as string;if (!projectId) {return unknownProject();}- return projectV1Store.getProjectByName(`${projectNamePrefix}${projectId}`);- });+ return await projectV1Store.getOrFetchProjectByName(+ `${projectNamePrefix}${projectId}`+ );+ }, unknownProject());const name = computed(() => {return `${project.value.name}/releases/${route.params.releaseId}`;diff --git a/frontend/src/components/Rollout/RolloutDetail/context.ts b/frontend/src/components/Rollout/RolloutDetail/context.tsindex f827853168..b8ce441da3 100644--- a/frontend/src/components/Rollout/RolloutDetail/context.ts+++ b/frontend/src/components/Rollout/RolloutDetail/context.ts@@ -1,3 +1,4 @@+import { computedAsync } from "@vueuse/core";import Emittery from "emittery";import type { ComputedRef, InjectionKey, Ref } from "vue";import { computed, inject, provide, ref } from "vue";@@ -22,7 +23,7 @@ export type RolloutDetailContext = {rolloutPreview: Ref<Rollout>;issue: Ref<ComposedIssue | undefined>;- project: ComputedRef<ComposedProject>;+ project: Ref<ComposedProject>;tasks: ComputedRef<Task[]>;// The events emmiter.@@ -47,13 +48,15 @@ export const provideRolloutDetailContext = (rolloutName: string) => {const rolloutPreview = ref<Rollout>(Rollout.fromPartial({}));const issue = ref<ComposedIssue | undefined>(undefined);- const project = computed(() => {+ const project = computedAsync(async () => {const projectId = route.params.projectId as string;if (!projectId) {return unknownProject();}- return projectV1Store.getProjectByName(`${projectNamePrefix}${projectId}`);- });+ return await projectV1Store.getOrFetchProjectByName(+ `${projectNamePrefix}${projectId}`+ );+ }, unknownProject());const tasks = computed(() => flattenTaskV1List(rollout.value));diff --git a/frontend/src/components/SQLReview/components/SQLReviewAttachedResource.vue b/frontend/src/components/SQLReview/components/SQLReviewAttachedResource.vueindex e55ace9b67..a95281de82 100644--- a/frontend/src/components/SQLReview/components/SQLReviewAttachedResource.vue+++ b/frontend/src/components/SQLReview/components/SQLReviewAttachedResource.vue@@ -6,6 +6,7 @@</template><script setup lang="tsx">+import { computedAsync } from "@vueuse/core";import { computed } from "vue";import { EnvironmentV1Name, RichDatabaseName } from "@/components/v2";import { ProjectNameCell } from "@/components/v2/Model/DatabaseV1Table/cells";@@ -35,7 +36,7 @@ const { resourceType, resourcePrefix } = useReviewConfigAttachedResource(computed(() => props.resource));-const reviewPolicyResourceComponent = computed(() => {+const reviewPolicyResourceComponent = computedAsync(async () => {switch (resourceType.value) {case "environment": {const environment = environmentV1Store.getEnvironmentByName(@@ -60,7 +61,10 @@ const reviewPolicyResourceComponent = computed(() => {);}case "project": {- const project = projectStore.getProjectByName(props.resource);+ const project = await projectStore.getOrFetchProjectByName(+ props.resource,+ true /* silent */+ );if (!isValidProjectName(project.name)) {return <div>{props.resource}</div>;}diff --git a/frontend/src/components/SQLReview/components/useReviewConfigAttachedResource.ts b/frontend/src/components/SQLReview/components/useReviewConfigAttachedResource.tsindex 950b6b0cdf..83ef6e10d7 100644--- a/frontend/src/components/SQLReview/components/useReviewConfigAttachedResource.ts+++ b/frontend/src/components/SQLReview/components/useReviewConfigAttachedResource.ts@@ -55,7 +55,10 @@ export const useReviewConfigAttachedResource = (resource: Ref<string>) => {return;case "project":if (hasWorkspacePermissionV2("bb.projects.get")) {- await projectStore.getOrFetchProjectByName(resource.value);+ await projectStore.getOrFetchProjectByName(+ resource.value,+ true /* silent */+ );}return;}diff --git a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vueindex 44f93bb0af..43318f748b 100644--- a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue+++ b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue@@ -97,7 +97,7 @@:masking-rule="item.rule":readonly="item.mode === 'NORMAL' || state.reorderRules":factor-list="factorList"- :factor-options-map="factorOptionsMap"+ :option-config-map="factorOptionsMap":allow-delete="item.mode === 'EDIT'"@cancel="onCancel(index)"@delete="onRuleDelete(index)"@@ -124,6 +124,7 @@ import {getEnvironmentIdOptions,getProjectIdOptions,} from "@/components/CustomApproval/Settings/components/common";+import { type OptionConfig } from "@/components/ExprEditor/context";import { useBodyLayoutContext } from "@/layouts/common";import type { Factor } from "@/plugins/cel";import {@@ -131,6 +132,7 @@ import {pushNotification,usePolicyV1Store,useInstanceV1List,+ useProjectV1Store,} from "@/store";import type { Policy } from "@/types/proto/v1/org_policy_service";import {@@ -341,7 +343,7 @@ const factorList = computed((): Factor[] => {return list;});-const factorOptionsMap = computed((): Map<Factor, SelectOption[]> => {+const factorOptionsMap = computed((): Map<Factor, OptionConfig> => {return factorList.value.reduce((map, factor) => {let options: SelectOption[] = [];switch (factor) {@@ -352,14 +354,26 @@ const factorOptionsMap = computed((): Map<Factor, SelectOption[]> => {options = getInstanceIdOptions();break;case "project_id":- options = getProjectIdOptions();- break;+ const projectStore = useProjectV1Store();+ map.set(factor, {+ remote: true,+ options: getProjectIdOptions(projectStore.getProjectList()),+ search: async (keyword: string) => {+ return projectStore+ .searchProjects({ query: keyword })+ .then((projects) => getProjectIdOptions(projects));+ },+ });+ return map;case "classification_level":options = getClassificationLevelOptions();break;}- map.set(factor, options);+ map.set(factor, {+ remote: false,+ options,+ });return map;- }, new Map<Factor, SelectOption[]>());+ }, new Map<Factor, OptionConfig>());});</script>diff --git a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vueindex c30dc9b743..762767925d 100644--- a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue+++ b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue@@ -24,7 +24,7 @@:allow-admin="!readonly":factor-list="factorList":factor-support-dropdown="factorSupportDropdown"- :factor-options-map="factorOptionsMap"+ :option-config-map="optionConfigMap":factor-operator-override-map="factorOperatorOverrideMap"@update="state.dirty = true"/>@@ -90,6 +90,7 @@ import { NSelect, NPopconfirm, NInput, NButton } from "naive-ui";import { computed, reactive, onMounted, nextTick } from "vue";import { useI18n } from "vue-i18n";import ExprEditor from "@/components/ExprEditor";+import { type OptionConfig } from "@/components/ExprEditor/context";import type { ConditionGroupExpr, Factor, SimpleExpr } from "@/plugins/cel";import {resolveCELExpr,@@ -119,7 +120,7 @@ const props = defineProps<{disabled: boolean;allowDelete: boolean;factorList: Factor[];- factorOptionsMap: Map<Factor, SelectOption[]>;+ optionConfigMap: Map<Factor, OptionConfig>;maskingRule: MaskingRulePolicy_MaskingRule;}>();diff --git a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vueindex f7b261fa93..6fff68ddfd 100644--- a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue+++ b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue@@ -148,15 +148,9 @@ watch(});-const targetProject = computed(() => {- const name = targetProjectName.value;- if (!name || !isValidProjectName(name)) return undefined;- return projectStore.getProjectByName(name);-});-const validationErrors = computed(() => {const errors: string[] = [];- if (!targetProject.value) {+ if (!targetProjectName.value) {errors.push(t("database.transfer.errors.select-target-project"));}if (selectedDatabaseNameList.value.length === 0) {@@ -170,8 +164,15 @@ const allowTransfer = computed(() => {});const doTransfer = async () => {- const target = targetProject.value!;- if (!target) return;+ const name = targetProjectName.value;+ if (!name || !isValidProjectName(name)) {+ return;+ }++ const target = await projectStore.getOrFetchProjectByName(name);+ if (!target) {+ return;+ }const databaseList = selectedDatabaseList.value.filter((db) => db.project !== target.namediff --git a/frontend/src/components/User/Settings/RemoveGroupButton.vue b/frontend/src/components/User/Settings/RemoveGroupButton.vueindex 562fa8b5b2..0a8f0e5444 100644--- a/frontend/src/components/User/Settings/RemoveGroupButton.vue+++ b/frontend/src/components/User/Settings/RemoveGroupButton.vue@@ -76,7 +76,9 @@ const getProjectsBindingGroup = async (group: Group) => {}const response: ProjectGroupResource[] = [];- for (const project of projectStore.projectList) {+ // TODO(ed): Do we need a API to get IAM permission by user?+ // Or we can just don't need to be so strict, it's okay to keep this way.+ for (const project of projectStore.getProjectList()) {let resource: ProjectGroupResource | undefined;for (const binding of project.iamPolicy.bindings) {if (binding.members.includes(member)) {diff --git a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vueindex 3bd457b390..77ed0e0405 100644--- a/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue+++ b/frontend/src/components/v2/Model/DatabaseV1Table/DatabaseOperations.vue@@ -88,6 +88,7 @@</template><script lang="ts" setup>+import { computedAsync } from "@vueuse/core";import {UnlinkIcon,RefreshCcwIcon,@@ -205,8 +206,7 @@ const selectedProjectName = computed(() => {if (selectedProjectNames.value.size !== 1) {return "";}- const project = [...selectedProjectNames.value][0];- return projectStore.getProjectByName(project).name;+ return [...selectedProjectNames.value][0];});const databaseSupportAlterSchema = computed(() => {@@ -235,8 +235,8 @@ const allowTransferOutProject = computed(() => {);});-const allowTransferInProject = computed(() => {- const project = projectStore.getProjectByName(props.projectName);+const allowTransferInProject = computedAsync(async () => {+ const project = await projectStore.getOrFetchProjectByName(props.projectName);return hasProjectPermissionV2(project, "bb.projects.update");});diff --git a/frontend/src/components/v2/Model/PagedTable.vue b/frontend/src/components/v2/Model/PagedTable.vueindex c426899ac2..10be476354 100644--- a/frontend/src/components/v2/Model/PagedTable.vue+++ b/frontend/src/components/v2/Model/PagedTable.vue@@ -2,7 +2,7 @@<div class="space-y-4"><slot name="table" :list="dataList" :loading="state.loading" />- <div class="flex items-center justify-end space-x-2">+ <div :class="['flex items-center justify-end space-x-2', footerClass]"><div class="flex items-center space-x-2"><div class="textinfolabel">{{ $t("common.rows-per-page") }}@@ -57,13 +57,15 @@ const props = withDefaults(// A unique key to identify the session state.sessionKey: string;hideLoadMore?: boolean;+ footerClass?: string;fetchList: (params: {pageSize: number;pageToken: string;- }) => Promise<{ nextPageToken: string; list: T[] }>;+ }) => Promise<{ nextPageToken?: string; list: T[] }>;}>(),{hideLoadMore: false,+ footerClass: "",});@@ -138,7 +140,7 @@ const fetchData = async (refresh = false) => {}sessionState.value.updatedTs = Date.now();- state.paginationToken = nextPageToken;+ state.paginationToken = nextPageToken ?? "";} catch (e) {console.error(e);} finally {@@ -154,10 +156,10 @@ const resetSession = () => {};};-const refresh = () => {+const refresh = async () => {state.paginationToken = "";resetSession();- fetchData(true);+ await fetchData(true);};const fetchNextPage = () => {diff --git a/frontend/src/components/v2/Model/ProjectV1Table.vue b/frontend/src/components/v2/Model/ProjectV1Table.vueindex a847362f38..dea2af0140 100644--- a/frontend/src/components/v2/Model/ProjectV1Table.vue+++ b/frontend/src/components/v2/Model/ProjectV1Table.vue@@ -10,18 +10,13 @@:loading="loading":row-key="(data: ComposedProject) => data.name":row-props="rowProps"- :pagination="pagination":paginate-single-page="false"/></template><script lang="tsx" setup>import { CheckIcon } from "lucide-vue-next";-import {- NDataTable,- type DataTableColumn,- type PaginationProps,-} from "naive-ui";+import { NDataTable, type DataTableColumn } from "naive-ui";import { computed } from "vue";import { useI18n } from "vue-i18n";import { useRouter } from "vue-router";@@ -48,7 +43,6 @@ const props = withDefaults(currentProject?: ComposedProject;bordered?: boolean;loading?: boolean;- pagination?: false | PaginationProps;keyword?: string;// If true, the default behavior of the row click event will be prevented.preventDefault?: boolean;@@ -57,7 +51,6 @@ const props = withDefaults(bordered: true,currentProject: undefined,keyword: undefined,- pagination: () => ({ pageSize: 20 }) as PaginationProps,});diff --git a/frontend/src/components/v2/Select/GroupSelect.vue b/frontend/src/components/v2/Select/GroupSelect.vueindex 347e9047a8..6dc5451db4 100644--- a/frontend/src/components/v2/Select/GroupSelect.vue+++ b/frontend/src/components/v2/Select/GroupSelect.vue@@ -13,6 +13,7 @@</template><script lang="tsx" setup>+import { computedAsync } from "@vueuse/core";import { computed } from "vue";import {getMemberBindingsByRole,@@ -53,8 +54,13 @@ const groupStore = useGroupStore();const projectV1Store = useProjectV1Store();const workspaceStore = useWorkspaceV1Store();-const getGroupListFromProject = (projectName: string) => {- const project = projectV1Store.getProjectByName(projectName);+const groupList = computedAsync(async () => {+ if (!props.projectName) {+ return groupStore.groupList;+ }+ const project = await projectV1Store.getOrFetchProjectByName(+ props.projectName+ );const memberMap = getMemberBindingsByRole({policies: [{@@ -73,13 +79,7 @@ const getGroupListFromProject = (projectName: string) => {return getMemberBindings(memberMap).map((binding) => binding.group).filter((g) => g) as Group[];-};--const groupList = computed(() =>- props.projectName- ? getGroupListFromProject(props.projectName)- : groupStore.groupList-);+}, []);const options = computed(() => {return groupList.value.map((group) => ({diff --git a/frontend/src/components/v2/Select/ProjectSelect.vue b/frontend/src/components/v2/Select/ProjectSelect.vueindex f6b51d9ffb..64ff3c70d4 100644--- a/frontend/src/components/v2/Select/ProjectSelect.vue+++ b/frontend/src/components/v2/Select/ProjectSelect.vue@@ -1,6 +1,8 @@<template><ResourceSelectv-bind="$attrs"+ :remote="true"+ :loading="state.loading":placeholder="$t('project.select')":multiple="multiple":disabled="disabled"@@ -9,6 +11,7 @@:options="options":custom-label="renderLabel"class="bb-project-select"+ @search="handleSearch"@update:value="(val) => $emit('update:project-name', val)"@update:values="(val) => $emit('update:project-names', val)">@@ -19,11 +22,16 @@</template><script lang="tsx" setup>+import { useDebounceFn } from "@vueuse/core";import { intersection } from "lodash-es";-import { computed, watchEffect } from "vue";+import { computed, watchEffect, watch, reactive } from "vue";import { useI18n } from "vue-i18n";import { ProjectNameCell } from "@/components/v2/Model/DatabaseV1Table/cells";-import { useProjectV1List, usePermissionStore } from "@/store";+import {+ useProjectV1List,+ useProjectV1Store,+ usePermissionStore,+} from "@/store";import type { ComposedProject } from "@/types";import {unknownProject,@@ -70,31 +78,83 @@ const emit = defineEmits<{(event: "update:project-names", names: string[]): void;}>();+interface LocalState {+ loading: boolean;+ rawProjectList: ComposedProject[];+}+const { t } = useI18n();const permissionStore = usePermissionStore();-const { projectList } = useProjectV1List(true /* showDeleted */);+const projectStore = useProjectV1Store();+const state = reactive<LocalState>({+ loading: true,+ rawProjectList: [],+});+const { projectList, ready } = useProjectV1List(true /* showDeleted */);++watch(+ () => ready.value,+ () => {+ state.loading = !ready.value;+ if (!ready.value) {+ return;+ }+ state.rawProjectList = [...projectList.value];++ if (+ props.projectName &&+ props.projectName !== DEFAULT_PROJECT_NAME &&+ props.projectName !== UNKNOWN_PROJECT_NAME &&+ isOrphanValue.value+ ) {+ // It may happen the selected id might not be in the project list.+ // e.g. the selected project is deleted after the selection and we+ // are unable to cleanup properly. In such case, the selected project id+ // is orphaned and we just display the id+ const dummyProject = {+ ...unknownProject(),+ name: props.projectName,+ title: extractProjectResourceName(props.projectName),+ };+ state.rawProjectList.unshift(dummyProject);+ }++ if (+ props.projectName === DEFAULT_PROJECT_NAME ||+ props.includeDefaultProject+ ) {+ if (+ !state.rawProjectList.find((proj) => proj.name === DEFAULT_PROJECT_NAME)+ ) {+ state.rawProjectList.unshift({ ...defaultProject() });+ }+ }++ if (props.projectName === UNKNOWN_PROJECT_NAME || props.includeAll) {+ const dummyAll = {+ ...unknownProject(),+ title: t("project.all"),+ };+ state.rawProjectList.unshift(dummyAll);+ }+ },+ { immediate: true }+);const hasWorkspaceManageProjectPermission = computed(() =>hasWorkspacePermissionV2("bb.projects.list"));-const rawProjectList = computed(() => {- return projectList.value.filter((project) => {- if (project.name === DEFAULT_PROJECT_NAME) {- return false;- }- return true;- });-});-const isOrphanValue = computed(() => {if (props.projectName === undefined) return false;- return !rawProjectList.value.find((proj) => proj.name === props.projectName);+ return !state.rawProjectList.find((proj) => proj.name === props.projectName);});const combinedProjectList = computed(() => {- let list = rawProjectList.value.filter((project) => {+ let list = state.rawProjectList.filter((project) => {+ if (project.name === DEFAULT_PROJECT_NAME && !props.includeDefaultProject)+ return false;if (props.includeArchived) return true;if (project.state === State.ACTIVE) return true;// ARCHIVED@@ -117,56 +177,47 @@ const combinedProjectList = computed(() => {list = list.filter(props.filter);}- if (- props.projectName &&- props.projectName !== DEFAULT_PROJECT_NAME &&- props.projectName !== UNKNOWN_PROJECT_NAME &&- isOrphanValue.value- ) {- // It may happen the selected id might not be in the project list.- // e.g. the selected project is deleted after the selection and we- // are unable to cleanup properly. In such case, the selected project id- // is orphaned and we just display the id- const dummyProject = {- ...unknownProject(),- name: props.projectName,- title: extractProjectResourceName(props.projectName),- };- list.unshift(dummyProject);- }+ return list;+});- if (- props.projectName === DEFAULT_PROJECT_NAME ||- props.includeDefaultProject- ) {- list.unshift({ ...defaultProject() });+const handleSearch = useDebounceFn(async (search: string) => {+ if (!search) {+ state.rawProjectList = projectList.value;+ return;}- if (props.projectName === UNKNOWN_PROJECT_NAME || props.includeAll) {- const dummyAll = {- ...unknownProject(),- title: t("project.all"),- };- list.unshift(dummyAll);+ state.loading = true;+ try {+ const projects = await projectStore.searchProjects({+ query: search,+ showDeleted: props.includeArchived,+ });+ state.rawProjectList = projects;+ } finally {+ state.loading = false;}-- return list;-});--const options = computed(() => {- return combinedProjectList.value.map((project) => {- return {- resource: project,- value: project.name,- label:- project.name === DEFAULT_PROJECT_NAME- ? t("common.unassigned")- : project.name === UNKNOWN_PROJECT_NAME- ? t("project.all")- : project.title,- };- });-});+}, 500);++const options = computed(+ (): {+ resource: ComposedProject;+ value: string;+ label: string;+ }[] => {+ return combinedProjectList.value.map((project) => {+ return {+ resource: project,+ value: project.name,+ label:+ project.name === DEFAULT_PROJECT_NAME+ ? t("common.unassigned")+ : project.name === UNKNOWN_PROJECT_NAME+ ? t("project.all")+ : project.title,+ };+ });+ }+);watchEffect(() => {if (!props.defaultSelectFirst || props.projectName || props.multiple) {diff --git a/frontend/src/components/v2/Select/ResourceSelect.vue b/frontend/src/components/v2/Select/ResourceSelect.vueindex 814466387d..c5504f21f8 100644--- a/frontend/src/components/v2/Select/ResourceSelect.vue+++ b/frontend/src/components/v2/Select/ResourceSelect.vue@@ -15,6 +15,7 @@:size="size":consistent-menu-width="consistentMenuWidth"class="bb-user-select"+ @search="handleSearch"@update:value="handleValueUpdated"><template v-if="$slots.empty" #empty>@@ -69,6 +70,7 @@ const props = withDefaults(const emit = defineEmits<{(event: "update:value", value: string | undefined): void;(event: "update:values", value: string[]): void;+ (event: "search", value: string): void;}>();const selected = computed(() => {@@ -79,6 +81,10 @@ const selected = computed(() => {}});+const handleSearch = (search: string) => {+ emit("search", search.trim().toLowerCase());+};+const renderLabel = (option: SelectOption, selected: boolean) => {const { resource, label } = option as ResourceSelectOption;const node = (diff --git a/frontend/src/components/v2/Select/UserSelect.vue b/frontend/src/components/v2/Select/UserSelect.vueindex 56641d31c1..4bcf9d5f0f 100644--- a/frontend/src/components/v2/Select/UserSelect.vue+++ b/frontend/src/components/v2/Select/UserSelect.vue@@ -16,6 +16,7 @@</template><script lang="tsx" setup>+import { computedAsync } from "@vueuse/core";import { computed, watch, watchEffect } from "vue";import { useI18n } from "vue-i18n";import UserIcon from "~icons/heroicons-outline/user";@@ -99,8 +100,8 @@ const prepare = () => {};watchEffect(prepare);-const getUserListFromProject = (projectName: string) => {- const project = projectV1Store.getProjectByName(projectName);+const getUserListFromProject = async (projectName: string) => {+ const project = await projectV1Store.getOrFetchProjectByName(projectName);const memberMap = getMemberBindingsByRole({policies: [{@@ -138,11 +139,13 @@ const getUserListFromWorkspace = () => {});};-const rawUserList = computed(() => {- const list =- props.projectName && isValidProjectName(props.projectName)- ? getUserListFromProject(props.projectName)- : getUserListFromWorkspace();+const rawUserList = computedAsync(async () => {+ let list = [];+ if (props.projectName && isValidProjectName(props.projectName)) {+ list = await getUserListFromProject(props.projectName);+ } else {+ list = getUserListFromWorkspace();+ }return list.filter((user) => {if (@@ -158,7 +161,7 @@ const rawUserList = computed(() => {return true;});-});+}, []);const combinedUserList = computed(() => {let list = [...rawUserList.value];diff --git a/frontend/src/layouts/InstanceLayout.vue b/frontend/src/layouts/InstanceLayout.vueindex e2a22536ad..708db875bb 100644--- a/frontend/src/layouts/InstanceLayout.vue+++ b/frontend/src/layouts/InstanceLayout.vue@@ -12,7 +12,7 @@</div><router-view v-else :instance-id="instanceId" /></template>- <NoPermissionPlaceholder v-else />+ <NoPermissionPlaceholder v-else class="mx-4" /></ProvideInstanceContext></template><template #fallback>diff --git a/frontend/src/layouts/ProjectV1Layout.vue b/frontend/src/layouts/ProjectV1Layout.vueindex 775d59c835..428a60fa4c 100644--- a/frontend/src/layouts/ProjectV1Layout.vue+++ b/frontend/src/layouts/ProjectV1Layout.vue@@ -75,6 +75,7 @@ import {hasFeature,useAppFeature,useProjectV1Store,+ useProjectByName,pushNotification,usePermissionStore,} from "@/store";@@ -142,12 +143,13 @@ watchEffect(async () => {}});-const project = computed(() =>- projectStore.getProjectByName(projectName.value)-);+const { project, ready } = useProjectByName(projectName.value);const initialized = computed(- () => project.value.name !== UNKNOWN_PROJECT_NAME && databaseListReady.value+ () =>+ ready &&+ project.value.name !== UNKNOWN_PROJECT_NAME &&+ databaseListReady.value);const isDefaultProject = computed((): boolean => {diff --git a/frontend/src/store/modules/dbGroup.ts b/frontend/src/store/modules/dbGroup.tsindex 4144fe661d..134c4ff0c1 100644--- a/frontend/src/store/modules/dbGroup.ts+++ b/frontend/src/store/modules/dbGroup.ts@@ -24,7 +24,11 @@ import {batchConvertCELStringToParsedExpr,} from "@/utils";import { useCache } from "../cache";-import { useProjectV1Store, useDatabaseV1Store } from "./v1";+import {+ useProjectV1Store,+ useDatabaseV1Store,+ batchGetOrFetchProjects,+} from "./v1";import {databaseGroupNamePrefix,getProjectNameAndDatabaseGroupName,@@ -39,11 +43,21 @@ const batchComposeDatabaseGroup = async (const expressions: string[] = [];const composedDatabaseGroupNameList: string[] = [];+ const projectStore = useProjectV1Store();+ await batchGetOrFetchProjects(+ databaseGroupList.map((databaseGroup) => {+ const [projectName, _] = getProjectNameAndDatabaseGroupName(+ databaseGroup.name+ );+ return `${projectNamePrefix}${projectName}`;+ })+ );+for (const databaseGroup of databaseGroupList) {const [projectName, databaseGroupName] = getProjectNameAndDatabaseGroupName(databaseGroup.name);- const project = await useProjectV1Store().getOrFetchProjectByName(+ const project = projectStore.getProjectByName(`${projectNamePrefix}${projectName}`);diff --git a/frontend/src/store/modules/release.ts b/frontend/src/store/modules/release.tsindex d3b06159b7..ffd430970b 100644--- a/frontend/src/store/modules/release.ts+++ b/frontend/src/store/modules/release.ts@@ -1,16 +1,15 @@-import { head, uniq } from "lodash-es";+import { head } from "lodash-es";import { defineStore } from "pinia";import { computed, reactive, ref, unref, watch } from "vue";import { releaseServiceClient } from "@/grpcweb";import type { MaybeRef, ComposedRelease, Pagination } from "@/types";import { isValidReleaseName, unknownRelease, unknownUser } from "@/types";-import { DEFAULT_PROJECT_NAME } from "@/types";import { State } from "@/types/proto/v1/common";import type { DeepPartial, Release } from "@/types/proto/v1/release_service";import { extractUserResourceName } from "@/utils";import { DEFAULT_PAGE_SIZE } from "./common";import { useUserStore } from "./user";-import { useProjectV1Store } from "./v1";+import { useProjectV1Store, batchGetOrFetchProjects } from "./v1";import { getProjectNameReleaseId, projectNamePrefix } from "./v1/common";export const useReleaseStore = defineStore("release", () => {@@ -131,19 +130,12 @@ export const batchComposeRelease = async (releaseList: Release[]) => {unknownUser();return composed;});- const distinctProjectList = uniq(++ await batchGetOrFetchProjects(composedReleaseList.map((release) => release.project));const projectV1Store = useProjectV1Store();- await Promise.all(- distinctProjectList.map((project) => {- if (project === DEFAULT_PROJECT_NAME) {- return;- }- return projectV1Store.getOrFetchProjectByName(project);- })- );return composedReleaseList.map((release) => {release.projectEntity = projectV1Store.getProjectByName(release.project);return release;diff --git a/frontend/src/store/modules/rollout.ts b/frontend/src/store/modules/rollout.tsindex a048f4efd5..b299c104c1 100644--- a/frontend/src/store/modules/rollout.ts+++ b/frontend/src/store/modules/rollout.ts@@ -1,15 +1,14 @@-import { head, uniq } from "lodash-es";+import { head } from "lodash-es";import { defineStore } from "pinia";import { computed, reactive, ref, unref, watch } from "vue";import { rolloutServiceClient } from "@/grpcweb";import type { MaybeRef, Pagination, ComposedRollout } from "@/types";import { isValidRolloutName, unknownRollout, unknownUser } from "@/types";-import { DEFAULT_PROJECT_NAME } from "@/types";import type { Rollout } from "@/types/proto/v1/rollout_service";import { extractUserResourceName } from "@/utils";import { DEFAULT_PAGE_SIZE } from "./common";import { useUserStore } from "./user";-import { useProjectV1Store } from "./v1";+import { useProjectV1Store, batchGetOrFetchProjects } from "./v1";import { getProjectNameRolloutId, projectNamePrefix } from "./v1/common";export const useRolloutStore = defineStore("rollout", () => {@@ -99,19 +98,11 @@ export const batchComposeRollout = async (rolloutList: Rollout[]) => {unknownUser();return composed;});- const distinctProjectList = uniq(+ await batchGetOrFetchProjects(composedRolloutList.map((rollout) => rollout.project));const projectV1Store = useProjectV1Store();- await Promise.all(- distinctProjectList.map((project) => {- if (project === DEFAULT_PROJECT_NAME) {- return;- }- return projectV1Store.getOrFetchProjectByName(project);- })- );return composedRolloutList.map((rollout) => {rollout.projectEntity = projectV1Store.getProjectByName(rollout.project);return rollout;diff --git a/frontend/src/store/modules/v1/database.ts b/frontend/src/store/modules/v1/database.tsindex 3f17bf9c6d..5c1953fb88 100644--- a/frontend/src/store/modules/v1/database.ts+++ b/frontend/src/store/modules/v1/database.ts@@ -1,4 +1,3 @@-import { uniq } from "lodash-es";import { defineStore } from "pinia";import { computed, reactive, ref, unref, watch, markRaw } from "vue";import { databaseServiceClient } from "@/grpcweb";@@ -9,7 +8,6 @@ import {unknownEnvironment,unknownInstanceResource,} from "@/types";-import { DEFAULT_PROJECT_NAME } from "@/types";import type {Database,UpdateDatabaseRequest,@@ -19,7 +17,7 @@ import type {import type { InstanceResource } from "@/types/proto/v1/instance_service";import { extractDatabaseResourceName, hasProjectPermissionV2 } from "@/utils";import { useEnvironmentV1Store } from "./environment";-import { useProjectV1Store } from "./project";+import { batchGetOrFetchProjects, useProjectV1Store } from "./project";export const useDatabaseV1Store = defineStore("database_v1", () => {const databaseMapByName = reactive(new Map<string, ComposedDatabase>());@@ -123,10 +121,7 @@ export const useDatabaseV1Store = defineStore("database_v1", () => {const [composed] = await upsertDatabaseMap([updated]);return composed;};- const fetchDatabaseSchema = async (- name: string,- sdlFormat = false- ) => {+ const fetchDatabaseSchema = async (name: string, sdlFormat = false) => {const schema = await databaseServiceClient.getDatabaseSchema({name,sdlFormat,@@ -207,19 +202,11 @@ export const useDatabaseV1ByName = (name: MaybeRef<string>) => {};export const batchComposeDatabase = async (databaseList: Database[]) => {- const projectV1Store = useProjectV1Store();const environmentV1Store = useEnvironmentV1Store();+ const projectV1Store = useProjectV1Store();- const distinctProjectList = uniq(databaseList.map((db) => db.project));+ await batchGetOrFetchProjects(databaseList.map((db) => db.project));- await Promise.all(- distinctProjectList.map((project) => {- if (project === DEFAULT_PROJECT_NAME) {- return;- }- return projectV1Store.getOrFetchProjectByName(project);- })- );return databaseList.map((db) => {const composed = db as ComposedDatabase;const { databaseName, instance } = extractDatabaseResourceName(db.name);diff --git a/frontend/src/store/modules/v1/issue.ts b/frontend/src/store/modules/v1/issue.tsindex a5526e8bde..a88f0a1ed2 100644--- a/frontend/src/store/modules/v1/issue.ts+++ b/frontend/src/store/modules/v1/issue.ts@@ -6,7 +6,6 @@ import { ref, watch } from "vue";import { issueServiceClient } from "@/grpcweb";import type { ComposedIssue, IssueFilter } from "@/types";import { isValidProjectName, PresetRoleType } from "@/types";-import { UserType } from "@/types/proto/v1/user_service";import { State } from "@/types/proto/v1/common";import type { ApprovalStep } from "@/types/proto/v1/issue_service";import {@@ -14,13 +13,13 @@ import {ApprovalNode_Type,ApprovalNode_GroupValue,} from "@/types/proto/v1/issue_service";+import { UserType } from "@/types/proto/v1/user_service";import { extractProjectResourceName, memberListInProjectIAM } from "@/utils";import { extractUserEmail, useUserStore } from "../user";import {shallowComposeIssue,type ComposeIssueConfig,} from "./experimental-issue";-import { useProjectV1Store } from "./project";import { useWorkspaceV1Store } from "./workspace";export type ListIssueParams = {@@ -101,12 +100,9 @@ export const useIssueV1Store = defineStore("issue_v1", () => {pageToken,});- const projectStore = useProjectV1Store();const issues = resp.issues.filter((issue) => {const proj = extractProjectResourceName(issue.name);- return isValidProjectName(- projectStore.getProjectByName(`projects/${proj}`).name- );+ return isValidProjectName(`projects/${proj}`);});const composedIssues = await Promise.all(diff --git a/frontend/src/store/modules/v1/plan.ts b/frontend/src/store/modules/v1/plan.tsindex cff28b2aac..ec96d4dd9a 100644--- a/frontend/src/store/modules/v1/plan.ts+++ b/frontend/src/store/modules/v1/plan.ts@@ -119,12 +119,9 @@ export const usePlanStore = defineStore("plan", () => {pageToken,});- const projectStore = useProjectV1Store();const plans = resp.plans.filter((plan) => {const proj = extractProjectResourceName(plan.name);- return isValidProjectName(- projectStore.getProjectByName(`projects/${proj}`).name- );+ return isValidProjectName(`projects/${proj}`);});const composedPlans = await Promise.all(diff --git a/frontend/src/store/modules/v1/project.ts b/frontend/src/store/modules/v1/project.tsindex 5b7471fd58..c97a5b157b 100644--- a/frontend/src/store/modules/v1/project.ts+++ b/frontend/src/store/modules/v1/project.ts@@ -1,4 +1,4 @@-import { orderBy } from "lodash-es";+import { orderBy, uniq } from "lodash-es";import { defineStore } from "pinia";import { computed, reactive, ref, unref, watchEffect } from "vue";import { projectServiceClient } from "@/grpcweb";@@ -10,9 +10,13 @@ import {defaultProject,UNKNOWN_PROJECT_NAME,DEFAULT_PROJECT_NAME,+ isValidProjectName,} from "@/types";import { State } from "@/types/proto/v1/common";-import type { Project } from "@/types/proto/v1/project_service";+import type {+ Project,+ ListProjectsResponse,+} from "@/types/proto/v1/project_service";import { hasWorkspacePermissionV2 } from "@/utils";import { useListCache } from "./cache";import { useProjectIamPolicyStore } from "./projectIamPolicy";@@ -63,11 +67,56 @@ export const useProjectV1Store = defineStore("project_v1", () => {await upsertProjectMap([project]);return project as ComposedProject;};++ const fetchProjectList = async (params: {+ showDeleted: boolean;+ pageSize: number;+ pageToken?: string;+ query?: string;+ }): Promise<{+ projects: ComposedProject[];+ nextPageToken?: string;+ }> => {+ const request =+ hasWorkspacePermissionV2("bb.projects.list") && !params.query+ ? projectServiceClient.listProjects+ : projectServiceClient.searchProjects;+ const response = await request(params);+ const composedProjects = await upsertProjectMap(response.projects);++ return {+ projects: composedProjects,+ nextPageToken: (response as ListProjectsResponse).nextPageToken,+ };+ };++ const searchProjects = async ({+ query,+ silent = true,+ showDeleted = false,+ }: {+ query: string;+ silent?: boolean;+ showDeleted?: boolean;+ }) => {+ const { projects } = await projectServiceClient.searchProjects(+ {+ query,+ showDeleted,+ },+ { silent }+ );+ return await upsertProjectMap(projects);+ };+const getOrFetchProjectByName = async (name: string, silent = false) => {- const cachedData = projectMapByName.get(name);- if (cachedData) {+ const cachedData = getProjectByName(name);+ if (cachedData && cachedData.name !== UNKNOWN_PROJECT_NAME) {return cachedData;}+ if (!isValidProjectName(name)) {+ return unknownProject();+ }return fetchProjectByName(name, silent);};const createProject = async (project: Project, resourceId: string) => {@@ -75,16 +124,16 @@ export const useProjectV1Store = defineStore("project_v1", () => {project,projectId: resourceId,});- await upsertProjectMap([created]);- return created;+ const composed = await upsertProjectMap([created]);+ return composed[0];};const updateProject = async (project: Project, updateMask: string[]) => {const updated = await projectServiceClient.updateProject({project,updateMask,});- await upsertProjectMap([updated]);- return updated;+ const composed = await upsertProjectMap([updated]);+ return composed[0];};const archiveProject = async (project: Project, force = false) => {await projectServiceClient.deleteProject({@@ -104,7 +153,6 @@ export const useProjectV1Store = defineStore("project_v1", () => {return {reset,- projectList,upsertProjectMap,getProjectList,getProjectByName,@@ -114,6 +162,8 @@ export const useProjectV1Store = defineStore("project_v1", () => {archiveProject,restoreProject,updateProjectCache,+ searchProjects,+ fetchProjectList,};});@@ -134,10 +184,10 @@ export const useProjectV1List = (showDeleted: boolean = false) => {timestamp: Date.now(),isFetching: true,});- const request = hasWorkspacePermissionV2("bb.projects.list")- ? projectServiceClient.listProjects- : projectServiceClient.searchProjects;- const { projects } = await request({ showDeleted });+ const { projects } = await store.fetchProjectList({+ showDeleted,+ pageSize: 100,+ });await store.upsertProjectMap(projects);listCache.cacheMap.set(cacheKey, {timestamp: Date.now(),@@ -182,3 +232,21 @@ const batchComposeProjectIamPolicy = async (projectList: Project[]) => {return composedProject;});};++export const batchGetOrFetchProjects = async (projectNames: string[]) => {+ const store = useProjectV1Store();++ const distinctProjectList = uniq(projectNames);+ await Promise.all(+ distinctProjectList.map((projectName) => {+ if (+ !projectName ||+ !isValidProjectName(projectName) ||+ projectName === DEFAULT_PROJECT_NAME+ ) {+ return;+ }+ return store.getOrFetchProjectByName(projectName, true /* silent */);+ })+ );+};diff --git a/frontend/src/store/modules/v1/worksheet.ts b/frontend/src/store/modules/v1/worksheet.tsindex ff28c9ac78..378623c8a2 100644--- a/frontend/src/store/modules/v1/worksheet.ts+++ b/frontend/src/store/modules/v1/worksheet.ts@@ -18,6 +18,7 @@ import {import { useCurrentUserV1 } from "../auth";import { useSQLEditorTabStore } from "../sqlEditor";import { getUserEmailFromIdentifier } from "./common";+import { useProjectV1Store, batchGetOrFetchProjects } from "./project";type WorksheetView = "FULL" | "BASIC";type WorksheetCacheKey = [string /* uid */, WorksheetView];@@ -26,6 +27,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {const cacheByUID = useCache<WorksheetCacheKey, Worksheet | undefined>("bb.worksheet.by-uid");+ const projectStore = useProjectV1Store();// Gettersconst worksheetList = computed(() => {@@ -53,17 +55,24 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {});// Utilities- const setCache = (worksheet: Worksheet, view: WorksheetView) => {+ const setCache = async (worksheet: Worksheet, view: WorksheetView) => {const uid = extractWorksheetUID(worksheet.name);if (uid === String(UNKNOWN_ID)) return;if (view === "FULL") {// A FULL version should override BASIC versioncacheByUID.invalidateEntity([uid, "BASIC"]);}++ await projectStore.getOrFetchProjectByName(worksheet.project);cacheByUID.setEntity([uid, view], worksheet);};- const setListCache = (worksheets: Worksheet[]) => {- worksheets.forEach((worksheet) => setCache(worksheet, "BASIC"));+ const setListCache = async (worksheets: Worksheet[]) => {+ await batchGetOrFetchProjects(+ worksheets.map((worksheet) => worksheet.project)+ );+ for (const worksheet of worksheets) {+ await setCache(worksheet, "BASIC");+ }};// CRUD@@ -71,7 +80,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {const created = await worksheetServiceClient.createWorksheet({worksheet,});- setCache(created, "FULL");+ await setCache(created, "FULL");return created;};@@ -132,6 +141,8 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {// If the request failed// remove the request cache entry so we can retry when needed.cacheByUID.invalidateRequest([uid, "FULL"]);+ } else {+ return setCache(worksheet, "FULL");}});return promise;@@ -142,7 +153,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {const { worksheets } = await worksheetServiceClient.searchWorksheets({filter: `creator = users/${me.value.email}`,});- setListCache(worksheets);+ await setListCache(worksheets);return worksheets;};const fetchSharedWorksheetList = async () => {@@ -150,7 +161,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {const { worksheets } = await worksheetServiceClient.searchWorksheets({filter: `creator != "users/${me.value.email}" && visibility = "${Worksheet_Visibility.VISIBILITY_PROJECT_READ} | ${Worksheet_Visibility.VISIBILITY_PROJECT_WRITE}"`,});- setListCache(worksheets);+ await setListCache(worksheets);return worksheets;};@@ -158,7 +169,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {const { worksheets } = await worksheetServiceClient.searchWorksheets({filter: `starred = true`,});- setListCache(worksheets);+ await setListCache(worksheets);return worksheets;};@@ -171,7 +182,7 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {worksheet,updateMask,});- setCache(updated, "FULL");+ await setCache(updated, "FULL");return updated;};@@ -195,12 +206,12 @@ export const useWorkSheetStore = defineStore("worksheet_v1", () => {const fullViewWorksheet = getWorksheetByName(organizer.worksheet, "FULL");if (fullViewWorksheet) {fullViewWorksheet.starred = organizer.starred;- setCache(fullViewWorksheet, "FULL");+ await setCache(fullViewWorksheet, "FULL");}const basicViewWorksheet = getWorksheetByName(organizer.worksheet, "BASIC");if (basicViewWorksheet) {basicViewWorksheet.starred = organizer.starred;- setCache(basicViewWorksheet, "BASIC");+ await setCache(basicViewWorksheet, "BASIC");}};diff --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/project_service.ts b/frontend/src/types/proto/v1/project_service.tsindex 281a8ff34e..bc492690e8 100644--- a/frontend/src/types/proto/v1/project_service.ts+++ b/frontend/src/types/proto/v1/project_service.ts@@ -89,7 +89,6 @@ export interface GetProjectRequest {export interface ListProjectsRequest {/**- * Not used.* The maximum number of projects to return. The service may return fewer than* this value.* If unspecified, at most 10 projects will be returned.@@ -97,7 +96,6 @@ export interface ListProjectsRequest {*/pageSize: number;/**- * Not used.* A page token, received from a previous `ListProjects` call.* Provide this to retrieve the subsequent page.*@@ -122,6 +120,8 @@ export interface ListProjectsResponse {export interface SearchProjectsRequest {/** Show deleted projects if specified. */showDeleted: boolean;+ /** Filter the project title or resource id by query. */+ query: string;}export interface SearchProjectsResponse {@@ -918,7 +918,7 @@ export const ListProjectsResponse: MessageFns<ListProjectsResponse> = {};function createBaseSearchProjectsRequest(): SearchProjectsRequest {- return { showDeleted: false };+ return { showDeleted: false, query: "" };}export const SearchProjectsRequest: MessageFns<SearchProjectsRequest> = {@@ -926,6 +926,9 @@ export const SearchProjectsRequest: MessageFns<SearchProjectsRequest> = {if (message.showDeleted !== false) {writer.uint32(8).bool(message.showDeleted);}+ if (message.query !== "") {+ writer.uint32(18).string(message.query);+ }return writer;},@@ -944,6 +947,14 @@ export const SearchProjectsRequest: MessageFns<SearchProjectsRequest> = {message.showDeleted = reader.bool();continue;}+ case 2: {+ if (tag !== 18) {+ break;+ }++ message.query = reader.string();+ continue;+ }}if ((tag & 7) === 4 || tag === 0) {break;@@ -954,7 +965,10 @@ export const SearchProjectsRequest: MessageFns<SearchProjectsRequest> = {},fromJSON(object: any): SearchProjectsRequest {- return { showDeleted: isSet(object.showDeleted) ? globalThis.Boolean(object.showDeleted) : false };+ return {+ showDeleted: isSet(object.showDeleted) ? globalThis.Boolean(object.showDeleted) : false,+ query: isSet(object.query) ? globalThis.String(object.query) : "",+ };},toJSON(message: SearchProjectsRequest): unknown {@@ -962,6 +976,9 @@ export const SearchProjectsRequest: MessageFns<SearchProjectsRequest> = {if (message.showDeleted !== false) {obj.showDeleted = message.showDeleted;}+ if (message.query !== "") {+ obj.query = message.query;+ }return obj;},@@ -971,6 +988,7 @@ export const SearchProjectsRequest: MessageFns<SearchProjectsRequest> = {fromPartial(object: DeepPartial<SearchProjectsRequest>): SearchProjectsRequest {const message = createBaseSearchProjectsRequest();message.showDeleted = object.showDeleted ?? false;+ message.query = object.query ?? "";return message;},};diff --git a/frontend/src/utils/iam/permission.ts b/frontend/src/utils/iam/permission.tsindex 4343fefdc9..97ba930cb4 100644--- a/frontend/src/utils/iam/permission.ts+++ b/frontend/src/utils/iam/permission.ts@@ -1,4 +1,4 @@-import { usePermissionStore, useProjectV1List } from "@/store";+import { usePermissionStore } from "@/store";import type { ComposedProject, Permission } from "@/types";export const hasWorkspacePermissionV2 = (permission: Permission): boolean => {@@ -7,19 +7,11 @@ export const hasWorkspacePermissionV2 = (permission: Permission): boolean => {// hasProjectPermissionV2 checks if the user has the given permission on the project.export const hasProjectPermissionV2 = (- project: ComposedProject | undefined,+ project: ComposedProject,permission: Permission): boolean => {const permissionStore = usePermissionStore();- // If the project is not provided, then check if the user has the given permission on any project in the workspace.- if (!project) {- const { projectList } = useProjectV1List();- return projectList.value.some((project) =>- hasProjectPermissionV2(project, permission)- );- }-// Check workspace-level permissions first.// For those users who have workspace-level project roles, they should have all project-level permissions.if (permissionStore.currentPermissions.has(permission)) {@@ -30,13 +22,3 @@ export const hasProjectPermissionV2 = (const permissions = permissionStore.currentPermissionsInProjectV1(project);return permissions.has(permission);};--// hasWorkspaceLevelProjectPermissionInAnyProject checks if the user has the given permission on ANY project in the workspace.-export const hasWorkspaceLevelProjectPermissionInAnyProject = (- permission: Permission-): boolean => {- const { projectList } = useProjectV1List();- return projectList.value.some((project) =>- hasProjectPermissionV2(project, permission)- );-};diff --git a/frontend/src/utils/v1/project.ts b/frontend/src/utils/v1/project.tsindex d04d3f2470..6469edf232 100644--- a/frontend/src/utils/v1/project.ts+++ b/frontend/src/utils/v1/project.ts@@ -29,7 +29,7 @@ export function filterProjectV1ListByKeyword<T extends Project>(return projectList.filter((project) => {return (project.title.toLowerCase().includes(keyword) ||- extractProjectResourceName(project.name).toLowerCase().includes(keyword)+ project.name.toLowerCase().includes(keyword));});}diff --git a/frontend/src/views/Archive.vue b/frontend/src/views/Archive.vueindex 380351f4f1..172332f366 100644--- a/frontend/src/views/Archive.vue+++ b/frontend/src/views/Archive.vue@@ -1,7 +1,11 @@<template><div class="flex flex-col space-y-4"><div class="flex justify-between items-end">- <TabFilter v-model:value="state.selectedTab" :items="tabItemList" />+ <TabFilter+ :value="state.selectedTab"+ :items="tabItemList"+ @update:value="(val) => (state.selectedTab = val as LocalTabType)"+ /><SearchBoxv-model:value="state.searchText"@@ -62,8 +66,10 @@ import {hasWorkspacePermissionV2,} from "@/utils";+type LocalTabType = "PROJECT" | "INSTANCE" | "ENVIRONMENT" | "SSO";+interface LocalState {- selectedTab: "PROJECT" | "INSTANCE" | "ENVIRONMENT" | "SSO";+ selectedTab: LocalTabType;searchText: string;}@@ -95,6 +101,7 @@ const instanceList = computed(() => {});const projectList = computed(() => {+ // TODO(ed): support pagination.return useProjectV1List(true /** showDeleted */).projectList.value.filter((project) => project.state === State.DELETED);@@ -105,7 +112,9 @@ const deletedSSOList = computed(() => {});const tabItemList = computed(() => {- const list = [{ value: "PROJECT", label: t("common.project") }];+ const list: { value: LocalTabType; label: string }[] = [+ { value: "PROJECT", label: t("common.project") },+ ];if (hasWorkspacePermissionV2("bb.instances.undelete")) {list.push({ value: "INSTANCE", label: t("common.instance") });@@ -123,10 +132,7 @@ const tabItemList = computed(() => {});const filteredProjectList = computed(() => {- const list = projectList.value.filter(- (project) => project.state === State.DELETED- );- return filterProjectV1ListByKeyword(list, state.searchText);+ return filterProjectV1ListByKeyword(projectList.value, state.searchText);});const filteredInstanceList = computed(() => {diff --git a/frontend/src/views/DashboardLanding.vue b/frontend/src/views/DashboardLanding.vueindex 116f0fe378..e9aefdee2f 100644--- a/frontend/src/views/DashboardLanding.vue+++ b/frontend/src/views/DashboardLanding.vue@@ -130,6 +130,7 @@</template><script lang="tsx" setup>+import { computedAsync } from "@vueuse/core";import { Volume2Icon } from "lucide-vue-next";import { SettingsIcon, GripVerticalIcon } from "lucide-vue-next";import { NButton, NCheckbox, NDivider } from "naive-ui";@@ -164,12 +165,12 @@ const actuatorStore = useActuatorV1Store();const { lastVisitProjectPath } = useRecentVisit();const router = useRouter();-const lastProject = computed(() => {+const lastProject = computedAsync(async () => {if (!lastVisitProjectPath.value) {return;}const projectName = `${projectNamePrefix}${extractProjectResourceName(lastVisitProjectPath.value)}`;- const project = projectStore.getProjectByName(projectName);+ const project = await projectStore.getOrFetchProjectByName(projectName);if (project.name === UNKNOWN_PROJECT_NAME) {return;}diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vueindex 7dd7a63328..4d4ae7129a 100644--- a/frontend/src/views/DatabaseDashboard.vue+++ b/frontend/src/views/DatabaseDashboard.vue@@ -11,7 +11,7 @@/><DatabaseLabelFilterv-model:selected="state.selectedLabels"- :database-list="databaseV1List"+ :database-list="rawDatabaseList":placement="'left-start'"/><NButton@@ -66,12 +66,7 @@ import DatabaseV1Table, {DatabaseLabelFilter,DatabaseOperations,} from "@/components/v2/Model/DatabaseV1Table";-import {- useAppFeature,- useDatabaseV1Store,- useProjectV1List,- useUIStateStore,-} from "@/store";+import { useAppFeature, useDatabaseV1Store, useUIStateStore } from "@/store";import { projectNamePrefix } from "@/store/modules/v1/common";import { useDatabaseV1List } from "@/store/modules/v1/databaseList";import type { ComposedDatabase } from "@/types";@@ -110,7 +105,6 @@ const emit = defineEmits<{const route = useRoute();const router = useRouter();const uiStateStore = useUIStateStore();-const { projectList } = useProjectV1List();const hideUnassignedDatabases = useAppFeature("bb.feature.databases.hide-unassigned");@@ -200,15 +194,12 @@ watch(});-const databaseV1List = computed(() => {- const projects = new Set(projectList.value.map((project) => project.name));- return sortDatabaseV1List(useDatabaseV1Store().databaseList).filter((db) =>- projects.has(db.project)- );+const rawDatabaseList = computed(() => {+ return useDatabaseV1Store().databaseList;});const filteredDatabaseList = computed(() => {- let list = databaseV1List.value;+ let list = rawDatabaseList.value;if (selectedEnvironment.value) {list = list.filter((db) =>@@ -246,7 +237,7 @@ const filteredDatabaseList = computed(() => {]));}- return list;+ return sortDatabaseV1List(list);});const selectedDatabases = computed((): ComposedDatabase[] => {diff --git a/frontend/src/views/ExportCenter/index.vue b/frontend/src/views/ExportCenter/index.vueindex e52536f954..7162a8d491 100644--- a/frontend/src/views/ExportCenter/index.vue+++ b/frontend/src/views/ExportCenter/index.vue@@ -72,7 +72,7 @@ import { Drawer } from "@/components/v2";import PagedTable from "@/components/v2/Model/PagedTable.vue";import {useCurrentUserV1,- useProjectV1Store,+ useProjectByName,useIssueV1Store,useRefreshIssueList,} from "@/store";@@ -98,11 +98,9 @@ interface LocalState {params: SearchParams;}-const specificProject = computed(() => {- return projectV1Store.getProjectByName(- `${projectNamePrefix}${props.projectId}`- );-});+const { project: specificProject } = useProjectByName(+ `${projectNamePrefix}${props.projectId}`+);const readonlyScopes = computed((): SearchScope[] => {return [@@ -122,7 +120,6 @@ const defaultSearchParams = () => {};const currentUser = useCurrentUserV1();-const projectV1Store = useProjectV1Store();const state = reactive<LocalState>({showRequestExportPanel: false,params: defaultSearchParams(),@@ -200,8 +197,6 @@ const allowExportData = computed(() => {return hasPermissionToCreateDataExportIssueInProject(specificProject.value);}- return projectV1Store.projectList.some((project) =>- hasPermissionToCreateDataExportIssueInProject(project)- );+ return hasPermissionToCreateDataExportIssueInProject(specificProject.value);});</script>diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vueindex 321087a354..e5d5013bf1 100644--- a/frontend/src/views/InstanceDetail.vue+++ b/frontend/src/views/InstanceDetail.vue@@ -123,7 +123,6 @@ import { DatabaseChangeMode } from "@/types/proto/v1/setting_service";import {instanceV1HasCreateDatabase,instanceV1Name,- hasWorkspaceLevelProjectPermissionInAnyProject,wrapRefAsPromise,autoDatabaseRoute,CommonFilterScopeIdList,@@ -281,7 +280,6 @@ const allowCreateDatabase = computed(() => {return (databaseChangeMode.value === DatabaseChangeMode.PIPELINE &&instance.value.state === State.ACTIVE &&- hasWorkspaceLevelProjectPermissionInAnyProject("bb.issues.create") &&instanceV1HasCreateDatabase(instance.value));});diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vueindex 23bdbd21ea..26fd84230a 100644--- a/frontend/src/views/ProfileDashboard.vue+++ b/frontend/src/views/ProfileDashboard.vue@@ -136,7 +136,7 @@<UserPasswordv-if="state.editingUser"ref="userPasswordRef"- v-model:password="state.editingUser.password"+ v-model:password="state.editingUser!.password"v-model:password-confirm="state.passwordConfirm":password-restriction="passwordRestrictionSetting"/>@@ -259,12 +259,12 @@ import {SYSTEM_BOT_USER_NAME,ALL_USERS_USER_EMAIL,} from "@/types";+import { State } from "@/types/proto/v1/common";import {UpdateUserRequest,UserType,type User,} from "@/types/proto/v1/user_service";-import { State } from "@/types/proto/v1/common";import { displayRoleTitle, hasWorkspacePermissionV2, sortRoles } from "@/utils";interface LocalState {diff --git a/frontend/src/views/ProjectDashboard.vue b/frontend/src/views/ProjectDashboard.vueindex a8171be40d..1a833370e9 100644--- a/frontend/src/views/ProjectDashboard.vue+++ b/frontend/src/views/ProjectDashboard.vue@@ -18,7 +18,20 @@{{ $t("quick-action.new-project") }}</NButton></div>- <ProjectV1Table :bordered="false" :project-list="filteredProjectList" />+ <PagedTable+ ref="projectPagedTable"+ session-key="bb.project-table"+ :fetch-list="fetchProjects"+ :footer-class="'mx-4'"+ >+ <template #table="{ list, loading }">+ <ProjectV1Table+ :bordered="false"+ :loading="loading"+ :project-list="list"+ />+ </template>+ </PagedTable></div><Drawer:auto-focus="true"@@ -31,18 +44,18 @@</template><script lang="ts" setup>+import { useDebounceFn } from "@vueuse/core";import { PlusIcon } from "lucide-vue-next";import { NButton } from "naive-ui";-import { computed, onMounted, reactive } from "vue";+import { onMounted, reactive, ref, watch } from "vue";+import type { ComponentExposed } from "vue-component-type-helpers";import ProjectCreatePanel from "@/components/Project/ProjectCreatePanel.vue";import { SearchBox, ProjectV1Table } from "@/components/v2";import { Drawer } from "@/components/v2";-import { useUIStateStore, useProjectV1List } from "@/store";-import { DEFAULT_PROJECT_NAME } from "@/types";-import {- filterProjectV1ListByKeyword,- hasWorkspacePermissionV2,-} from "@/utils";+import PagedTable from "@/components/v2/Model/PagedTable.vue";+import { useUIStateStore, useProjectV1Store } from "@/store";+import { DEFAULT_PROJECT_NAME, type ComposedProject } from "@/types";+import { hasWorkspacePermissionV2 } from "@/utils";interface LocalState {searchText: string;@@ -53,14 +66,9 @@ const state = reactive<LocalState>({searchText: "",showCreateDrawer: false,});-const { projectList } = useProjectV1List();--const filteredProjectList = computed(() => {- const list = projectList.value.filter(- (project) => project.name !== DEFAULT_PROJECT_NAME- );- return filterProjectV1ListByKeyword(list, state.searchText);-});+const projectStore = useProjectV1Store();+const projectPagedTable =+ ref<ComponentExposed<typeof PagedTable<ComposedProject>>>();onMounted(() => {const uiStateStore = useUIStateStore();@@ -71,4 +79,30 @@ onMounted(() => {});}});++const fetchProjects = async ({+ pageToken,+ pageSize,+}: {+ pageToken: string;+ pageSize: number;+}) => {+ const { nextPageToken, projects } = await projectStore.fetchProjectList({+ showDeleted: false,+ pageToken,+ pageSize,+ query: state.searchText,+ });+ return {+ nextPageToken: nextPageToken ?? "",+ list: projects.filter((project) => project.name !== DEFAULT_PROJECT_NAME),+ };+};++watch(+ () => state.searchText,+ useDebounceFn(async () => {+ await projectPagedTable.value?.refresh();+ }, 500)+);</script>diff --git a/frontend/src/views/ReviewCenter/index.vue b/frontend/src/views/ReviewCenter/index.vueindex 686fa59d0a..bb4eb57fd4 100644--- a/frontend/src/views/ReviewCenter/index.vue+++ b/frontend/src/views/ReviewCenter/index.vue@@ -67,7 +67,7 @@ import { Drawer } from "@/components/v2";import PagedTable from "@/components/v2/Model/PagedTable.vue";import {useCurrentUserV1,- useProjectV1Store,+ useProjectByName,useRefreshPlanList,} from "@/store";import { projectNamePrefix } from "@/store/modules/v1/common";@@ -93,11 +93,9 @@ interface LocalState {| "bb.issue.database.data.update";}-const specificProject = computed(() => {- return projectV1Store.getProjectByName(- `${projectNamePrefix}${props.projectId}`- );-});+const { project: specificProject } = useProjectByName(+ `${projectNamePrefix}${props.projectId}`+);const readonlyScopes = computed((): SearchScope[] => {return [@@ -118,7 +116,6 @@ const defaultSearchParams = () => {const { t } = useI18n();const currentUser = useCurrentUserV1();-const projectV1Store = useProjectV1Store();const state = reactive<LocalState>({params: defaultSearchParams(),});@@ -202,13 +199,6 @@ useRefreshPlanList(() => planPagedTable.value?.refresh());const allowToCreatePlan = computed(() => {// Check if user has permission to create plan in specific project.- if (specificProject.value) {- return hasPermissionToCreatePlanInProject(specificProject.value);- }- // Otherwise, check if user has permission to create plan in any project.- // Mainly using in workspace dashboard.- return projectV1Store.projectList.some((project) =>- hasPermissionToCreatePlanInProject(project)- );+ return hasPermissionToCreatePlanInProject(specificProject.value);});</script>diff --git a/frontend/src/views/SettingWorkspaceAuditLog.vue b/frontend/src/views/SettingWorkspaceAuditLog.vueindex e4ceb91ef3..50957baab5 100644--- a/frontend/src/views/SettingWorkspaceAuditLog.vue+++ b/frontend/src/views/SettingWorkspaceAuditLog.vue@@ -50,11 +50,17 @@ import DataExportButton from "@/components/DataExportButton.vue";import { FeatureAttention } from "@/components/FeatureGuard";import NoDataPlaceholder from "@/components/misc/NoDataPlaceholder.vue";import PagedTable from "@/components/v2/Model/PagedTable.vue";-import { featureToRef, useAuditLogStore, pushNotification } from "@/store";-import type { SearchAuditLogsParams } from "@/types";+import {+ featureToRef,+ useAuditLogStore,+ batchGetOrFetchProjects,+ pushNotification,+} from "@/store";+import { projectNamePrefix } from "@/store/modules/v1/common";+import { type SearchAuditLogsParams } from "@/types";import type { AuditLog } from "@/types/proto/v1/audit_log_service";import { ExportFormat } from "@/types/proto/v1/common";-import { type SearchParams } from "@/utils";+import { type SearchParams, extractProjectResourceName } from "@/utils";interface LocalState {params: SearchParams;@@ -95,6 +101,15 @@ const fetchAuditLog = async ({pageToken,pageSize,});+ await batchGetOrFetchProjects(+ auditLogs.map((auditLog) => {+ const projectResourceId = extractProjectResourceName(auditLog.name);+ if (!projectResourceId) {+ return "";+ }+ return `${projectNamePrefix}${projectResourceId}`;+ })+ );return { nextPageToken, list: auditLogs };};diff --git a/frontend/src/views/project/ProjectDatabaseGroupDetail.vue b/frontend/src/views/project/ProjectDatabaseGroupDetail.vueindex 65db67dfd8..653c12967d 100644--- a/frontend/src/views/project/ProjectDatabaseGroupDetail.vue+++ b/frontend/src/views/project/ProjectDatabaseGroupDetail.vue@@ -72,7 +72,7 @@:enable-raw-expression="true":factor-list="FactorList":factor-support-dropdown="factorSupportDropdown"- :factor-options-map="DatabaseGroupFactorOptionsMap(project)"+ :option-config-map="getDatabaseGroupOptionConfigMap(project)"/></div><div class="col-span-2">@@ -103,7 +103,7 @@ import MatchedDatabaseView from "@/components/DatabaseGroup/MatchedDatabaseView.import { FactorList } from "@/components/DatabaseGroup/utils";import {factorSupportDropdown,- DatabaseGroupFactorOptionsMap,+ getDatabaseGroupOptionConfigMap,} from "@/components/DatabaseGroup/utils";import ExprEditor from "@/components/ExprEditor";import { FeatureAttentionForInstanceLicense } from "@/components/FeatureGuard";diff --git a/frontend/src/views/project/ProjectLandingPage.vue b/frontend/src/views/project/ProjectLandingPage.vueindex 5c12c66ce8..493d988ee1 100644--- a/frontend/src/views/project/ProjectLandingPage.vue+++ b/frontend/src/views/project/ProjectLandingPage.vue@@ -21,8 +21,8 @@ const projectName = computed(() => `${projectNamePrefix}${props.projectId}`);const projectStore = useProjectV1Store();const router = useRouter();-watchEffect(() => {- const project = projectStore.getProjectByName(projectName.value);+watchEffect(async () => {+ const project = await projectStore.getOrFetchProjectByName(projectName.value);if (hasProjectPermissionV2(project, "bb.issues.list")) {router.replace({name: PROJECT_V1_ROUTE_ISSUES,diff --git a/frontend/src/views/sql-editor/Setting/Project/Project.vue b/frontend/src/views/sql-editor/Setting/Project/Project.vueindex 94a4338534..a8a0f93219 100644--- a/frontend/src/views/sql-editor/Setting/Project/Project.vue+++ b/frontend/src/views/sql-editor/Setting/Project/Project.vue@@ -17,11 +17,22 @@</NButton></div>- <ProjectV1Table- :project-list="filteredProjectList"- :prevent-default="true"- @row-click="showProjectDetail"- />+ <PagedTable+ ref="projectPagedTable"+ session-key="bb.sql-editor.project-table"+ :fetch-list="fetchProjects"+ :footer-class="'mx-4'"+ >+ <template #table="{ list, loading }">+ <ProjectV1Table+ :bordered="false"+ :loading="loading"+ :project-list="list"+ :prevent-default="true"+ @row-click="showProjectDetail"+ />+ </template>+ </PagedTable><Drawer:show="state.detail.show"@@ -49,10 +60,12 @@</template><script setup lang="ts">+import { useDebounceFn } from "@vueuse/core";import { PlusIcon } from "lucide-vue-next";import { NButton, NEllipsis } from "naive-ui";-import { computed, onMounted, reactive, watch } from "vue";-import { useRoute, useRouter } from "vue-router";+import { reactive, watch, ref } from "vue";+import type { ComponentExposed } from "vue-component-type-helpers";+import { useRouter } from "vue-router";import ProjectCreatePanel from "@/components/Project/ProjectCreatePanel.vue";import {Drawer,@@ -60,10 +73,9 @@ import {ProjectV1Table,SearchBox,} from "@/components/v2";-import { useProjectV1List, useProjectV1Store } from "@/store";+import PagedTable from "@/components/v2/Model/PagedTable.vue";+import { useProjectV1Store } from "@/store";import type { ComposedProject } from "@/types";-import type { Project } from "@/types/proto/v1/project_service";-import { filterProjectV1ListByKeyword, wrapRefAsPromise } from "@/utils";import Detail from "./Detail.vue";interface LocalState {@@ -74,8 +86,10 @@ interface LocalState {};}-const route = useRoute();const router = useRouter();+const projectStore = useProjectV1Store();+const projectPagedTable =+ ref<ComponentExposed<typeof PagedTable<ComposedProject>>>();const state = reactive<LocalState>({keyword: "",@@ -84,11 +98,29 @@ const state = reactive<LocalState>({project: undefined,},});-const { projectList, ready } = useProjectV1List();-const filteredProjectList = computed(() => {- return filterProjectV1ListByKeyword(projectList.value, state.keyword);-});+watch(+ () => state.keyword,+ useDebounceFn(async () => {+ await projectPagedTable.value?.refresh();+ }, 500)+);++const fetchProjects = async ({+ pageToken,+ pageSize,+}: {+ pageToken: string;+ pageSize: number;+}) => {+ const { nextPageToken, projects } = await projectStore.fetchProjectList({+ showDeleted: false,+ pageToken,+ pageSize,+ query: state.keyword,+ });+ return { nextPageToken, list: projects };+};const handleClickNewProject = () => {state.detail.show = true;@@ -104,42 +136,20 @@ const hideDrawer = () => {state.detail.show = false;};-const handleCreated = async (project: Project) => {- const composed = await useProjectV1Store().getOrFetchProjectByName(- project.name- );- state.detail.project = composed;+const handleCreated = async (project: ComposedProject) => {+ state.detail.project = project;};-onMounted(() => {- if (route.hash === "#add") {- state.detail.show = true;- state.detail.project = undefined;- }- wrapRefAsPromise(ready, true).then(() => {- const maybeProjectName = route.hash.replace(/^#*/g, "");- if (maybeProjectName) {- const project = projectList.value.find(- (proj) => proj.name === maybeProjectName- );- if (project) {- state.detail.show = true;- state.detail.project = project;- }+watch(+ [() => state.detail.show, () => state.detail.project?.name],+ ([show, projectName]) => {+ if (show) {+ router.replace({ hash: projectName ? `#${projectName}` : "#add" });+ } else {+ router.replace({ hash: "" });}-- watch(- [() => state.detail.show, () => state.detail.project?.name],- ([show, projectName]) => {- if (show) {- router.replace({ hash: projectName ? `#${projectName}` : "#add" });- } else {- router.replace({ hash: "" });- }- }- );- });-});+ }+);</script><style scoped lang="postcss">diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 01d49f6057..575f424160 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -3310,8 +3310,7 @@ paths:- name: pageSizein: querydescription: |-- Not used.- The maximum number of projects to return. The service may return fewer than+ The maximum number of projects to return. The service may return fewer thanthis value.If unspecified, at most 10 projects will be returned.The maximum value is 1000; values above 1000 will be coerced to 1000.@@ -3321,8 +3320,7 @@ paths:- name: pageTokenin: querydescription: |-- Not used.- A page token, received from a previous `ListProjects` call.+ A page token, received from a previous `ListProjects` call.Provide this to retrieve the subsequent page.When paginating, all other parameters provided to `ListProjects` must match@@ -12660,6 +12658,9 @@ components:showDeleted:type: booleandescription: Show deleted projects if specified.+ query:+ type: string+ description: Filter the project title or resource id by query.SearchProjectsResponse:type: objectproperties:diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex b020225d80..99111acef1 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -7730,8 +7730,8 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. || Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| page_size | [int32](#int32) | | Not used. The maximum number of projects to return. The service may return fewer than this value. If unspecified, at most 10 projects will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |-| page_token | [string](#string) | | Not used. A page token, received from a previous `ListProjects` call. Provide this to retrieve the subsequent page.+| page_size | [int32](#int32) | | The maximum number of projects to return. The service may return fewer than this value. If unspecified, at most 10 projects will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | A page token, received from a previous `ListProjects` call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to `ListProjects` must match the call that provided the page token. || show_deleted | [bool](#bool) | | Show deleted projects if specified. |@@ -7841,6 +7841,7 @@ When paginating, all other parameters provided to `ListProjects` must match the| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || show_deleted | [bool](#bool) | | Show deleted projects if specified. |+| query | [string](#string) | | Filter the project title or resource id by query. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 235991fc93..228ba6f08e 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -21330,8 +21330,7 @@ Format: projects/{project} </p></td><td>page_size</td><td><a href="#int32">int32</a></td><td></td>- <td><p>Not used.-The maximum number of projects to return. The service may return fewer than+ <td><p>The maximum number of projects to return. The service may return fewer thanthis value.If unspecified, at most 10 projects will be returned.The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>@@ -21341,8 +21340,7 @@ The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td><td>page_token</td><td><a href="#string">string</a></td><td></td>- <td><p>Not used.-A page token, received from a previous `ListProjects` call.+ <td><p>A page token, received from a previous `ListProjects` call.Provide this to retrieve the subsequent page.When paginating, all other parameters provided to `ListProjects` must match@@ -21615,6 +21613,13 @@ If enabled, the issue will be created with the pre-appended "set role <db<td><p>Show deleted projects if specified. </p></td></tr>+ <tr>+ <td>query</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Filter the project title or resource id by query. </p></td>+ </tr>+</tbody></table>diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.goindex 0ee4f056ba..47bd53833d 100644--- a/proto/generated-go/v1/project_service.pb.go+++ b/proto/generated-go/v1/project_service.pb.go@@ -328,13 +328,11 @@ func (x *GetProjectRequest) GetName() string {type ListProjectsRequest struct {state protoimpl.MessageState `protogen:"open.v1"`- // Not used.// The maximum number of projects to return. The service may return fewer than// this value.// If unspecified, at most 10 projects will be returned.// The maximum value is 1000; values above 1000 will be coerced to 1000.PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`- // Not used.// A page token, received from a previous `ListProjects` call.// Provide this to retrieve the subsequent page.//@@ -456,7 +454,9 @@ func (x *ListProjectsResponse) GetNextPageToken() string {type SearchProjectsRequest struct {state protoimpl.MessageState `protogen:"open.v1"`// Show deleted projects if specified.- ShowDeleted bool `protobuf:"varint,1,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`+ ShowDeleted bool `protobuf:"varint,1,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`+ // Filter the project title or resource id by query.+ Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}@@ -498,6 +498,13 @@ func (x *SearchProjectsRequest) GetShowDeleted() bool {return false}+func (x *SearchProjectsRequest) GetQuery() string {+ if x != nil {+ return x.Query+ }+ return ""+}+type SearchProjectsResponse struct {state protoimpl.MessageState `protogen:"open.v1"`// The projects from the specified request.@@ -1965,443 +1972,445 @@ var file_v1_project_service_proto_rawDesc = string([]byte{0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x3a, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72,+ 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x50, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72,0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a,0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64,- 0x22, 0x4a, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x6b, 0x0a, 0x14,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x55, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x5f, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,- 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x12, 0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49,- 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,- 0x1a, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,- 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e,- 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65,- 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61,- 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,- 0x5a, 0x0a, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61,- 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,- 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x70, 0x6f,- 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x58, 0x0a, 0x0c, 0x50,- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70,- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c,- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x26, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,- 0x71, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x12, 0x50, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,- 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,- 0x52, 0x10, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x22, 0x49, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76,- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,- 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xcf, 0x05,- 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a,- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,- 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x30, 0x0a,- 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12,- 0x41, 0x0a, 0x1d, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64,- 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73,- 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65,- 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0b, 0x69, 0x73,- 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x6f, 0x72,- 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,- 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x49, 0x73, 0x73, 0x75,- 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77,- 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,- 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x6f,- 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a,- 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x69, 0x73,- 0x73, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x52,- 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65,- 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x74, 0x69, 0x74,- 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63,- 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61,- 0x75, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75,- 0x70, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x45, 0x6e, 0x61,- 0x62, 0x6c, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x6b, 0x69,- 0x70, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18,- 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x75,- 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x70, 0x6f, 0x73, 0x74, 0x67,- 0x72, 0x65, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x65, 0x6e,- 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a,- 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x6c,- 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,- 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x65,- 0x6c, 0x66, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x3a, 0x2d, 0xea, 0x41, 0x2a, 0x0a,- 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22,- 0x82, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34,- 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62,- 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a,- 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62,- 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,- 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,- 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b,- 0x22, 0x4c, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,- 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x83,- 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34,- 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x4a, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x22, 0x6b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22,+ 0x89, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42,+ 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3b,+ 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52,+ 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x5f, 0x0a, 0x14, 0x44,+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x4b, 0x0a, 0x16,+ 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x18, 0x42, 0x61, 0x74,+ 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70,+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,+ 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63,+ 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f,+ 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63,+ 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75,+ 0x6c, 0x74, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,+ 0x73, 0x1a, 0x58, 0x0a, 0x0c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c,+ 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x70,+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,+ 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x58, 0x0a, 0x1a, 0x47,+ 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,+ 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x1f,+ 0x0a, 0x1d, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x71, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79,+ 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x10, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,+ 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x49, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65,+ 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a,+ 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72,+ 0x6f, 0x75, 0x70, 0x22, 0xcf, 0x05, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,+ 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a,+ 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,+ 0x74, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18,+ 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6c,+ 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x64, 0x61,+ 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0c, 0x69, 0x73, 0x73, 0x75,+ 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62,+ 0x65, 0x6c, 0x52, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,+ 0x2c, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x6c,+ 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x66, 0x6f, 0x72,+ 0x63, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x34, 0x0a,+ 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x73, 0x74,+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x61,+ 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,+ 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x6f,+ 0x6c, 0x76, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52,+ 0x10, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x49, 0x73, 0x73, 0x75,+ 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73,+ 0x75, 0x65, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11,+ 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x54, 0x69, 0x74, 0x6c,+ 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,+ 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61,+ 0x75, 0x74, 0x6f, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12,+ 0x2c, 0x0a, 0x12, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x65,+ 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x6b, 0x69,+ 0x70, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x41, 0x0a,+ 0x1d, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x5f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x14,+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65,+ 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x61,+ 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61,+ 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x65, 0x6c, 0x66, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c,+ 0x3a, 0x2d, 0xea, 0x41, 0x2a, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x4a,+ 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x07, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x55,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,+ 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,+ 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x4c, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,+ 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34,+ 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62,- 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x2b, 0x0a, 0x13, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65,- 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f,- 0x72, 0x22, 0xb0, 0x03, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,- 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,- 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74,- 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69,- 0x72, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01,- 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,- 0x65, 0x12, 0x4f, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,- 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1a, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69,- 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x06, 0x52,- 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,- 0x65, 0x73, 0x22, 0x6e, 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, 0x53, 0x4c, 0x41, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44,- 0x49, 0x53, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x45, 0x41, 0x4d,- 0x53, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x4e, 0x47, 0x54, 0x41, 0x4c, 0x4b, 0x10,- 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x45, 0x49, 0x53, 0x48, 0x55, 0x10, 0x05, 0x12, 0x09, 0x0a,- 0x05, 0x57, 0x45, 0x43, 0x4f, 0x4d, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x41, 0x52, 0x4b,- 0x10, 0x08, 0x3a, 0x40, 0xea, 0x41, 0x3d, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x25, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x7d, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x7d, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,- 0x65, 0x6e, 0x74, 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, 0x14, 0x0a,- 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,- 0x74, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63,- 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x50, 0xea, 0x41, 0x4d, 0x0a, 0x1d, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,- 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64,+ 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x83, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x07, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x2b, 0x0a, 0x13, 0x54, 0x65,+ 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb0, 0x03, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x05,+ 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x03, 0x75, 0x72, 0x6c,+ 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,+ 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,+ 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4f, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66,+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20,+ 0x03, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42,+ 0x04, 0xe2, 0x41, 0x01, 0x06, 0x52, 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x6e, 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, 0x53, 0x4c, 0x41, 0x43, 0x4b, 0x10,+ 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x09,+ 0x0a, 0x05, 0x54, 0x45, 0x41, 0x4d, 0x53, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x4e,+ 0x47, 0x54, 0x41, 0x4c, 0x4b, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x45, 0x49, 0x53, 0x48,+ 0x55, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x45, 0x43, 0x4f, 0x4d, 0x10, 0x06, 0x12, 0x08,+ 0x0a, 0x04, 0x4c, 0x41, 0x52, 0x4b, 0x10, 0x08, 0x3a, 0x40, 0xea, 0x41, 0x3d, 0x0a, 0x14, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x12, 0x25, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73,+ 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x7d, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x44,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 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, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x73, 0x63, 0x68,+ 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,+ 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x50, 0xea, 0x41,+ 0x4d, 0x0a, 0x1d, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,+ 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x12, 0x2c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x4d,+ 0x0a, 0x08, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65,+ 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63,+ 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,+ 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x71, 0x0a,+ 0x12, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,+ 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x02, 0x69, 0x64, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,+ 0x2f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c,+ 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63,+ 0x22, 0x53, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70,+ 0x65, 0x63, 0x12, 0x41, 0x0a, 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65,+ 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65,+ 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c,+ 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65,+ 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x52, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f,+ 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71,+ 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45,+ 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x61,+ 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69,+ 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72,+ 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,+ 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12,+ 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,+ 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xfb, 0x05, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69,+ 0x76, 0x69, 0x74, 0x79, 0x22, 0xee, 0x05, 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, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49,+ 0x46, 0x59, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45,+ 0x44, 0x10, 0x17, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49,+ 0x46, 0x59, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x4c,+ 0x4f, 0x55, 0x54, 0x10, 0x18, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53,+ 0x53, 0x55, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19,+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45,+ 0x4e, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x54,+ 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f,+ 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x59, 0x50, 0x45,+ 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50,+ 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49,+ 0x53, 0x53, 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x4e, 0x4f,+ 0x54, 0x49, 0x46, 0x59, 0x10, 0x15, 0x12, 0x2b, 0x0a, 0x27, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49,+ 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54,+ 0x41, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,+ 0x45, 0x10, 0x05, 0x12, 0x2a, 0x0a, 0x26, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55,+ 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f,+ 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12,+ 0x2e, 0x0a, 0x2a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49,+ 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f,+ 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x16, 0x12,+ 0x2d, 0x0a, 0x29, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49,+ 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54,+ 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x39,+ 0x0a, 0x35, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50,+ 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x49,+ 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45,+ 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x09, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x59, 0x50,+ 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10,+ 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52,+ 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0b, 0x12, 0x18,+ 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x41, 0x43,+ 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x0c, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x59, 0x50, 0x45,+ 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41,+ 0x54, 0x45, 0x10, 0x0d, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f,+ 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f,+ 0x50, 0x55, 0x53, 0x48, 0x10, 0x0e, 0x12, 0x22, 0x0a, 0x1e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50,+ 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f,+ 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x0f, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,+ 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x10, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,+ 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x51, 0x55,+ 0x45, 0x52, 0x59, 0x10, 0x13, 0x2a, 0x77, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,+ 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f,+ 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52,+ 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50,+ 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x53,+ 0x54, 0x53, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52,+ 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x03, 0x32, 0xf5,+ 0x13, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,+ 0x65, 0x12, 0x7f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,+ 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,+ 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea,+ 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65,+ 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,+ 0x2a, 0x7d, 0x12, 0x84, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30,+ 0x10, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73,+ 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31,+ 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0e, 0x53, 0x65,+ 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,+ 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,+ 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0xda, 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x84, 0x01, 0x0a,+ 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,+ 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x3a, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x12,+ 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61,+ 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x07, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x12, 0xa8, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x5e,+ 0xda, 0x41, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32,+ 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6e, 0x61,+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8a,+ 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x3e, 0xda, 0x41, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x17, 0x2a, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x0f,+ 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,+ 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e,+ 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x45, 0x8a, 0xea, 0x30, 0x14,+ 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65,+ 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01,+ 0x2a, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x12, 0x98, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,+ 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4e, 0x8a, 0xea,+ 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65,+ 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,+ 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xb0, 0x01, 0x0a,+ 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,+ 0x63, 0x79, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,+ 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,+ 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x22, 0x4c, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x90,+ 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x73, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x2a, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x61, 0x6d, 0x50, 0x6f,+ 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12,+ 0x9f, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,+ 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,+ 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x55, 0x8a, 0xea, 0x30, 0x18,+ 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x49,+ 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,+ 0x79, 0x12, 0xa7, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,+ 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f,+ 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,+ 0x67, 0x22, 0x48, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b,+ 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,+ 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd5, 0x01, 0x0a, 0x16,+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f,+ 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,+ 0x67, 0x22, 0x70, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x50, 0x3a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f,+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x65, 0x70,+ 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e,+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64,0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,- 0x2f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x4d, 0x0a, 0x08, 0x53, 0x63, 0x68, 0x65,- 0x64, 0x75, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,- 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,- 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c,- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x64,- 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a,- 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,- 0x74, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x73, 0x70, 0x65,- 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,- 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x53, 0x0a, 0x0e, 0x44, 0x65,- 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x41, 0x0a, 0x0e,- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,- 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22,- 0x63, 0x0a, 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,- 0x12, 0x52, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73,- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53,- 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65,- 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,- 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c,- 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,- 0x65, 0x79, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52,- 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c,- 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,- 0x73, 0x22, 0xfb, 0x05, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0xee,- 0x05, 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, 0x1e, 0x0a,- 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x49, 0x53, 0x53,- 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x17, 0x12, 0x20, 0x0a,- 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x50, 0x49, 0x50,- 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x4f, 0x55, 0x54, 0x10, 0x18, 0x12,- 0x15, 0x0a, 0x11, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x52,- 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49,- 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x52, 0x45,- 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53,- 0x53, 0x55, 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,- 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45,- 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04,- 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x41,- 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10, 0x15,- 0x12, 0x2b, 0x0a, 0x27, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50,- 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x54,- 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x05, 0x12, 0x2a, 0x0a,- 0x26, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45,- 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,- 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x2e, 0x0a, 0x2a, 0x54, 0x59, 0x50,- 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45,- 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,- 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x16, 0x12, 0x2d, 0x0a, 0x29, 0x54, 0x59, 0x50,- 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45,- 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f,- 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x39, 0x0a, 0x35, 0x54, 0x59, 0x50, 0x45,- 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f,- 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x49, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4c,- 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,- 0x45, 0x10, 0x09, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42,- 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x54,- 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f,- 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0b, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45,- 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45,- 0x10, 0x0c, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,- 0x52, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x20,- 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52,- 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x10, 0x0e,- 0x12, 0x22, 0x0a, 0x1e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54,- 0x5f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46,- 0x45, 0x52, 0x10, 0x0f, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f,- 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41,- 0x54, 0x45, 0x10, 0x10, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f,- 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45,- 0x54, 0x45, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x51, 0x4c,- 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x13, 0x2a,- 0x77, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12,- 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45,- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14,- 0x0a, 0x10, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,- 0x49, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52,- 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x02, 0x12, 0x18,- 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,- 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x03, 0x32, 0xf5, 0x13, 0x0a, 0x0e, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a, 0x0a, 0x47,- 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22,- 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x84, 0x01, 0x0a,- 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,- 0x25, 0xda, 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01,- 0x2a, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x3a,- 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x84, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74,- 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x22, 0x3a, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22,- 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0xa8, 0x01,- 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,- 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x2f, 0x2a, 0x7d, 0x12, 0x8c, 0x01, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x5e, 0xda, 0x41, 0x13, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,- 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28,- 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8a, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c,- 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 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, 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea,- 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x64, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x2a, 0x15,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x22, 0x45, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x0c,- 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61,- 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d,- 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4e, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f,- 0x6c, 0x69, 0x63, 0x79, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d,- 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xb0, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68,- 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,- 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,- 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x8a, 0xea, 0x30,- 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74,- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x3d,- 0x2a, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,- 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x9f, 0x01, 0x0a, 0x0c, 0x53, 0x65,- 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f,- 0x6c, 0x69, 0x63, 0x79, 0x22, 0x55, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,- 0x63, 0x79, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b,- 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73,- 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xa7, 0x01, 0x0a, 0x13,- 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x48, 0x8a, 0xea, 0x30,- 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74,- 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd5, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x70, 0x8a, 0xea, 0x30,+ 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x48, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62,+ 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x12, 0xbb, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x71, 0xda,+ 0x41, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f,+ 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,+ 0x12, 0xa5, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x5b, 0x8a, 0xea, 0x30,0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x3a, 0x11, 0x64,- 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x32, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,- 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8c, 0x01,- 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65,- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x22, 0x48, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xbb, 0x01, 0x0a,- 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x71, 0xda, 0x41, 0x13, 0x77, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a,- 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a,- 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,- 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xa5, 0x01, 0x0a, 0x0d, 0x52,- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76,- 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x5b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,- 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f,- 0x6f, 0x6b, 0x12, 0x9b, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,- 0x6f, 0x6b, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,- 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, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a,+ 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e,+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76,+ 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x9b, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73,+ 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x8a, 0xea, 0x30,+ 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a,+ 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x57,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,+ 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,+ 0x33,})var (diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.protoindex 41b4001ad7..c6d2460f23 100644--- a/proto/v1/project_service.proto+++ b/proto/v1/project_service.proto@@ -161,14 +161,12 @@ message GetProjectRequest {}message ListProjectsRequest {- // Not used.// The maximum number of projects to return. The service may return fewer than// this value.// If unspecified, at most 10 projects will be returned.// The maximum value is 1000; values above 1000 will be coerced to 1000.int32 page_size = 1;- // Not used.// A page token, received from a previous `ListProjects` call.// Provide this to retrieve the subsequent page.//@@ -192,6 +190,9 @@ message ListProjectsResponse {message SearchProjectsRequest {// Show deleted projects if specified.bool show_deleted = 1;++ // Filter the project title or resource id by query.+ string query = 2;}message SearchProjectsResponse {