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: migrate repo to v1 (#6381)
ecmadaoa7ee86a05f1e
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.goindex ec98b51079..d0d1bb97cb 100644--- a/backend/api/v1/project_service.go+++ b/backend/api/v1/project_service.go@@ -399,7 +399,7 @@ func (s *ProjectService) SetProjectGitOpsInfo(ctx context.Context, request *v1pbcase "sheet_path_template":patch.SheetPathTemplate = &request.ProjectGitopsInfo.SheetPathTemplatecase "enable_sql_review_ci":- return nil, status.Errorf(codes.InvalidArgument, "enable_sql_review_ci is not allowed to set")+ patch.EnableSQLReviewCI = &request.ProjectGitopsInfo.EnableSqlReviewCi}}@@ -459,26 +459,26 @@ func (s *ProjectService) SetProjectGitOpsInfo(ctx context.Context, request *v1pbreturn convertToProjectGitOpsInfo(request.Project, updatedRepo), nil}-// SetProjectSQLReviewCI sets the SQL review CI for a project.-func (s *ProjectService) SetProjectSQLReviewCI(ctx context.Context, request *v1pb.SetupSQLReviewCIRequest) (*v1pb.SetupSQLReviewCIResponse, error) {+// SetupProjectSQLReviewCI sets the SQL review CI for a project.+func (s *ProjectService) SetupProjectSQLReviewCI(ctx context.Context, request *v1pb.SetupSQLReviewCIRequest) (*v1pb.SetupSQLReviewCIResponse, error) {repo, err := s.findProjectRepository(ctx, request.Project)if err != nil {return nil, err}- response := &v1pb.SetupSQLReviewCIResponse{}- if request.EnableSqlReviewCi && !repo.EnableSQLReviewCI {- pullRequest, err := s.setupVCSSQLReviewCI(ctx, repo)- if err != nil {- return nil, err- }- response.PullRequestUrl = pullRequest.URL+ pullRequest, err := s.setupVCSSQLReviewCI(ctx, repo)+ if err != nil {+ return nil, err+ }+ response := &v1pb.SetupSQLReviewCIResponse{+ PullRequestUrl: pullRequest.URL,}+ enableSQLReviewCi := truerepoPatch := &api.RepositoryPatch{ID: &repo.ID,UpdaterID: ctx.Value(common.PrincipalIDContextKey).(int),- EnableSQLReviewCI: &request.EnableSqlReviewCi,+ EnableSQLReviewCI: &enableSQLReviewCi,}if _, err := s.store.PatchRepository(ctx, repoPatch); err != nil {return nil, status.Errorf(codes.Internal, "failed to patch repository with error: %v", err.Error())@@ -487,6 +487,63 @@ func (s *ProjectService) SetProjectSQLReviewCI(ctx context.Context, request *v1preturn response, nil}+// DeleteProjectGitOpsInfo deletes the GitOps info for a project.+func (s *ProjectService) DeleteProjectGitOpsInfo(ctx context.Context, request *v1pb.DeleteProjectGitOpsInfoRequest) (*emptypb.Empty, error) {+ repo, err := s.findProjectRepository(ctx, request.Project)+ if err != nil {+ return nil, err+ }++ vcs, err := s.store.GetVCSByID(ctx, repo.VCSID)+ if err != nil {+ return nil, status.Errorf(codes.Internal, "failed to find vcs: %s", err.Error())+ }+ if vcs == nil {+ return nil, status.Errorf(codes.NotFound, "vcs %d not found", repo.VCSID)+ }++ // TODO: migrate to v1 store.+ repositoryDelete := &api.RepositoryDelete{+ ProjectResourceID: repo.Project.ResourceID,+ DeleterID: ctx.Value(common.PrincipalIDContextKey).(int),+ }+ if err := s.store.DeleteRepository(ctx, repositoryDelete); err != nil {+ return nil, status.Errorf(codes.Internal, "failed to delete repository with error: %v", err.Error())+ }++ // We use one webhook in one repo for at least one Bytebase project, so we only delete the webhook if this project is the last one using this webhook.+ repos, err := s.store.FindRepository(ctx, &api.RepositoryFind{+ WebURL: &repo.WebURL,+ })+ if err != nil {+ return nil, status.Errorf(codes.Internal, `failed to list repository for web url "%s" with error: %v`, repo.WebURL, err.Error())+ }+ if len(repos) == 0 {+ // Delete the webhook after we successfully delete the repository.+ // This is because in case the webhook deletion fails, we can still have a cleanup process to cleanup the orphaned webhook.+ // If we delete it before we delete the repository, then if the repository deletion fails, we will have a broken repository with no webhook.+ if err = vcsPlugin.Get(vcs.Type, vcsPlugin.ProviderConfig{}).DeleteWebhook(+ ctx,+ // Need to get ApplicationID, Secret from vcs instead of repository.vcs since the latter is not composed.+ common.OauthContext{+ ClientID: vcs.ApplicationID,+ ClientSecret: vcs.Secret,+ AccessToken: repo.AccessToken,+ RefreshToken: repo.RefreshToken,+ Refresher: refreshTokenNoop(),+ },+ vcs.InstanceURL,+ repo.ExternalID,+ repo.ExternalWebhookID,+ ); err != nil {+ // Despite the error here, we have deleted the repository in the database, we still return success.+ log.Error("failed to delete webhook for project", zap.String("project", request.Project), zap.Int("repo", repo.ID), zap.Error(err))+ }+ }++ return &emptypb.Empty{}, nil+}+// CreateIAMPolicyUpdateActivity creates project IAM policy change activities.func (s *ProjectService) CreateIAMPolicyUpdateActivity(ctx context.Context, remove, add *store.IAMPolicyMessage, project *store.ProjectMessage, creatorUID int) {var activities []*api.ActivityCreate@@ -728,12 +785,30 @@ func (s *ProjectService) createProjectGitOpsInfo(ctx context.Context, request *vreturn nil, status.Errorf(codes.FailedPrecondition, setupExternalURLError)}+ vcsID, err := strconv.ParseInt(request.ProjectGitopsInfo.VcsUid, 10, 64)+ if err != nil {+ return nil, status.Errorf(codes.InvalidArgument, "invalid vcs id: %s", request.ProjectGitopsInfo.VcsUid)+ }+// TODO: migrate to v1 store.repositoryCreate := &api.RepositoryCreate{- ProjectID: project.UID,- ProjectResourceID: project.ResourceID,- CreatorID: ctx.Value(common.PrincipalIDContextKey).(int),- WebhookURLHost: setting.ExternalUrl,+ ProjectID: project.UID,+ ProjectResourceID: project.ResourceID,+ CreatorID: ctx.Value(common.PrincipalIDContextKey).(int),+ WebhookURLHost: setting.ExternalUrl,+ VCSID: int(vcsID),+ Name: request.ProjectGitopsInfo.Title,+ FullPath: request.ProjectGitopsInfo.FullPath,+ WebURL: request.ProjectGitopsInfo.WebUrl,+ BranchFilter: request.ProjectGitopsInfo.BranchFilter,+ BaseDirectory: request.ProjectGitopsInfo.BaseDirectory,+ FilePathTemplate: request.ProjectGitopsInfo.FilePathTemplate,+ SchemaPathTemplate: request.ProjectGitopsInfo.SchemaPathTemplate,+ SheetPathTemplate: request.ProjectGitopsInfo.SheetPathTemplate,+ ExternalID: request.ProjectGitopsInfo.ExternalId,+ AccessToken: request.ProjectGitopsInfo.AccessToken,+ RefreshToken: request.ProjectGitopsInfo.RefreshToken,+ ExpiresTs: request.ProjectGitopsInfo.ExpiresTime.Seconds,}if repositoryCreate.BranchFilter == "" {@@ -2531,6 +2606,7 @@ func isProjectMember(policy *store.IAMPolicyMessage, userID int) bool {func convertToProjectGitOpsInfo(parent string, repository *api.Repository) *v1pb.ProjectGitOpsInfo {return &v1pb.ProjectGitOpsInfo{Name: fmt.Sprintf("%s/gitOpsInfo", parent),+ VcsUid: fmt.Sprintf("%d", repository.VCSID),Title: repository.Name,FullPath: repository.FullPath,WebUrl: repository.WebURL,@@ -2541,6 +2617,7 @@ func convertToProjectGitOpsInfo(parent string, repository *api.Repository) *v1pbSheetPathTemplate: repository.SheetPathTemplate,EnableSqlReviewCi: repository.EnableSQLReviewCI,WebhookEndpointId: repository.WebhookEndpointID,+ ExternalId: repository.ExternalID,}}diff --git a/frontend/src/components/ProjectVersionControlPanel.vue b/frontend/src/components/ProjectVersionControlPanel.vueindex d8814d5862..a4140636ad 100644--- a/frontend/src/components/ProjectVersionControlPanel.vue+++ b/frontend/src/components/ProjectVersionControlPanel.vue@@ -8,14 +8,12 @@<RepositorySetupWizard:create="state.showWizardForCreate":project="project"- :project-v1="projectV1"@cancel="cancelWizard"@finish="finishWizard"/></template><template v-else>- <!-- Use the persistent workflowType here -->- <template v-if="project.workflowType == 'UI'">+ <template v-if="project.workflow === Workflow.UI"><div class="text-lg leading-6 font-medium text-main">{{ $t("workflow.current-workflow") }}</div>@@ -28,7 +26,7 @@tabindex="-1"type="radio"class="text-accent disabled:text-accent-disabled focus:ring-accent"- value="UI"+ :value="Workflow.UI":disabled="!allowEdit"/><div class="-mt-1">@@ -48,7 +46,7 @@tabindex="-1"type="radio"class="text-accent disabled:text-accent-disabled focus:ring-accent"- value="VCS"+ :value="Workflow.VCS":disabled="!allowEdit"/><div class="-mt-1">@@ -61,7 +59,7 @@</div></div></div>- <template v-if="allowEdit && state.workflowType == 'VCS'">+ <template v-if="allowEdit && state.workflowType == Workflow.VCS"><div class="mt-4 flex items-center justify-end"><buttontype="button"@@ -74,10 +72,10 @@</div></template></template>- <template v-else-if="project.workflowType == 'VCS'">+ <template v-else-if="project.workflow === Workflow.VCS && repository"><RepositoryPanel:project="project"- :project-v1="projectV1"+ :vcs="vcs":repository="repository":allow-edit="allowEdit"@change-repository="enterWizard(false)"@@ -87,108 +85,94 @@</div></template>-<script lang="ts">-import { reactive, watchEffect, watch, defineComponent } from "vue";+<script lang="ts" setup>+import { reactive, watchEffect, watch } from "vue";import { computed, PropType } from "vue";-import RepositorySetupWizard from "./RepositorySetupWizard.vue";-import RepositoryPanel from "./RepositoryPanel.vue";-import { Project, ProjectWorkflowType, UNKNOWN_ID } from "../types";import { useI18n } from "vue-i18n";-import { pushNotification, useRepositoryStore } from "@/store";-import { Project as ProjectV1 } from "@/types/proto/v1/project_service";+import { pushNotification, useRepositoryV1Store, useVCSStore } from "@/store";+import { Project, Workflow } from "@/types/proto/v1/project_service";interface LocalState {- workflowType: ProjectWorkflowType;+ workflowType: Workflow;showWizardForCreate: boolean;showWizardForChange: boolean;}-export default defineComponent({- name: "ProjectVersionControlPanel",- components: {- RepositorySetupWizard,- RepositoryPanel,+const props = defineProps({+ allowEdit: {+ default: true,+ type: Boolean,},- props: {- project: {- required: true,- type: Object as PropType<Project>,- },- allowEdit: {- default: true,- type: Boolean,- },- projectV1: {- required: true,- type: Object as PropType<ProjectV1>,- },+ project: {+ required: true,+ type: Object as PropType<Project>,},- async setup(props) {- const { t } = useI18n();-- const repositoryStore = useRepositoryStore();+});- const state = reactive<LocalState>({- workflowType: props.project.workflowType,- showWizardForCreate: false,- showWizardForChange: false,- });+const { t } = useI18n();- const prepareRepository = () => {- repositoryStore.fetchRepositoryByProjectId(props.project.id);- };+const repositoryV1Store = useRepositoryV1Store();+const vcsStore = useVCSStore();- watchEffect(prepareRepository);+const state = reactive<LocalState>({+ workflowType: props.project.workflow,+ showWizardForCreate: false,+ showWizardForChange: false,+});- watch(- () => props.project.workflowType,- (type) => {- state.workflowType = type;+watchEffect(() => {+ repositoryV1Store+ .getOrFetchRepositoryByProject(props.project.name)+ .then((repo) => {+ if (repo) {+ return vcsStore.fetchVCSById(repo.vcsUid);}- );-- const repository = computed(() => {- return repositoryStore.getRepositoryByProjectId(props.project.id);});+});- const enterWizard = (create: boolean) => {- if (create) {- state.showWizardForCreate = true;- } else {- state.showWizardForChange = true;- }- };-- const cancelWizard = () => {- state.workflowType = "UI";- state.showWizardForCreate = false;- state.showWizardForChange = false;- };+watch(+ () => props.project.workflow,+ (type) => {+ state.workflowType = type;+ }+);- const finishWizard = () => {- pushNotification({- module: "bytebase",- style: "SUCCESS",- title: state.showWizardForCreate- ? t("workflow.configure-gitops-success", {- project: props.project.name,- })- : t("workflow.change-gitops-success", {- project: props.project.name,- }),- });- state.showWizardForCreate = false;- state.showWizardForChange = false;- };+const repository = computed(() => {+ return repositoryV1Store.getRepositoryByProject(props.project.name);+});- return {- state,- UNKNOWN_ID,- repository,- enterWizard,- cancelWizard,- finishWizard,- };- },+const vcs = computed(() => {+ return vcsStore.getVCSById(repository.value?.vcsUid ?? "");});++const enterWizard = (create: boolean) => {+ if (create) {+ state.showWizardForCreate = true;+ } else {+ state.showWizardForChange = true;+ }+};++const cancelWizard = () => {+ state.workflowType = Workflow.UI;+ state.showWizardForCreate = false;+ state.showWizardForChange = false;+};++const finishWizard = () => {+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: state.showWizardForCreate+ ? t("workflow.configure-gitops-success", {+ project: props.project.title,+ })+ : t("workflow.change-gitops-success", {+ project: props.project.title,+ }),+ });+ state.workflowType = Workflow.VCS;+ state.showWizardForCreate = false;+ state.showWizardForChange = false;+};</script>diff --git a/frontend/src/components/RepositoryConfigPanel.vue b/frontend/src/components/RepositoryConfigPanel.vueindex b346f7fe2f..1bb9c320bb 100644--- a/frontend/src/components/RepositoryConfigPanel.vue+++ b/frontend/src/components/RepositoryConfigPanel.vue@@ -8,29 +8,28 @@:schema-change-type="config.schemaChangeType":project="project"@change-schema-change-type="- (type) => $emit('change-schema-change-type', type)+ (type: SchemaChange) => $emit('change-schema-change-type', type)"/></template>-<script lang="ts">-import { PropType, defineComponent } from "vue";-import RepositoryForm from "./RepositoryForm.vue";-import { Project, ProjectRepositoryConfig } from "../types";+<script lang="ts" setup>+import { PropType } from "vue";+import { ProjectRepositoryConfig } from "../types";+import { Project, SchemaChange } from "@/types/proto/v1/project_service";-export default defineComponent({- name: "RepositoryConfigPanel",- components: { RepositoryForm },- props: {- config: {- required: true,- type: Object as PropType<ProjectRepositoryConfig>,- },- project: {- required: true,- type: Object as PropType<Project>,- },+defineProps({+ config: {+ required: true,+ type: Object as PropType<ProjectRepositoryConfig>,+ },+ project: {+ required: true,+ type: Object as PropType<Project>,},- emits: ["change-schema-change-type"],});++defineEmits<{+ (event: "change-schema-change-type", schemaChange: SchemaChange): void;+}>();</script>diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vueindex 7ee786a020..ccd97c4591 100644--- a/frontend/src/components/RepositoryForm.vue+++ b/frontend/src/components/RepositoryForm.vue@@ -92,10 +92,10 @@id="schemamigrationtype":disabled="!allowEdit":selected-item="schemaChangeType"- :item-list="['DDL', 'SDL']"+ :item-list="[SchemaChange.DDL, SchemaChange.SDL]"class="mt-1"@select-item="- (type: string) => {+ (type: SchemaChange) => {$emit('change-schema-change-type', type);}"@@ -104,10 +104,12 @@<div class="flex items-center gap-x-2">{{$t(- `project.settings.select-schema-change-type-${item.toLowerCase()}`+ `project.settings.select-schema-change-type-${schemaChangeToJSON(+ item+ ).toLowerCase()}`)}}- <BBBetaBadge v-if="item === 'SDL'" class="!leading-3" />+ <BBBetaBadge v-if="item === SchemaChange.SDL" class="!leading-3" /></div></template></BBSelect>@@ -185,7 +187,11 @@</template><span v-if="!hasFeature('bb.feature.vcs-schema-write-back')">{{- $t(getFeatureRequiredPlanString("bb.feature.vcs-schema-write-back"))+ $t(+ subscriptionStore.getFeatureRequiredPlanString(+ "bb.feature.vcs-schema-write-back"+ )+ )}}</span><LearnMoreLink@@ -215,7 +221,11 @@v-else-if="isProjectSchemaChangeTypeDDL"type="text"class="textfield mt-2 w-full"- :value="getRequiredPlanString('bb.feature.vcs-schema-write-back')"+ :value="+ subscriptionStore.getRquiredPlanString(+ 'bb.feature.vcs-schema-write-back'+ )+ ":disabled="true"/><div v-if="schemaTagPlaceholder" class="mt-2 textinfolabel">@@ -262,7 +272,9 @@v-elsetype="text"class="textfield mt-2 w-full"- :value="getRequiredPlanString('bb.feature.vcs-sheet-sync')"+ :value="+ subscriptionStore.getRquiredPlanString('bb.feature.vcs-sheet-sync')+ ":disabled="true"/><div class="mt-2 textinfolabel capitalize">@@ -286,7 +298,7 @@? $t("repository.merge-request"): $t("repository.pull-request"),pathTemplate:- schemaChangeType == "DDL"+ schemaChangeType == SchemaChange.DDL? $t("repository.file-path-template"): $t("repository.schema-path-template"),})@@ -312,19 +324,17 @@</div></template>-<script lang="ts">-import { reactive, PropType, defineComponent, computed } from "vue";+<script lang="ts" setup>+import { reactive, PropType, computed } from "vue";import { useI18n } from "vue-i18n";+import { ExternalRepositoryInfo, RepositoryConfig, VCSType } from "@/types";+import { hasFeature, useSubscriptionV1Store } from "@/store";import {- ExternalRepositoryInfo,Project,- RepositoryConfig,- SchemaChangeType,- VCSType,-} from "@/types";-import BBBetaBadge from "@/bbkit/BBBetaBadge.vue";-import { hasFeature, useSubscriptionV1Store } from "@/store";-import LearnMoreLink from "./LearnMoreLink.vue";+ TenantMode,+ SchemaChange,+ schemaChangeToJSON,+} from "@/types/proto/v1/project_service";const FILE_REQUIRED_PLACEHOLDER = "{{DB_NAME}}, {{VERSION}}, {{TYPE}}";const SCHEMA_REQUIRED_PLACEHOLDER = "{{DB_NAME}}";@@ -337,214 +347,192 @@ interface LocalState {showFeatureModal: boolean;}-export default defineComponent({- name: "RepositoryForm",- components: { BBBetaBadge, LearnMoreLink },- props: {- allowEdit: {- default: true,- type: Boolean,+defineEmits<{+ (event: "change-repository"): void;+ (event: "change-schema-change-type", changeType: SchemaChange): void;+}>();++const props = defineProps({+ allowEdit: {+ default: true,+ type: Boolean,+ },+ create: {+ type: Boolean,+ default: false,+ },+ vcsType: {+ required: true,+ type: String as PropType<VCSType>,+ },+ vcsName: {+ required: true,+ type: String,+ },+ repositoryInfo: {+ required: true,+ type: Object as PropType<ExternalRepositoryInfo>,+ },+ repositoryConfig: {+ required: true,+ type: Object as PropType<RepositoryConfig>,+ },+ project: {+ required: true,+ type: Object as PropType<Project>,+ },+ schemaChangeType: {+ required: true,+ type: Object as PropType<SchemaChange>,+ },+});++const { t } = useI18n();++const state = reactive<LocalState>({+ showFeatureModal: false,+});++const subscriptionStore = useSubscriptionV1Store();++const isTenantProject = computed(() => {+ return props.project.tenantMode === TenantMode.TENANT_MODE_ENABLED;+});+const isProjectSchemaChangeTypeDDL = computed(() => {+ return (props.schemaChangeType || SchemaChange.DDL) === SchemaChange.DDL;+});+const isProjectSchemaChangeTypeSDL = computed(() => {+ return (props.schemaChangeType || SchemaChange.DDL) === SchemaChange.SDL;+});+const canEnableSQLReview = computed(() => {+ return (+ props.vcsType.startsWith("GITLAB") || props.vcsType.startsWith("GITHUB")+ );+});+const enableSQLReviewTitle = computed(() => {+ return props.vcsType.startsWith("GITLAB")+ ? t("repository.sql-review-ci-enable-gitlab")+ : t("repository.sql-review-ci-enable-github");+});++const sampleFilePath = (+ baseDirectory: string,+ filePathTemplate: string,+ type: string+): string => {+ type Item = {+ placeholder: string;+ sampleText: string;+ };+ const placeholderList: Item[] = [+ {+ placeholder: "{{VERSION}}",+ sampleText: "202101131000",},- create: {- type: Boolean,- default: false,+ {+ placeholder: "{{DB_NAME}}",+ sampleText: "db1",},- vcsType: {- required: true,- type: String as PropType<VCSType>,+ {+ placeholder: "{{TYPE}}",+ sampleText: type,},- vcsName: {- required: true,- type: String,+ {+ placeholder: "{{ENV_ID}}",+ sampleText: "env1",},- repositoryInfo: {- required: true,- type: Object as PropType<ExternalRepositoryInfo>,+ {+ placeholder: "{{ENV_NAME}}", // for legacy support+ sampleText: "env1",},- repositoryConfig: {- required: true,- type: Object as PropType<RepositoryConfig>,+ {+ placeholder: "{{DESCRIPTION}}",+ sampleText: "create_tablefoo_for_bar",},- project: {- required: true,- type: Object as PropType<Project>,+ ];+ let result = `${baseDirectory}/${filePathTemplate}`;+ // To replace the wildcard.+ result = result.replace(SINGLE_ASTERISK_REGEX, "/foo/");+ result = result.replace(DOUBLE_ASTERISKS_REGEX, "/foo/bar/");+ for (const item of placeholderList) {+ const re = new RegExp(item.placeholder, "g");+ result = result.replace(re, item.sampleText);+ }+ return result;+};++const sampleSchemaPath = (+ baseDirectory: string,+ schemaPathTemplate: string+): string => {+ type Item = {+ placeholder: string;+ sampleText: string;+ };+ const placeholderList: Item[] = [+ {+ placeholder: "{{DB_NAME}}",+ sampleText: "db1",},- schemaChangeType: {- required: true,- type: String as PropType<SchemaChangeType>,+ {+ placeholder: "{{ENV_ID}}",+ sampleText: "env1",},- },- emits: ["change-repository", "change-schema-change-type"],- setup(props) {- const { t } = useI18n();-- const state = reactive<LocalState>({- showFeatureModal: false,- });-- const subscriptionStore = useSubscriptionV1Store();-- const isTenantProject = computed(() => {- return props.project.tenantMode === "TENANT";- });- const isProjectSchemaChangeTypeDDL = computed(() => {- return (props.schemaChangeType || "DDL") === "DDL";- });- const isProjectSchemaChangeTypeSDL = computed(() => {- return (props.schemaChangeType || "DDL") === "SDL";- });- const canEnableSQLReview = computed(() => {- return (- props.vcsType.startsWith("GITLAB") || props.vcsType.startsWith("GITHUB")- );- });- const enableSQLReviewTitle = computed(() => {- return props.vcsType.startsWith("GITLAB")- ? t("repository.sql-review-ci-enable-gitlab")- : t("repository.sql-review-ci-enable-github");- });-- const sampleFilePath = (- baseDirectory: string,- filePathTemplate: string,- type: string- ): string => {- type Item = {- placeholder: string;- sampleText: string;- };- const placeholderList: Item[] = [- {- placeholder: "{{VERSION}}",- sampleText: "202101131000",- },- {- placeholder: "{{DB_NAME}}",- sampleText: "db1",- },- {- placeholder: "{{TYPE}}",- sampleText: type,- },- {- placeholder: "{{ENV_ID}}",- sampleText: "env1",- },- {- placeholder: "{{ENV_NAME}}", // for legacy support- sampleText: "env1",- },- {- placeholder: "{{DESCRIPTION}}",- sampleText: "create_tablefoo_for_bar",- },- ];- let result = `${baseDirectory}/${filePathTemplate}`;- // To replace the wildcard.- result = result.replace(SINGLE_ASTERISK_REGEX, "/foo/");- result = result.replace(DOUBLE_ASTERISKS_REGEX, "/foo/bar/");- for (const item of placeholderList) {- const re = new RegExp(item.placeholder, "g");- result = result.replace(re, item.sampleText);- }- return result;- };-- const sampleSchemaPath = (- baseDirectory: string,- schemaPathTemplate: string- ): string => {- type Item = {- placeholder: string;- sampleText: string;- };- const placeholderList: Item[] = [- {- placeholder: "{{DB_NAME}}",- sampleText: "db1",- },- {- placeholder: "{{ENV_ID}}",- sampleText: "env1",- },- {- placeholder: "{{ENV_NAME}}", // for legacy support- sampleText: "env1",- },- ];- let result = `${baseDirectory}/${schemaPathTemplate}`;- for (const item of placeholderList) {- const re = new RegExp(item.placeholder, "g");- result = result.replace(re, item.sampleText);- }- return result;- };-- const fileOptionalPlaceholder = computed(() => {- const tags = [] as string[];- // Only allows {{ENV_ID}} to be an optional placeholder for non-tenant mode projects- if (!isTenantProject.value) tags.push("{{ENV_ID}}");- tags.push("{{DESCRIPTION}}");- return tags;- });-- const schemaRequiredTagPlaceholder = computed(() => {- const tags = [] as string[];- // Only allows {{DB_NAME}} to be an optional placeholder for non-tenant mode projects- if (!isTenantProject.value) tags.push(SCHEMA_REQUIRED_PLACEHOLDER);- return tags;- });+ {+ placeholder: "{{ENV_NAME}}", // for legacy support+ sampleText: "env1",+ },+ ];+ let result = `${baseDirectory}/${schemaPathTemplate}`;+ for (const item of placeholderList) {+ const re = new RegExp(item.placeholder, "g");+ result = result.replace(re, item.sampleText);+ }+ return result;+};- const schemaOptionalTagPlaceholder = computed(() => {- const tags = [] as string[];- // Only allows {{ENV_ID}} to be an optional placeholder for non-tenant mode projects- if (!isTenantProject.value) tags.push("{{ENV_ID}}");- return tags;- });+const fileOptionalPlaceholder = computed(() => {+ const tags = [] as string[];+ // Only allows {{ENV_ID}} to be an optional placeholder for non-tenant mode projects+ if (!isTenantProject.value) tags.push("{{ENV_ID}}");+ tags.push("{{DESCRIPTION}}");+ return tags;+});- const schemaTagPlaceholder = computed(() => {- const placeholders: string[] = [];- const required = schemaRequiredTagPlaceholder.value;- const optional = schemaOptionalTagPlaceholder.value;- if (required.length > 0) {- placeholders.push(- `${t("common.required-placeholder")}: ${required.join(", ")}`- );- }- if (optional.length > 0) {- placeholders.push(- `${t("common.optional-placeholder")}: ${optional.join(", ")}`- );- }- return placeholders.join("; ");- });+const schemaRequiredTagPlaceholder = computed(() => {+ const tags = [] as string[];+ // Only allows {{DB_NAME}} to be an optional placeholder for non-tenant mode projects+ if (!isTenantProject.value) tags.push(SCHEMA_REQUIRED_PLACEHOLDER);+ return tags;+});- const onSQLReviewCIToggle = (on: boolean) => {- if (on && !hasFeature("bb.feature.vcs-sql-review")) {- state.showFeatureModal = true;- }- };+const schemaOptionalTagPlaceholder = computed(() => {+ const tags = [] as string[];+ // Only allows {{ENV_ID}} to be an optional placeholder for non-tenant mode projects+ if (!isTenantProject.value) tags.push("{{ENV_ID}}");+ return tags;+});- return {- FILE_REQUIRED_PLACEHOLDER,- SCHEMA_REQUIRED_PLACEHOLDER,- FILE_OPTIONAL_DIRECTORY_WILDCARD,- fileOptionalPlaceholder,- schemaOptionalTagPlaceholder,- schemaTagPlaceholder,- state,- hasFeature,- getRequiredPlanString: subscriptionStore.getRquiredPlanString,- getFeatureRequiredPlanString:- subscriptionStore.getFeatureRequiredPlanString,- isProjectSchemaChangeTypeDDL,- isProjectSchemaChangeTypeSDL,- canEnableSQLReview,- enableSQLReviewTitle,- sampleFilePath,- sampleSchemaPath,- onSQLReviewCIToggle,- };- },+const schemaTagPlaceholder = computed(() => {+ const placeholders: string[] = [];+ const required = schemaRequiredTagPlaceholder.value;+ const optional = schemaOptionalTagPlaceholder.value;+ if (required.length > 0) {+ placeholders.push(+ `${t("common.required-placeholder")}: ${required.join(", ")}`+ );+ }+ if (optional.length > 0) {+ placeholders.push(+ `${t("common.optional-placeholder")}: ${optional.join(", ")}`+ );+ }+ return placeholders.join("; ");});++const onSQLReviewCIToggle = (on: boolean) => {+ if (on && !hasFeature("bb.feature.vcs-sql-review")) {+ state.showFeatureModal = true;+ }+};</script>diff --git a/frontend/src/components/RepositoryPanel.vue b/frontend/src/components/RepositoryPanel.vueindex 359b46b143..8b6f8e80a1 100644--- a/frontend/src/components/RepositoryPanel.vue+++ b/frontend/src/components/RepositoryPanel.vue@@ -81,13 +81,13 @@<RepositoryFormclass="mt-4":allow-edit="allowEdit"- :vcs-type="repository.vcs.type"- :vcs-name="repository.vcs.name"+ :vcs-type="vcs.type"+ :vcs-name="vcs.name":repository-info="repositoryInfo":repository-config="state.repositoryConfig":project="project":schema-change-type="state.schemaChangeType"- @change-schema-change-type="(type) => (state.schemaChangeType = type)"+ @change-schema-change-type="(type: SchemaChange) => (state.schemaChangeType = type)"@change-repository="$emit('change-repository')"/><div v-if="allowEdit" class="mt-4 pt-4 flex border-t justify-between">@@ -121,7 +121,7 @@<div class="whitespace-pre-wrap">{{$t("repository.sql-review-ci-setup-modal", {- pr: repository.vcs.type.startsWith("GITLAB")+ pr: vcs.type.startsWith("GITLAB")? $t("repository.merge-request"): $t("repository.pull-request"),})@@ -136,7 +136,7 @@>{{$t("repository.sql-review-ci-setup-pr", {- pr: repository.vcs.type.startsWith("GITLAB")+ pr: vcs.type.startsWith("GITLAB")? $t("repository.merge-request"): $t("repository.pull-request"),})@@ -176,7 +176,7 @@<BBSpin class="mt-1" />{{$t("repository.sql-review-ci-loading-modal", {- pr: repository.vcs.type.startsWith("GITLAB")+ pr: vcs.type.startsWith("GITLAB")? $t("repository.merge-request"): $t("repository.pull-request"),})@@ -193,11 +193,7 @@<div class="whitespace-pre-wrap"><i18n-t keypath="repository.sql-review-ci-restore-modal"><template #vcs>- {{- repository.vcs.type.startsWith("GITLAB")- ? "GitLab CI"- : "GitHub Action"- }}+ {{ vcs.type.startsWith("GITLAB") ? "GitLab CI" : "GitHub Action" }}</template><template #repository><a class="normal-link" :href="repository.webUrl" target="_blank">{{@@ -228,11 +224,7 @@<div class="whitespace-pre-wrap"><i18n-t keypath="repository.sql-review-ci-remove-modal"><template #vcs>- {{- repository.vcs.type.startsWith("GITLAB")- ? "GitLab CI"- : "GitHub Action"- }}+ {{ vcs.type.startsWith("GITLAB") ? "GitLab CI" : "GitHub Action" }}</template><template #repository><a class="normal-link" :href="repository.webUrl" target="_blank">{{@@ -260,35 +252,28 @@/></template>-<script lang="ts">-import { computed, defineComponent, PropType, reactive, watch } from "vue";+<script lang="ts" setup>+import { computed, PropType, reactive, watch } from "vue";import isEmpty from "lodash-es/isEmpty";-import RepositoryForm from "./RepositoryForm.vue";-import {- Repository,- RepositoryPatch,- ExternalRepositoryInfo,- RepositoryConfig,- Project,- SchemaChangeType,-} from "../types";+import { VCS, ExternalRepositoryInfo, RepositoryConfig } from "../types";import { useI18n } from "vue-i18n";import {hasFeature,pushNotification,useProjectV1Store,- useRepositoryStore,+ useRepositoryV1Store,} from "@/store";import {- Project as ProjectV1,+ Project,SchemaChange,Workflow,} from "@/types/proto/v1/project_service";import { cloneDeep } from "lodash-es";+import { ProjectGitOpsInfo } from "@/types/proto/v1/externalvs_service";interface LocalState {repositoryConfig: RepositoryConfig;- schemaChangeType: SchemaChangeType;+ schemaChangeType: SchemaChange;showFeatureModal: boolean;showSetupSQLReviewCIModal: boolean;showSetupSQLReviewCIFailureModal: boolean;@@ -298,262 +283,215 @@ interface LocalState {sqlReviewCIPullRequestURL: string;}-export default defineComponent({- name: "RepositoryPanel",- components: { RepositoryForm },- props: {- project: {- required: true,- type: Object as PropType<Project>,- },- projectV1: {- required: true,- type: Object as PropType<ProjectV1>,- },- repository: {- required: true,- type: Object as PropType<Repository>,- },- allowEdit: {- default: true,- type: Boolean,- },+const props = defineProps({+ project: {+ required: true,+ type: Object as PropType<Project>,},- emits: ["change-repository"],- setup(props) {- const { t } = useI18n();- const repositoryStore = useRepositoryStore();- const state = reactive<LocalState>({- repositoryConfig: {- baseDirectory: props.repository.baseDirectory,- branchFilter: props.repository.branchFilter,- filePathTemplate: props.repository.filePathTemplate,- schemaPathTemplate: props.repository.schemaPathTemplate,- sheetPathTemplate: props.repository.sheetPathTemplate,- enableSQLReviewCI: props.repository.enableSQLReviewCI,- },- schemaChangeType: props.project.schemaChangeType,- showFeatureModal: false,- showSetupSQLReviewCIModal: false,- showSetupSQLReviewCIFailureModal: false,- showLoadingSQLReviewPRModal: false,- showDisableSQLReviewCIModal: false,- showRestoreSQLReviewCIModal: false,- sqlReviewCIPullRequestURL: "",- });+ repository: {+ required: true,+ type: Object as PropType<ProjectGitOpsInfo>,+ },+ vcs: {+ required: true,+ type: Object as PropType<VCS>,+ },+ allowEdit: {+ default: true,+ type: Boolean,+ },+});- watch(- () => props.repository,- (cur) => {- state.repositoryConfig = {- baseDirectory: cur.baseDirectory,- branchFilter: cur.branchFilter,- filePathTemplate: cur.filePathTemplate,- schemaPathTemplate: cur.schemaPathTemplate,- sheetPathTemplate: cur.sheetPathTemplate,- enableSQLReviewCI: cur.enableSQLReviewCI,- };- }- );+defineEmits<{+ (event: "change-repository"): void;+}>();- const repositoryInfo = computed((): ExternalRepositoryInfo => {- return {- externalId: props.repository.externalId,- name: props.repository.name,- fullPath: props.repository.fullPath,- webUrl: props.repository.webUrl,- };- });+const { t } = useI18n();+const repositoryV1Store = useRepositoryV1Store();+const state = reactive<LocalState>({+ repositoryConfig: {+ baseDirectory: props.repository.baseDirectory,+ branchFilter: props.repository.branchFilter,+ filePathTemplate: props.repository.filePathTemplate,+ schemaPathTemplate: props.repository.schemaPathTemplate,+ sheetPathTemplate: props.repository.sheetPathTemplate,+ enableSQLReviewCI: props.repository.enableSqlReviewCi,+ },+ schemaChangeType: props.project.schemaChange,+ showFeatureModal: false,+ showSetupSQLReviewCIModal: false,+ showSetupSQLReviewCIFailureModal: false,+ showLoadingSQLReviewPRModal: false,+ showDisableSQLReviewCIModal: false,+ showRestoreSQLReviewCIModal: false,+ sqlReviewCIPullRequestURL: "",+});- const isProjectSchemaChangeTypeDDL = computed(() => {- return state.schemaChangeType === "DDL";- });+watch(+ () => props.repository,+ (cur) => {+ state.repositoryConfig = {+ baseDirectory: cur.baseDirectory,+ branchFilter: cur.branchFilter,+ filePathTemplate: cur.filePathTemplate,+ schemaPathTemplate: cur.schemaPathTemplate,+ sheetPathTemplate: cur.sheetPathTemplate,+ enableSQLReviewCI: cur.enableSqlReviewCi,+ };+ }+);- const isProjectSchemaChangeTypeSDL = computed(() => {- return state.schemaChangeType === "SDL";- });+const repositoryInfo = computed((): ExternalRepositoryInfo => {+ return {+ externalId: props.repository.externalId,+ name: props.repository.name,+ fullPath: props.repository.fullPath,+ webUrl: props.repository.webUrl,+ };+});- const allowUpdate = computed(() => {- return (- !isEmpty(state.repositoryConfig.branchFilter) &&- !isEmpty(state.repositoryConfig.filePathTemplate) &&- (props.repository.branchFilter !==- state.repositoryConfig.branchFilter ||- props.repository.baseDirectory !==- state.repositoryConfig.baseDirectory ||- props.repository.filePathTemplate !==- state.repositoryConfig.filePathTemplate ||- props.repository.schemaPathTemplate !==- state.repositoryConfig.schemaPathTemplate ||- props.repository.sheetPathTemplate !==- state.repositoryConfig.sheetPathTemplate ||- props.repository.enableSQLReviewCI !==- state.repositoryConfig.enableSQLReviewCI ||- props.project.schemaChangeType !== state.schemaChangeType)- );- });+const isProjectSchemaChangeTypeDDL = computed(() => {+ return state.schemaChangeType === SchemaChange.DDL;+});- const disableSQLReviewCI = computed(() => {- return (- props.repository.enableSQLReviewCI &&- !state.repositoryConfig.enableSQLReviewCI- );- });+const isProjectSchemaChangeTypeSDL = computed(() => {+ return state.schemaChangeType === SchemaChange.SDL;+});- const onSQLReviewCIModalClose = () => {- state.showRestoreSQLReviewCIModal = false;- restoreToUIWorkflowType(false);- };+const allowUpdate = computed(() => {+ return (+ !isEmpty(state.repositoryConfig.branchFilter) &&+ !isEmpty(state.repositoryConfig.filePathTemplate) &&+ (props.repository.branchFilter !== state.repositoryConfig.branchFilter ||+ props.repository.baseDirectory !== state.repositoryConfig.baseDirectory ||+ props.repository.filePathTemplate !==+ state.repositoryConfig.filePathTemplate ||+ props.repository.schemaPathTemplate !==+ state.repositoryConfig.schemaPathTemplate ||+ props.repository.sheetPathTemplate !==+ state.repositoryConfig.sheetPathTemplate ||+ props.repository.enableSqlReviewCi !==+ state.repositoryConfig.enableSQLReviewCI ||+ props.project.schemaChange !== state.schemaChangeType)+ );+});- const restoreToUIWorkflowType = async (checkSQLReviewCI: boolean) => {- if (checkSQLReviewCI && props.repository.enableSQLReviewCI) {- state.showRestoreSQLReviewCIModal = true;- return;- }- await repositoryStore.deleteRepositoryByProjectId(props.project.id);+const disableSQLReviewCI = computed(() => {+ return (+ props.repository.enableSqlReviewCi &&+ !state.repositoryConfig.enableSQLReviewCI+ );+});- const projectPatch = cloneDeep(props.projectV1);- projectPatch.workflow = Workflow.UI;- const updateMask = ["workflow"];- await useProjectV1Store().updateProject(projectPatch, updateMask);- // WARNING: using mixed new/old APIs so we need to force update the- // legacy project entity's local value manually- /* eslint-disable-next-line vue/no-mutating-props */- props.project.workflowType = "UI";+const onSQLReviewCIModalClose = () => {+ state.showRestoreSQLReviewCIModal = false;+ restoreToUIWorkflowType(false);+};- pushNotification({- module: "bytebase",- style: "SUCCESS",- title: t("repository.restore-ui-workflow-success"),- });- };+const restoreToUIWorkflowType = async (checkSQLReviewCI: boolean) => {+ if (checkSQLReviewCI && props.repository.enableSqlReviewCi) {+ state.showRestoreSQLReviewCIModal = true;+ return;+ }+ await repositoryV1Store.deleteRepository(props.project.name);- const createSQLReviewCI = async () => {- const repository = repositoryStore.getRepositoryByProjectId(- props.project.id- );+ const projectPatch = cloneDeep(props.project);+ projectPatch.workflow = Workflow.UI;+ await useProjectV1Store().updateProject(projectPatch, ["workflow"]);- state.showLoadingSQLReviewPRModal = true;+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("repository.restore-ui-workflow-success"),+ });+};- try {- const sqlReviewCISetup = await repositoryStore.createSQLReviewCI({- projectId: props.project.id,- repositoryId: repository.id,- });- state.sqlReviewCIPullRequestURL = sqlReviewCISetup.pullRequestURL;- state.showSetupSQLReviewCIModal = true;- window.open(sqlReviewCISetup.pullRequestURL, "_blank");- repositoryStore.setRepositorySQLReviewCIEnabled({- projectId: props.project.id,- sqlReviewCIEnabled: true,- });- } catch {- state.showSetupSQLReviewCIFailureModal = true;- } finally {- state.showLoadingSQLReviewPRModal = false;- }- };+const createSQLReviewCI = async () => {+ state.showLoadingSQLReviewPRModal = true;- const doUpdate = async () => {- if (- state.repositoryConfig.enableSQLReviewCI &&- !props.repository.enableSQLReviewCI &&- !hasFeature("bb.feature.vcs-sql-review")- ) {- state.showFeatureModal = true;- return;- }+ try {+ const pullRequestURL = await repositoryV1Store.setupSQLReviewCI(+ props.project.name+ );+ state.sqlReviewCIPullRequestURL = pullRequestURL;+ state.showSetupSQLReviewCIModal = true;+ window.open(pullRequestURL, "_blank");+ } catch {+ state.showSetupSQLReviewCIFailureModal = true;+ } finally {+ state.showLoadingSQLReviewPRModal = false;+ }+};- const needSetupCI =- !props.repository.enableSQLReviewCI &&- state.repositoryConfig.enableSQLReviewCI;+const doUpdate = async () => {+ if (+ state.repositoryConfig.enableSQLReviewCI &&+ !props.repository.enableSqlReviewCi &&+ !hasFeature("bb.feature.vcs-sql-review")+ ) {+ state.showFeatureModal = true;+ return;+ }- const repositoryPatch: RepositoryPatch = {};- if (- props.repository.branchFilter != state.repositoryConfig.branchFilter- ) {- repositoryPatch.branchFilter = state.repositoryConfig.branchFilter;- }- if (- props.repository.baseDirectory != state.repositoryConfig.baseDirectory- ) {- repositoryPatch.baseDirectory = state.repositoryConfig.baseDirectory;- }- if (- props.repository.filePathTemplate !=- state.repositoryConfig.filePathTemplate- ) {- repositoryPatch.filePathTemplate =- state.repositoryConfig.filePathTemplate;- }- if (- props.repository.schemaPathTemplate !=- state.repositoryConfig.schemaPathTemplate- ) {- repositoryPatch.schemaPathTemplate =- state.repositoryConfig.schemaPathTemplate;- }- if (- props.repository.sheetPathTemplate !=- state.repositoryConfig.sheetPathTemplate- ) {- repositoryPatch.sheetPathTemplate =- state.repositoryConfig.sheetPathTemplate;- }- if (- props.repository.enableSQLReviewCI !=- state.repositoryConfig.enableSQLReviewCI- ) {- repositoryPatch.enableSQLReviewCI =- state.repositoryConfig.enableSQLReviewCI;- }+ const needSetupCI =+ !props.repository.enableSqlReviewCi &&+ state.repositoryConfig.enableSQLReviewCI;- // Update project schemaChangeType field firstly.- if (state.schemaChangeType !== props.project.schemaChangeType) {- const projectPatch = cloneDeep(props.projectV1);- projectPatch.schemaChange =- state.schemaChangeType === "DDL"- ? SchemaChange.DDL- : SchemaChange.SDL;- const updateMask = ["schema_change"];- await useProjectV1Store().updateProject(projectPatch, updateMask);- // WARNING: using mixed new/old APIs so we need to force update the- // legacy project entity's local value manually- /* eslint-disable-next-line vue/no-mutating-props */- props.project.schemaChangeType = state.schemaChangeType;- }+ const repositoryPatch: Partial<ProjectGitOpsInfo> = {};+ if (props.repository.branchFilter != state.repositoryConfig.branchFilter) {+ repositoryPatch.branchFilter = state.repositoryConfig.branchFilter;+ }+ if (props.repository.baseDirectory != state.repositoryConfig.baseDirectory) {+ repositoryPatch.baseDirectory = state.repositoryConfig.baseDirectory;+ }+ if (+ props.repository.filePathTemplate != state.repositoryConfig.filePathTemplate+ ) {+ repositoryPatch.filePathTemplate = state.repositoryConfig.filePathTemplate;+ }+ if (+ props.repository.schemaPathTemplate !=+ state.repositoryConfig.schemaPathTemplate+ ) {+ repositoryPatch.schemaPathTemplate =+ state.repositoryConfig.schemaPathTemplate;+ }+ if (+ props.repository.sheetPathTemplate !=+ state.repositoryConfig.sheetPathTemplate+ ) {+ repositoryPatch.sheetPathTemplate =+ state.repositoryConfig.sheetPathTemplate;+ }+ if (+ props.repository.enableSqlReviewCi !=+ state.repositoryConfig.enableSQLReviewCI+ ) {+ repositoryPatch.enableSqlReviewCi =+ state.repositoryConfig.enableSQLReviewCI;+ }- const disableSQLReview = disableSQLReviewCI.value;+ // Update project schemaChangeType field firstly.+ if (state.schemaChangeType !== props.project.schemaChange) {+ const projectPatch = cloneDeep(props.project);+ projectPatch.schemaChange = state.schemaChangeType;+ await useProjectV1Store().updateProject(projectPatch, ["schema_change"]);+ }- await repositoryStore.updateRepositoryByProjectId({- projectId: props.project.id,- repositoryPatch,- });+ const disableSQLReview = disableSQLReviewCI.value;- if (needSetupCI) {- createSQLReviewCI();- } else if (disableSQLReview) {- state.showDisableSQLReviewCIModal = true;- }+ await repositoryV1Store.upsertRepository(props.project.name, repositoryPatch);- pushNotification({- module: "bytebase",- style: "SUCCESS",- title: t("repository.update-gitops-config-success"),- });- };+ if (needSetupCI) {+ createSQLReviewCI();+ } else if (disableSQLReview) {+ state.showDisableSQLReviewCIModal = true;+ }- return {- state,- repositoryInfo,- allowUpdate,- isProjectSchemaChangeTypeDDL,- isProjectSchemaChangeTypeSDL,- restoreToUIWorkflowType,- onSQLReviewCIModalClose,- doUpdate,- createSQLReviewCI,- };- },-});+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("repository.update-gitops-config-success"),+ });+};</script>diff --git a/frontend/src/components/RepositorySelectionPanel.vue b/frontend/src/components/RepositorySelectionPanel.vueindex 25bbf7f121..8eeaa54f6e 100644--- a/frontend/src/components/RepositorySelectionPanel.vue+++ b/frontend/src/components/RepositorySelectionPanel.vue@@ -7,7 +7,7 @@</button><BBTableSearch:placeholder="$t('repository.select-repository-search')"- @change-text="(text) => changeSearchText(text)"+ @change-text="(text: string) => changeSearchText(text)"/></div><divdiff --git a/frontend/src/components/RepositorySetupWizard.vue b/frontend/src/components/RepositorySetupWizard.vueindex ee18c61b31..977fe492bb 100644--- a/frontend/src/components/RepositorySetupWizard.vue+++ b/frontend/src/components/RepositorySetupWizard.vue@@ -40,9 +40,7 @@<RepositoryConfigPanel:config="state.config":project="project"- @change-schema-change-type="- (type) => (state.config.schemaChangeType = type)- "+ @change-schema-change-type="setSchemaChangeType"/></template></BBStepTab>@@ -127,31 +125,29 @@</div></template>-<script lang="ts">-import { reactive, computed, PropType, defineComponent } from "vue";+<script lang="ts" setup>+import { reactive, computed, PropType } from "vue";import { useRouter } from "vue-router";import isEmpty from "lodash-es/isEmpty";+import { cloneDeep } from "lodash-es";import { BBStepTabItem } from "../bbkit/types";-import RepositoryVCSProviderPanel from "./RepositoryVCSProviderPanel.vue";-import RepositorySelectionPanel from "./RepositorySelectionPanel.vue";-import RepositoryConfigPanel from "./RepositoryConfigPanel.vue";import {ExternalRepositoryInfo,OAuthToken,- Project,ProjectRepositoryConfig,- RepositoryCreate,unknown,VCS,} from "../types";-import { projectSlug } from "../utils";+import { projectSlugV1 } from "../utils";import { useI18n } from "vue-i18n";-import { useRepositoryStore, hasFeature, useProjectV1Store } from "@/store";+import { useRepositoryV1Store, hasFeature, useProjectV1Store } from "@/store";import {- Project as ProjectV1,+ Project,+ Workflow,+ TenantMode,SchemaChange,} from "@/types/proto/v1/project_service";-import { cloneDeep } from "lodash-es";+import { ProjectGitOpsInfo } from "@/types/proto/v1/externalvs_service";// Default file path template is to organize migration files from different environments under separate directories.const DEFAULT_FILE_PATH_TEMPLATE =@@ -182,250 +178,216 @@ interface LocalState {sqlReviewCIPullRequestURL: string;}-export default defineComponent({- name: "RepositorySetupWizard",- components: {- RepositoryVCSProviderPanel,- RepositorySelectionPanel,- RepositoryConfigPanel,+const props = defineProps({+ // If false, then we intend to change the existing linked repository intead of just linking a new repository.+ create: {+ type: Boolean,+ default: false,},- props: {- // If false, then we intend to change the existing linked repository intead of just linking a new repository.- create: {- type: Boolean,- default: false,- },- project: {- required: true,- type: Object as PropType<Project>,- },- projectV1: {- required: true,- type: Object as PropType<ProjectV1>,- },+ project: {+ required: true,+ type: Object as PropType<Project>,},- emits: ["cancel", "finish"],- setup(props, { emit }) {- const { t } = useI18n();-- const router = useRouter();- const repositoryStore = useRepositoryStore();+});- const stepList: BBStepTabItem[] = [- { title: t("repository.choose-git-provider"), hideNext: true },- { title: t("repository.select-repository"), hideNext: true },- { title: t("repository.configure-deploy") },- ];+const emit = defineEmits<{+ (event: "cancel"): void;+ (event: "finish"): void;+}>();- const isTenantProject = computed(() => {- return props.project.tenantMode === "TENANT";- });+const { t } = useI18n();- const state = reactive<LocalState>({- config: {- vcs: unknown("VCS") as VCS,- code: "",- token: {- accessToken: "",- expiresTs: 0,- refreshToken: "",- },- repositoryInfo: {- externalId: "",- name: "",- fullPath: "",- webUrl: "",- },- repositoryConfig: {- baseDirectory: "bytebase",- branchFilter: "main",- filePathTemplate: isTenantProject.value- ? DEFAULT_TENANT_MODE_FILE_PATH_TEMPLATE- : DEFAULT_FILE_PATH_TEMPLATE,- schemaPathTemplate: isTenantProject.value- ? DEFAULT_TENANT_MODE_SCHEMA_PATH_TEMPLATE- : DEFAULT_SCHEMA_PATH_TEMPLATE,- sheetPathTemplate: isTenantProject.value- ? DEFAULT_TENANT_MODE_SHEET_PATH_TEMPLATE- : DEFAULT_SHEET_PATH_TEMPLATE,- enableSQLReviewCI: false,- },- schemaChangeType: props.project.schemaChangeType,- },- currentStep: CHOOSE_PROVIDER_STEP,- showFeatureModal: false,- showSetupSQLReviewCIModal: false,- showSetupSQLReviewCIFailureModal: false,- showLoadingSQLReviewPRModal: false,- sqlReviewCIPullRequestURL: "",- });+const router = useRouter();+const repositoryV1Store = useRepositoryV1Store();- const allowNext = computed((): boolean => {- if (state.currentStep == CONFIGURE_DEPLOY_STEP) {- return (- !isEmpty(state.config.repositoryConfig.branchFilter.trim()) &&- !isEmpty(state.config.repositoryConfig.filePathTemplate.trim())- );- }- return true;- });+const stepList: BBStepTabItem[] = [+ { title: t("repository.choose-git-provider"), hideNext: true },+ { title: t("repository.select-repository"), hideNext: true },+ { title: t("repository.configure-deploy") },+];- const tryChangeStep = (- oldStep: number,- newStep: number,- allowChangeCallback: () => void- ) => {- state.currentStep = newStep;- allowChangeCallback();- };+const isTenantProject = computed(() => {+ return props.project.tenantMode === TenantMode.TENANT_MODE_ENABLED;+});- const createSQLReviewCI = async () => {- const repository = repositoryStore.getRepositoryByProjectId(- props.project.id- );- state.showLoadingSQLReviewPRModal = true;+const state = reactive<LocalState>({+ config: {+ vcs: unknown("VCS") as VCS,+ code: "",+ token: {+ accessToken: "",+ expiresTs: 0,+ refreshToken: "",+ },+ repositoryInfo: {+ externalId: "",+ name: "",+ fullPath: "",+ webUrl: "",+ },+ repositoryConfig: {+ baseDirectory: "bytebase",+ branchFilter: "main",+ filePathTemplate: isTenantProject.value+ ? DEFAULT_TENANT_MODE_FILE_PATH_TEMPLATE+ : DEFAULT_FILE_PATH_TEMPLATE,+ schemaPathTemplate: isTenantProject.value+ ? DEFAULT_TENANT_MODE_SCHEMA_PATH_TEMPLATE+ : DEFAULT_SCHEMA_PATH_TEMPLATE,+ sheetPathTemplate: isTenantProject.value+ ? DEFAULT_TENANT_MODE_SHEET_PATH_TEMPLATE+ : DEFAULT_SHEET_PATH_TEMPLATE,+ enableSQLReviewCI: false,+ },+ schemaChangeType: props.project.schemaChange,+ },+ currentStep: CHOOSE_PROVIDER_STEP,+ showFeatureModal: false,+ showSetupSQLReviewCIModal: false,+ showSetupSQLReviewCIFailureModal: false,+ showLoadingSQLReviewPRModal: false,+ sqlReviewCIPullRequestURL: "",+});- try {- const sqlReviewCISetup = await repositoryStore.createSQLReviewCI({- projectId: props.project.id,- repositoryId: repository.id,- });- state.sqlReviewCIPullRequestURL = sqlReviewCISetup.pullRequestURL;- state.showSetupSQLReviewCIModal = true;- window.open(sqlReviewCISetup.pullRequestURL, "_blank");- repositoryStore.setRepositorySQLReviewCIEnabled({- projectId: props.project.id,- sqlReviewCIEnabled: true,- });- } catch {- state.showSetupSQLReviewCIFailureModal = true;- } finally {- state.showLoadingSQLReviewPRModal = false;- }- };+const allowNext = computed((): boolean => {+ if (state.currentStep == CONFIGURE_DEPLOY_STEP) {+ return (+ !isEmpty(state.config.repositoryConfig.branchFilter.trim()) &&+ !isEmpty(state.config.repositoryConfig.filePathTemplate.trim())+ );+ }+ return true;+});- const tryFinishSetup = (allowFinishCallback: () => void) => {- if (- state.config.repositoryConfig.enableSQLReviewCI &&- !hasFeature("bb.feature.vcs-sql-review")- ) {- state.showFeatureModal = true;- return;- }+const tryChangeStep = (+ oldStep: number,+ newStep: number,+ allowChangeCallback: () => void+) => {+ state.currentStep = newStep;+ allowChangeCallback();+};- const createFunc = async () => {- let externalId = state.config.repositoryInfo.externalId;- if (- state.config.vcs.type == "GITHUB" ||- state.config.vcs.type == "BITBUCKET"- ) {- externalId = state.config.repositoryInfo.fullPath;- }+const createSQLReviewCI = async () => {+ state.showLoadingSQLReviewPRModal = true;- // Update project schemaChangeType field firstly.- if (state.config.schemaChangeType !== props.project.schemaChangeType) {- const projectPatch = cloneDeep(props.projectV1);- projectPatch.schemaChange =- state.config.schemaChangeType === "DDL"- ? SchemaChange.DDL- : SchemaChange.SDL;- const updateMask = ["schema_change"];- await useProjectV1Store().updateProject(projectPatch, updateMask);- // WARNING: using mixed new/old APIs so we need to force update the- // legacy project entity's local value manually- /* eslint-disable-next-line vue/no-mutating-props */- props.project.schemaChangeType = state.config.schemaChangeType;- }+ try {+ const pullRequestURL = await repositoryV1Store.setupSQLReviewCI(+ props.project.name+ );+ state.sqlReviewCIPullRequestURL = pullRequestURL;+ state.showSetupSQLReviewCIModal = true;+ window.open(pullRequestURL, "_blank");+ } catch {+ state.showSetupSQLReviewCIFailureModal = true;+ } finally {+ state.showLoadingSQLReviewPRModal = false;+ }+};- const repositoryCreate: RepositoryCreate = {- vcsId: state.config.vcs.id,- name: state.config.repositoryInfo.name,- fullPath: state.config.repositoryInfo.fullPath,- webUrl: state.config.repositoryInfo.webUrl,- branchFilter: state.config.repositoryConfig.branchFilter,- baseDirectory: state.config.repositoryConfig.baseDirectory,- filePathTemplate: state.config.repositoryConfig.filePathTemplate,- schemaPathTemplate: state.config.repositoryConfig.schemaPathTemplate,- sheetPathTemplate: state.config.repositoryConfig.sheetPathTemplate,- externalId: externalId,- accessToken: state.config.token.accessToken,- expiresTs: state.config.token.expiresTs,- refreshToken: state.config.token.refreshToken,- };- await repositoryStore.createRepository({- projectId: props.project.id,- repositoryCreate,- });+const tryFinishSetup = (allowFinishCallback: () => void) => {+ if (+ state.config.repositoryConfig.enableSQLReviewCI &&+ !hasFeature("bb.feature.vcs-sql-review")+ ) {+ state.showFeatureModal = true;+ return;+ }- if (state.config.repositoryConfig.enableSQLReviewCI) {- createSQLReviewCI();- } else {- emit("finish");- }+ const createFunc = async () => {+ let externalId = state.config.repositoryInfo.externalId;+ if (+ state.config.vcs.type == "GITHUB" ||+ state.config.vcs.type == "BITBUCKET"+ ) {+ externalId = state.config.repositoryInfo.fullPath;+ }- allowFinishCallback();- };+ const projectPatch = cloneDeep(props.project);+ projectPatch.workflow = Workflow.VCS;+ const updateMask = ["workflow"];+ // Update project schemaChangeType field.+ if (state.config.schemaChangeType !== props.project.schemaChange) {+ updateMask.push("schema_change");+ projectPatch.schemaChange = state.config.schemaChangeType;+ }+ await useProjectV1Store().updateProject(projectPatch, updateMask);- if (props.create) {- createFunc();- } else {- // It's simple to implement change behavior as delete followed by create.- // Though the delete can succeed while the create fails, this is rare, and- // even it happens, user can still configure it again.- repositoryStore- .deleteRepositoryByProjectId(props.project.id)- .then(() => {- createFunc();- });- }+ const repositoryCreate: Partial<ProjectGitOpsInfo> = {+ vcsUid: `${state.config.vcs.id}`,+ title: state.config.repositoryInfo.name,+ fullPath: state.config.repositoryInfo.fullPath,+ webUrl: state.config.repositoryInfo.webUrl,+ branchFilter: state.config.repositoryConfig.branchFilter,+ baseDirectory: state.config.repositoryConfig.baseDirectory,+ filePathTemplate: state.config.repositoryConfig.filePathTemplate,+ schemaPathTemplate: state.config.repositoryConfig.schemaPathTemplate,+ sheetPathTemplate: state.config.repositoryConfig.sheetPathTemplate,+ externalId: externalId,+ accessToken: state.config.token.accessToken,+ expiresTime: new Date(state.config.token.expiresTs * 1000),+ refreshToken: state.config.token.refreshToken,+ enableSqlReviewCi: false,};+ await repositoryV1Store.upsertRepository(+ props.project.name,+ repositoryCreate+ );- const closeSetupSQLReviewModal = () => {- state.showSetupSQLReviewCIModal = false;+ if (state.config.repositoryConfig.enableSQLReviewCI) {+ createSQLReviewCI();+ } else {emit("finish");- };+ }- const cancel = () => {- emit("cancel");- router.push({- name: "workspace.project.detail",- params: {- projectSlug: projectSlug(props.project),- },- hash: "#gitops",- });- };+ allowFinishCallback();+ };- const setCode = (code: string) => {- state.config.code = code;- };+ if (props.create) {+ createFunc();+ } else {+ // It's simple to implement change behavior as delete followed by create.+ // Though the delete can succeed while the create fails, this is rare, and+ // even it happens, user can still configure it again.+ repositoryV1Store.deleteRepository(props.project.name).then(() => {+ createFunc();+ });+ }+};- const setToken = (token: OAuthToken) => {- state.config.token = token;- };+const closeSetupSQLReviewModal = () => {+ state.showSetupSQLReviewCIModal = false;+ emit("finish");+};- const setVCS = (vcs: VCS) => {- state.config.vcs = vcs;- };+const cancel = () => {+ emit("cancel");+ router.push({+ name: "workspace.project.detail",+ params: {+ projectSlug: projectSlugV1(props.project),+ },+ hash: "#gitops",+ });+};- const setRepository = (repository: ExternalRepositoryInfo) => {- state.config.repositoryInfo = repository;- };+const setCode = (code: string) => {+ state.config.code = code;+};- return {- state,- stepList,- allowNext,- tryChangeStep,- tryFinishSetup,- cancel,- setCode,- setVCS,- setToken,- setRepository,- createSQLReviewCI,- closeSetupSQLReviewModal,- };- },-});+const setToken = (token: OAuthToken) => {+ state.config.token = token;+};++const setVCS = (vcs: VCS) => {+ state.config.vcs = vcs;+};++const setRepository = (repository: ExternalRepositoryInfo) => {+ state.config.repositoryInfo = repository;+};++const setSchemaChangeType = (schemaChange: SchemaChange) => {+ state.config.schemaChangeType = schemaChange;+};</script>diff --git a/frontend/src/store/modules/oauth.ts b/frontend/src/store/modules/oauth.tsindex 4f73823c22..d60d0042b3 100644--- a/frontend/src/store/modules/oauth.ts+++ b/frontend/src/store/modules/oauth.ts@@ -22,8 +22,8 @@ export const useOAuthStore = defineStore("oauth", {}: {code: string;vcsId: VCSId;- clientId: string;- clientSecret: string;+ clientId?: string;+ clientSecret?: string;}): Promise<OAuthToken> {const data = (await axios.post(`/api/oauth/vcs/exchange-token`, {diff --git a/frontend/src/store/modules/repository.ts b/frontend/src/store/modules/repository.tsindex be227842c5..13ff675409 100644--- a/frontend/src/store/modules/repository.ts+++ b/frontend/src/store/modules/repository.ts@@ -2,13 +2,8 @@ import { defineStore } from "pinia";import axios from "axios";import {Project,- ProjectId,- RepositoryId,Repository,- RepositoryCreate,- RepositoryPatch,RepositoryState,- SQLReviewCISetup,ResourceIdentifier,ResourceObject,unknown,@@ -54,18 +49,11 @@ function convert(export const useRepositoryStore = defineStore("repository", {state: (): RepositoryState => ({repositoryListByVCSId: new Map(),- repositoryByProjectId: new Map(),}),actions: {getRepositoryListByVCSId(vcsId: VCSId): Repository[] {return this.repositoryListByVCSId.get(vcsId) || [];},- getRepositoryByProjectId(projectId: ProjectId): Repository {- return (- this.repositoryByProjectId.get(projectId) ||- (unknown("REPOSITORY") as Repository)- );- },setRepositoryListByVCSId({vcsId,repositoryList,@@ -75,62 +63,6 @@ export const useRepositoryStore = defineStore("repository", {}) {this.repositoryListByVCSId.set(vcsId, repositoryList);},- setRepositoryByProjectId({- projectId,- repository,- }: {- projectId: ProjectId;- repository: Repository;- }) {- this.repositoryByProjectId.set(projectId, repository);- },- removeRepositoryByProjectId(projectId: ProjectId) {- this.repositoryByProjectId.delete(projectId);- },- setRepositorySQLReviewCIEnabled({- projectId,- sqlReviewCIEnabled,- }: {- projectId: ProjectId;- sqlReviewCIEnabled: boolean;- }) {- const repository = this.repositoryByProjectId.get(projectId);- if (!repository) {- return;- }-- this.repositoryByProjectId.set(projectId, {- ...repository,- enableSQLReviewCI: sqlReviewCIEnabled,- });- },- async createRepository({- projectId,- repositoryCreate,- }: {- projectId: ProjectId;- repositoryCreate: RepositoryCreate;- }): Promise<Repository> {- const data = (- await axios.post(`/api/project/${projectId}/repository`, {- data: {- type: "RepositoryCreate",- attributes: repositoryCreate,- },- })- ).data;-- const createdRepository = convert(data.data, data.included);- this.setRepositoryByProjectId({- projectId: projectId,- repository: createdRepository,- });-- // Refetch the project as the project workflow type has been updated to "VCS"- useLegacyProjectStore().fetchProjectById(projectId);-- return createdRepository;- },async fetchRepositoryListByVCSId(vcsId: VCSId): Promise<Repository[]> {const data = (await axios.get(`/api/vcs/${vcsId}/repository`)).data;@@ -143,79 +75,5 @@ export const useRepositoryStore = defineStore("repository", {this.setRepositoryListByVCSId({ vcsId, repositoryList });return repositoryList;},- async fetchRepositoryByProjectId(- projectId: ProjectId- ): Promise<Repository> {- const data = (await axios.get(`/api/project/${projectId}/repository`))- .data;- const repositoryList: Repository[] = data.data.map(- (repository: ResourceObject) => {- return convert(repository, data.included);- }- );-- // Expect server to return at most one item, otherwise it will throw error- if (repositoryList.length > 0) {- this.setRepositoryByProjectId({- projectId,- repository: repositoryList[0],- });- return repositoryList[0];- }-- return unknown("REPOSITORY") as Repository;- },- async updateRepositoryByProjectId({- projectId,- repositoryPatch,- }: {- projectId: ProjectId;- repositoryPatch: RepositoryPatch;- }): Promise<Repository> {- const data = (- await axios.patch(`/api/project/${projectId}/repository`, {- data: {- type: "repositoryPatch",- attributes: repositoryPatch,- },- })- ).data;-- const updatedRepository = convert(data.data, data.included);-- this.setRepositoryByProjectId({- projectId,- repository: updatedRepository,- });-- return updatedRepository;- },- async deleteRepositoryByProjectId(projectId: ProjectId) {- await axios.delete(`/api/project/${projectId}/repository`);-- this.removeRepositoryByProjectId(projectId);-- // Refetch the project as the project workflow type has been updated to "UI"- useLegacyProjectStore().fetchProjectById(projectId);- },- async createSQLReviewCI({- projectId,- repositoryId,- }: {- projectId: ProjectId;- repositoryId: RepositoryId;- }): Promise<SQLReviewCISetup> {- const data = (- await axios.post(- `/api/project/${projectId}/repository/${repositoryId}/sql-review-ci`- )- ).data;-- const sqlReviewCISetup: SQLReviewCISetup = {- ...(data.data.attributes as Omit<SQLReviewCISetup, "">),- };-- return sqlReviewCISetup;- },},});diff --git a/frontend/src/store/modules/v1/index.ts b/frontend/src/store/modules/v1/index.tsindex 6aa82ba2d0..a3197fa697 100644--- a/frontend/src/store/modules/v1/index.ts+++ b/frontend/src/store/modules/v1/index.ts@@ -12,3 +12,4 @@ export * from "./setting";export * from "./instance";export * from "./subscription";export * from "./actuator";+export * from "./repository";diff --git a/frontend/src/store/modules/v1/repository.ts b/frontend/src/store/modules/v1/repository.tsnew file mode 100644index 0000000000..e2fc9e97b4--- /dev/null+++ b/frontend/src/store/modules/v1/repository.ts@@ -0,0 +1,136 @@+import { defineStore } from "pinia";+import { reactive } from "vue";+import { isEqual, isUndefined } from "lodash-es";+import { projectServiceClient } from "@/grpcweb";+import { ProjectGitOpsInfo } from "@/types/proto/v1/externalvs_service";++export const useRepositoryV1Store = defineStore("repository_v1", () => {+ const repositoryMapByProject = reactive(new Map<string, ProjectGitOpsInfo>());++ const fetchRepositoryByProject = async (+ project: string+ ): Promise<ProjectGitOpsInfo | undefined> => {+ try {+ const gitopsInfo = await projectServiceClient.getProjectGitOpsInfo({+ project,+ });++ repositoryMapByProject.set(project, gitopsInfo);+ return gitopsInfo;+ } catch (e) {+ console.error(e);+ return;+ }+ };++ const getRepositoryByProject = (+ project: string+ ): ProjectGitOpsInfo | undefined => {+ return repositoryMapByProject.get(project);+ };++ const getOrFetchRepositoryByProject = (project: string) => {+ if (repositoryMapByProject.has(project)) {+ return Promise.resolve(repositoryMapByProject.get(project));+ }+ return fetchRepositoryByProject(project);+ };++ const upsertRepository = async (+ project: string,+ gitopsInfo: Partial<ProjectGitOpsInfo>+ ): Promise<ProjectGitOpsInfo> => {+ const repo = await getOrFetchRepositoryByProject(project);+ let gitops: ProjectGitOpsInfo;++ if (!repo) {+ gitops = await projectServiceClient.setProjectGitOpsInfo({+ project,+ projectGitopsInfo: gitopsInfo,+ allowMissing: true,+ });+ } else {+ const updateMask = getUpdateMaskForRepository(repo, gitopsInfo);+ if (updateMask.length === 0) {+ return repo;+ }+ gitops = await projectServiceClient.setProjectGitOpsInfo({+ project,+ projectGitopsInfo: gitopsInfo,+ updateMask: getUpdateMaskForRepository(repo, gitopsInfo),+ allowMissing: false,+ });+ }++ repositoryMapByProject.set(project, gitops);+ return gitops;+ };++ const deleteRepository = async (project: string) => {+ await projectServiceClient.deleteProjectGitOpsInfo({+ project,+ });+ };++ const setupSQLReviewCI = async (project: string): Promise<string> => {+ const resp = await projectServiceClient.setupProjectSQLReviewCI({+ project,+ });+ return resp.pullRequestUrl;+ };++ return {+ setupSQLReviewCI,+ upsertRepository,+ deleteRepository,+ getRepositoryByProject,+ getOrFetchRepositoryByProject,+ };+});++const getUpdateMaskForRepository = (+ origin: ProjectGitOpsInfo,+ update: Partial<ProjectGitOpsInfo>+): string[] => {+ const updateMask: string[] = [];+ if (!isUndefined(update.title) && !isEqual(origin.title, update.title)) {+ updateMask.push("title");+ }+ if (+ !isUndefined(update.branchFilter) &&+ !isEqual(origin.branchFilter, update.branchFilter)+ ) {+ updateMask.push("branch_filter");+ }+ if (+ !isUndefined(update.baseDirectory) &&+ !isEqual(origin.baseDirectory, update.baseDirectory)+ ) {+ updateMask.push("base_directory");+ }+ if (+ !isUndefined(update.filePathTemplate) &&+ !isEqual(origin.filePathTemplate, update.filePathTemplate)+ ) {+ updateMask.push("file_path_template");+ }+ if (+ !isUndefined(update.schemaPathTemplate) &&+ !isEqual(origin.schemaPathTemplate, update.schemaPathTemplate)+ ) {+ updateMask.push("schema_path_template");+ }+ if (+ !isUndefined(update.sheetPathTemplate) &&+ !isEqual(origin.sheetPathTemplate, update.sheetPathTemplate)+ ) {+ updateMask.push("sheet_path_template");+ }+ if (+ !isUndefined(update.enableSqlReviewCi) &&+ !isEqual(origin.enableSqlReviewCi, update.enableSqlReviewCi)+ ) {+ updateMask.push("enable_sql_review_ci");+ }+ return updateMask;+};diff --git a/frontend/src/store/modules/vcs.ts b/frontend/src/store/modules/vcs.tsindex 5907babe7b..39b578d1fc 100644--- a/frontend/src/store/modules/vcs.ts+++ b/frontend/src/store/modules/vcs.ts@@ -89,7 +89,7 @@ export const useVCSStore = defineStore("vcs", {const vcs = convert(data.data, data.included);this.setVCSById({- vcsId,+ vcsId: vcs.id,vcs,});return vcs;diff --git a/frontend/src/types/project.ts b/frontend/src/types/project.tsindex 7135417142..697a3dd677 100644--- a/frontend/src/types/project.ts+++ b/frontend/src/types/project.ts@@ -4,6 +4,7 @@ import { OAuthToken } from "./oauth";import { Principal } from "./principal";import { ExternalRepositoryInfo, RepositoryConfig } from "./repository";import { VCS } from "./vcs";+import { SchemaChange } from "@/types/proto/v1/project_service";export type ProjectRoleType =| "OWNER"@@ -71,5 +72,5 @@ export type ProjectRepositoryConfig = {code: string;repositoryInfo: ExternalRepositoryInfo;repositoryConfig: RepositoryConfig;- schemaChangeType: SchemaChangeType;+ schemaChangeType: SchemaChange;};diff --git a/frontend/src/types/proto/v1/externalvs_service.ts b/frontend/src/types/proto/v1/externalvs_service.tsindex b56c6f6e0e..c62a4d3d34 100644--- a/frontend/src/types/proto/v1/externalvs_service.ts+++ b/frontend/src/types/proto/v1/externalvs_service.ts@@ -3,6 +3,7 @@ import type { CallContext, CallOptions } from "nice-grpc-common";import * as _m0 from "protobufjs/minimal";import { Empty } from "../google/protobuf/empty";import { FieldMask } from "../google/protobuf/field_mask";+import { Timestamp } from "../google/protobuf/timestamp";export const protobufPackage = "bytebase.v1";@@ -171,6 +172,8 @@ export interface ProjectGitOpsInfo {* Format: projects/{project}/gitOpsInfo*/name: string;+ /** The uid for related VCS. */+ vcsUid: string;/** The title of the repository. For axample: sample. */title: string;/** The full_path of the repository. For example: bytebase/sample. */@@ -199,10 +202,15 @@ export interface ProjectGitOpsInfo {* If specified, required Placeholder: {{NAME}}, optional Placeholder: {{ENV_ID}}, {{DB_NAME}}.*/sheetPathTemplate: string;+ /** The reposition external id in target VCS. */+ externalId: string;/** Set to true to enable SQL review CI for all PR/MRs. */enableSqlReviewCi: boolean;/** The webhook endpoint ID of the repository. */webhookEndpointId: string;+ accessToken: string;+ expiresTime?: Date;+ refreshToken: string;}function createBaseCreateExternalVersionControlRequest(): CreateExternalVersionControlRequest {@@ -1131,6 +1139,7 @@ export const ExternalVersionControl = {function createBaseProjectGitOpsInfo(): ProjectGitOpsInfo {return {name: "",+ vcsUid: "",title: "",fullPath: "",webUrl: "",@@ -1139,8 +1148,12 @@ function createBaseProjectGitOpsInfo(): ProjectGitOpsInfo {filePathTemplate: "",schemaPathTemplate: "",sheetPathTemplate: "",+ externalId: "",enableSqlReviewCi: false,webhookEndpointId: "",+ accessToken: "",+ expiresTime: undefined,+ refreshToken: "",};}@@ -1149,35 +1162,50 @@ export const ProjectGitOpsInfo = {if (message.name !== "") {writer.uint32(10).string(message.name);}+ if (message.vcsUid !== "") {+ writer.uint32(18).string(message.vcsUid);+ }if (message.title !== "") {- writer.uint32(18).string(message.title);+ writer.uint32(26).string(message.title);}if (message.fullPath !== "") {- writer.uint32(26).string(message.fullPath);+ writer.uint32(34).string(message.fullPath);}if (message.webUrl !== "") {- writer.uint32(34).string(message.webUrl);+ writer.uint32(42).string(message.webUrl);}if (message.branchFilter !== "") {- writer.uint32(42).string(message.branchFilter);+ writer.uint32(50).string(message.branchFilter);}if (message.baseDirectory !== "") {- writer.uint32(50).string(message.baseDirectory);+ writer.uint32(58).string(message.baseDirectory);}if (message.filePathTemplate !== "") {- writer.uint32(58).string(message.filePathTemplate);+ writer.uint32(66).string(message.filePathTemplate);}if (message.schemaPathTemplate !== "") {- writer.uint32(66).string(message.schemaPathTemplate);+ writer.uint32(74).string(message.schemaPathTemplate);}if (message.sheetPathTemplate !== "") {- writer.uint32(74).string(message.sheetPathTemplate);+ writer.uint32(82).string(message.sheetPathTemplate);+ }+ if (message.externalId !== "") {+ writer.uint32(90).string(message.externalId);}if (message.enableSqlReviewCi === true) {- writer.uint32(80).bool(message.enableSqlReviewCi);+ writer.uint32(96).bool(message.enableSqlReviewCi);}if (message.webhookEndpointId !== "") {- writer.uint32(90).string(message.webhookEndpointId);+ writer.uint32(106).string(message.webhookEndpointId);+ }+ if (message.accessToken !== "") {+ writer.uint32(114).string(message.accessToken);+ }+ if (message.expiresTime !== undefined) {+ Timestamp.encode(toTimestamp(message.expiresTime), writer.uint32(122).fork()).ldelim();+ }+ if (message.refreshToken !== "") {+ writer.uint32(130).string(message.refreshToken);}return writer;},@@ -1201,71 +1229,106 @@ export const ProjectGitOpsInfo = {break;}- message.title = reader.string();+ message.vcsUid = reader.string();continue;case 3:if (tag !== 26) {break;}- message.fullPath = reader.string();+ message.title = reader.string();continue;case 4:if (tag !== 34) {break;}- message.webUrl = reader.string();+ message.fullPath = reader.string();continue;case 5:if (tag !== 42) {break;}- message.branchFilter = reader.string();+ message.webUrl = reader.string();continue;case 6:if (tag !== 50) {break;}- message.baseDirectory = reader.string();+ message.branchFilter = reader.string();continue;case 7:if (tag !== 58) {break;}- message.filePathTemplate = reader.string();+ message.baseDirectory = reader.string();continue;case 8:if (tag !== 66) {break;}- message.schemaPathTemplate = reader.string();+ message.filePathTemplate = reader.string();continue;case 9:if (tag !== 74) {break;}- message.sheetPathTemplate = reader.string();+ message.schemaPathTemplate = reader.string();continue;case 10:- if (tag !== 80) {+ if (tag !== 82) {break;}- message.enableSqlReviewCi = reader.bool();+ message.sheetPathTemplate = reader.string();continue;case 11:if (tag !== 90) {break;}+ message.externalId = reader.string();+ continue;+ case 12:+ if (tag !== 96) {+ break;+ }++ message.enableSqlReviewCi = reader.bool();+ continue;+ case 13:+ if (tag !== 106) {+ break;+ }+message.webhookEndpointId = reader.string();continue;+ case 14:+ if (tag !== 114) {+ break;+ }++ message.accessToken = reader.string();+ continue;+ case 15:+ if (tag !== 122) {+ break;+ }++ message.expiresTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));+ continue;+ case 16:+ if (tag !== 130) {+ break;+ }++ message.refreshToken = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -1278,6 +1341,7 @@ export const ProjectGitOpsInfo = {fromJSON(object: any): ProjectGitOpsInfo {return {name: isSet(object.name) ? String(object.name) : "",+ vcsUid: isSet(object.vcsUid) ? String(object.vcsUid) : "",title: isSet(object.title) ? String(object.title) : "",fullPath: isSet(object.fullPath) ? String(object.fullPath) : "",webUrl: isSet(object.webUrl) ? String(object.webUrl) : "",@@ -1286,14 +1350,19 @@ export const ProjectGitOpsInfo = {filePathTemplate: isSet(object.filePathTemplate) ? String(object.filePathTemplate) : "",schemaPathTemplate: isSet(object.schemaPathTemplate) ? String(object.schemaPathTemplate) : "",sheetPathTemplate: isSet(object.sheetPathTemplate) ? String(object.sheetPathTemplate) : "",+ externalId: isSet(object.externalId) ? String(object.externalId) : "",enableSqlReviewCi: isSet(object.enableSqlReviewCi) ? Boolean(object.enableSqlReviewCi) : false,webhookEndpointId: isSet(object.webhookEndpointId) ? String(object.webhookEndpointId) : "",+ accessToken: isSet(object.accessToken) ? String(object.accessToken) : "",+ expiresTime: isSet(object.expiresTime) ? fromJsonTimestamp(object.expiresTime) : undefined,+ refreshToken: isSet(object.refreshToken) ? String(object.refreshToken) : "",};},toJSON(message: ProjectGitOpsInfo): unknown {const obj: any = {};message.name !== undefined && (obj.name = message.name);+ message.vcsUid !== undefined && (obj.vcsUid = message.vcsUid);message.title !== undefined && (obj.title = message.title);message.fullPath !== undefined && (obj.fullPath = message.fullPath);message.webUrl !== undefined && (obj.webUrl = message.webUrl);@@ -1302,8 +1371,12 @@ export const ProjectGitOpsInfo = {message.filePathTemplate !== undefined && (obj.filePathTemplate = message.filePathTemplate);message.schemaPathTemplate !== undefined && (obj.schemaPathTemplate = message.schemaPathTemplate);message.sheetPathTemplate !== undefined && (obj.sheetPathTemplate = message.sheetPathTemplate);+ message.externalId !== undefined && (obj.externalId = message.externalId);message.enableSqlReviewCi !== undefined && (obj.enableSqlReviewCi = message.enableSqlReviewCi);message.webhookEndpointId !== undefined && (obj.webhookEndpointId = message.webhookEndpointId);+ message.accessToken !== undefined && (obj.accessToken = message.accessToken);+ message.expiresTime !== undefined && (obj.expiresTime = message.expiresTime.toISOString());+ message.refreshToken !== undefined && (obj.refreshToken = message.refreshToken);return obj;},@@ -1314,6 +1387,7 @@ export const ProjectGitOpsInfo = {fromPartial(object: DeepPartial<ProjectGitOpsInfo>): ProjectGitOpsInfo {const message = createBaseProjectGitOpsInfo();message.name = object.name ?? "";+ message.vcsUid = object.vcsUid ?? "";message.title = object.title ?? "";message.fullPath = object.fullPath ?? "";message.webUrl = object.webUrl ?? "";@@ -1322,8 +1396,12 @@ export const ProjectGitOpsInfo = {message.filePathTemplate = object.filePathTemplate ?? "";message.schemaPathTemplate = object.schemaPathTemplate ?? "";message.sheetPathTemplate = object.sheetPathTemplate ?? "";+ message.externalId = object.externalId ?? "";message.enableSqlReviewCi = object.enableSqlReviewCi ?? false;message.webhookEndpointId = object.webhookEndpointId ?? "";+ message.accessToken = object.accessToken ?? "";+ message.expiresTime = object.expiresTime ?? undefined;+ message.refreshToken = object.refreshToken ?? "";return message;},};@@ -1913,6 +1991,28 @@ export type DeepPartial<T> = T extends Builtin ? T: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }: Partial<T>;+function toTimestamp(date: Date): Timestamp {+ const seconds = date.getTime() / 1_000;+ const nanos = (date.getTime() % 1_000) * 1_000_000;+ return { seconds, nanos };+}++function fromTimestamp(t: Timestamp): Date {+ let millis = (t.seconds || 0) * 1_000;+ millis += (t.nanos || 0) / 1_000_000;+ return new Date(millis);+}++function fromJsonTimestamp(o: any): Date {+ if (o instanceof Date) {+ return o;+ } else if (typeof o === "string") {+ return new Date(o);+ } else {+ return fromTimestamp(Timestamp.fromJSON(o));+ }+}+function isSet(value: any): boolean {return value !== null && value !== undefined;}diff --git a/frontend/src/types/proto/v1/project_service.ts b/frontend/src/types/proto/v1/project_service.tsindex e7fcae3d3c..a479a0d549 100644--- a/frontend/src/types/proto/v1/project_service.ts+++ b/frontend/src/types/proto/v1/project_service.ts@@ -505,6 +505,14 @@ export interface SetProjectGitOpsInfoRequest {allowMissing: boolean;}+export interface DeleteProjectGitOpsInfoRequest {+ /**+ * The name of the project.+ * Format: projects/{project}+ */+ project: string;+}+export interface GetProjectGitOpsInfoRequest {/*** The name of the project.@@ -519,7 +527,6 @@ export interface SetupSQLReviewCIRequest {* Format: projects/{project}*/project: string;- enableSqlReviewCi: boolean;}export interface SetupSQLReviewCIResponse {@@ -2374,6 +2381,62 @@ export const SetProjectGitOpsInfoRequest = {},};+function createBaseDeleteProjectGitOpsInfoRequest(): DeleteProjectGitOpsInfoRequest {+ return { project: "" };+}++export const DeleteProjectGitOpsInfoRequest = {+ encode(message: DeleteProjectGitOpsInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.project !== "") {+ writer.uint32(10).string(message.project);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): DeleteProjectGitOpsInfoRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseDeleteProjectGitOpsInfoRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.project = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): DeleteProjectGitOpsInfoRequest {+ return { project: isSet(object.project) ? String(object.project) : "" };+ },++ toJSON(message: DeleteProjectGitOpsInfoRequest): unknown {+ const obj: any = {};+ message.project !== undefined && (obj.project = message.project);+ return obj;+ },++ create(base?: DeepPartial<DeleteProjectGitOpsInfoRequest>): DeleteProjectGitOpsInfoRequest {+ return DeleteProjectGitOpsInfoRequest.fromPartial(base ?? {});+ },++ fromPartial(object: DeepPartial<DeleteProjectGitOpsInfoRequest>): DeleteProjectGitOpsInfoRequest {+ const message = createBaseDeleteProjectGitOpsInfoRequest();+ message.project = object.project ?? "";+ return message;+ },+};+function createBaseGetProjectGitOpsInfoRequest(): GetProjectGitOpsInfoRequest {return { project: "" };}@@ -2431,7 +2494,7 @@ export const GetProjectGitOpsInfoRequest = {};function createBaseSetupSQLReviewCIRequest(): SetupSQLReviewCIRequest {- return { project: "", enableSqlReviewCi: false };+ return { project: "" };}export const SetupSQLReviewCIRequest = {@@ -2439,9 +2502,6 @@ export const SetupSQLReviewCIRequest = {if (message.project !== "") {writer.uint32(10).string(message.project);}- if (message.enableSqlReviewCi === true) {- writer.uint32(16).bool(message.enableSqlReviewCi);- }return writer;},@@ -2459,13 +2519,6 @@ export const SetupSQLReviewCIRequest = {message.project = reader.string();continue;- case 2:- if (tag !== 16) {- break;- }-- message.enableSqlReviewCi = reader.bool();- continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -2476,16 +2529,12 @@ export const SetupSQLReviewCIRequest = {},fromJSON(object: any): SetupSQLReviewCIRequest {- return {- project: isSet(object.project) ? String(object.project) : "",- enableSqlReviewCi: isSet(object.enableSqlReviewCi) ? Boolean(object.enableSqlReviewCi) : false,- };+ return { project: isSet(object.project) ? String(object.project) : "" };},toJSON(message: SetupSQLReviewCIRequest): unknown {const obj: any = {};message.project !== undefined && (obj.project = message.project);- message.enableSqlReviewCi !== undefined && (obj.enableSqlReviewCi = message.enableSqlReviewCi);return obj;},@@ -2496,7 +2545,6 @@ export const SetupSQLReviewCIRequest = {fromPartial(object: DeepPartial<SetupSQLReviewCIRequest>): SetupSQLReviewCIRequest {const message = createBaseSetupSQLReviewCIRequest();message.project = object.project ?? "";- message.enableSqlReviewCi = object.enableSqlReviewCi ?? false;return message;},};@@ -6122,8 +6170,62 @@ export const ProjectServiceDefinition = {},},},- setProjectSQLReviewCI: {- name: "SetProjectSQLReviewCI",+ deleteProjectGitOpsInfo: {+ name: "DeleteProjectGitOpsInfo",+ requestType: DeleteProjectGitOpsInfoRequest,+ requestStream: false,+ responseType: Empty,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([4, 110, 97, 109, 101])],+ 578365826: [+ new Uint8Array([+ 37,+ 42,+ 35,+ 47,+ 118,+ 49,+ 47,+ 123,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 125,+ 47,+ 103,+ 105,+ 116,+ 79,+ 112,+ 115,+ 73,+ 110,+ 102,+ 111,+ ]),+ ],+ },+ },+ },+ setupProjectSQLReviewCI: {+ name: "SetupProjectSQLReviewCI",requestType: SetupSQLReviewCIRequest,requestStream: false,responseType: SetupSQLReviewCIResponse,@@ -7133,7 +7235,11 @@ export interface ProjectServiceImplementation<CallContextExt = {}> {request: SetProjectGitOpsInfoRequest,context: CallContext & CallContextExt,): Promise<DeepPartial<ProjectGitOpsInfo>>;- setProjectSQLReviewCI(+ deleteProjectGitOpsInfo(+ request: DeleteProjectGitOpsInfoRequest,+ context: CallContext & CallContextExt,+ ): Promise<DeepPartial<Empty>>;+ setupProjectSQLReviewCI(request: SetupSQLReviewCIRequest,context: CallContext & CallContextExt,): Promise<DeepPartial<SetupSQLReviewCIResponse>>;@@ -7226,7 +7332,11 @@ export interface ProjectServiceClient<CallOptionsExt = {}> {request: DeepPartial<SetProjectGitOpsInfoRequest>,options?: CallOptions & CallOptionsExt,): Promise<ProjectGitOpsInfo>;- setProjectSQLReviewCI(+ deleteProjectGitOpsInfo(+ request: DeepPartial<DeleteProjectGitOpsInfoRequest>,+ options?: CallOptions & CallOptionsExt,+ ): Promise<Empty>;+ setupProjectSQLReviewCI(request: DeepPartial<SetupSQLReviewCIRequest>,options?: CallOptions & CallOptionsExt,): Promise<SetupSQLReviewCIResponse>;diff --git a/frontend/src/types/repository.ts b/frontend/src/types/repository.tsindex 64071c2445..a5b265e099 100644--- a/frontend/src/types/repository.ts+++ b/frontend/src/types/repository.ts@@ -1,5 +1,5 @@import isEmpty from "lodash-es/isEmpty";-import { RepositoryId, VCSId } from "./id";+import { RepositoryId } from "./id";import { Project } from "./project";import { VCS } from "./vcs";@@ -28,38 +28,6 @@ export type Repository = {externalId: string;};-export type SQLReviewCISetup = {- pullRequestURL: string;-};--export type RepositoryCreate = {- // Related fields- vcsId: VCSId;-- // Domain specific fields- name: string;- fullPath: string;- webUrl: string;- branchFilter: string;- baseDirectory: string;- filePathTemplate: string;- schemaPathTemplate: string;- sheetPathTemplate: string;- externalId: string;- accessToken: string;- expiresTs: number;- refreshToken: string;-};--export type RepositoryPatch = {- baseDirectory?: string;- branchFilter?: string;- filePathTemplate?: string;- schemaPathTemplate?: string;- sheetPathTemplate?: string;- enableSQLReviewCI?: boolean;-};-export type RepositoryConfig = {baseDirectory: string;branchFilter: string;diff --git a/frontend/src/types/store.ts b/frontend/src/types/store.tsindex a611213812..b371f19b02 100644--- a/frontend/src/types/store.ts+++ b/frontend/src/types/store.ts@@ -117,7 +117,6 @@ export interface RepositoryState {// repositoryListByVCSId are used in workspace GitOps panel, while repositoryByProjectId are used in project GitOps panel.// Because they are used separately, so we don't need to worry about repository inconsistency issue between them.repositoryListByVCSId: Map<VCSId, Repository[]>;- repositoryByProjectId: Map<ProjectId, Repository>;}// eslint-disable-next-line @typescript-eslint/no-empty-interfacediff --git a/frontend/src/utils/slug.ts b/frontend/src/utils/slug.tsindex 5753866673..04426451ec 100644--- a/frontend/src/utils/slug.ts+++ b/frontend/src/utils/slug.ts@@ -13,6 +13,7 @@ import {} from "../types";import { IdType } from "../types/id";import { Sheet as SheetV1 } from "@/types/proto/v1/sheet_service";+import { Project as ProjectV1 } from "@/types/proto/v1/project_service";import {getProjectAndSheetId,projectNamePrefix,@@ -54,6 +55,10 @@ export function projectSlug(project: Project): string {return [slug(project.name), project.id].join("-");}+export function projectSlugV1(project: ProjectV1): string {+ return [slug(project.title), project.uid].join("-");+}+export function instanceSlug(instance: Instance): string {return [slug(instance.environment.name),diff --git a/frontend/src/views/ProjectDetail.vue b/frontend/src/views/ProjectDetail.vueindex fabd11ed67..e0771c4e50 100644--- a/frontend/src/views/ProjectDetail.vue+++ b/frontend/src/views/ProjectDetail.vue@@ -32,8 +32,7 @@><ProjectVersionControlPanelid="gitops"- :project="project"- :project-v1="projectV1"+ :project="projectV1":allow-edit="allowEdit"/></template>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 99ff3bd93e..c28a6d42b5 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -269,6 +269,7 @@- [DatabaseGroup](#bytebase-v1-DatabaseGroup)- [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database)- [DeleteDatabaseGroupRequest](#bytebase-v1-DeleteDatabaseGroupRequest)+ - [DeleteProjectGitOpsInfoRequest](#bytebase-v1-DeleteProjectGitOpsInfoRequest)- [DeleteProjectRequest](#bytebase-v1-DeleteProjectRequest)- [DeleteSchemaGroupRequest](#bytebase-v1-DeleteSchemaGroupRequest)- [DeploymentConfig](#bytebase-v1-DeploymentConfig)@@ -2719,6 +2720,7 @@ The environment's `name` field is used to identify the environment to update| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || name | [string](#string) | | The name of the linked repository, generated by the server, and also is the unique identifier. Format: projects/{project}/gitOpsInfo |+| vcs_uid | [string](#string) | | The uid for related VCS. || title | [string](#string) | | The title of the repository. For axample: sample. || full_path | [string](#string) | | The full_path of the repository. For example: bytebase/sample. || web_url | [string](#string) | | The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample. |@@ -2727,8 +2729,12 @@ The environment's `name` field is used to identify the environment to update| file_path_template | [string](#string) | | Bytebase only observes the file path name matching the template pattern **relative** to the base directory. Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}. Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}. Optional Directory Wildcard: '*', '**'. || schema_path_template | [string](#string) | | The file path template for storing the latest schema auto-generated by Bytebase after migration. If empty, then Bytebase won't auto generate it. If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}. || sheet_path_template | [string](#string) | | The file path template for matching the sql files for sheet. If specified, required Placeholder: {{NAME}}, optional Placeholder: {{ENV_ID}}, {{DB_NAME}}. |+| external_id | [string](#string) | | The reposition external id in target VCS. || enable_sql_review_ci | [bool](#bool) | | Set to true to enable SQL review CI for all PR/MRs. || webhook_endpoint_id | [string](#string) | | The webhook endpoint ID of the repository. |+| access_token | [string](#string) | | |+| expires_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| refresh_token | [string](#string) | | |@@ -4358,6 +4364,21 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |+<a name="bytebase-v1-DeleteProjectGitOpsInfoRequest"></a>++### DeleteProjectGitOpsInfoRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| project | [string](#string) | | The name of the project. Format: projects/{project} |++++++<a name="bytebase-v1-DeleteProjectRequest"></a>### DeleteProjectRequest@@ -4853,7 +4874,6 @@ When paginating, all other parameters provided to `ListProjects` must match the| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || project | [string](#string) | | The name of the project. Format: projects/{project} |-| enable_sql_review_ci | [bool](#bool) | | |@@ -5214,7 +5234,8 @@ TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the| RemoveWebhook | [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest) | [Project](#bytebase-v1-Project) | || TestWebhook | [TestWebhookRequest](#bytebase-v1-TestWebhookRequest) | [TestWebhookResponse](#bytebase-v1-TestWebhookResponse) | || SetProjectGitOpsInfo | [SetProjectGitOpsInfoRequest](#bytebase-v1-SetProjectGitOpsInfoRequest) | [ProjectGitOpsInfo](#bytebase-v1-ProjectGitOpsInfo) | |-| SetProjectSQLReviewCI | [SetupSQLReviewCIRequest](#bytebase-v1-SetupSQLReviewCIRequest) | [SetupSQLReviewCIResponse](#bytebase-v1-SetupSQLReviewCIResponse) | |+| DeleteProjectGitOpsInfo | [DeleteProjectGitOpsInfoRequest](#bytebase-v1-DeleteProjectGitOpsInfoRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |+| SetupProjectSQLReviewCI | [SetupSQLReviewCIRequest](#bytebase-v1-SetupSQLReviewCIRequest) | [SetupSQLReviewCIResponse](#bytebase-v1-SetupSQLReviewCIResponse) | || GetProjectGitOpsInfo | [GetProjectGitOpsInfoRequest](#bytebase-v1-GetProjectGitOpsInfoRequest) | [ProjectGitOpsInfo](#bytebase-v1-ProjectGitOpsInfo) | || ListDatabaseGroups | [ListDatabaseGroupsRequest](#bytebase-v1-ListDatabaseGroupsRequest) | [ListDatabaseGroupsResponse](#bytebase-v1-ListDatabaseGroupsResponse) | || GetDatabaseGroup | [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |diff --git a/proto/generated-go/v1/externalvs_service.pb.go b/proto/generated-go/v1/externalvs_service.pb.goindex ef7bd81fb2..1a30b9e319 100644--- a/proto/generated-go/v1/externalvs_service.pb.go+++ b/proto/generated-go/v1/externalvs_service.pb.go@@ -12,6 +12,7 @@ import (protoimpl "google.golang.org/protobuf/runtime/protoimpl"emptypb "google.golang.org/protobuf/types/known/emptypb"fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"+ timestamppb "google.golang.org/protobuf/types/known/timestamppb"reflect "reflect"sync "sync")@@ -718,32 +719,39 @@ type ProjectGitOpsInfo struct {// The name of the linked repository, generated by the server, and also is the unique identifier.// Format: projects/{project}/gitOpsInfoName string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ // The uid for related VCS.+ VcsUid string `protobuf:"bytes,2,opt,name=vcs_uid,json=vcsUid,proto3" json:"vcs_uid,omitempty"`// The title of the repository. For axample: sample.- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`+ Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`// The full_path of the repository. For example: bytebase/sample.- FullPath string `protobuf:"bytes,3,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`+ FullPath string `protobuf:"bytes,4,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`// The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample.- WebUrl string `protobuf:"bytes,4,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`+ WebUrl string `protobuf:"bytes,5,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`// The branch Bytebase listens to for changes. For example: main.- BranchFilter string `protobuf:"bytes,5,opt,name=branch_filter,json=branchFilter,proto3" json:"branch_filter,omitempty"`+ BranchFilter string `protobuf:"bytes,6,opt,name=branch_filter,json=branchFilter,proto3" json:"branch_filter,omitempty"`// The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.- BaseDirectory string `protobuf:"bytes,6,opt,name=base_directory,json=baseDirectory,proto3" json:"base_directory,omitempty"`+ BaseDirectory string `protobuf:"bytes,7,opt,name=base_directory,json=baseDirectory,proto3" json:"base_directory,omitempty"`// Bytebase only observes the file path name matching the template pattern **relative** to the base directory.// Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}.// Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}.// Optional Directory Wildcard: '*', '**'.- FilePathTemplate string `protobuf:"bytes,7,opt,name=file_path_template,json=filePathTemplate,proto3" json:"file_path_template,omitempty"`+ FilePathTemplate string `protobuf:"bytes,8,opt,name=file_path_template,json=filePathTemplate,proto3" json:"file_path_template,omitempty"`// The file path template for storing the latest schema auto-generated by Bytebase after migration.// If empty, then Bytebase won't auto generate it.// If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}.- SchemaPathTemplate string `protobuf:"bytes,8,opt,name=schema_path_template,json=schemaPathTemplate,proto3" json:"schema_path_template,omitempty"`+ SchemaPathTemplate string `protobuf:"bytes,9,opt,name=schema_path_template,json=schemaPathTemplate,proto3" json:"schema_path_template,omitempty"`// The file path template for matching the sql files for sheet.// If specified, required Placeholder: {{NAME}}, optional Placeholder: {{ENV_ID}}, {{DB_NAME}}.- SheetPathTemplate string `protobuf:"bytes,9,opt,name=sheet_path_template,json=sheetPathTemplate,proto3" json:"sheet_path_template,omitempty"`+ SheetPathTemplate string `protobuf:"bytes,10,opt,name=sheet_path_template,json=sheetPathTemplate,proto3" json:"sheet_path_template,omitempty"`+ // The reposition external id in target VCS.+ ExternalId string `protobuf:"bytes,11,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`// Set to true to enable SQL review CI for all PR/MRs.- EnableSqlReviewCi bool `protobuf:"varint,10,opt,name=enable_sql_review_ci,json=enableSqlReviewCi,proto3" json:"enable_sql_review_ci,omitempty"`+ EnableSqlReviewCi bool `protobuf:"varint,12,opt,name=enable_sql_review_ci,json=enableSqlReviewCi,proto3" json:"enable_sql_review_ci,omitempty"`// The webhook endpoint ID of the repository.- WebhookEndpointId string `protobuf:"bytes,11,opt,name=webhook_endpoint_id,json=webhookEndpointId,proto3" json:"webhook_endpoint_id,omitempty"`+ WebhookEndpointId string `protobuf:"bytes,13,opt,name=webhook_endpoint_id,json=webhookEndpointId,proto3" json:"webhook_endpoint_id,omitempty"`+ AccessToken string `protobuf:"bytes,14,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`+ ExpiresTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"`+ RefreshToken string `protobuf:"bytes,16,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`}func (x *ProjectGitOpsInfo) Reset() {@@ -785,6 +793,13 @@ func (x *ProjectGitOpsInfo) GetName() string {return ""}+func (x *ProjectGitOpsInfo) GetVcsUid() string {+ if x != nil {+ return x.VcsUid+ }+ return ""+}+func (x *ProjectGitOpsInfo) GetTitle() string {if x != nil {return x.Title@@ -841,6 +856,13 @@ func (x *ProjectGitOpsInfo) GetSheetPathTemplate() string {return ""}+func (x *ProjectGitOpsInfo) GetExternalId() string {+ if x != nil {+ return x.ExternalId+ }+ return ""+}+func (x *ProjectGitOpsInfo) GetEnableSqlReviewCi() bool {if x != nil {return x.EnableSqlReviewCi@@ -855,6 +877,27 @@ func (x *ProjectGitOpsInfo) GetWebhookEndpointId() string {return ""}+func (x *ProjectGitOpsInfo) GetAccessToken() string {+ if x != nil {+ return x.AccessToken+ }+ return ""+}++func (x *ProjectGitOpsInfo) GetExpiresTime() *timestamppb.Timestamp {+ if x != nil {+ return x.ExpiresTime+ }+ return nil+}++func (x *ProjectGitOpsInfo) GetRefreshToken() string {+ if x != nil {+ return x.RefreshToken+ }+ return ""+}+type SearchExternalVersionControlProjectsResponse_Project struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -945,226 +988,241 @@ var file_v1_externalvs_service_proto_rawDesc = []byte{0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65,- 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72,- 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x62, 0x0a, 0x18, 0x65, 0x78, 0x74,- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,- 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,- 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x3b, 0x0a,- 0x20, 0x47, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73,- 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x60, 0x0a, 0x22, 0x4c, 0x69,- 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,- 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,- 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xae, 0x01, 0x0a,- 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72,- 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x19, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x17, 0x65, 0x78,- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,- 0x74, 0x72, 0x6f, 0x6c, 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, 0xcb, 0x01,- 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x62, 0x0a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,- 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,- 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x03, 0xe0, 0x41,- 0x02, 0x52, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,- 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x40, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x3e, 0x0a, 0x23, 0x44,- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72,+ 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,+ 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74,+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74,+ 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x62, 0x0a, 0x18, 0x65, 0x78,+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63,+ 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72,+ 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,+ 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x3b,+ 0x0a, 0x20, 0x47, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72,0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x2b,- 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74,- 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,- 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x28, 0x0a, 0x0d,- 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73,- 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf3, 0x01, 0x0a, 0x2c, 0x53, 0x65, 0x61, 0x72, 0x63,- 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,- 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45, 0x78,- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,- 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x1a, 0x64, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,- 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x70,- 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x70,- 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x65, 0x62, 0x55, 0x72, 0x6c, 0x22, 0x37, 0x0a, 0x1c,- 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70,- 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04,+ 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x60, 0x0a, 0x22, 0x4c,+ 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,+ 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,+ 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xae, 0x01,+ 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x19, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,+ 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,+ 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x17, 0x65,+ 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,+ 0x6e, 0x74, 0x72, 0x6f, 0x6c, 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, 0xcb,+ 0x01, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,+ 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x62, 0x0a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,+ 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72,+ 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x03, 0xe0,+ 0x41, 0x02, 0x52, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73,+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x40, 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, 0x42, 0x03, 0xe0, 0x41, 0x02,+ 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x3e, 0x0a, 0x23,+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x98, 0x01, 0x0a,+ 0x2b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04,0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x5f, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49,- 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x6f,- 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x16, 0x45, 0x78, 0x74, 0x65, 0x72,- 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,- 0x6c, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69,- 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05,- 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,- 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,- 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0,- 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,- 0x1c, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x61, 0x70, 0x69, 0x55, 0x72, 0x6c, 0x12, 0x2a, 0x0a,- 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,- 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c,- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x65, 0x63,- 0x72, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x06,- 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, 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, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x49, 0x54,- 0x48, 0x55, 0x42, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x49,- 0x54, 0x4c, 0x41, 0x42, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42,- 0x49, 0x54, 0x42, 0x55, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x03, 0x22, 0xbf, 0x03, 0x0a, 0x11, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f,- 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,- 0xe0, 0x41, 0x03, 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,- 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07,- 0x77, 0x65, 0x62, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77,- 0x65, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f,- 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x72,- 0x61, 0x6e, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61,- 0x73, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,- 0x79, 0x12, 0x31, 0x0a, 0x12, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74,- 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,- 0x41, 0x02, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70,- 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70,- 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x12, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65,- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f,- 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65,- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,- 0x5f, 0x73, 0x71, 0x6c, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x69, 0x18, 0x0a,- 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x71, 0x6c, 0x52,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x69, 0x12, 0x33, 0x0a, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f,- 0x6f, 0x6b, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b,- 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x77, 0x65, 0x62, 0x68, 0x6f,- 0x6f, 0x6b, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x32, 0xcb, 0x0a, 0x0a,- 0x1d, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,- 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa4,- 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x2d, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78,- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,- 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,- 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,- 0x22, 0x33, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12,- 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f,+ 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,+ 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x28, 0x0a,+ 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,+ 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65,+ 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf3, 0x01, 0x0a, 0x2c, 0x53, 0x65, 0x61, 0x72,+ 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,+ 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45,+ 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,+ 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x1a, 0x64, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,+ 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c,+ 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c,+ 0x70, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x5f, 0x75, 0x72, 0x6c, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x65, 0x62, 0x55, 0x72, 0x6c, 0x22, 0x37, 0x0a,+ 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f,+ 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x5f, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73,+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74,+ 0x6f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x16, 0x45, 0x78, 0x74, 0x65,+ 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72,+ 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x74,+ 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,+ 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,+ 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03,+ 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c,+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x6c,+ 0x12, 0x1c, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x61, 0x70, 0x69, 0x55, 0x72, 0x6c, 0x12, 0x2a,+ 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x70, 0x70,+ 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x65,+ 0x63, 0x72, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52,+ 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, 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, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x49,+ 0x54, 0x48, 0x55, 0x42, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47,+ 0x49, 0x54, 0x4c, 0x41, 0x42, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x59, 0x50, 0x45, 0x5f,+ 0x42, 0x49, 0x54, 0x42, 0x55, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x03, 0x22, 0x8f, 0x05, 0x0a, 0x11,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66,+ 0x6f, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,+ 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x76, 0x63,+ 0x73, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x63, 0x73,+ 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c,+ 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75,+ 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x5f, 0x75, 0x72,+ 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x65, 0x62, 0x55, 0x72, 0x6c, 0x12,+ 0x23, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x46, 0x69,+ 0x6c, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x69, 0x72,+ 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x61,+ 0x73, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x12, 0x66,+ 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,+ 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x66, 0x69,+ 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30,+ 0x0a, 0x14, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65,+ 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x63,+ 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,+ 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74,+ 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73,+ 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,+ 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18,+ 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49,+ 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x71, 0x6c, 0x5f,+ 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x69, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52,+ 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,+ 0x43, 0x69, 0x12, 0x33, 0x0a, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x65, 0x6e,+ 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42,+ 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x6e, 0x64,+ 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73,+ 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,+ 0x41, 0x04, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,+ 0x42, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,+ 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,+ 0x70, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x54,+ 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74,+ 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52,+ 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xcb, 0x0a,+ 0x0a, 0x1d, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,+ 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,+ 0xa4, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x2d, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45,+ 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,+ 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72,0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,- 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78,- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,- 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x2f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x6c, 0x22, 0x33, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26,+ 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65,+ 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72,+ 0x6f, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45,+ 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,+ 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0x2f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,- 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73,- 0x12, 0xb7, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72,- 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,- 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,- 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x40, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x37, 0x3a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x1b, 0x2f,- 0x76, 0x31, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,- 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0xfe, 0x01, 0x0a, 0x1c, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72,- 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43,- 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,+ 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xda, 0x41, 0x00, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,+ 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,+ 0x73, 0x12, 0xb7, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65,0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72,- 0x6f, 0x6c, 0x22, 0x86, 0x01, 0xda, 0x41, 0x24, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,- 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93,- 0x02, 0x59, 0x3a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x72,- 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x32, 0x3d, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73,- 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6e, 0x61, 0x6d, 0x65,- 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,- 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x96, 0x01, 0x0a, 0x1c,- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,+ 0x6f, 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,+ 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x40, 0xda, 0x41, 0x00, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x1b,+ 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73,+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x12, 0xfe, 0x01, 0x0a, 0x1c,+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65,0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x30, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,- 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 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, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x2a, 0x24,+ 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74,+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74,+ 0x72, 0x6f, 0x6c, 0x22, 0x86, 0x01, 0xda, 0x41, 0x24, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,+ 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,+ 0x6c, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x59, 0x3a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65,+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x32, 0x3d, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x72,+ 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6e, 0x61, 0x6d,+ 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,+ 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x96, 0x01, 0x0a,+ 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x30, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,+ 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,+ 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 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, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x2a,+ 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72,+ 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,+ 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xdb, 0x01, 0x0a, 0x24, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,+ 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43,+ 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x38,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,+ 0x72, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,+ 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45, 0x78, 0x74,+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74,+ 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x01, 0x2a, 0x22, 0x33,0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,- 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xdb, 0x01, 0x0a, 0x24, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45,- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,- 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x38, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72,- 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,- 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65,- 0x72, 0x6e, 0x61, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72,- 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x01, 0x2a, 0x22, 0x33, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,- 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73,- 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x12, 0xa5, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x56,- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 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,+ 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x12, 0xa5, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66,+ 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x73, 0x2f,+ 0x2a, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 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 (@@ -1197,7 +1255,8 @@ var file_v1_externalvs_service_proto_goTypes = []interface{}{(*ProjectGitOpsInfo)(nil), // 12: bytebase.v1.ProjectGitOpsInfo(*SearchExternalVersionControlProjectsResponse_Project)(nil), // 13: bytebase.v1.SearchExternalVersionControlProjectsResponse.Project(*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask- (*emptypb.Empty)(nil), // 15: google.protobuf.Empty+ (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp+ (*emptypb.Empty)(nil), // 16: google.protobuf.Empty}var file_v1_externalvs_service_proto_depIdxs = []int32{11, // 0: bytebase.v1.CreateExternalVersionControlRequest.external_version_control:type_name -> bytebase.v1.ExternalVersionControl@@ -1207,25 +1266,26 @@ var file_v1_externalvs_service_proto_depIdxs = []int32{13, // 4: bytebase.v1.SearchExternalVersionControlProjectsResponse.projects:type_name -> bytebase.v1.SearchExternalVersionControlProjectsResponse.Project12, // 5: bytebase.v1.ListProjectGitOpsInfoResponse.project_gitops_info:type_name -> bytebase.v1.ProjectGitOpsInfo0, // 6: bytebase.v1.ExternalVersionControl.type:type_name -> bytebase.v1.ExternalVersionControl.Type- 2, // 7: bytebase.v1.ExternalVersionControlService.GetExternalVersionControl:input_type -> bytebase.v1.GetExternalVersionControlRequest- 3, // 8: bytebase.v1.ExternalVersionControlService.ListExternalVersionControls:input_type -> bytebase.v1.ListExternalVersionControlsRequest- 1, // 9: bytebase.v1.ExternalVersionControlService.CreateExternalVersionControl:input_type -> bytebase.v1.CreateExternalVersionControlRequest- 5, // 10: bytebase.v1.ExternalVersionControlService.UpdateExternalVersionControl:input_type -> bytebase.v1.UpdateExternalVersionControlRequest- 6, // 11: bytebase.v1.ExternalVersionControlService.DeleteExternalVersionControl:input_type -> bytebase.v1.DeleteExternalVersionControlRequest- 7, // 12: bytebase.v1.ExternalVersionControlService.SearchExternalVersionControlProjects:input_type -> bytebase.v1.SearchExternalVersionControlProjectsRequest- 9, // 13: bytebase.v1.ExternalVersionControlService.ListProjectGitOpsInfo:input_type -> bytebase.v1.ListProjectGitOpsInfoRequest- 11, // 14: bytebase.v1.ExternalVersionControlService.GetExternalVersionControl:output_type -> bytebase.v1.ExternalVersionControl- 4, // 15: bytebase.v1.ExternalVersionControlService.ListExternalVersionControls:output_type -> bytebase.v1.ListExternalVersionControlsResponse- 11, // 16: bytebase.v1.ExternalVersionControlService.CreateExternalVersionControl:output_type -> bytebase.v1.ExternalVersionControl- 11, // 17: bytebase.v1.ExternalVersionControlService.UpdateExternalVersionControl:output_type -> bytebase.v1.ExternalVersionControl- 15, // 18: bytebase.v1.ExternalVersionControlService.DeleteExternalVersionControl:output_type -> google.protobuf.Empty- 8, // 19: bytebase.v1.ExternalVersionControlService.SearchExternalVersionControlProjects:output_type -> bytebase.v1.SearchExternalVersionControlProjectsResponse- 10, // 20: bytebase.v1.ExternalVersionControlService.ListProjectGitOpsInfo:output_type -> bytebase.v1.ListProjectGitOpsInfoResponse- 14, // [14:21] is the sub-list for method output_type- 7, // [7:14] is the sub-list for method input_type- 7, // [7:7] is the sub-list for extension type_name- 7, // [7:7] is the sub-list for extension extendee- 0, // [0:7] is the sub-list for field type_name+ 15, // 7: bytebase.v1.ProjectGitOpsInfo.expires_time:type_name -> google.protobuf.Timestamp+ 2, // 8: bytebase.v1.ExternalVersionControlService.GetExternalVersionControl:input_type -> bytebase.v1.GetExternalVersionControlRequest+ 3, // 9: bytebase.v1.ExternalVersionControlService.ListExternalVersionControls:input_type -> bytebase.v1.ListExternalVersionControlsRequest+ 1, // 10: bytebase.v1.ExternalVersionControlService.CreateExternalVersionControl:input_type -> bytebase.v1.CreateExternalVersionControlRequest+ 5, // 11: bytebase.v1.ExternalVersionControlService.UpdateExternalVersionControl:input_type -> bytebase.v1.UpdateExternalVersionControlRequest+ 6, // 12: bytebase.v1.ExternalVersionControlService.DeleteExternalVersionControl:input_type -> bytebase.v1.DeleteExternalVersionControlRequest+ 7, // 13: bytebase.v1.ExternalVersionControlService.SearchExternalVersionControlProjects:input_type -> bytebase.v1.SearchExternalVersionControlProjectsRequest+ 9, // 14: bytebase.v1.ExternalVersionControlService.ListProjectGitOpsInfo:input_type -> bytebase.v1.ListProjectGitOpsInfoRequest+ 11, // 15: bytebase.v1.ExternalVersionControlService.GetExternalVersionControl:output_type -> bytebase.v1.ExternalVersionControl+ 4, // 16: bytebase.v1.ExternalVersionControlService.ListExternalVersionControls:output_type -> bytebase.v1.ListExternalVersionControlsResponse+ 11, // 17: bytebase.v1.ExternalVersionControlService.CreateExternalVersionControl:output_type -> bytebase.v1.ExternalVersionControl+ 11, // 18: bytebase.v1.ExternalVersionControlService.UpdateExternalVersionControl:output_type -> bytebase.v1.ExternalVersionControl+ 16, // 19: bytebase.v1.ExternalVersionControlService.DeleteExternalVersionControl:output_type -> google.protobuf.Empty+ 8, // 20: bytebase.v1.ExternalVersionControlService.SearchExternalVersionControlProjects:output_type -> bytebase.v1.SearchExternalVersionControlProjectsResponse+ 10, // 21: bytebase.v1.ExternalVersionControlService.ListProjectGitOpsInfo:output_type -> bytebase.v1.ListProjectGitOpsInfoResponse+ 15, // [15:22] is the sub-list for method output_type+ 8, // [8:15] is the sub-list for method input_type+ 8, // [8:8] is the sub-list for extension type_name+ 8, // [8:8] is the sub-list for extension extendee+ 0, // [0:8] is the sub-list for field type_name}func init() { file_v1_externalvs_service_proto_init() }diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.goindex d755591925..35e32ebf17 100644--- a/proto/generated-go/v1/project_service.pb.go+++ b/proto/generated-go/v1/project_service.pb.go@@ -488,7 +488,7 @@ func (x Webhook_Type) Number() protoreflect.EnumNumber {// Deprecated: Use Webhook_Type.Descriptor instead.func (Webhook_Type) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{27, 0}+ return file_v1_project_service_proto_rawDescGZIP(), []int{28, 0}}type Activity_Type int32@@ -619,7 +619,7 @@ func (x Activity_Type) Number() protoreflect.EnumNumber {// Deprecated: Use Activity_Type.Descriptor instead.func (Activity_Type) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{34, 0}+ return file_v1_project_service_proto_rawDescGZIP(), []int{35, 0}}type GetProjectRequest struct {@@ -1542,6 +1542,55 @@ func (x *SetProjectGitOpsInfoRequest) GetAllowMissing() bool {return false}+type DeleteProjectGitOpsInfoRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the project.+ // Format: projects/{project}+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`+}++func (x *DeleteProjectGitOpsInfoRequest) Reset() {+ *x = DeleteProjectGitOpsInfoRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[16]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *DeleteProjectGitOpsInfoRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*DeleteProjectGitOpsInfoRequest) ProtoMessage() {}++func (x *DeleteProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[16]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use DeleteProjectGitOpsInfoRequest.ProtoReflect.Descriptor instead.+func (*DeleteProjectGitOpsInfoRequest) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{16}+}++func (x *DeleteProjectGitOpsInfoRequest) GetProject() string {+ if x != nil {+ return x.Project+ }+ return ""+}+type GetProjectGitOpsInfoRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1555,7 +1604,7 @@ type GetProjectGitOpsInfoRequest struct {func (x *GetProjectGitOpsInfoRequest) Reset() {*x = GetProjectGitOpsInfoRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[16]+ mi := &file_v1_project_service_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1568,7 +1617,7 @@ func (x *GetProjectGitOpsInfoRequest) String() string {func (*GetProjectGitOpsInfoRequest) ProtoMessage() {}func (x *GetProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[16]+ mi := &file_v1_project_service_proto_msgTypes[17]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1581,7 +1630,7 @@ func (x *GetProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetProjectGitOpsInfoRequest.ProtoReflect.Descriptor instead.func (*GetProjectGitOpsInfoRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{16}+ return file_v1_project_service_proto_rawDescGZIP(), []int{17}}func (x *GetProjectGitOpsInfoRequest) GetProject() string {@@ -1598,14 +1647,13 @@ type SetupSQLReviewCIRequest struct {// The name of the project.// Format: projects/{project}- Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`- EnableSqlReviewCi bool `protobuf:"varint,2,opt,name=enable_sql_review_ci,json=enableSqlReviewCi,proto3" json:"enable_sql_review_ci,omitempty"`+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`}func (x *SetupSQLReviewCIRequest) Reset() {*x = SetupSQLReviewCIRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[17]+ mi := &file_v1_project_service_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1618,7 +1666,7 @@ func (x *SetupSQLReviewCIRequest) String() string {func (*SetupSQLReviewCIRequest) ProtoMessage() {}func (x *SetupSQLReviewCIRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[17]+ mi := &file_v1_project_service_proto_msgTypes[18]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1631,7 +1679,7 @@ func (x *SetupSQLReviewCIRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use SetupSQLReviewCIRequest.ProtoReflect.Descriptor instead.func (*SetupSQLReviewCIRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{17}+ return file_v1_project_service_proto_rawDescGZIP(), []int{18}}func (x *SetupSQLReviewCIRequest) GetProject() string {@@ -1641,13 +1689,6 @@ func (x *SetupSQLReviewCIRequest) GetProject() string {return ""}-func (x *SetupSQLReviewCIRequest) GetEnableSqlReviewCi() bool {- if x != nil {- return x.EnableSqlReviewCi- }- return false-}-type SetupSQLReviewCIResponse struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1660,7 +1701,7 @@ type SetupSQLReviewCIResponse struct {func (x *SetupSQLReviewCIResponse) Reset() {*x = SetupSQLReviewCIResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[18]+ mi := &file_v1_project_service_proto_msgTypes[19]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1673,7 +1714,7 @@ func (x *SetupSQLReviewCIResponse) String() string {func (*SetupSQLReviewCIResponse) ProtoMessage() {}func (x *SetupSQLReviewCIResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[18]+ mi := &file_v1_project_service_proto_msgTypes[19]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1686,7 +1727,7 @@ func (x *SetupSQLReviewCIResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use SetupSQLReviewCIResponse.ProtoReflect.Descriptor instead.func (*SetupSQLReviewCIResponse) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{18}+ return file_v1_project_service_proto_rawDescGZIP(), []int{19}}func (x *SetupSQLReviewCIResponse) GetPullRequestUrl() string {@@ -1723,7 +1764,7 @@ type Project struct {func (x *Project) Reset() {*x = Project{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[19]+ mi := &file_v1_project_service_proto_msgTypes[20]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1736,7 +1777,7 @@ func (x *Project) String() string {func (*Project) ProtoMessage() {}func (x *Project) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[19]+ mi := &file_v1_project_service_proto_msgTypes[20]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1749,7 +1790,7 @@ func (x *Project) ProtoReflect() protoreflect.Message {// Deprecated: Use Project.ProtoReflect.Descriptor instead.func (*Project) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{19}+ return file_v1_project_service_proto_rawDescGZIP(), []int{20}}func (x *Project) GetName() string {@@ -1849,7 +1890,7 @@ type IamPolicy struct {func (x *IamPolicy) Reset() {*x = IamPolicy{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[20]+ mi := &file_v1_project_service_proto_msgTypes[21]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1862,7 +1903,7 @@ func (x *IamPolicy) String() string {func (*IamPolicy) ProtoMessage() {}func (x *IamPolicy) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[20]+ mi := &file_v1_project_service_proto_msgTypes[21]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1875,7 +1916,7 @@ func (x *IamPolicy) ProtoReflect() protoreflect.Message {// Deprecated: Use IamPolicy.ProtoReflect.Descriptor instead.func (*IamPolicy) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{20}+ return file_v1_project_service_proto_rawDescGZIP(), []int{21}}func (x *IamPolicy) GetBindings() []*Binding {@@ -1908,7 +1949,7 @@ type Binding struct {func (x *Binding) Reset() {*x = Binding{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[21]+ mi := &file_v1_project_service_proto_msgTypes[22]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1921,7 +1962,7 @@ func (x *Binding) String() string {func (*Binding) ProtoMessage() {}func (x *Binding) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[21]+ mi := &file_v1_project_service_proto_msgTypes[22]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1934,7 +1975,7 @@ func (x *Binding) ProtoReflect() protoreflect.Message {// Deprecated: Use Binding.ProtoReflect.Descriptor instead.func (*Binding) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{21}+ return file_v1_project_service_proto_rawDescGZIP(), []int{22}}func (x *Binding) GetRole() string {@@ -1973,7 +2014,7 @@ type AddWebhookRequest struct {func (x *AddWebhookRequest) Reset() {*x = AddWebhookRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[22]+ mi := &file_v1_project_service_proto_msgTypes[23]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1986,7 +2027,7 @@ func (x *AddWebhookRequest) String() string {func (*AddWebhookRequest) ProtoMessage() {}func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[22]+ mi := &file_v1_project_service_proto_msgTypes[23]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1999,7 +2040,7 @@ func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use AddWebhookRequest.ProtoReflect.Descriptor instead.func (*AddWebhookRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{22}+ return file_v1_project_service_proto_rawDescGZIP(), []int{23}}func (x *AddWebhookRequest) GetProject() string {@@ -2030,7 +2071,7 @@ type UpdateWebhookRequest struct {func (x *UpdateWebhookRequest) Reset() {*x = UpdateWebhookRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[23]+ mi := &file_v1_project_service_proto_msgTypes[24]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2043,7 +2084,7 @@ func (x *UpdateWebhookRequest) String() string {func (*UpdateWebhookRequest) ProtoMessage() {}func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[23]+ mi := &file_v1_project_service_proto_msgTypes[24]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2056,7 +2097,7 @@ func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.func (*UpdateWebhookRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{23}+ return file_v1_project_service_proto_rawDescGZIP(), []int{24}}func (x *UpdateWebhookRequest) GetWebhook() *Webhook {@@ -2085,7 +2126,7 @@ type RemoveWebhookRequest struct {func (x *RemoveWebhookRequest) Reset() {*x = RemoveWebhookRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[24]+ mi := &file_v1_project_service_proto_msgTypes[25]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2098,7 +2139,7 @@ func (x *RemoveWebhookRequest) String() string {func (*RemoveWebhookRequest) ProtoMessage() {}func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[24]+ mi := &file_v1_project_service_proto_msgTypes[25]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2111,7 +2152,7 @@ func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use RemoveWebhookRequest.ProtoReflect.Descriptor instead.func (*RemoveWebhookRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{24}+ return file_v1_project_service_proto_rawDescGZIP(), []int{25}}func (x *RemoveWebhookRequest) GetWebhook() *Webhook {@@ -2136,7 +2177,7 @@ type TestWebhookRequest struct {func (x *TestWebhookRequest) Reset() {*x = TestWebhookRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[25]+ mi := &file_v1_project_service_proto_msgTypes[26]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2149,7 +2190,7 @@ func (x *TestWebhookRequest) String() string {func (*TestWebhookRequest) ProtoMessage() {}func (x *TestWebhookRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[25]+ mi := &file_v1_project_service_proto_msgTypes[26]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2162,7 +2203,7 @@ func (x *TestWebhookRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use TestWebhookRequest.ProtoReflect.Descriptor instead.func (*TestWebhookRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{25}+ return file_v1_project_service_proto_rawDescGZIP(), []int{26}}func (x *TestWebhookRequest) GetProject() string {@@ -2191,7 +2232,7 @@ type TestWebhookResponse struct {func (x *TestWebhookResponse) Reset() {*x = TestWebhookResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[26]+ mi := &file_v1_project_service_proto_msgTypes[27]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2204,7 +2245,7 @@ func (x *TestWebhookResponse) String() string {func (*TestWebhookResponse) ProtoMessage() {}func (x *TestWebhookResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[26]+ mi := &file_v1_project_service_proto_msgTypes[27]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2217,7 +2258,7 @@ func (x *TestWebhookResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use TestWebhookResponse.ProtoReflect.Descriptor instead.func (*TestWebhookResponse) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{26}+ return file_v1_project_service_proto_rawDescGZIP(), []int{27}}func (x *TestWebhookResponse) GetError() string {@@ -2256,7 +2297,7 @@ type Webhook struct {func (x *Webhook) Reset() {*x = Webhook{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[27]+ mi := &file_v1_project_service_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2269,7 +2310,7 @@ func (x *Webhook) String() string {func (*Webhook) ProtoMessage() {}func (x *Webhook) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[27]+ mi := &file_v1_project_service_proto_msgTypes[28]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2282,7 +2323,7 @@ func (x *Webhook) ProtoReflect() protoreflect.Message {// Deprecated: Use Webhook.ProtoReflect.Descriptor instead.func (*Webhook) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{27}+ return file_v1_project_service_proto_rawDescGZIP(), []int{28}}func (x *Webhook) GetName() string {@@ -2336,7 +2377,7 @@ type DeploymentConfig struct {func (x *DeploymentConfig) Reset() {*x = DeploymentConfig{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[28]+ mi := &file_v1_project_service_proto_msgTypes[29]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2349,7 +2390,7 @@ func (x *DeploymentConfig) String() string {func (*DeploymentConfig) ProtoMessage() {}func (x *DeploymentConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[28]+ mi := &file_v1_project_service_proto_msgTypes[29]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2362,7 +2403,7 @@ func (x *DeploymentConfig) ProtoReflect() protoreflect.Message {// Deprecated: Use DeploymentConfig.ProtoReflect.Descriptor instead.func (*DeploymentConfig) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{28}+ return file_v1_project_service_proto_rawDescGZIP(), []int{29}}func (x *DeploymentConfig) GetName() string {@@ -2397,7 +2438,7 @@ type Schedule struct {func (x *Schedule) Reset() {*x = Schedule{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[29]+ mi := &file_v1_project_service_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2410,7 +2451,7 @@ func (x *Schedule) String() string {func (*Schedule) ProtoMessage() {}func (x *Schedule) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[29]+ mi := &file_v1_project_service_proto_msgTypes[30]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2423,7 +2464,7 @@ func (x *Schedule) ProtoReflect() protoreflect.Message {// Deprecated: Use Schedule.ProtoReflect.Descriptor instead.func (*Schedule) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{29}+ return file_v1_project_service_proto_rawDescGZIP(), []int{30}}func (x *Schedule) GetDeployments() []*ScheduleDeployment {@@ -2446,7 +2487,7 @@ type ScheduleDeployment struct {func (x *ScheduleDeployment) Reset() {*x = ScheduleDeployment{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[30]+ mi := &file_v1_project_service_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2459,7 +2500,7 @@ func (x *ScheduleDeployment) String() string {func (*ScheduleDeployment) ProtoMessage() {}func (x *ScheduleDeployment) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[30]+ mi := &file_v1_project_service_proto_msgTypes[31]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2472,7 +2513,7 @@ func (x *ScheduleDeployment) ProtoReflect() protoreflect.Message {// Deprecated: Use ScheduleDeployment.ProtoReflect.Descriptor instead.func (*ScheduleDeployment) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{30}+ return file_v1_project_service_proto_rawDescGZIP(), []int{31}}func (x *ScheduleDeployment) GetTitle() string {@@ -2500,7 +2541,7 @@ type DeploymentSpec struct {func (x *DeploymentSpec) Reset() {*x = DeploymentSpec{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[31]+ mi := &file_v1_project_service_proto_msgTypes[32]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2513,7 +2554,7 @@ func (x *DeploymentSpec) String() string {func (*DeploymentSpec) ProtoMessage() {}func (x *DeploymentSpec) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[31]+ mi := &file_v1_project_service_proto_msgTypes[32]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2526,7 +2567,7 @@ func (x *DeploymentSpec) ProtoReflect() protoreflect.Message {// Deprecated: Use DeploymentSpec.ProtoReflect.Descriptor instead.func (*DeploymentSpec) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{31}+ return file_v1_project_service_proto_rawDescGZIP(), []int{32}}func (x *DeploymentSpec) GetLabelSelector() *LabelSelector {@@ -2547,7 +2588,7 @@ type LabelSelector struct {func (x *LabelSelector) Reset() {*x = LabelSelector{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[32]+ mi := &file_v1_project_service_proto_msgTypes[33]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2560,7 +2601,7 @@ func (x *LabelSelector) String() string {func (*LabelSelector) ProtoMessage() {}func (x *LabelSelector) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[32]+ mi := &file_v1_project_service_proto_msgTypes[33]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2573,7 +2614,7 @@ func (x *LabelSelector) ProtoReflect() protoreflect.Message {// Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.func (*LabelSelector) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{32}+ return file_v1_project_service_proto_rawDescGZIP(), []int{33}}func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement {@@ -2596,7 +2637,7 @@ type LabelSelectorRequirement struct {func (x *LabelSelectorRequirement) Reset() {*x = LabelSelectorRequirement{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[33]+ mi := &file_v1_project_service_proto_msgTypes[34]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2609,7 +2650,7 @@ func (x *LabelSelectorRequirement) String() string {func (*LabelSelectorRequirement) ProtoMessage() {}func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[33]+ mi := &file_v1_project_service_proto_msgTypes[34]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2622,7 +2663,7 @@ func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message {// Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{33}+ return file_v1_project_service_proto_rawDescGZIP(), []int{34}}func (x *LabelSelectorRequirement) GetKey() string {@@ -2656,7 +2697,7 @@ type Activity struct {func (x *Activity) Reset() {*x = Activity{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[34]+ mi := &file_v1_project_service_proto_msgTypes[35]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2669,7 +2710,7 @@ func (x *Activity) String() string {func (*Activity) ProtoMessage() {}func (x *Activity) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[34]+ mi := &file_v1_project_service_proto_msgTypes[35]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2682,7 +2723,7 @@ func (x *Activity) ProtoReflect() protoreflect.Message {// Deprecated: Use Activity.ProtoReflect.Descriptor instead.func (*Activity) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{34}+ return file_v1_project_service_proto_rawDescGZIP(), []int{35}}type ListDatabaseGroupsRequest struct {@@ -2710,7 +2751,7 @@ type ListDatabaseGroupsRequest struct {func (x *ListDatabaseGroupsRequest) Reset() {*x = ListDatabaseGroupsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[35]+ mi := &file_v1_project_service_proto_msgTypes[36]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2723,7 +2764,7 @@ func (x *ListDatabaseGroupsRequest) String() string {func (*ListDatabaseGroupsRequest) ProtoMessage() {}func (x *ListDatabaseGroupsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[35]+ mi := &file_v1_project_service_proto_msgTypes[36]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2736,7 +2777,7 @@ func (x *ListDatabaseGroupsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListDatabaseGroupsRequest.ProtoReflect.Descriptor instead.func (*ListDatabaseGroupsRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{35}+ return file_v1_project_service_proto_rawDescGZIP(), []int{36}}func (x *ListDatabaseGroupsRequest) GetParent() string {@@ -2775,7 +2816,7 @@ type ListDatabaseGroupsResponse struct {func (x *ListDatabaseGroupsResponse) Reset() {*x = ListDatabaseGroupsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[36]+ mi := &file_v1_project_service_proto_msgTypes[37]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2788,7 +2829,7 @@ func (x *ListDatabaseGroupsResponse) String() string {func (*ListDatabaseGroupsResponse) ProtoMessage() {}func (x *ListDatabaseGroupsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[36]+ mi := &file_v1_project_service_proto_msgTypes[37]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2801,7 +2842,7 @@ func (x *ListDatabaseGroupsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListDatabaseGroupsResponse.ProtoReflect.Descriptor instead.func (*ListDatabaseGroupsResponse) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{36}+ return file_v1_project_service_proto_rawDescGZIP(), []int{37}}func (x *ListDatabaseGroupsResponse) GetDatabaseGroups() []*DatabaseGroup {@@ -2833,7 +2874,7 @@ type GetDatabaseGroupRequest struct {func (x *GetDatabaseGroupRequest) Reset() {*x = GetDatabaseGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[37]+ mi := &file_v1_project_service_proto_msgTypes[38]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2846,7 +2887,7 @@ func (x *GetDatabaseGroupRequest) String() string {func (*GetDatabaseGroupRequest) ProtoMessage() {}func (x *GetDatabaseGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[37]+ mi := &file_v1_project_service_proto_msgTypes[38]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2859,7 +2900,7 @@ func (x *GetDatabaseGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetDatabaseGroupRequest.ProtoReflect.Descriptor instead.func (*GetDatabaseGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{37}+ return file_v1_project_service_proto_rawDescGZIP(), []int{38}}func (x *GetDatabaseGroupRequest) GetName() string {@@ -2899,7 +2940,7 @@ type CreateDatabaseGroupRequest struct {func (x *CreateDatabaseGroupRequest) Reset() {*x = CreateDatabaseGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[38]+ mi := &file_v1_project_service_proto_msgTypes[39]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2912,7 +2953,7 @@ func (x *CreateDatabaseGroupRequest) String() string {func (*CreateDatabaseGroupRequest) ProtoMessage() {}func (x *CreateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[38]+ mi := &file_v1_project_service_proto_msgTypes[39]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2925,7 +2966,7 @@ func (x *CreateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use CreateDatabaseGroupRequest.ProtoReflect.Descriptor instead.func (*CreateDatabaseGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{38}+ return file_v1_project_service_proto_rawDescGZIP(), []int{39}}func (x *CreateDatabaseGroupRequest) GetParent() string {@@ -2973,7 +3014,7 @@ type UpdateDatabaseGroupRequest struct {func (x *UpdateDatabaseGroupRequest) Reset() {*x = UpdateDatabaseGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[39]+ mi := &file_v1_project_service_proto_msgTypes[40]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2986,7 +3027,7 @@ func (x *UpdateDatabaseGroupRequest) String() string {func (*UpdateDatabaseGroupRequest) ProtoMessage() {}func (x *UpdateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[39]+ mi := &file_v1_project_service_proto_msgTypes[40]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2999,7 +3040,7 @@ func (x *UpdateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateDatabaseGroupRequest.ProtoReflect.Descriptor instead.func (*UpdateDatabaseGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{39}+ return file_v1_project_service_proto_rawDescGZIP(), []int{40}}func (x *UpdateDatabaseGroupRequest) GetDatabaseGroup() *DatabaseGroup {@@ -3029,7 +3070,7 @@ type DeleteDatabaseGroupRequest struct {func (x *DeleteDatabaseGroupRequest) Reset() {*x = DeleteDatabaseGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[40]+ mi := &file_v1_project_service_proto_msgTypes[41]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3042,7 +3083,7 @@ func (x *DeleteDatabaseGroupRequest) String() string {func (*DeleteDatabaseGroupRequest) ProtoMessage() {}func (x *DeleteDatabaseGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[40]+ mi := &file_v1_project_service_proto_msgTypes[41]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3055,7 +3096,7 @@ func (x *DeleteDatabaseGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteDatabaseGroupRequest.ProtoReflect.Descriptor instead.func (*DeleteDatabaseGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{40}+ return file_v1_project_service_proto_rawDescGZIP(), []int{41}}func (x *DeleteDatabaseGroupRequest) GetName() string {@@ -3087,7 +3128,7 @@ type DatabaseGroup struct {func (x *DatabaseGroup) Reset() {*x = DatabaseGroup{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[41]+ mi := &file_v1_project_service_proto_msgTypes[42]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3100,7 +3141,7 @@ func (x *DatabaseGroup) String() string {func (*DatabaseGroup) ProtoMessage() {}func (x *DatabaseGroup) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[41]+ mi := &file_v1_project_service_proto_msgTypes[42]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3113,7 +3154,7 @@ func (x *DatabaseGroup) ProtoReflect() protoreflect.Message {// Deprecated: Use DatabaseGroup.ProtoReflect.Descriptor instead.func (*DatabaseGroup) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{41}+ return file_v1_project_service_proto_rawDescGZIP(), []int{42}}func (x *DatabaseGroup) GetName() string {@@ -3174,7 +3215,7 @@ type CreateSchemaGroupRequest struct {func (x *CreateSchemaGroupRequest) Reset() {*x = CreateSchemaGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[42]+ mi := &file_v1_project_service_proto_msgTypes[43]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3187,7 +3228,7 @@ func (x *CreateSchemaGroupRequest) String() string {func (*CreateSchemaGroupRequest) ProtoMessage() {}func (x *CreateSchemaGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[42]+ mi := &file_v1_project_service_proto_msgTypes[43]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3200,7 +3241,7 @@ func (x *CreateSchemaGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use CreateSchemaGroupRequest.ProtoReflect.Descriptor instead.func (*CreateSchemaGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{42}+ return file_v1_project_service_proto_rawDescGZIP(), []int{43}}func (x *CreateSchemaGroupRequest) GetParent() string {@@ -3248,7 +3289,7 @@ type UpdateSchemaGroupRequest struct {func (x *UpdateSchemaGroupRequest) Reset() {*x = UpdateSchemaGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[43]+ mi := &file_v1_project_service_proto_msgTypes[44]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3261,7 +3302,7 @@ func (x *UpdateSchemaGroupRequest) String() string {func (*UpdateSchemaGroupRequest) ProtoMessage() {}func (x *UpdateSchemaGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[43]+ mi := &file_v1_project_service_proto_msgTypes[44]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3274,7 +3315,7 @@ func (x *UpdateSchemaGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateSchemaGroupRequest.ProtoReflect.Descriptor instead.func (*UpdateSchemaGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{43}+ return file_v1_project_service_proto_rawDescGZIP(), []int{44}}func (x *UpdateSchemaGroupRequest) GetSchemaGroup() *SchemaGroup {@@ -3304,7 +3345,7 @@ type DeleteSchemaGroupRequest struct {func (x *DeleteSchemaGroupRequest) Reset() {*x = DeleteSchemaGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[44]+ mi := &file_v1_project_service_proto_msgTypes[45]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3317,7 +3358,7 @@ func (x *DeleteSchemaGroupRequest) String() string {func (*DeleteSchemaGroupRequest) ProtoMessage() {}func (x *DeleteSchemaGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[44]+ mi := &file_v1_project_service_proto_msgTypes[45]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3330,7 +3371,7 @@ func (x *DeleteSchemaGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteSchemaGroupRequest.ProtoReflect.Descriptor instead.func (*DeleteSchemaGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{44}+ return file_v1_project_service_proto_rawDescGZIP(), []int{45}}func (x *DeleteSchemaGroupRequest) GetName() string {@@ -3364,7 +3405,7 @@ type ListSchemaGroupsRequest struct {func (x *ListSchemaGroupsRequest) Reset() {*x = ListSchemaGroupsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[45]+ mi := &file_v1_project_service_proto_msgTypes[46]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3377,7 +3418,7 @@ func (x *ListSchemaGroupsRequest) String() string {func (*ListSchemaGroupsRequest) ProtoMessage() {}func (x *ListSchemaGroupsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[45]+ mi := &file_v1_project_service_proto_msgTypes[46]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3390,7 +3431,7 @@ func (x *ListSchemaGroupsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListSchemaGroupsRequest.ProtoReflect.Descriptor instead.func (*ListSchemaGroupsRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{45}+ return file_v1_project_service_proto_rawDescGZIP(), []int{46}}func (x *ListSchemaGroupsRequest) GetParent() string {@@ -3429,7 +3470,7 @@ type ListSchemaGroupsResponse struct {func (x *ListSchemaGroupsResponse) Reset() {*x = ListSchemaGroupsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[46]+ mi := &file_v1_project_service_proto_msgTypes[47]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3442,7 +3483,7 @@ func (x *ListSchemaGroupsResponse) String() string {func (*ListSchemaGroupsResponse) ProtoMessage() {}func (x *ListSchemaGroupsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[46]+ mi := &file_v1_project_service_proto_msgTypes[47]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3455,7 +3496,7 @@ func (x *ListSchemaGroupsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListSchemaGroupsResponse.ProtoReflect.Descriptor instead.func (*ListSchemaGroupsResponse) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{46}+ return file_v1_project_service_proto_rawDescGZIP(), []int{47}}func (x *ListSchemaGroupsResponse) GetSchemaGroups() []*SchemaGroup {@@ -3487,7 +3528,7 @@ type GetSchemaGroupRequest struct {func (x *GetSchemaGroupRequest) Reset() {*x = GetSchemaGroupRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[47]+ mi := &file_v1_project_service_proto_msgTypes[48]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3500,7 +3541,7 @@ func (x *GetSchemaGroupRequest) String() string {func (*GetSchemaGroupRequest) ProtoMessage() {}func (x *GetSchemaGroupRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[47]+ mi := &file_v1_project_service_proto_msgTypes[48]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3513,7 +3554,7 @@ func (x *GetSchemaGroupRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetSchemaGroupRequest.ProtoReflect.Descriptor instead.func (*GetSchemaGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{47}+ return file_v1_project_service_proto_rawDescGZIP(), []int{48}}func (x *GetSchemaGroupRequest) GetName() string {@@ -3553,7 +3594,7 @@ type SchemaGroup struct {func (x *SchemaGroup) Reset() {*x = SchemaGroup{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[48]+ mi := &file_v1_project_service_proto_msgTypes[49]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3566,7 +3607,7 @@ func (x *SchemaGroup) String() string {func (*SchemaGroup) ProtoMessage() {}func (x *SchemaGroup) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[48]+ mi := &file_v1_project_service_proto_msgTypes[49]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3579,7 +3620,7 @@ func (x *SchemaGroup) ProtoReflect() protoreflect.Message {// Deprecated: Use SchemaGroup.ProtoReflect.Descriptor instead.func (*SchemaGroup) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{48}+ return file_v1_project_service_proto_rawDescGZIP(), []int{49}}func (x *SchemaGroup) GetName() string {@@ -3629,7 +3670,7 @@ type BatchGetIamPolicyResponse_PolicyResult struct {func (x *BatchGetIamPolicyResponse_PolicyResult) Reset() {*x = BatchGetIamPolicyResponse_PolicyResult{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[49]+ mi := &file_v1_project_service_proto_msgTypes[50]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3642,7 +3683,7 @@ func (x *BatchGetIamPolicyResponse_PolicyResult) String() string {func (*BatchGetIamPolicyResponse_PolicyResult) ProtoMessage() {}func (x *BatchGetIamPolicyResponse_PolicyResult) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[49]+ mi := &file_v1_project_service_proto_msgTypes[50]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3685,7 +3726,7 @@ type DatabaseGroup_Database struct {func (x *DatabaseGroup_Database) Reset() {*x = DatabaseGroup_Database{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[50]+ mi := &file_v1_project_service_proto_msgTypes[51]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3698,7 +3739,7 @@ func (x *DatabaseGroup_Database) String() string {func (*DatabaseGroup_Database) ProtoMessage() {}func (x *DatabaseGroup_Database) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[50]+ mi := &file_v1_project_service_proto_msgTypes[51]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3711,7 +3752,7 @@ func (x *DatabaseGroup_Database) ProtoReflect() protoreflect.Message {// Deprecated: Use DatabaseGroup_Database.ProtoReflect.Descriptor instead.func (*DatabaseGroup_Database) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{41, 0}+ return file_v1_project_service_proto_rawDescGZIP(), []int{42, 0}}func (x *DatabaseGroup_Database) GetName() string {@@ -3739,7 +3780,7 @@ type SchemaGroup_Table struct {func (x *SchemaGroup_Table) Reset() {*x = SchemaGroup_Table{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[51]+ mi := &file_v1_project_service_proto_msgTypes[52]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3752,7 +3793,7 @@ func (x *SchemaGroup_Table) String() string {func (*SchemaGroup_Table) ProtoMessage() {}func (x *SchemaGroup_Table) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[51]+ mi := &file_v1_project_service_proto_msgTypes[52]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3765,7 +3806,7 @@ func (x *SchemaGroup_Table) ProtoReflect() protoreflect.Message {// Deprecated: Use SchemaGroup_Table.ProtoReflect.Descriptor instead.func (*SchemaGroup_Table) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{48, 0}+ return file_v1_project_service_proto_rawDescGZIP(), []int{49, 0}}func (x *SchemaGroup_Table) GetDatabase() string {@@ -3915,18 +3956,19 @@ var file_v1_project_service_proto_rawDesc = []byte{0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73,0x73, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f,- 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x3c, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x69, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53,- 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x12, 0x2f, 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x71, 0x6c, 0x5f, 0x72,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11,- 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43,- 0x69, 0x22, 0x44, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76,+ 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x3f, 0x0a, 0x1e, 0x44, 0x65, 0x6c, 0x65,+ 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49,+ 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,+ 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x3c, 0x0a, 0x1b, 0x47, 0x65, 0x74,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66,+ 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x38, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x75, 0x70,+ 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x22, 0x44, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76,0x69, 0x65, 0x77, 0x43, 0x49, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a,0x10, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71,@@ -4295,8 +4337,8 @@ var file_v1_project_service_proto_rawDesc = []byte{0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f,0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43,0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x47, 0x52, 0x4f,- 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0x9c,- 0x21, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,+ 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xb3,+ 0x22, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,0x65, 0x12, 0x68, 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,@@ -4436,134 +4478,143 @@ var file_v1_project_service_proto_rawDesc = []byte{0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01,0x2a, 0x1a, 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, 0x2f, 0x67, 0x69, 0x74, 0x4f,- 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0xa5, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49,- 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,- 0x65, 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x43, 0x49, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x32, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x7d, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x3a, 0x73, 0x65,- 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x12, 0x8d,- 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74,- 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x92, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e,+ 0x66, 0x6f, 0x12, 0x2b, 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, 0x47, 0x69,+ 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 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, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x2a, 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,+ 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0xa7, 0x01, 0x0a, 0x17,+ 0x53, 0x65, 0x74, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x51, 0x4c, 0x52,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x75,+ 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x49, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x32,+ 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73,+ 0x49, 0x6e, 0x66, 0x6f, 0x3a, 0x73, 0x65, 0x74, 0x75, 0x70, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x43, 0x49, 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66,- 0x6f, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 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, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x9e,- 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,- 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,- 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12,- 0x8b, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,- 0x72, 0x6f, 0x75, 0x70, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb1, 0x01,- 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x55, 0xda, 0x41, 0x14, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,- 0x73, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,+ 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69,+ 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25,+ 0x12, 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, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70,+ 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,+ 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0xda,+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x24, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x35, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb1, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,+ 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75,+ 0x70, 0x22, 0x55, 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38,+ 0x3a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70,+ 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,+ 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,+ 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x6a, 0xda, 0x41, 0x1a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,+ 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x3a, 0x0e, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x35, 0x2f, 0x76, 0x31, 0x2f,+ 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e,+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,+ 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61,0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x6a,- 0xda, 0x41, 0x1a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75,- 0x70, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x47, 0x3a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72,- 0x6f, 0x75, 0x70, 0x32, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x44,- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,- 0x72, 0x6f, 0x75, 0x70, 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, 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,- 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa7, 0x01, 0x0a, 0x10, 0x4c,- 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12,- 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0xda, 0x41,- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x73, 0x12, 0x94, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47,- 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x44, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb8, 0x01, 0x0a, 0x11,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75,- 0x70, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75,- 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x22, 0x62, 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x45, 0x3a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22,- 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xc9, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x25, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x73, 0xda,- 0x41, 0x18, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52,- 0x3a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x42,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75,- 0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,+ 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, 0x35, 0xda, 0x41, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,+ 0x7d, 0x12, 0xa7, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47,+ 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x46, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x94, 0x01, 0x0a, 0x0e,+ 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x22,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x44, 0xda, 0x41,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f,- 0x2a, 0x7d, 0x12, 0x98, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68,+ 0x2a, 0x7d, 0x12, 0xb8, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68,0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68,0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x44, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x2a, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63,- 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11, 0x5a,- 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31,- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63,+ 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x62, 0xda, 0x41, 0x14, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,+ 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,+ 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d,+ 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xc9, 0x01,+ 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47,+ 0x72, 0x6f, 0x75, 0x70, 0x22, 0x73, 0xda, 0x41, 0x18, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,+ 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52, 0x3a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x42, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x98, 0x01, 0x0a, 0x11, 0x44, 0x65,+ 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,+ 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,+ 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x44,+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x2a, 0x35, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75,+ 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70,+ 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,+ 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -4579,7 +4630,7 @@ func file_v1_project_service_proto_rawDescGZIP() []byte {}var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 10)-var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 52)+var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 53)var file_v1_project_service_proto_goTypes = []interface{}{(Workflow)(0), // 0: bytebase.v1.Workflow(Visibility)(0), // 1: bytebase.v1.Visibility@@ -4607,98 +4658,99 @@ var file_v1_project_service_proto_goTypes = []interface{}{(*GetDeploymentConfigRequest)(nil), // 23: bytebase.v1.GetDeploymentConfigRequest(*UpdateDeploymentConfigRequest)(nil), // 24: bytebase.v1.UpdateDeploymentConfigRequest(*SetProjectGitOpsInfoRequest)(nil), // 25: bytebase.v1.SetProjectGitOpsInfoRequest- (*GetProjectGitOpsInfoRequest)(nil), // 26: bytebase.v1.GetProjectGitOpsInfoRequest- (*SetupSQLReviewCIRequest)(nil), // 27: bytebase.v1.SetupSQLReviewCIRequest- (*SetupSQLReviewCIResponse)(nil), // 28: bytebase.v1.SetupSQLReviewCIResponse- (*Project)(nil), // 29: bytebase.v1.Project- (*IamPolicy)(nil), // 30: bytebase.v1.IamPolicy- (*Binding)(nil), // 31: bytebase.v1.Binding- (*AddWebhookRequest)(nil), // 32: bytebase.v1.AddWebhookRequest- (*UpdateWebhookRequest)(nil), // 33: bytebase.v1.UpdateWebhookRequest- (*RemoveWebhookRequest)(nil), // 34: bytebase.v1.RemoveWebhookRequest- (*TestWebhookRequest)(nil), // 35: bytebase.v1.TestWebhookRequest- (*TestWebhookResponse)(nil), // 36: bytebase.v1.TestWebhookResponse- (*Webhook)(nil), // 37: bytebase.v1.Webhook- (*DeploymentConfig)(nil), // 38: bytebase.v1.DeploymentConfig- (*Schedule)(nil), // 39: bytebase.v1.Schedule- (*ScheduleDeployment)(nil), // 40: bytebase.v1.ScheduleDeployment- (*DeploymentSpec)(nil), // 41: bytebase.v1.DeploymentSpec- (*LabelSelector)(nil), // 42: bytebase.v1.LabelSelector- (*LabelSelectorRequirement)(nil), // 43: bytebase.v1.LabelSelectorRequirement- (*Activity)(nil), // 44: bytebase.v1.Activity- (*ListDatabaseGroupsRequest)(nil), // 45: bytebase.v1.ListDatabaseGroupsRequest- (*ListDatabaseGroupsResponse)(nil), // 46: bytebase.v1.ListDatabaseGroupsResponse- (*GetDatabaseGroupRequest)(nil), // 47: bytebase.v1.GetDatabaseGroupRequest- (*CreateDatabaseGroupRequest)(nil), // 48: bytebase.v1.CreateDatabaseGroupRequest- (*UpdateDatabaseGroupRequest)(nil), // 49: bytebase.v1.UpdateDatabaseGroupRequest- (*DeleteDatabaseGroupRequest)(nil), // 50: bytebase.v1.DeleteDatabaseGroupRequest- (*DatabaseGroup)(nil), // 51: bytebase.v1.DatabaseGroup- (*CreateSchemaGroupRequest)(nil), // 52: bytebase.v1.CreateSchemaGroupRequest- (*UpdateSchemaGroupRequest)(nil), // 53: bytebase.v1.UpdateSchemaGroupRequest- (*DeleteSchemaGroupRequest)(nil), // 54: bytebase.v1.DeleteSchemaGroupRequest- (*ListSchemaGroupsRequest)(nil), // 55: bytebase.v1.ListSchemaGroupsRequest- (*ListSchemaGroupsResponse)(nil), // 56: bytebase.v1.ListSchemaGroupsResponse- (*GetSchemaGroupRequest)(nil), // 57: bytebase.v1.GetSchemaGroupRequest- (*SchemaGroup)(nil), // 58: bytebase.v1.SchemaGroup- (*BatchGetIamPolicyResponse_PolicyResult)(nil), // 59: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult- (*DatabaseGroup_Database)(nil), // 60: bytebase.v1.DatabaseGroup.Database- (*SchemaGroup_Table)(nil), // 61: bytebase.v1.SchemaGroup.Table- (*fieldmaskpb.FieldMask)(nil), // 62: google.protobuf.FieldMask- (*ProjectGitOpsInfo)(nil), // 63: bytebase.v1.ProjectGitOpsInfo- (State)(0), // 64: bytebase.v1.State- (*expr.Expr)(nil), // 65: google.type.Expr- (*emptypb.Empty)(nil), // 66: google.protobuf.Empty+ (*DeleteProjectGitOpsInfoRequest)(nil), // 26: bytebase.v1.DeleteProjectGitOpsInfoRequest+ (*GetProjectGitOpsInfoRequest)(nil), // 27: bytebase.v1.GetProjectGitOpsInfoRequest+ (*SetupSQLReviewCIRequest)(nil), // 28: bytebase.v1.SetupSQLReviewCIRequest+ (*SetupSQLReviewCIResponse)(nil), // 29: bytebase.v1.SetupSQLReviewCIResponse+ (*Project)(nil), // 30: bytebase.v1.Project+ (*IamPolicy)(nil), // 31: bytebase.v1.IamPolicy+ (*Binding)(nil), // 32: bytebase.v1.Binding+ (*AddWebhookRequest)(nil), // 33: bytebase.v1.AddWebhookRequest+ (*UpdateWebhookRequest)(nil), // 34: bytebase.v1.UpdateWebhookRequest+ (*RemoveWebhookRequest)(nil), // 35: bytebase.v1.RemoveWebhookRequest+ (*TestWebhookRequest)(nil), // 36: bytebase.v1.TestWebhookRequest+ (*TestWebhookResponse)(nil), // 37: bytebase.v1.TestWebhookResponse+ (*Webhook)(nil), // 38: bytebase.v1.Webhook+ (*DeploymentConfig)(nil), // 39: bytebase.v1.DeploymentConfig+ (*Schedule)(nil), // 40: bytebase.v1.Schedule+ (*ScheduleDeployment)(nil), // 41: bytebase.v1.ScheduleDeployment+ (*DeploymentSpec)(nil), // 42: bytebase.v1.DeploymentSpec+ (*LabelSelector)(nil), // 43: bytebase.v1.LabelSelector+ (*LabelSelectorRequirement)(nil), // 44: bytebase.v1.LabelSelectorRequirement+ (*Activity)(nil), // 45: bytebase.v1.Activity+ (*ListDatabaseGroupsRequest)(nil), // 46: bytebase.v1.ListDatabaseGroupsRequest+ (*ListDatabaseGroupsResponse)(nil), // 47: bytebase.v1.ListDatabaseGroupsResponse+ (*GetDatabaseGroupRequest)(nil), // 48: bytebase.v1.GetDatabaseGroupRequest+ (*CreateDatabaseGroupRequest)(nil), // 49: bytebase.v1.CreateDatabaseGroupRequest+ (*UpdateDatabaseGroupRequest)(nil), // 50: bytebase.v1.UpdateDatabaseGroupRequest+ (*DeleteDatabaseGroupRequest)(nil), // 51: bytebase.v1.DeleteDatabaseGroupRequest+ (*DatabaseGroup)(nil), // 52: bytebase.v1.DatabaseGroup+ (*CreateSchemaGroupRequest)(nil), // 53: bytebase.v1.CreateSchemaGroupRequest+ (*UpdateSchemaGroupRequest)(nil), // 54: bytebase.v1.UpdateSchemaGroupRequest+ (*DeleteSchemaGroupRequest)(nil), // 55: bytebase.v1.DeleteSchemaGroupRequest+ (*ListSchemaGroupsRequest)(nil), // 56: bytebase.v1.ListSchemaGroupsRequest+ (*ListSchemaGroupsResponse)(nil), // 57: bytebase.v1.ListSchemaGroupsResponse+ (*GetSchemaGroupRequest)(nil), // 58: bytebase.v1.GetSchemaGroupRequest+ (*SchemaGroup)(nil), // 59: bytebase.v1.SchemaGroup+ (*BatchGetIamPolicyResponse_PolicyResult)(nil), // 60: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult+ (*DatabaseGroup_Database)(nil), // 61: bytebase.v1.DatabaseGroup.Database+ (*SchemaGroup_Table)(nil), // 62: bytebase.v1.SchemaGroup.Table+ (*fieldmaskpb.FieldMask)(nil), // 63: google.protobuf.FieldMask+ (*ProjectGitOpsInfo)(nil), // 64: bytebase.v1.ProjectGitOpsInfo+ (State)(0), // 65: bytebase.v1.State+ (*expr.Expr)(nil), // 66: google.type.Expr+ (*emptypb.Empty)(nil), // 67: google.protobuf.Empty}var file_v1_project_service_proto_depIdxs = []int32{- 29, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project- 29, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project- 29, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project- 29, // 3: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project- 62, // 4: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask- 59, // 5: bytebase.v1.BatchGetIamPolicyResponse.policy_results:type_name -> bytebase.v1.BatchGetIamPolicyResponse.PolicyResult- 30, // 6: bytebase.v1.SetIamPolicyRequest.policy:type_name -> bytebase.v1.IamPolicy- 38, // 7: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig- 63, // 8: bytebase.v1.SetProjectGitOpsInfoRequest.project_gitops_info:type_name -> bytebase.v1.ProjectGitOpsInfo- 62, // 9: bytebase.v1.SetProjectGitOpsInfoRequest.update_mask:type_name -> google.protobuf.FieldMask- 64, // 10: bytebase.v1.Project.state:type_name -> bytebase.v1.State+ 30, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project+ 30, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project+ 30, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project+ 30, // 3: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project+ 63, // 4: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask+ 60, // 5: bytebase.v1.BatchGetIamPolicyResponse.policy_results:type_name -> bytebase.v1.BatchGetIamPolicyResponse.PolicyResult+ 31, // 6: bytebase.v1.SetIamPolicyRequest.policy:type_name -> bytebase.v1.IamPolicy+ 39, // 7: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig+ 64, // 8: bytebase.v1.SetProjectGitOpsInfoRequest.project_gitops_info:type_name -> bytebase.v1.ProjectGitOpsInfo+ 63, // 9: bytebase.v1.SetProjectGitOpsInfoRequest.update_mask:type_name -> google.protobuf.FieldMask+ 65, // 10: bytebase.v1.Project.state:type_name -> bytebase.v1.State0, // 11: bytebase.v1.Project.workflow:type_name -> bytebase.v1.Workflow1, // 12: bytebase.v1.Project.visibility:type_name -> bytebase.v1.Visibility2, // 13: bytebase.v1.Project.tenant_mode:type_name -> bytebase.v1.TenantMode3, // 14: bytebase.v1.Project.schema_version:type_name -> bytebase.v1.SchemaVersion4, // 15: bytebase.v1.Project.schema_change:type_name -> bytebase.v1.SchemaChange- 37, // 16: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook- 31, // 17: bytebase.v1.IamPolicy.bindings:type_name -> bytebase.v1.Binding- 65, // 18: bytebase.v1.Binding.condition:type_name -> google.type.Expr- 37, // 19: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 37, // 20: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 62, // 21: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask- 37, // 22: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 37, // 23: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 38, // 16: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook+ 32, // 17: bytebase.v1.IamPolicy.bindings:type_name -> bytebase.v1.Binding+ 66, // 18: bytebase.v1.Binding.condition:type_name -> google.type.Expr+ 38, // 19: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 38, // 20: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 63, // 21: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask+ 38, // 22: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 38, // 23: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook8, // 24: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type9, // 25: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type- 39, // 26: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule- 40, // 27: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment- 41, // 28: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec- 42, // 29: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector- 43, // 30: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement+ 40, // 26: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule+ 41, // 27: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment+ 42, // 28: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec+ 43, // 29: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector+ 44, // 30: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement5, // 31: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType- 51, // 32: bytebase.v1.ListDatabaseGroupsResponse.database_groups:type_name -> bytebase.v1.DatabaseGroup+ 52, // 32: bytebase.v1.ListDatabaseGroupsResponse.database_groups:type_name -> bytebase.v1.DatabaseGroup6, // 33: bytebase.v1.GetDatabaseGroupRequest.view:type_name -> bytebase.v1.DatabaseGroupView- 51, // 34: bytebase.v1.CreateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup- 51, // 35: bytebase.v1.UpdateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup- 62, // 36: bytebase.v1.UpdateDatabaseGroupRequest.update_mask:type_name -> google.protobuf.FieldMask- 65, // 37: bytebase.v1.DatabaseGroup.database_expr:type_name -> google.type.Expr- 60, // 38: bytebase.v1.DatabaseGroup.matched_databases:type_name -> bytebase.v1.DatabaseGroup.Database- 60, // 39: bytebase.v1.DatabaseGroup.unmatched_databases:type_name -> bytebase.v1.DatabaseGroup.Database- 58, // 40: bytebase.v1.CreateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup- 58, // 41: bytebase.v1.UpdateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup- 62, // 42: bytebase.v1.UpdateSchemaGroupRequest.update_mask:type_name -> google.protobuf.FieldMask- 58, // 43: bytebase.v1.ListSchemaGroupsResponse.schema_groups:type_name -> bytebase.v1.SchemaGroup+ 52, // 34: bytebase.v1.CreateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup+ 52, // 35: bytebase.v1.UpdateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup+ 63, // 36: bytebase.v1.UpdateDatabaseGroupRequest.update_mask:type_name -> google.protobuf.FieldMask+ 66, // 37: bytebase.v1.DatabaseGroup.database_expr:type_name -> google.type.Expr+ 61, // 38: bytebase.v1.DatabaseGroup.matched_databases:type_name -> bytebase.v1.DatabaseGroup.Database+ 61, // 39: bytebase.v1.DatabaseGroup.unmatched_databases:type_name -> bytebase.v1.DatabaseGroup.Database+ 59, // 40: bytebase.v1.CreateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup+ 59, // 41: bytebase.v1.UpdateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup+ 63, // 42: bytebase.v1.UpdateSchemaGroupRequest.update_mask:type_name -> google.protobuf.FieldMask+ 59, // 43: bytebase.v1.ListSchemaGroupsResponse.schema_groups:type_name -> bytebase.v1.SchemaGroup7, // 44: bytebase.v1.GetSchemaGroupRequest.view:type_name -> bytebase.v1.SchemaGroupView- 65, // 45: bytebase.v1.SchemaGroup.table_expr:type_name -> google.type.Expr- 61, // 46: bytebase.v1.SchemaGroup.matched_tables:type_name -> bytebase.v1.SchemaGroup.Table- 61, // 47: bytebase.v1.SchemaGroup.unmatched_tables:type_name -> bytebase.v1.SchemaGroup.Table- 30, // 48: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy+ 66, // 45: bytebase.v1.SchemaGroup.table_expr:type_name -> google.type.Expr+ 62, // 46: bytebase.v1.SchemaGroup.matched_tables:type_name -> bytebase.v1.SchemaGroup.Table+ 62, // 47: bytebase.v1.SchemaGroup.unmatched_tables:type_name -> bytebase.v1.SchemaGroup.Table+ 31, // 48: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy10, // 49: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest11, // 50: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest13, // 51: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest@@ -4711,54 +4763,56 @@ var file_v1_project_service_proto_depIdxs = []int32{22, // 58: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest23, // 59: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest24, // 60: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest- 32, // 61: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest- 33, // 62: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest- 34, // 63: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest- 35, // 64: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest+ 33, // 61: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest+ 34, // 62: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest+ 35, // 63: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest+ 36, // 64: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest25, // 65: bytebase.v1.ProjectService.SetProjectGitOpsInfo:input_type -> bytebase.v1.SetProjectGitOpsInfoRequest- 27, // 66: bytebase.v1.ProjectService.SetProjectSQLReviewCI:input_type -> bytebase.v1.SetupSQLReviewCIRequest- 26, // 67: bytebase.v1.ProjectService.GetProjectGitOpsInfo:input_type -> bytebase.v1.GetProjectGitOpsInfoRequest- 45, // 68: bytebase.v1.ProjectService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest- 47, // 69: bytebase.v1.ProjectService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest- 48, // 70: bytebase.v1.ProjectService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest- 49, // 71: bytebase.v1.ProjectService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest- 50, // 72: bytebase.v1.ProjectService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest- 55, // 73: bytebase.v1.ProjectService.ListSchemaGroups:input_type -> bytebase.v1.ListSchemaGroupsRequest- 57, // 74: bytebase.v1.ProjectService.GetSchemaGroup:input_type -> bytebase.v1.GetSchemaGroupRequest- 52, // 75: bytebase.v1.ProjectService.CreateSchemaGroup:input_type -> bytebase.v1.CreateSchemaGroupRequest- 53, // 76: bytebase.v1.ProjectService.UpdateSchemaGroup:input_type -> bytebase.v1.UpdateSchemaGroupRequest- 54, // 77: bytebase.v1.ProjectService.DeleteSchemaGroup:input_type -> bytebase.v1.DeleteSchemaGroupRequest- 29, // 78: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project- 12, // 79: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse- 14, // 80: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse- 29, // 81: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project- 29, // 82: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project- 66, // 83: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty- 29, // 84: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project- 30, // 85: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy- 21, // 86: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse- 30, // 87: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy- 38, // 88: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 38, // 89: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 29, // 90: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project- 29, // 91: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project- 29, // 92: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project- 36, // 93: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse- 63, // 94: bytebase.v1.ProjectService.SetProjectGitOpsInfo:output_type -> bytebase.v1.ProjectGitOpsInfo- 28, // 95: bytebase.v1.ProjectService.SetProjectSQLReviewCI:output_type -> bytebase.v1.SetupSQLReviewCIResponse- 63, // 96: bytebase.v1.ProjectService.GetProjectGitOpsInfo:output_type -> bytebase.v1.ProjectGitOpsInfo- 46, // 97: bytebase.v1.ProjectService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse- 51, // 98: bytebase.v1.ProjectService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup- 51, // 99: bytebase.v1.ProjectService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup- 51, // 100: bytebase.v1.ProjectService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup- 66, // 101: bytebase.v1.ProjectService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty- 56, // 102: bytebase.v1.ProjectService.ListSchemaGroups:output_type -> bytebase.v1.ListSchemaGroupsResponse- 58, // 103: bytebase.v1.ProjectService.GetSchemaGroup:output_type -> bytebase.v1.SchemaGroup- 58, // 104: bytebase.v1.ProjectService.CreateSchemaGroup:output_type -> bytebase.v1.SchemaGroup- 58, // 105: bytebase.v1.ProjectService.UpdateSchemaGroup:output_type -> bytebase.v1.SchemaGroup- 66, // 106: bytebase.v1.ProjectService.DeleteSchemaGroup:output_type -> google.protobuf.Empty- 78, // [78:107] is the sub-list for method output_type- 49, // [49:78] is the sub-list for method input_type+ 26, // 66: bytebase.v1.ProjectService.DeleteProjectGitOpsInfo:input_type -> bytebase.v1.DeleteProjectGitOpsInfoRequest+ 28, // 67: bytebase.v1.ProjectService.SetupProjectSQLReviewCI:input_type -> bytebase.v1.SetupSQLReviewCIRequest+ 27, // 68: bytebase.v1.ProjectService.GetProjectGitOpsInfo:input_type -> bytebase.v1.GetProjectGitOpsInfoRequest+ 46, // 69: bytebase.v1.ProjectService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest+ 48, // 70: bytebase.v1.ProjectService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest+ 49, // 71: bytebase.v1.ProjectService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest+ 50, // 72: bytebase.v1.ProjectService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest+ 51, // 73: bytebase.v1.ProjectService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest+ 56, // 74: bytebase.v1.ProjectService.ListSchemaGroups:input_type -> bytebase.v1.ListSchemaGroupsRequest+ 58, // 75: bytebase.v1.ProjectService.GetSchemaGroup:input_type -> bytebase.v1.GetSchemaGroupRequest+ 53, // 76: bytebase.v1.ProjectService.CreateSchemaGroup:input_type -> bytebase.v1.CreateSchemaGroupRequest+ 54, // 77: bytebase.v1.ProjectService.UpdateSchemaGroup:input_type -> bytebase.v1.UpdateSchemaGroupRequest+ 55, // 78: bytebase.v1.ProjectService.DeleteSchemaGroup:input_type -> bytebase.v1.DeleteSchemaGroupRequest+ 30, // 79: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project+ 12, // 80: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse+ 14, // 81: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse+ 30, // 82: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project+ 30, // 83: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project+ 67, // 84: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty+ 30, // 85: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project+ 31, // 86: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 21, // 87: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse+ 31, // 88: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 39, // 89: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 39, // 90: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 30, // 91: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project+ 30, // 92: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project+ 30, // 93: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project+ 37, // 94: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse+ 64, // 95: bytebase.v1.ProjectService.SetProjectGitOpsInfo:output_type -> bytebase.v1.ProjectGitOpsInfo+ 67, // 96: bytebase.v1.ProjectService.DeleteProjectGitOpsInfo:output_type -> google.protobuf.Empty+ 29, // 97: bytebase.v1.ProjectService.SetupProjectSQLReviewCI:output_type -> bytebase.v1.SetupSQLReviewCIResponse+ 64, // 98: bytebase.v1.ProjectService.GetProjectGitOpsInfo:output_type -> bytebase.v1.ProjectGitOpsInfo+ 47, // 99: bytebase.v1.ProjectService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse+ 52, // 100: bytebase.v1.ProjectService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 52, // 101: bytebase.v1.ProjectService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 52, // 102: bytebase.v1.ProjectService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 67, // 103: bytebase.v1.ProjectService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty+ 57, // 104: bytebase.v1.ProjectService.ListSchemaGroups:output_type -> bytebase.v1.ListSchemaGroupsResponse+ 59, // 105: bytebase.v1.ProjectService.GetSchemaGroup:output_type -> bytebase.v1.SchemaGroup+ 59, // 106: bytebase.v1.ProjectService.CreateSchemaGroup:output_type -> bytebase.v1.SchemaGroup+ 59, // 107: bytebase.v1.ProjectService.UpdateSchemaGroup:output_type -> bytebase.v1.SchemaGroup+ 67, // 108: bytebase.v1.ProjectService.DeleteSchemaGroup:output_type -> google.protobuf.Empty+ 79, // [79:109] is the sub-list for method output_type+ 49, // [49:79] is the sub-list for method input_type49, // [49:49] is the sub-list for extension type_name49, // [49:49] is the sub-list for extension extendee0, // [0:49] is the sub-list for field type_name@@ -4965,7 +5019,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*GetProjectGitOpsInfoRequest); i {+ switch v := v.(*DeleteProjectGitOpsInfoRequest); i {case 0:return &v.statecase 1:@@ -4977,7 +5031,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*SetupSQLReviewCIRequest); i {+ switch v := v.(*GetProjectGitOpsInfoRequest); i {case 0:return &v.statecase 1:@@ -4989,7 +5043,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*SetupSQLReviewCIResponse); i {+ switch v := v.(*SetupSQLReviewCIRequest); i {case 0:return &v.statecase 1:@@ -5001,7 +5055,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Project); i {+ switch v := v.(*SetupSQLReviewCIResponse); i {case 0:return &v.statecase 1:@@ -5013,7 +5067,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*IamPolicy); i {+ switch v := v.(*Project); i {case 0:return &v.statecase 1:@@ -5025,7 +5079,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Binding); i {+ switch v := v.(*IamPolicy); i {case 0:return &v.statecase 1:@@ -5037,7 +5091,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*AddWebhookRequest); i {+ switch v := v.(*Binding); i {case 0:return &v.statecase 1:@@ -5049,7 +5103,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*UpdateWebhookRequest); i {+ switch v := v.(*AddWebhookRequest); i {case 0:return &v.statecase 1:@@ -5061,7 +5115,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*RemoveWebhookRequest); i {+ switch v := v.(*UpdateWebhookRequest); i {case 0:return &v.statecase 1:@@ -5073,7 +5127,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*TestWebhookRequest); i {+ switch v := v.(*RemoveWebhookRequest); i {case 0:return &v.statecase 1:@@ -5085,7 +5139,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*TestWebhookResponse); i {+ switch v := v.(*TestWebhookRequest); i {case 0:return &v.statecase 1:@@ -5097,7 +5151,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Webhook); i {+ switch v := v.(*TestWebhookResponse); i {case 0:return &v.statecase 1:@@ -5109,7 +5163,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DeploymentConfig); i {+ switch v := v.(*Webhook); i {case 0:return &v.statecase 1:@@ -5121,7 +5175,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Schedule); i {+ switch v := v.(*DeploymentConfig); i {case 0:return &v.statecase 1:@@ -5133,7 +5187,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ScheduleDeployment); i {+ switch v := v.(*Schedule); i {case 0:return &v.statecase 1:@@ -5145,7 +5199,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DeploymentSpec); i {+ switch v := v.(*ScheduleDeployment); i {case 0:return &v.statecase 1:@@ -5157,7 +5211,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*LabelSelector); i {+ switch v := v.(*DeploymentSpec); i {case 0:return &v.statecase 1:@@ -5169,7 +5223,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*LabelSelectorRequirement); i {+ switch v := v.(*LabelSelector); i {case 0:return &v.statecase 1:@@ -5181,7 +5235,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Activity); i {+ switch v := v.(*LabelSelectorRequirement); i {case 0:return &v.statecase 1:@@ -5193,7 +5247,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ListDatabaseGroupsRequest); i {+ switch v := v.(*Activity); i {case 0:return &v.statecase 1:@@ -5205,7 +5259,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ListDatabaseGroupsResponse); i {+ switch v := v.(*ListDatabaseGroupsRequest); i {case 0:return &v.statecase 1:@@ -5217,7 +5271,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*GetDatabaseGroupRequest); i {+ switch v := v.(*ListDatabaseGroupsResponse); i {case 0:return &v.statecase 1:@@ -5229,7 +5283,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*CreateDatabaseGroupRequest); i {+ switch v := v.(*GetDatabaseGroupRequest); i {case 0:return &v.statecase 1:@@ -5241,7 +5295,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*UpdateDatabaseGroupRequest); i {+ switch v := v.(*CreateDatabaseGroupRequest); i {case 0:return &v.statecase 1:@@ -5253,7 +5307,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DeleteDatabaseGroupRequest); i {+ switch v := v.(*UpdateDatabaseGroupRequest); i {case 0:return &v.statecase 1:@@ -5265,7 +5319,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DatabaseGroup); i {+ switch v := v.(*DeleteDatabaseGroupRequest); i {case 0:return &v.statecase 1:@@ -5277,7 +5331,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*CreateSchemaGroupRequest); i {+ switch v := v.(*DatabaseGroup); i {case 0:return &v.statecase 1:@@ -5289,7 +5343,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*UpdateSchemaGroupRequest); i {+ switch v := v.(*CreateSchemaGroupRequest); i {case 0:return &v.statecase 1:@@ -5301,7 +5355,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DeleteSchemaGroupRequest); i {+ switch v := v.(*UpdateSchemaGroupRequest); i {case 0:return &v.statecase 1:@@ -5313,7 +5367,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ListSchemaGroupsRequest); i {+ switch v := v.(*DeleteSchemaGroupRequest); i {case 0:return &v.statecase 1:@@ -5325,7 +5379,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ListSchemaGroupsResponse); i {+ switch v := v.(*ListSchemaGroupsRequest); i {case 0:return &v.statecase 1:@@ -5337,7 +5391,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*GetSchemaGroupRequest); i {+ switch v := v.(*ListSchemaGroupsResponse); i {case 0:return &v.statecase 1:@@ -5349,7 +5403,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*SchemaGroup); i {+ switch v := v.(*GetSchemaGroupRequest); i {case 0:return &v.statecase 1:@@ -5361,7 +5415,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*BatchGetIamPolicyResponse_PolicyResult); i {+ switch v := v.(*SchemaGroup); i {case 0:return &v.statecase 1:@@ -5373,7 +5427,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DatabaseGroup_Database); i {+ switch v := v.(*BatchGetIamPolicyResponse_PolicyResult); i {case 0:return &v.statecase 1:@@ -5385,6 +5439,18 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*DatabaseGroup_Database); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*SchemaGroup_Table); i {case 0:return &v.state@@ -5403,7 +5469,7 @@ func file_v1_project_service_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_project_service_proto_rawDesc,NumEnums: 10,- NumMessages: 52,+ NumMessages: 53,NumExtensions: 0,NumServices: 1,},diff --git a/proto/generated-go/v1/project_service.pb.gw.go b/proto/generated-go/v1/project_service.pb.gw.goindex e739ea2d7d..6d2a4bfaff 100644--- a/proto/generated-go/v1/project_service.pb.gw.go+++ b/proto/generated-go/v1/project_service.pb.gw.go@@ -1095,7 +1095,59 @@ func local_request_ProjectService_SetProjectGitOpsInfo_0(ctx context.Context, ma}-func request_ProjectService_SetProjectSQLReviewCI_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+func request_ProjectService_DeleteProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq DeleteProjectGitOpsInfoRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := client.DeleteProjectGitOpsInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_ProjectService_DeleteProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq DeleteProjectGitOpsInfoRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := server.DeleteProjectGitOpsInfo(ctx, &protoReq)+ return msg, metadata, err++}++func request_ProjectService_SetupProjectSQLReviewCI_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {var protoReq SetupSQLReviewCIRequestvar metadata runtime.ServerMetadata@@ -1124,12 +1176,12 @@ func request_ProjectService_SetProjectSQLReviewCI_0(ctx context.Context, marshalreturn nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)}- msg, err := client.SetProjectSQLReviewCI(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ msg, err := client.SetupProjectSQLReviewCI(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))return msg, metadata, err}-func local_request_ProjectService_SetProjectSQLReviewCI_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+func local_request_ProjectService_SetupProjectSQLReviewCI_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {var protoReq SetupSQLReviewCIRequestvar metadata runtime.ServerMetadata@@ -1158,7 +1210,7 @@ func local_request_ProjectService_SetProjectSQLReviewCI_0(ctx context.Context, mreturn nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)}- msg, err := server.SetProjectSQLReviewCI(ctx, &protoReq)+ msg, err := server.SetupProjectSQLReviewCI(ctx, &protoReq)return msg, metadata, err}@@ -2402,7 +2454,7 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve})- mux.Handle("PATCH", pattern_ProjectService_SetProjectSQLReviewCI_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ mux.Handle("DELETE", pattern_ProjectService_DeleteProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()var stream runtime.ServerTransportStream@@ -2410,12 +2462,12 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.ServeinboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)var err errorvar annotatedContext context.Context- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.ProjectService/SetProjectSQLReviewCI", runtime.WithHTTPPathPattern("/v1/{project=projects/*}/gitOpsInfo:setupSQLReviewCI"))+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.ProjectService/DeleteProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{project=projects/*}/gitOpsInfo"))if err != nil {runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)return}- resp, md, err := local_request_ProjectService_SetProjectSQLReviewCI_0(annotatedContext, inboundMarshaler, server, req, pathParams)+ resp, md, err := local_request_ProjectService_DeleteProjectGitOpsInfo_0(annotatedContext, inboundMarshaler, server, req, pathParams)md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)if err != nil {@@ -2423,7 +2475,32 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Servereturn}- forward_ProjectService_SetProjectSQLReviewCI_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)+ forward_ProjectService_DeleteProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("PATCH", pattern_ProjectService_SetupProjectSQLReviewCI_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ var stream runtime.ServerTransportStream+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.ProjectService/SetupProjectSQLReviewCI", runtime.WithHTTPPathPattern("/v1/{project=projects/*}/gitOpsInfo:setupSQLReviewCI"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_ProjectService_SetupProjectSQLReviewCI_0(annotatedContext, inboundMarshaler, server, req, pathParams)+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ProjectService_SetupProjectSQLReviewCI_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)})@@ -3117,25 +3194,47 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve})- mux.Handle("PATCH", pattern_ProjectService_SetProjectSQLReviewCI_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ mux.Handle("DELETE", pattern_ProjectService_DeleteProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)var err errorvar annotatedContext context.Context- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ProjectService/SetProjectSQLReviewCI", runtime.WithHTTPPathPattern("/v1/{project=projects/*}/gitOpsInfo:setupSQLReviewCI"))+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ProjectService/DeleteProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{project=projects/*}/gitOpsInfo"))if err != nil {runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)return}- resp, md, err := request_ProjectService_SetProjectSQLReviewCI_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ resp, md, err := request_ProjectService_DeleteProjectGitOpsInfo_0(annotatedContext, inboundMarshaler, client, req, pathParams)annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)if err != nil {runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)return}- forward_ProjectService_SetProjectSQLReviewCI_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)+ forward_ProjectService_DeleteProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("PATCH", pattern_ProjectService_SetupProjectSQLReviewCI_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ProjectService/SetupProjectSQLReviewCI", runtime.WithHTTPPathPattern("/v1/{project=projects/*}/gitOpsInfo:setupSQLReviewCI"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_ProjectService_SetupProjectSQLReviewCI_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ProjectService_SetupProjectSQLReviewCI_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)})@@ -3419,7 +3518,9 @@ var (pattern_ProjectService_SetProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "project", "gitOpsInfo"}, ""))- pattern_ProjectService_SetProjectSQLReviewCI_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "project", "gitOpsInfo"}, "setupSQLReviewCI"))+ pattern_ProjectService_DeleteProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "project", "gitOpsInfo"}, ""))++ pattern_ProjectService_SetupProjectSQLReviewCI_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "project", "gitOpsInfo"}, "setupSQLReviewCI"))pattern_ProjectService_GetProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "project", "gitOpsInfo"}, ""))@@ -3479,7 +3580,9 @@ var (forward_ProjectService_SetProjectGitOpsInfo_0 = runtime.ForwardResponseMessage- forward_ProjectService_SetProjectSQLReviewCI_0 = runtime.ForwardResponseMessage+ forward_ProjectService_DeleteProjectGitOpsInfo_0 = runtime.ForwardResponseMessage++ forward_ProjectService_SetupProjectSQLReviewCI_0 = runtime.ForwardResponseMessageforward_ProjectService_GetProjectGitOpsInfo_0 = runtime.ForwardResponseMessagediff --git a/proto/generated-go/v1/project_service_grpc.pb.go b/proto/generated-go/v1/project_service_grpc.pb.goindex b523b4e95c..bd88d3b2db 100644--- a/proto/generated-go/v1/project_service_grpc.pb.go+++ b/proto/generated-go/v1/project_service_grpc.pb.go@@ -20,35 +20,36 @@ import (const _ = grpc.SupportPackageIsVersion7const (- ProjectService_GetProject_FullMethodName = "/bytebase.v1.ProjectService/GetProject"- ProjectService_ListProjects_FullMethodName = "/bytebase.v1.ProjectService/ListProjects"- ProjectService_SearchProjects_FullMethodName = "/bytebase.v1.ProjectService/SearchProjects"- ProjectService_CreateProject_FullMethodName = "/bytebase.v1.ProjectService/CreateProject"- ProjectService_UpdateProject_FullMethodName = "/bytebase.v1.ProjectService/UpdateProject"- ProjectService_DeleteProject_FullMethodName = "/bytebase.v1.ProjectService/DeleteProject"- ProjectService_UndeleteProject_FullMethodName = "/bytebase.v1.ProjectService/UndeleteProject"- ProjectService_GetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/GetIamPolicy"- ProjectService_BatchGetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/BatchGetIamPolicy"- ProjectService_SetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/SetIamPolicy"- ProjectService_GetDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/GetDeploymentConfig"- ProjectService_UpdateDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/UpdateDeploymentConfig"- ProjectService_AddWebhook_FullMethodName = "/bytebase.v1.ProjectService/AddWebhook"- ProjectService_UpdateWebhook_FullMethodName = "/bytebase.v1.ProjectService/UpdateWebhook"- ProjectService_RemoveWebhook_FullMethodName = "/bytebase.v1.ProjectService/RemoveWebhook"- ProjectService_TestWebhook_FullMethodName = "/bytebase.v1.ProjectService/TestWebhook"- ProjectService_SetProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/SetProjectGitOpsInfo"- ProjectService_SetProjectSQLReviewCI_FullMethodName = "/bytebase.v1.ProjectService/SetProjectSQLReviewCI"- ProjectService_GetProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/GetProjectGitOpsInfo"- ProjectService_ListDatabaseGroups_FullMethodName = "/bytebase.v1.ProjectService/ListDatabaseGroups"- ProjectService_GetDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/GetDatabaseGroup"- ProjectService_CreateDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/CreateDatabaseGroup"- ProjectService_UpdateDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/UpdateDatabaseGroup"- ProjectService_DeleteDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/DeleteDatabaseGroup"- ProjectService_ListSchemaGroups_FullMethodName = "/bytebase.v1.ProjectService/ListSchemaGroups"- ProjectService_GetSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/GetSchemaGroup"- ProjectService_CreateSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/CreateSchemaGroup"- ProjectService_UpdateSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/UpdateSchemaGroup"- ProjectService_DeleteSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/DeleteSchemaGroup"+ ProjectService_GetProject_FullMethodName = "/bytebase.v1.ProjectService/GetProject"+ ProjectService_ListProjects_FullMethodName = "/bytebase.v1.ProjectService/ListProjects"+ ProjectService_SearchProjects_FullMethodName = "/bytebase.v1.ProjectService/SearchProjects"+ ProjectService_CreateProject_FullMethodName = "/bytebase.v1.ProjectService/CreateProject"+ ProjectService_UpdateProject_FullMethodName = "/bytebase.v1.ProjectService/UpdateProject"+ ProjectService_DeleteProject_FullMethodName = "/bytebase.v1.ProjectService/DeleteProject"+ ProjectService_UndeleteProject_FullMethodName = "/bytebase.v1.ProjectService/UndeleteProject"+ ProjectService_GetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/GetIamPolicy"+ ProjectService_BatchGetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/BatchGetIamPolicy"+ ProjectService_SetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/SetIamPolicy"+ ProjectService_GetDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/GetDeploymentConfig"+ ProjectService_UpdateDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/UpdateDeploymentConfig"+ ProjectService_AddWebhook_FullMethodName = "/bytebase.v1.ProjectService/AddWebhook"+ ProjectService_UpdateWebhook_FullMethodName = "/bytebase.v1.ProjectService/UpdateWebhook"+ ProjectService_RemoveWebhook_FullMethodName = "/bytebase.v1.ProjectService/RemoveWebhook"+ ProjectService_TestWebhook_FullMethodName = "/bytebase.v1.ProjectService/TestWebhook"+ ProjectService_SetProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/SetProjectGitOpsInfo"+ ProjectService_DeleteProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/DeleteProjectGitOpsInfo"+ ProjectService_SetupProjectSQLReviewCI_FullMethodName = "/bytebase.v1.ProjectService/SetupProjectSQLReviewCI"+ ProjectService_GetProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/GetProjectGitOpsInfo"+ ProjectService_ListDatabaseGroups_FullMethodName = "/bytebase.v1.ProjectService/ListDatabaseGroups"+ ProjectService_GetDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/GetDatabaseGroup"+ ProjectService_CreateDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/CreateDatabaseGroup"+ ProjectService_UpdateDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/UpdateDatabaseGroup"+ ProjectService_DeleteDatabaseGroup_FullMethodName = "/bytebase.v1.ProjectService/DeleteDatabaseGroup"+ ProjectService_ListSchemaGroups_FullMethodName = "/bytebase.v1.ProjectService/ListSchemaGroups"+ ProjectService_GetSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/GetSchemaGroup"+ ProjectService_CreateSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/CreateSchemaGroup"+ ProjectService_UpdateSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/UpdateSchemaGroup"+ ProjectService_DeleteSchemaGroup_FullMethodName = "/bytebase.v1.ProjectService/DeleteSchemaGroup")// ProjectServiceClient is the client API for ProjectService service.@@ -73,7 +74,8 @@ type ProjectServiceClient interface {RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*Project, error)TestWebhook(ctx context.Context, in *TestWebhookRequest, opts ...grpc.CallOption) (*TestWebhookResponse, error)SetProjectGitOpsInfo(ctx context.Context, in *SetProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ProjectGitOpsInfo, error)- SetProjectSQLReviewCI(ctx context.Context, in *SetupSQLReviewCIRequest, opts ...grpc.CallOption) (*SetupSQLReviewCIResponse, error)+ DeleteProjectGitOpsInfo(ctx context.Context, in *DeleteProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)+ SetupProjectSQLReviewCI(ctx context.Context, in *SetupSQLReviewCIRequest, opts ...grpc.CallOption) (*SetupSQLReviewCIResponse, error)GetProjectGitOpsInfo(ctx context.Context, in *GetProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ProjectGitOpsInfo, error)ListDatabaseGroups(ctx context.Context, in *ListDatabaseGroupsRequest, opts ...grpc.CallOption) (*ListDatabaseGroupsResponse, error)GetDatabaseGroup(ctx context.Context, in *GetDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)@@ -248,9 +250,18 @@ func (c *projectServiceClient) SetProjectGitOpsInfo(ctx context.Context, in *Setreturn out, nil}-func (c *projectServiceClient) SetProjectSQLReviewCI(ctx context.Context, in *SetupSQLReviewCIRequest, opts ...grpc.CallOption) (*SetupSQLReviewCIResponse, error) {+func (c *projectServiceClient) DeleteProjectGitOpsInfo(ctx context.Context, in *DeleteProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {+ out := new(emptypb.Empty)+ err := c.cc.Invoke(ctx, ProjectService_DeleteProjectGitOpsInfo_FullMethodName, in, out, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *projectServiceClient) SetupProjectSQLReviewCI(ctx context.Context, in *SetupSQLReviewCIRequest, opts ...grpc.CallOption) (*SetupSQLReviewCIResponse, error) {out := new(SetupSQLReviewCIResponse)- err := c.cc.Invoke(ctx, ProjectService_SetProjectSQLReviewCI_FullMethodName, in, out, opts...)+ err := c.cc.Invoke(ctx, ProjectService_SetupProjectSQLReviewCI_FullMethodName, in, out, opts...)if err != nil {return nil, err}@@ -378,7 +389,8 @@ type ProjectServiceServer interface {RemoveWebhook(context.Context, *RemoveWebhookRequest) (*Project, error)TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error)SetProjectGitOpsInfo(context.Context, *SetProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error)- SetProjectSQLReviewCI(context.Context, *SetupSQLReviewCIRequest) (*SetupSQLReviewCIResponse, error)+ DeleteProjectGitOpsInfo(context.Context, *DeleteProjectGitOpsInfoRequest) (*emptypb.Empty, error)+ SetupProjectSQLReviewCI(context.Context, *SetupSQLReviewCIRequest) (*SetupSQLReviewCIResponse, error)GetProjectGitOpsInfo(context.Context, *GetProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error)ListDatabaseGroups(context.Context, *ListDatabaseGroupsRequest) (*ListDatabaseGroupsResponse, error)GetDatabaseGroup(context.Context, *GetDatabaseGroupRequest) (*DatabaseGroup, error)@@ -448,8 +460,11 @@ func (UnimplementedProjectServiceServer) TestWebhook(context.Context, *TestWebhofunc (UnimplementedProjectServiceServer) SetProjectGitOpsInfo(context.Context, *SetProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error) {return nil, status.Errorf(codes.Unimplemented, "method SetProjectGitOpsInfo not implemented")}-func (UnimplementedProjectServiceServer) SetProjectSQLReviewCI(context.Context, *SetupSQLReviewCIRequest) (*SetupSQLReviewCIResponse, error) {- return nil, status.Errorf(codes.Unimplemented, "method SetProjectSQLReviewCI not implemented")+func (UnimplementedProjectServiceServer) DeleteProjectGitOpsInfo(context.Context, *DeleteProjectGitOpsInfoRequest) (*emptypb.Empty, error) {+ return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectGitOpsInfo not implemented")+}+func (UnimplementedProjectServiceServer) SetupProjectSQLReviewCI(context.Context, *SetupSQLReviewCIRequest) (*SetupSQLReviewCIResponse, error) {+ return nil, status.Errorf(codes.Unimplemented, "method SetupProjectSQLReviewCI not implemented")}func (UnimplementedProjectServiceServer) GetProjectGitOpsInfo(context.Context, *GetProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error) {return nil, status.Errorf(codes.Unimplemented, "method GetProjectGitOpsInfo not implemented")@@ -803,20 +818,38 @@ func _ProjectService_SetProjectGitOpsInfo_Handler(srv interface{}, ctx context.Creturn interceptor(ctx, in, info, handler)}-func _ProjectService_SetProjectSQLReviewCI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+func _ProjectService_DeleteProjectGitOpsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(DeleteProjectGitOpsInfoRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(ProjectServiceServer).DeleteProjectGitOpsInfo(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: ProjectService_DeleteProjectGitOpsInfo_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(ProjectServiceServer).DeleteProjectGitOpsInfo(ctx, req.(*DeleteProjectGitOpsInfoRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _ProjectService_SetupProjectSQLReviewCI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(SetupSQLReviewCIRequest)if err := dec(in); err != nil {return nil, err}if interceptor == nil {- return srv.(ProjectServiceServer).SetProjectSQLReviewCI(ctx, in)+ return srv.(ProjectServiceServer).SetupProjectSQLReviewCI(ctx, in)}info := &grpc.UnaryServerInfo{Server: srv,- FullMethod: ProjectService_SetProjectSQLReviewCI_FullMethodName,+ FullMethod: ProjectService_SetupProjectSQLReviewCI_FullMethodName,}handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(ProjectServiceServer).SetProjectSQLReviewCI(ctx, req.(*SetupSQLReviewCIRequest))+ return srv.(ProjectServiceServer).SetupProjectSQLReviewCI(ctx, req.(*SetupSQLReviewCIRequest))}return interceptor(ctx, in, info, handler)}@@ -1095,8 +1128,12 @@ var ProjectService_ServiceDesc = grpc.ServiceDesc{Handler: _ProjectService_SetProjectGitOpsInfo_Handler,},{- MethodName: "SetProjectSQLReviewCI",- Handler: _ProjectService_SetProjectSQLReviewCI_Handler,+ MethodName: "DeleteProjectGitOpsInfo",+ Handler: _ProjectService_DeleteProjectGitOpsInfo_Handler,+ },+ {+ MethodName: "SetupProjectSQLReviewCI",+ Handler: _ProjectService_SetupProjectSQLReviewCI_Handler,},{MethodName: "GetProjectGitOpsInfo",diff --git a/proto/v1/externalvs_service.proto b/proto/v1/externalvs_service.protoindex a956b45f54..cc03aa4cb8 100644--- a/proto/v1/externalvs_service.proto+++ b/proto/v1/externalvs_service.proto@@ -7,6 +7,7 @@ import "google/api/client.proto";import "google/api/field_behavior.proto";import "google/protobuf/empty.proto";import "google/protobuf/field_mask.proto";+import "google/protobuf/timestamp.proto";option go_package = "generated-go/v1";@@ -171,39 +172,49 @@ message ProjectGitOpsInfo {// Format: projects/{project}/gitOpsInfostring name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];+ // The uid for related VCS.+ string vcs_uid = 2;+// The title of the repository. For axample: sample.- string title = 2;+ string title = 3;// The full_path of the repository. For example: bytebase/sample.- string full_path = 3;+ string full_path = 4;// The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample.- string web_url = 4;+ string web_url = 5;// The branch Bytebase listens to for changes. For example: main.- string branch_filter = 5;+ string branch_filter = 6;// The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.- string base_directory = 6;+ string base_directory = 7;// Bytebase only observes the file path name matching the template pattern **relative** to the base directory.// Required Placeholder: {{DB_NAME}}, {{VERSION}}, {{TYPE]}.// Optional Placeholder: {{ENV_ID}}, {{DESCRIPTION}}.// Optional Directory Wildcard: '*', '**'.- string file_path_template = 7 [(google.api.field_behavior) = REQUIRED];+ string file_path_template = 8 [(google.api.field_behavior) = REQUIRED];// The file path template for storing the latest schema auto-generated by Bytebase after migration.// If empty, then Bytebase won't auto generate it.// If specified, required placeholder: {{DB_NAME}}, optional placeholder: {{ENV_ID}}.- string schema_path_template = 8;+ string schema_path_template = 9;// The file path template for matching the sql files for sheet.// If specified, required Placeholder: {{NAME}}, optional Placeholder: {{ENV_ID}}, {{DB_NAME}}.- string sheet_path_template = 9;+ string sheet_path_template = 10;++ // The reposition external id in target VCS.+ string external_id = 11;// Set to true to enable SQL review CI for all PR/MRs.- bool enable_sql_review_ci = 10;+ bool enable_sql_review_ci = 12;// The webhook endpoint ID of the repository.- string webhook_endpoint_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY];+ string webhook_endpoint_id = 13 [(google.api.field_behavior) = OUTPUT_ONLY];++ string access_token = 14 [(google.api.field_behavior) = INPUT_ONLY];+ google.protobuf.Timestamp expires_time = 15 [(google.api.field_behavior) = INPUT_ONLY];+ string refresh_token = 16 [(google.api.field_behavior) = INPUT_ONLY];}diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.protoindex c870ab26f2..c60f0ee417 100644--- a/proto/v1/project_service.proto+++ b/proto/v1/project_service.proto@@ -120,7 +120,12 @@ service ProjectService {};}- rpc SetProjectSQLReviewCI(SetupSQLReviewCIRequest) returns (SetupSQLReviewCIResponse) {+ rpc DeleteProjectGitOpsInfo(DeleteProjectGitOpsInfoRequest) returns (google.protobuf.Empty) {+ option (google.api.http) = {delete: "/v1/{project=projects/*}/gitOpsInfo"};+ option (google.api.method_signature) = "name";+ }++ rpc SetupProjectSQLReviewCI(SetupSQLReviewCIRequest) returns (SetupSQLReviewCIResponse) {option (google.api.http) = {patch: "/v1/{project=projects/*}/gitOpsInfo:setupSQLReviewCI"body: "*"@@ -347,6 +352,12 @@ message SetProjectGitOpsInfoRequest {bool allow_missing = 4;}+message DeleteProjectGitOpsInfoRequest {+ // The name of the project.+ // Format: projects/{project}+ string project = 1 [(google.api.field_behavior) = REQUIRED];+}+message GetProjectGitOpsInfoRequest {// The name of the project.// Format: projects/{project}@@ -357,8 +368,6 @@ message SetupSQLReviewCIRequest {// The name of the project.// Format: projects/{project}string project = 1 [(google.api.field_behavior) = REQUIRED];-- bool enable_sql_review_ci = 2;}message SetupSQLReviewCIResponse {