Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: migrate vcs connector (#11378)

ecmadao517abe5f57f1
diff --git a/backend/api/v1/acl_config.go b/backend/api/v1/acl_config.go
index ddc4bdfd3e..76a6575cef 100644
--- a/backend/api/v1/acl_config.go
+++ b/backend/api/v1/acl_config.go
@@ -74,9 +74,6 @@ var methodPermissionMap = map[string]iam.Permission{
v1pb.ProjectService_UpdateWebhook_FullMethodName: iam.PermissionProjectsUpdate,
v1pb.ProjectService_RemoveWebhook_FullMethodName: iam.PermissionProjectsUpdate,
v1pb.ProjectService_TestWebhook_FullMethodName: iam.PermissionProjectsUpdate,
- v1pb.ProjectService_UpdateProjectGitOpsInfo_FullMethodName: iam.PermissionProjectsUpdate,
- v1pb.ProjectService_UnsetProjectGitOpsInfo_FullMethodName: iam.PermissionProjectsUpdate,
- v1pb.ProjectService_GetProjectGitOpsInfo_FullMethodName: iam.PermissionProjectsGet,
v1pb.ProjectService_ListDatabaseGroups_FullMethodName: iam.PermissionProjectsGet,
v1pb.ProjectService_GetDatabaseGroup_FullMethodName: iam.PermissionProjectsGet,
v1pb.ProjectService_CreateDatabaseGroup_FullMethodName: iam.PermissionProjectsUpdate,
@@ -119,26 +116,26 @@ var methodPermissionMap = map[string]iam.Permission{
v1pb.InstanceRoleService_DeleteInstanceRole_FullMethodName: iam.PermissionInstancesUpdate,
v1pb.InstanceRoleService_UndeleteInstanceRole_FullMethodName: iam.PermissionInstancesUpdate,
- v1pb.VCSProviderService_ListVCSProviders_FullMethodName: iam.PermissionVCSProvidersList,
- v1pb.VCSProviderService_GetVCSProvider_FullMethodName: iam.PermissionVCSProvidersGet,
- v1pb.VCSProviderService_CreateVCSProvider_FullMethodName: iam.PermissionVCSProvidersCreate,
- v1pb.VCSProviderService_UpdateVCSProvider_FullMethodName: iam.PermissionVCSProvidersUpdate,
- v1pb.VCSProviderService_DeleteVCSProvider_FullMethodName: iam.PermissionVCSProvidersDelete,
- v1pb.VCSProviderService_SearchVCSProviderProjects_FullMethodName: iam.PermissionVCSProvidersSearchProjects,
- v1pb.VCSProviderService_ListProjectGitOpsInfo_FullMethodName: iam.PermissionVCSProvidersListProjects,
- v1pb.RolloutService_ListPlans_FullMethodName: iam.PermissionPlansList,
- v1pb.RolloutService_GetPlan_FullMethodName: iam.PermissionPlansGet,
- v1pb.RolloutService_CreatePlan_FullMethodName: iam.PermissionPlansCreate,
- v1pb.RolloutService_UpdatePlan_FullMethodName: iam.PermissionPlansUpdate,
- v1pb.RolloutService_GetRollout_FullMethodName: iam.PermissionRolloutsGet,
- v1pb.RolloutService_CreateRollout_FullMethodName: iam.PermissionRolloutsCreate,
- v1pb.RolloutService_PreviewRollout_FullMethodName: iam.PermissionRolloutsPreview,
- v1pb.RolloutService_ListTaskRuns_FullMethodName: iam.PermissionTaskRunsList,
- v1pb.RolloutService_ListPlanCheckRuns_FullMethodName: iam.PermissionPlanCheckRunsList,
- v1pb.RolloutService_RunPlanChecks_FullMethodName: iam.PermissionPlanCheckRunsRun,
- v1pb.SettingService_ListSettings_FullMethodName: iam.PermissionSettingsList,
- v1pb.SettingService_GetSetting_FullMethodName: iam.PermissionSettingsGet,
- v1pb.SettingService_UpdateSetting_FullMethodName: iam.PermissionSettingsSet,
+ v1pb.VCSProviderService_ListVCSProviders_FullMethodName: iam.PermissionVCSProvidersList,
+ v1pb.VCSProviderService_GetVCSProvider_FullMethodName: iam.PermissionVCSProvidersGet,
+ v1pb.VCSProviderService_CreateVCSProvider_FullMethodName: iam.PermissionVCSProvidersCreate,
+ v1pb.VCSProviderService_UpdateVCSProvider_FullMethodName: iam.PermissionVCSProvidersUpdate,
+ v1pb.VCSProviderService_DeleteVCSProvider_FullMethodName: iam.PermissionVCSProvidersDelete,
+ v1pb.VCSProviderService_SearchVCSProviderProjects_FullMethodName: iam.PermissionVCSProvidersSearchProjects,
+ v1pb.VCSProviderService_ListVCSConnectorsInProvider_FullMethodName: iam.PermissionVCSProvidersListProjects,
+ v1pb.RolloutService_ListPlans_FullMethodName: iam.PermissionPlansList,
+ v1pb.RolloutService_GetPlan_FullMethodName: iam.PermissionPlansGet,
+ v1pb.RolloutService_CreatePlan_FullMethodName: iam.PermissionPlansCreate,
+ v1pb.RolloutService_UpdatePlan_FullMethodName: iam.PermissionPlansUpdate,
+ v1pb.RolloutService_GetRollout_FullMethodName: iam.PermissionRolloutsGet,
+ v1pb.RolloutService_CreateRollout_FullMethodName: iam.PermissionRolloutsCreate,
+ v1pb.RolloutService_PreviewRollout_FullMethodName: iam.PermissionRolloutsPreview,
+ v1pb.RolloutService_ListTaskRuns_FullMethodName: iam.PermissionTaskRunsList,
+ v1pb.RolloutService_ListPlanCheckRuns_FullMethodName: iam.PermissionPlanCheckRunsList,
+ v1pb.RolloutService_RunPlanChecks_FullMethodName: iam.PermissionPlanCheckRunsRun,
+ v1pb.SettingService_ListSettings_FullMethodName: iam.PermissionSettingsList,
+ v1pb.SettingService_GetSetting_FullMethodName: iam.PermissionSettingsGet,
+ v1pb.SettingService_UpdateSetting_FullMethodName: iam.PermissionSettingsSet,
v1pb.OrgPolicyService_ListPolicies_FullMethodName: iam.PermissionPoliciesList,
v1pb.OrgPolicyService_GetPolicy_FullMethodName: iam.PermissionPoliciesGet,
diff --git a/backend/api/v1/acl_iam.go b/backend/api/v1/acl_iam.go
index 2597fe11d0..cf5d67991c 100644
--- a/backend/api/v1/acl_iam.go
+++ b/backend/api/v1/acl_iam.go
@@ -244,7 +244,7 @@ func (in *ACLInterceptor) doIAMPermissionCheck(ctx context.Context, fullMethod s
v1pb.VCSProviderService_UpdateVCSProvider_FullMethodName,
v1pb.VCSProviderService_DeleteVCSProvider_FullMethodName,
v1pb.VCSProviderService_SearchVCSProviderProjects_FullMethodName,
- v1pb.VCSProviderService_ListProjectGitOpsInfo_FullMethodName,
+ v1pb.VCSProviderService_ListVCSConnectorsInProvider_FullMethodName,
v1pb.RiskService_ListRisks_FullMethodName,
v1pb.RiskService_CreateRisk_FullMethodName,
v1pb.RiskService_UpdateRisk_FullMethodName,
@@ -316,9 +316,6 @@ func (in *ACLInterceptor) doIAMPermissionCheck(ctx context.Context, fullMethod s
v1pb.ProjectService_UpdateWebhook_FullMethodName,
v1pb.ProjectService_RemoveWebhook_FullMethodName,
v1pb.ProjectService_TestWebhook_FullMethodName,
- v1pb.ProjectService_UpdateProjectGitOpsInfo_FullMethodName,
- v1pb.ProjectService_UnsetProjectGitOpsInfo_FullMethodName,
- v1pb.ProjectService_GetProjectGitOpsInfo_FullMethodName,
v1pb.ProjectService_GetDatabaseGroup_FullMethodName,
v1pb.ProjectService_CreateDatabaseGroup_FullMethodName,
@@ -524,7 +521,7 @@ func (*ACLInterceptor) getProjectIDsForBranchService(_ context.Context, req any)
}
func (*ACLInterceptor) getProjectIDsForProjectService(_ context.Context, req any) ([]string, error) {
- var projects, projectDeploymentConfigs, projectWebhooks, projectGitopsInfos, databaseGroups, schemaGroups, protectionRules []string
+ var projects, projectDeploymentConfigs, projectWebhooks, databaseGroups, schemaGroups, protectionRules []string
switch r := req.(type) {
case *v1pb.GetProjectRequest:
@@ -549,12 +546,6 @@ func (*ACLInterceptor) getProjectIDsForProjectService(_ context.Context, req any
projectWebhooks = append(projectWebhooks, r.GetWebhook().GetName())
case *v1pb.TestWebhookRequest:
projects = append(projects, r.GetProject())
- case *v1pb.UpdateProjectGitOpsInfoRequest:
- projectGitopsInfos = append(projectGitopsInfos, r.GetProjectGitopsInfo().GetName())
- case *v1pb.UnsetProjectGitOpsInfoRequest:
- projectGitopsInfos = append(projectGitopsInfos, r.GetName())
- case *v1pb.GetProjectGitOpsInfoRequest:
- projectGitopsInfos = append(projectGitopsInfos, r.GetName())
case *v1pb.GetDatabaseGroupRequest:
databaseGroups = append(databaseGroups, r.GetName())
case *v1pb.CreateDatabaseGroupRequest:
@@ -600,13 +591,6 @@ func (*ACLInterceptor) getProjectIDsForProjectService(_ context.Context, req any
}
projectIDs = append(projectIDs, projectID)
}
- for _, projectGitopsInfo := range projectGitopsInfos {
- projectID, err := common.TrimSuffixAndGetProjectID(projectGitopsInfo, common.GitOpsInfoSuffix)
- if err != nil {
- return nil, errors.Wrapf(err, "failed to parse %q", projectGitopsInfo)
- }
- projectIDs = append(projectIDs, projectID)
- }
for _, databaseGroup := range databaseGroups {
projectID, _, err := common.GetProjectIDDatabaseGroupID(databaseGroup)
if err != nil {
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.go
index 8c4b112929..191aaed1dc 100644
--- a/backend/api/v1/project_service.go
+++ b/backend/api/v1/project_service.go
@@ -395,177 +395,6 @@ func (s *ProjectService) SetIamPolicy(ctx context.Context, request *v1pb.SetIamP
return iamPolicy, nil
}
-// GetProjectGitOpsInfo gets the GitOps info for a project.
-func (s *ProjectService) GetProjectGitOpsInfo(ctx context.Context, request *v1pb.GetProjectGitOpsInfoRequest) (*v1pb.ProjectGitOpsInfo, error) {
- projectName, err := common.TrimSuffix(request.Name, common.GitOpsInfoSuffix)
- if err != nil {
- return nil, status.Errorf(codes.InvalidArgument, err.Error())
- }
- repo, err := s.getDefaultVCSConnector(ctx, projectName)
- if err != nil {
- return nil, err
- }
- return convertToProjectGitOpsInfo(repo), nil
-}
-
-// UpdateProjectGitOpsInfo upserts the GitOps info for a project.
-func (s *ProjectService) UpdateProjectGitOpsInfo(ctx context.Context, request *v1pb.UpdateProjectGitOpsInfoRequest) (*v1pb.ProjectGitOpsInfo, error) {
- if request.ProjectGitopsInfo == nil {
- return nil, status.Errorf(codes.InvalidArgument, "project gitops info is missing")
- }
- projectName, err := common.TrimSuffix(request.ProjectGitopsInfo.Name, common.GitOpsInfoSuffix)
- if err != nil {
- return nil, status.Errorf(codes.InvalidArgument, err.Error())
- }
- project, err := s.getProjectMessage(ctx, projectName)
- if err != nil {
- return nil, err
- }
- if project.Deleted {
- return nil, status.Errorf(codes.NotFound, "project %q has been deleted", projectName)
- }
-
- setting, err := s.store.GetWorkspaceGeneralSetting(ctx)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to find workspace setting with error: %v", err.Error())
- }
- if setting.ExternalUrl == "" {
- return nil, status.Errorf(codes.FailedPrecondition, "external url is required")
- }
-
- defaultResourceID := "default"
- vcsConnector, err := s.store.GetVCSConnector(ctx, &store.FindVCSConnectorMessage{
- ProjectID: &project.ResourceID,
- ResourceID: &defaultResourceID,
- })
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to get repository, error %v", err.Error())
- }
- if vcsConnector == nil {
- if !request.AllowMissing {
- return nil, status.Errorf(codes.NotFound, "gitops not found, please set allow_missing flag for creation")
- }
-
- return s.createProjectGitOpsInfo(ctx, request, project)
- }
-
- vcs, err := s.store.GetVCSProvider(ctx, &store.FindVCSProviderMessage{ResourceID: &vcsConnector.VCSResourceID})
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to get vcs provider, error %v", err.Error())
- }
- if vcs == nil {
- return nil, status.Errorf(codes.NotFound, "VCS provider not found")
- }
-
- if request.UpdateMask == nil {
- return nil, status.Errorf(codes.InvalidArgument, "update_mask must be set to update gitops")
- }
-
- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)
- if !ok {
- return nil, status.Errorf(codes.Internal, "principal ID not found")
- }
- patch := &store.UpdateVCSConnectorMessage{
- UID: vcsConnector.UID,
- UpdaterID: principalID,
- }
-
- for _, path := range request.UpdateMask.Paths {
- switch path {
- case "branch":
- patch.Branch = &request.ProjectGitopsInfo.Branch
- case "base_directory":
- baseDir := request.ProjectGitopsInfo.BaseDirectory
- // Azure DevOps base directory should start with /.
- if vcs.Type == vcsplugin.AzureDevOps {
- if !strings.HasPrefix(baseDir, "/") {
- baseDir = "/" + request.ProjectGitopsInfo.BaseDirectory
- }
- } else {
- baseDir = strings.Trim(request.ProjectGitopsInfo.BaseDirectory, "/")
- }
- patch.BaseDirectory = &baseDir
- }
- }
-
- // Check branch existence.
- if v := patch.Branch; v != nil {
- if *v == "" {
- return nil, status.Errorf(codes.InvalidArgument, "branch must be specified")
- }
- notFound, err := isBranchNotFound(
- ctx,
- vcs,
- vcs.AccessToken,
- vcsConnector.Payload.ExternalId,
- *v,
- )
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to check branch: %v", err.Error())
- }
- if notFound {
- return nil, status.Errorf(codes.NotFound, "branch %s not found in repository %s", *v, vcsConnector.Payload.FullPath)
- }
- }
-
- if err := s.store.UpdateVCSConnector(ctx, patch); err != nil {
- return nil, status.Errorf(codes.Internal, "failed to update repository with error: %v", err.Error())
- }
- vcsConnector, err = s.store.GetVCSConnector(ctx, &store.FindVCSConnectorMessage{
- ProjectID: &project.ResourceID,
- ResourceID: &defaultResourceID,
- })
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to get repository, error %v", err.Error())
- }
-
- return convertToProjectGitOpsInfo(vcsConnector), nil
-}
-
-// UnsetProjectGitOpsInfo deletes the GitOps info for a project.
-func (s *ProjectService) UnsetProjectGitOpsInfo(ctx context.Context, request *v1pb.UnsetProjectGitOpsInfoRequest) (*emptypb.Empty, error) {
- projectID, err := common.TrimSuffix(request.Name, common.GitOpsInfoSuffix)
- if err != nil {
- return nil, status.Errorf(codes.InvalidArgument, err.Error())
- }
-
- vcsConnector, err := s.getDefaultVCSConnector(ctx, projectID)
- if err != nil {
- return nil, err
- }
-
- vcs, err := s.store.GetVCSProvider(ctx, &store.FindVCSProviderMessage{ResourceID: &vcsConnector.VCSResourceID})
- 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", vcsConnector.UID)
- }
-
- if err := s.store.DeleteVCSConnector(ctx, vcsConnector.ProjectID, vcsConnector.ResourceID); err != nil {
- return nil, status.Errorf(codes.Internal, "failed to delete repository with error: %v", err.Error())
- }
-
- // 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{
- AccessToken: vcs.AccessToken,
- },
- vcs.InstanceURL,
- vcsConnector.Payload.ExternalId,
- vcsConnector.Payload.ExternalWebhookId,
- ); err != nil {
- // Despite the error here, we have deleted the repository in the database, we still return success.
- slog.Error("failed to delete webhook for project", slog.String("project", projectID), slog.Int("repo", vcsConnector.UID), log.BBError(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 []*store.ActivityMessage
@@ -887,130 +716,6 @@ func (s *ProjectService) TestWebhook(ctx context.Context, request *v1pb.TestWebh
return resp, nil
}
-func (s *ProjectService) getDefaultVCSConnector(ctx context.Context, projectName string) (*store.VCSConnectorMessage, error) {
- project, err := s.getProjectMessage(ctx, projectName)
- if err != nil {
- return nil, err
- }
- if project.Deleted {
- return nil, status.Errorf(codes.NotFound, "project %s has been deleted", projectName)
- }
-
- defaultResourceID := "default"
- vcsConnector, err := s.store.GetVCSConnector(ctx, &store.FindVCSConnectorMessage{
- ProjectID: &project.ResourceID,
- ResourceID: &defaultResourceID,
- })
- if err != nil {
- return nil, status.Errorf(codes.Internal, err.Error())
- }
- if vcsConnector == nil {
- return nil, status.Errorf(codes.NotFound, "VCS connector not found")
- }
-
- return vcsConnector, nil
-}
-
-func (s *ProjectService) createProjectGitOpsInfo(ctx context.Context, request *v1pb.UpdateProjectGitOpsInfoRequest, project *store.ProjectMessage) (*v1pb.ProjectGitOpsInfo, error) {
- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)
- if !ok {
- return nil, status.Errorf(codes.Internal, "principal ID not found")
- }
- if request.GetProjectGitopsInfo().Branch == "" {
- return nil, status.Errorf(codes.InvalidArgument, "branch must be specified")
- }
-
- setting, err := s.store.GetWorkspaceGeneralSetting(ctx)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to find workspace setting: %v", err)
- }
- if setting.ExternalUrl == "" {
- return nil, status.Errorf(codes.FailedPrecondition, setupExternalURLError)
- }
-
- vcsResourceID, err := common.GetVCSProviderID(request.ProjectGitopsInfo.Vcs)
- if err != nil {
- return nil, status.Errorf(codes.InvalidArgument, err.Error())
- }
- vcs, err := s.store.GetVCSProvider(ctx, &store.FindVCSProviderMessage{ResourceID: &vcsResourceID})
- 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 %s not found", vcsResourceID)
- }
-
- baseDir := request.ProjectGitopsInfo.BaseDirectory
- // Azure DevOps base directory should start with /.
- if vcs.Type == vcsplugin.AzureDevOps {
- if !strings.HasPrefix(baseDir, "/") {
- baseDir = "/" + request.ProjectGitopsInfo.BaseDirectory
- }
- } else {
- baseDir = strings.Trim(request.ProjectGitopsInfo.BaseDirectory, "/")
- }
-
- // TODO(d): pass in the resource ID from API.
- vcsConnectorID := "default"
- vcsConnectorCreate := &store.VCSConnectorMessage{
- CreatorID: principalID,
- VCSUID: vcs.ID,
- VCSResourceID: vcs.ResourceID,
- ProjectID: project.ResourceID,
- ResourceID: vcsConnectorID,
- Payload: &storepb.VCSConnector{
- Title: request.ProjectGitopsInfo.Title,
- FullPath: request.ProjectGitopsInfo.FullPath,
- WebUrl: request.ProjectGitopsInfo.WebUrl,
- Branch: request.ProjectGitopsInfo.Branch,
- BaseDirectory: baseDir,
- ExternalId: request.ProjectGitopsInfo.ExternalId,
- },
- }
-
- // Check branch existence.
- notFound, err := isBranchNotFound(
- ctx,
- vcs,
- vcs.AccessToken,
- vcsConnectorCreate.Payload.ExternalId,
- vcsConnectorCreate.Payload.Branch,
- )
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to check branch %s with error: %v", vcsConnectorCreate.Payload.Branch, err.Error())
- }
- if notFound {
- return nil, status.Errorf(codes.NotFound, "branch %s not found in repository %s", vcsConnectorCreate.Payload.Branch, vcsConnectorCreate.Payload.FullPath)
- }
-
- // Create the webhook.
- workspaceID, err := s.store.GetWorkspaceID(ctx)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to find workspace id with error: %v", err.Error())
- }
- webhookEndpointID := fmt.Sprintf("workspaces/%s/projects/%s/vcsConnectors/%s", workspaceID, project.ResourceID, vcsConnectorID)
- secretToken, err := common.RandomString(gitlab.SecretTokenLength)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to generate random secret token for vcs with error: %v", err.Error())
- }
- vcsConnectorCreate.Payload.WebhookSecretToken = secretToken
- bytebaseEndpointURL := setting.GitopsWebhookUrl
- if bytebaseEndpointURL == "" {
- bytebaseEndpointURL = setting.ExternalUrl
- }
- webhookID, err := createVCSWebhook(ctx, vcs.Type, webhookEndpointID, secretToken, vcs.AccessToken, vcs.InstanceURL, vcsConnectorCreate.Payload.ExternalId, bytebaseEndpointURL)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to create webhook for project %s with error: %v", vcsConnectorCreate.ProjectID, err.Error())
- }
- vcsConnectorCreate.Payload.ExternalWebhookId = webhookID
- vcsConnector, err := s.store.CreateVCSConnector(ctx, vcsConnectorCreate)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to link project repository with error: %v", err.Error())
- }
-
- return convertToProjectGitOpsInfo(vcsConnector), nil
-}
-
// CreateDatabaseGroup creates a database group.
func (s *ProjectService) CreateDatabaseGroup(ctx context.Context, request *v1pb.CreateDatabaseGroupRequest) (*v1pb.DatabaseGroup, error) {
if err := s.licenseService.IsFeatureEnabled(api.FeatureDatabaseGrouping); err != nil {
@@ -2381,18 +2086,6 @@ func validateMember(member string) error {
return errors.Errorf("invalid user %s", member)
}
-func convertToProjectGitOpsInfo(vcsConnector *store.VCSConnectorMessage) *v1pb.ProjectGitOpsInfo {
- return &v1pb.ProjectGitOpsInfo{
- Name: fmt.Sprintf("%s%s/gitOpsInfo", common.ProjectNamePrefix, vcsConnector.ProjectID),
- Vcs: fmt.Sprintf("%s%s", common.VCSProviderPrefix, vcsConnector.VCSResourceID),
- Title: vcsConnector.Payload.Title,
- FullPath: vcsConnector.Payload.FullPath,
- Branch: vcsConnector.Payload.Branch,
- BaseDirectory: vcsConnector.Payload.BaseDirectory,
- ExternalId: vcsConnector.Payload.ExternalId,
- }
-}
-
func isBranchNotFound(
ctx context.Context,
vcs *store.VCSProviderMessage,
diff --git a/backend/api/v1/vcs_connector_service.go b/backend/api/v1/vcs_connector_service.go
index f1aac3edac..821e152838 100644
--- a/backend/api/v1/vcs_connector_service.go
+++ b/backend/api/v1/vcs_connector_service.go
@@ -155,7 +155,7 @@ func (s *VCSConnectorService) CreateVCSConnector(ctx context.Context, request *v
if err != nil {
return nil, err
}
- v1VCSConnector, err := s.convertStoreVCSConnector(ctx, vcsConnector)
+ v1VCSConnector, err := convertStoreVCSConnector(ctx, s.store, vcsConnector)
if err != nil {
return nil, err
}
@@ -185,7 +185,7 @@ func (s *VCSConnectorService) GetVCSConnector(ctx context.Context, request *v1pb
if vcsConnector == nil {
return nil, status.Errorf(codes.NotFound, "vcs connector %q not found", vcsConnectorID)
}
- v1VCSConnector, err := s.convertStoreVCSConnector(ctx, vcsConnector)
+ v1VCSConnector, err := convertStoreVCSConnector(ctx, s.store, vcsConnector)
if err != nil {
return nil, err
}
@@ -215,7 +215,7 @@ func (s *VCSConnectorService) ListVCSConnectors(ctx context.Context, request *v1
resp := &v1pb.ListVCSConnectorsResponse{}
for _, vcsConnector := range vcsConnectors {
- v1VCSConnector, err := s.convertStoreVCSConnector(ctx, vcsConnector)
+ v1VCSConnector, err := convertStoreVCSConnector(ctx, s.store, vcsConnector)
if err != nil {
return nil, err
}
@@ -319,7 +319,7 @@ func (s *VCSConnectorService) UpdateVCSConnector(ctx context.Context, request *v
return nil, err
}
- v1VCSConnector, err := s.convertStoreVCSConnector(ctx, vcsConnector)
+ v1VCSConnector, err := convertStoreVCSConnector(ctx, s.store, vcsConnector)
if err != nil {
return nil, err
}
@@ -378,15 +378,15 @@ func (s *VCSConnectorService) DeleteVCSConnector(ctx context.Context, request *v
return &emptypb.Empty{}, nil
}
-func (s *VCSConnectorService) convertStoreVCSConnector(ctx context.Context, vcsConnector *store.VCSConnectorMessage) (*v1pb.VCSConnector, error) {
- creator, err := s.store.GetUserByID(ctx, vcsConnector.CreatorID)
+func convertStoreVCSConnector(ctx context.Context, stores *store.Store, vcsConnector *store.VCSConnectorMessage) (*v1pb.VCSConnector, error) {
+ creator, err := stores.GetUserByID(ctx, vcsConnector.CreatorID)
if err != nil {
return nil, status.Errorf(codes.Internal, fmt.Sprintf("failed to get creator: %v", err))
}
if creator == nil {
return nil, status.Errorf(codes.NotFound, fmt.Sprintf("cannot find the creator: %d", vcsConnector.CreatorID))
}
- updater, err := s.store.GetUserByID(ctx, vcsConnector.UpdaterID)
+ updater, err := stores.GetUserByID(ctx, vcsConnector.UpdaterID)
if err != nil {
return nil, status.Errorf(codes.Internal, fmt.Sprintf("failed to get updater: %v", err))
}
diff --git a/backend/api/v1/vcs_provider_service.go b/backend/api/v1/vcs_provider_service.go
index 81a7a3adf4..855e72a276 100644
--- a/backend/api/v1/vcs_provider_service.go
+++ b/backend/api/v1/vcs_provider_service.go
@@ -165,8 +165,8 @@ func (s *VCSProviderService) SearchVCSProviderProjects(ctx context.Context, requ
}, nil
}
-// ListProjectGitOpsInfo lists GitOps info of a project.
-func (s *VCSProviderService) ListProjectGitOpsInfo(ctx context.Context, request *v1pb.ListProjectGitOpsInfoRequest) (*v1pb.ListProjectGitOpsInfoResponse, error) {
+// ListVCSConnectorsInProvider lists GitOps connectors for the provider.
+func (s *VCSProviderService) ListVCSConnectorsInProvider(ctx context.Context, request *v1pb.ListVCSConnectorsInProviderRequest) (*v1pb.ListVCSConnectorsInProviderResponse, error) {
vcs, err := s.getVCS(ctx, request.Name)
if err != nil {
return nil, err
@@ -178,11 +178,14 @@ func (s *VCSProviderService) ListProjectGitOpsInfo(ctx context.Context, request
return nil, status.Errorf(codes.Internal, "failed to fetch external repository list: %v", err)
}
- resp := &v1pb.ListProjectGitOpsInfoResponse{}
- for _, repo := range vcsConnectors {
- resp.ProjectGitopsInfo = append(resp.ProjectGitopsInfo, convertToProjectGitOpsInfo(repo))
+ resp := &v1pb.ListVCSConnectorsInProviderResponse{}
+ for _, vcsConnector := range vcsConnectors {
+ v1VCSConnector, err := convertStoreVCSConnector(ctx, s.store, vcsConnector)
+ if err != nil {
+ return nil, err
+ }
+ resp.VcsConnectors = append(resp.VcsConnectors, v1VCSConnector)
}
-
return resp, nil
}
diff --git a/frontend/src/components/Project/ProjectSidebarV1.vue b/frontend/src/components/Project/ProjectSidebarV1.vue
index 0382d1e15c..a72125e937 100644
--- a/frontend/src/components/Project/ProjectSidebarV1.vue
+++ b/frontend/src/components/Project/ProjectSidebarV1.vue
@@ -37,22 +37,10 @@ import projectV1Routes, {
PROJECT_V1_ROUTE_MEMBERS,
PROJECT_V1_ROUTE_SETTINGS,
PROJECT_V1_ROUTE_WEBHOOKS,
- PROJECT_V1_ROUTE_WEBHOOK_CREATE,
- PROJECT_V1_ROUTE_WEBHOOK_DETAIL,
PROJECT_V1_ROUTE_BRANCHES,
- PROJECT_V1_ROUTE_BRANCH_DETAIL,
- PROJECT_V1_ROUTE_BRANCH_ROLLOUT,
- PROJECT_V1_ROUTE_BRANCH_MERGE,
- PROJECT_V1_ROUTE_BRANCH_REBASE,
PROJECT_V1_ROUTE_CHANGELISTS,
- PROJECT_V1_ROUTE_CHANGELIST_DETAIL,
PROJECT_V1_ROUTE_DATABASE_GROUPS,
- PROJECT_V1_ROUTE_DATABASE_GROUP_DETAIL,
- PROJECT_V1_ROUTE_DATABASE_GROUP_TABLE_GROUP_DETAIL,
PROJECT_V1_ROUTE_DEPLOYMENT_CONFIG,
- PROJECT_V1_ROUTE_ISSUE_DETAIL,
- PROJECT_V1_ROUTE_DATABASE_DETAIL,
- PROJECT_V1_ROUTE_DATABASE_CHANGE_HISTORY_DETAIL,
} from "@/router/dashboard/projectV1";
import { useCurrentUserV1 } from "@/store";
import { getProjectName } from "@/store/modules/v1/common";
@@ -284,54 +272,16 @@ const projectSidebarItemList = computed((): ProjectSidebarItem[] => {
const getItemClass = (item: SidebarItem) => {
const list = ["outline-item"];
- if (route.name === item.path) {
+ const { name: current } = route;
+
+ const isActiveRoute =
+ item.path === current?.toString() ||
+ current?.toString().startsWith(`${item.path}.`);
+
+ if (isActiveRoute) {
list.push("router-link-active", "bg-link-hover");
return list;
}
-
- switch (route.name) {
- case PROJECT_V1_ROUTE_WEBHOOK_CREATE:
- case PROJECT_V1_ROUTE_WEBHOOK_DETAIL:
- if (item.path === PROJECT_V1_ROUTE_WEBHOOKS) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- case PROJECT_V1_ROUTE_BRANCH_DETAIL:
- case PROJECT_V1_ROUTE_BRANCH_ROLLOUT:
- case PROJECT_V1_ROUTE_BRANCH_MERGE:
- case PROJECT_V1_ROUTE_BRANCH_REBASE:
- if (item.path === PROJECT_V1_ROUTE_BRANCHES) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- case PROJECT_V1_ROUTE_CHANGELIST_DETAIL:
- if (item.path === PROJECT_V1_ROUTE_CHANGELISTS) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- case PROJECT_V1_ROUTE_DATABASE_GROUP_DETAIL:
- case PROJECT_V1_ROUTE_DATABASE_GROUP_TABLE_GROUP_DETAIL:
- if (item.path === PROJECT_V1_ROUTE_DATABASE_GROUPS) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- case "workspace.issue.detail":
- case PROJECT_V1_ROUTE_ISSUE_DETAIL:
- if (item.path === PROJECT_V1_ROUTE_ISSUES) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- case PROJECT_V1_ROUTE_DATABASE_CHANGE_HISTORY_DETAIL:
- if (item.path === PROJECT_V1_ROUTE_CHANGE_HISTORIES) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- case PROJECT_V1_ROUTE_DATABASE_DETAIL:
- if (item.path === PROJECT_V1_ROUTE_DATABASES) {
- list.push("router-link-active", "bg-link-hover");
- }
- break;
- }
return list;
};
diff --git a/frontend/src/components/ProjectVersionControlPanel.vue b/frontend/src/components/ProjectVersionControlPanel.vue
deleted file mode 100644
index a1db7876fa..0000000000
--- a/frontend/src/components/ProjectVersionControlPanel.vue
+++ /dev/null
@@ -1,183 +0,0 @@
-<template>
- <div>
- <template
- v-if="
- allowEdit && (state.showWizardForCreate || state.showWizardForChange)
- "
- >
- <RepositorySetupWizard
- :create="state.showWizardForCreate"
- :project="project"
- @cancel="cancelWizard"
- @finish="finishWizard"
- />
- </template>
- <template v-else>
- <template v-if="project.workflow === Workflow.UI">
- <div class="text-lg leading-6 font-medium text-main">
- {{ $t("workflow.current-workflow") }}
- </div>
- <div class="mt-6">
- <NRadioGroup
- v-model:value="state.workflowType"
- :disabled="!allowEdit"
- class="flex flex-col space-y-4"
- >
- <NRadio
- v-for="workflow in workflowList"
- :key="workflow.value"
- :value="workflow.value"
- >
- <div>
- <span class="textlabel">
- {{ workflow.title }}
- </span>
- <div class="mt-1 textinfolabel">
- {{ workflow.description }}
- </div>
- </div>
- </NRadio>
- </NRadioGroup>
- </div>
- <template v-if="allowEdit && state.workflowType == Workflow.VCS">
- <div class="mt-4 flex items-center justify-end">
- <NButton type="primary" @click.prevent="enterWizard(true)">
- {{ $t("workflow.configure-gitops") }}
- <template #icon>
- <heroicons-outline:chevron-right class="w-5 h-5" />
- </template>
- </NButton>
- </div>
- </template>
- </template>
- <template v-else-if="project.workflow === Workflow.VCS && repository">
- <RepositoryPanel
- :project="project"
- :vcs="vcs"
- :repository="repository"
- :allow-edit="allowEdit"
- @change-repository="enterWizard(false)"
- @restore="cancelWizard"
- />
- </template>
- </template>
- </div>
-</template>
-
-<script lang="ts" setup>
-import { NRadio, NRadioGroup } from "naive-ui";
-import { reactive, watch } from "vue";
-import type { PropType } from "vue";
-import { computed } from "vue";
-import { useI18n } from "vue-i18n";
-import { pushNotification, useRepositoryV1Store, useVCSV1Store } from "@/store";
-import type { Project } from "@/types/proto/v1/project_service";
-import { Workflow } from "@/types/proto/v1/project_service";
-import type { VCSProvider } from "@/types/proto/v1/vcs_provider_service";
-
-interface LocalState {
- workflowType: Workflow;
- showWizardForCreate: boolean;
- showWizardForChange: boolean;
-}
-
-const props = defineProps({
- allowEdit: {
- default: true,
- type: Boolean,
- },
- project: {
- required: true,
- type: Object as PropType<Project>,
- },
-});
-
-const { t } = useI18n();
-
-const repositoryV1Store = useRepositoryV1Store();
-const vcsV1Store = useVCSV1Store();
-
-const state = reactive<LocalState>({
- workflowType: props.project.workflow,
- showWizardForCreate: false,
- showWizardForChange: false,
-});
-
-const workflowList = computed(() => [
- {
- value: Workflow.UI,
- title: t("workflow.ui-workflow"),
- description: t("workflow.ui-workflow-description"),
- },
- {
- value: Workflow.VCS,
- title: t("workflow.gitops-workflow"),
- description: t("workflow.gitops-workflow-description"),
- },
-]);
-
-watch(
- () => [props.project.name],
- async () => {
- const repo = await repositoryV1Store.getOrFetchRepositoryByProject(
- props.project.name,
- true /* silent */
- );
- if (repo) {
- await vcsV1Store.fetchVCSByName(repo.vcs);
- }
- },
- {
- immediate: true,
- }
-);
-
-watch(
- () => props.project.workflow,
- (type) => {
- state.workflowType = type;
- }
-);
-
-const repository = computed(() => {
- return repositoryV1Store.getRepositoryByProject(props.project.name);
-});
-
-const vcs = computed(() => {
- return (
- vcsV1Store.fetchVCSByName(repository.value?.vcs ?? "") ??
- ({} as VCSProvider)
- );
-});
-
-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/ProjectWebhookPanel.vue b/frontend/src/components/ProjectWebhookPanel.vue
index 360f0ec559..4d2f73a1da 100644
--- a/frontend/src/components/ProjectWebhookPanel.vue
+++ b/frontend/src/components/ProjectWebhookPanel.vue
@@ -9,6 +9,7 @@
{{ $t("project.webhook.add-a-webhook") }}
</NButton>
</div>
+ <!-- TODO(ed): use data table -->
<div v-if="projectWebhookList.length > 0" class="space-y-6">
<template
v-for="(projectWebhook, index) in projectWebhookList"
diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vue
index 1cdc82de48..420b625015 100644
--- a/frontend/src/components/RepositoryForm.vue
+++ b/frontend/src/components/RepositoryForm.vue
@@ -32,13 +32,6 @@
<label for="repository" class="textlabel">
{{ $t("common.repository") }}
</label>
- <div
- v-if="!create && allowEdit"
- class="ml-1 normal-link text-sm"
- @click.prevent="$emit('change-repository')"
- >
- {{ $t("common.change") }}
- </div>
</div>
<BBTextField
id="repository"
@@ -48,6 +41,14 @@
:value="repositoryInfo.fullPath"
/>
</div>
+ <ResourceIdField
+ v-model:value="repositoryConfig.resourceId"
+ class="max-w-full flex-nowrap"
+ resource-type="vcs-connector"
+ :resource-title="repositoryInfo.name"
+ :validate="validateResourceId"
+ :readonly="!create || !allowEdit"
+ />
<div>
<div class="textlabel">
{{ $t("common.branch") }} <span class="text-red-600">*</span>
@@ -81,14 +82,15 @@
</template>
<script lang="ts" setup>
+import { Status } from "nice-grpc-common";
import { computed } from "vue";
+import { useI18n } from "vue-i18n";
+import { useVCSConnectorStore } from "@/store";
import type { ExternalRepositoryInfo, RepositoryConfig } from "@/types";
+import type { ResourceId, ValidatedMessage } from "@/types";
import type { Project } from "@/types/proto/v1/project_service";
import { VCSProvider_Type } from "@/types/proto/v1/vcs_provider_service";
-
-defineEmits<{
- (event: "change-repository"): void;
-}>();
+import { getErrorCode } from "@/utils/grpcweb";
const props = withDefaults(
defineProps<{
@@ -106,6 +108,9 @@ const props = withDefaults(
}
);
+const { t } = useI18n();
+const vcsConnectorStore = useVCSConnectorStore();
+
const getWebhookLink = computed(() => {
if (props.vcsType === VCSProvider_Type.AZURE_DEVOPS) {
const parts = props.repositoryInfo.externalId.split("/");
@@ -117,4 +122,34 @@ const getWebhookLink = computed(() => {
}
return "";
});
+
+const validateResourceId = async (
+ resourceId: ResourceId
+): Promise<ValidatedMessage[]> => {
+ if (!resourceId) {
+ return [];
+ }
+
+ try {
+ const instance = await vcsConnectorStore.getOrFetchConnector(
+ props.project.name,
+ resourceId
+ );
+ if (instance) {
+ return [
+ {
+ type: "error",
+ message: t("resource-id.validation.duplicated", {
+ resource: t("resource.instance"),
+ }),
+ },
+ ];
+ }
+ } catch (error) {
+ if (getErrorCode(error) !== Status.NOT_FOUND) {
+ throw error;
+ }
+ }
+ return [];
+};
</script>
diff --git a/frontend/src/components/RepositoryPanel.vue b/frontend/src/components/RepositoryPanel.vue
index 6e1acc76d1..18e452dfd6 100644
--- a/frontend/src/components/RepositoryPanel.vue
+++ b/frontend/src/components/RepositoryPanel.vue
@@ -1,20 +1,8 @@
<template>
- <div class="flex justify-between">
- <div class="text-lg leading-6 font-medium text-main">
- <i18n-t keypath="repository.gitops-status">
- <template #status>
- <span class="text-success"> {{ $t("common.enabled") }} </span>
- </template>
- </i18n-t>
- </div>
- <TroubleshootLink
- url="https://www.bytebase.com/docs/vcs-integration/troubleshoot/?source=console"
- />
- </div>
<div class="mt-2 textinfolabel">
<i18n-t keypath="repository.gitops-description-file-path">
<template #fullPath>
- <a class="normal-link" :href="repository.webUrl" target="_blank">
+ <a class="normal-link" :href="vcsConnector.webUrl" target="_blank">
{{ repositoryFormattedFullPath }}
</a>
</template>
@@ -32,28 +20,37 @@
</span>
</template>
</i18n-t>
+ <span>&nbsp;</span>
+ <TroubleshootLink
+ url="https://www.bytebase.com/docs/vcs-integration/troubleshoot/?source=console"
+ />
</div>
<RepositoryForm
class="mt-4"
:allow-edit="allowEdit"
- :vcs-type="vcs.type"
- :vcs-name="vcs.title"
+ :vcs-type="vcsProvider.type"
+ :vcs-name="vcsProvider.title"
:repository-info="repositoryInfo"
:repository-config="state.repositoryConfig"
:project="project"
- @change-repository="$emit('change-repository')"
/>
- <div v-if="allowEdit" class="mt-4 pt-4 flex border-t justify-between">
+ <div
+ v-if="allowEdit || allowDelete"
+ class="mt-4 pt-4 flex border-t justify-between"
+ >
<BBButtonConfirm
- :style="'RESTORE'"
- :button-text="$t('repository.restore-to-ui-workflow')"
+ v-if="allowDelete"
+ :style="'DELETE'"
+ :button-text="$t('project.gitops-connector.delete')"
:require-confirm="true"
- :ok-text="$t('common.restore')"
- :confirm-title="$t('repository.restore-to-ui-workflow') + '?'"
- :confirm-description="$t('repository.restore-ui-workflow-description')"
- @confirm="() => restoreToUIWorkflowType(true)"
+ :ok-text="$t('common.delete')"
+ :confirm-title="$t('project.gitops-connector.delete') + '?'"
+ @confirm="deleteConnector"
/>
- <div class="ml-3">
+ <div v-if="allowEdit" class="ml-3 flex items-center space-x-3">
+ <NButton @click.prevent="$emit('cancel')">
+ {{ $t("common.back") }}
+ </NButton>
<NButton
type="primary"
:disabled="!allowUpdate"
@@ -72,19 +69,12 @@
<script lang="ts" setup>
import isEmpty from "lodash-es/isEmpty";
-import type { PropType } from "vue";
import { computed, reactive, watch } from "vue";
-import { useI18n } from "vue-i18n";
-import {
- pushNotification,
- useProjectV1Store,
- useRepositoryV1Store,
-} from "@/store";
+import { useVCSV1Store, useVCSConnectorStore } from "@/store";
+import { getVCSConnectorId } from "@/store/modules/v1/common";
import type { Project } from "@/types/proto/v1/project_service";
-import type {
- ProjectGitOpsInfo,
- VCSProvider,
-} from "@/types/proto/v1/vcs_provider_service";
+import { VCSConnector } from "@/types/proto/v1/vcs_connector_service";
+import { VCSProvider } from "@/types/proto/v1/vcs_provider_service";
import { VCSProvider_Type } from "@/types/proto/v1/vcs_provider_service";
import type { ExternalRepositoryInfo, RepositoryConfig } from "../types";
@@ -94,55 +84,53 @@ interface LocalState {
processing: boolean;
}
-const props = defineProps({
- project: {
- required: true,
- type: Object as PropType<Project>,
- },
- repository: {
- required: true,
- type: Object as PropType<ProjectGitOpsInfo>,
- },
- vcs: {
- required: true,
- type: Object as PropType<VCSProvider>,
- },
- allowEdit: {
- default: true,
- type: Boolean,
- },
-});
+const props = defineProps<{
+ project: Project;
+ vcsConnector: VCSConnector;
+ allowEdit: boolean;
+ allowDelete: boolean;
+}>();
const emit = defineEmits<{
- (event: "change-repository"): void;
- (event: "restore"): void;
+ (event: "delete"): void;
+ (event: "update"): void;
+ (event: "cancel"): void;
}>();
-const { t } = useI18n();
-const repositoryV1Store = useRepositoryV1Store();
-const projectV1Store = useProjectV1Store();
+const vcsV1Store = useVCSV1Store();
+const vcsConnectorStore = useVCSConnectorStore();
+
const state = reactive<LocalState>({
repositoryConfig: {
- baseDirectory: props.repository.baseDirectory,
- branch: props.repository.branch,
+ resourceId: "",
+ baseDirectory: "",
+ branch: "",
},
showFeatureModal: false,
processing: false,
});
watch(
- () => props.repository,
+ () => props.vcsConnector,
(cur) => {
state.repositoryConfig = {
+ resourceId: getVCSConnectorId(props.vcsConnector.name).vcsConnectorId,
baseDirectory: cur.baseDirectory,
branch: cur.branch,
};
- }
+ },
+ { deep: true, immediate: true }
+);
+
+const vcsProvider = computed(
+ () =>
+ vcsV1Store.getVCSByName(props.vcsConnector.vcsProvider) ??
+ VCSProvider.fromPartial({})
);
const repositoryFormattedFullPath = computed(() => {
- const fullPath = props.repository.fullPath;
- if (props.vcs.type !== VCSProvider_Type.AZURE_DEVOPS) {
+ const fullPath = props.vcsConnector.fullPath;
+ if (vcsProvider.value.type !== VCSProvider_Type.AZURE_DEVOPS) {
return fullPath;
}
if (!fullPath.includes("@dev.azure.com")) {
@@ -153,10 +141,10 @@ const repositoryFormattedFullPath = computed(() => {
const repositoryInfo = computed((): ExternalRepositoryInfo => {
return {
- externalId: props.repository.externalId,
- name: props.repository.name,
- fullPath: props.repository.fullPath,
- webUrl: props.repository.webUrl,
+ externalId: props.vcsConnector.externalId,
+ name: props.vcsConnector.title,
+ fullPath: props.vcsConnector.fullPath,
+ webUrl: props.vcsConnector.webUrl,
};
});
@@ -164,28 +152,20 @@ const allowUpdate = computed(() => {
return (
!state.processing &&
!isEmpty(state.repositoryConfig.branch) &&
- (props.repository.branch !== state.repositoryConfig.branch ||
- props.repository.baseDirectory !== state.repositoryConfig.baseDirectory)
+ (props.vcsConnector.branch !== state.repositoryConfig.branch ||
+ props.vcsConnector.baseDirectory !== state.repositoryConfig.baseDirectory)
);
});
-const restoreToUIWorkflowType = async (checkSQLReviewCI: boolean) => {
+const deleteConnector = async () => {
if (state.processing) {
return;
}
state.processing = true;
try {
- await repositoryV1Store.deleteRepository(props.project.name);
- await projectV1Store.fetchProjectByName(props.project.name);
-
- pushNotification({
- module: "bytebase",
- style: "SUCCESS",
- title: t("repository.restore-ui-workflow-success"),
- });
-
- emit("restore");
+ await vcsConnectorStore.deleteConnector(props.vcsConnector.name);
+ emit("delete");
} finally {
state.processing = false;
}
@@ -197,28 +177,16 @@ const doUpdate = async () => {
}
state.processing = true;
- const repositoryPatch: Partial<ProjectGitOpsInfo> = {};
-
- repositoryPatch.vcs = props.vcs.name;
-
- if (props.repository.branch != state.repositoryConfig.branch) {
- repositoryPatch.branch = state.repositoryConfig.branch;
- }
- if (props.repository.baseDirectory != state.repositoryConfig.baseDirectory) {
- repositoryPatch.baseDirectory = state.repositoryConfig.baseDirectory;
- }
-
try {
- await repositoryV1Store.upsertRepository(
- props.project.name,
- repositoryPatch
+ await vcsConnectorStore.updateConnector(
+ VCSConnector.fromPartial({
+ ...props.vcsConnector,
+ branch: state.repositoryConfig.branch,
+ baseDirectory: state.repositoryConfig.baseDirectory,
+ }),
+ ["branch", "base_directory"]
);
-
- pushNotification({
- module: "bytebase",
- style: "SUCCESS",
- title: t("repository.update-gitops-config-success"),
- });
+ emit("update");
} finally {
state.processing = false;
}
diff --git a/frontend/src/components/RepositorySetupWizard.vue b/frontend/src/components/RepositorySetupWizard.vue
index 330f2678e8..b576f899f6 100644
--- a/frontend/src/components/RepositorySetupWizard.vue
+++ b/frontend/src/components/RepositorySetupWizard.vue
@@ -8,8 +8,8 @@
target="_blank"
class="normal-link"
>
- {{ $t("common.detailed-guide") }}</a
- >
+ {{ $t("common.detailed-guide") }}
+ </a>
</template>
</i18n-t>
</div>
@@ -46,19 +46,14 @@
<script lang="ts" setup>
import isEmpty from "lodash-es/isEmpty";
-import type { PropType } from "vue";
import { reactive, computed } from "vue";
import { useI18n } from "vue-i18n";
-import { useRouter } from "vue-router";
import { StepTab } from "@/components/v2";
-import { PROJECT_V1_ROUTE_GITOPS } from "@/router/dashboard/projectV1";
-import { useRepositoryV1Store } from "@/store";
-import type { Project } from "@/types/proto/v1/project_service";
-import type {
- ProjectGitOpsInfo,
- VCSProvider,
-} from "@/types/proto/v1/vcs_provider_service";
+import { useVCSConnectorStore, useCurrentUserV1 } from "@/store";
+import type { ComposedProject } from "@/types";
+import type { VCSProvider } from "@/types/proto/v1/vcs_provider_service";
import { VCSProvider_Type } from "@/types/proto/v1/vcs_provider_service";
+import { hasProjectPermissionV2 } from "@/utils";
import type { ExternalRepositoryInfo, ProjectRepositoryConfig } from "../types";
const CHOOSE_PROVIDER_STEP = 0;
@@ -72,17 +67,9 @@ interface LocalState {
processing: boolean;
}
-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,
- },
- project: {
- required: true,
- type: Object as PropType<Project>,
- },
-});
+const props = defineProps<{
+ project: ComposedProject;
+}>();
const emit = defineEmits<{
(event: "cancel"): void;
@@ -90,9 +77,8 @@ const emit = defineEmits<{
}>();
const { t } = useI18n();
-
-const router = useRouter();
-const repositoryV1Store = useRepositoryV1Store();
+const vcsConnectorStore = useVCSConnectorStore();
+const currentUser = useCurrentUserV1();
const stepList = [
{ title: t("repository.choose-git-provider"), hideNext: true },
@@ -113,6 +99,7 @@ const state = reactive<LocalState>({
repositoryConfig: {
baseDirectory: "bytebase",
branch: "main",
+ resourceId: "",
},
},
currentStep: CHOOSE_PROVIDER_STEP,
@@ -120,10 +107,21 @@ const state = reactive<LocalState>({
processing: false,
});
+const hasPermission = computed(() => {
+ return hasProjectPermissionV2(
+ props.project,
+ currentUser.value,
+ "bb.vcsConnectors.create"
+ );
+});
+
const allowNext = computed((): boolean => {
if (state.currentStep == CONFIGURE_DEPLOY_STEP) {
return (
- !isEmpty(state.config.repositoryConfig.branch.trim()) && !state.processing
+ !isEmpty(state.config.repositoryConfig.branch.trim()) &&
+ !isEmpty(state.config.repositoryConfig.resourceId.trim()) &&
+ !state.processing &&
+ hasPermission.value
);
}
return true;
@@ -151,31 +149,24 @@ const tryFinishSetup = async () => {
externalId = state.config.repositoryInfo.fullPath;
}
- const repositoryCreate: Partial<ProjectGitOpsInfo> = {
- vcs: state.config.vcs.name,
- title: state.config.repositoryInfo.name,
- externalId: externalId,
- baseDirectory: state.config.repositoryConfig.baseDirectory,
- branch: state.config.repositoryConfig.branch,
- // TODO(d): move these to create VCS connector.
- fullPath: state.config.repositoryInfo.fullPath,
- webUrl: state.config.repositoryInfo.webUrl,
- };
- await repositoryV1Store.upsertRepository(
+ await vcsConnectorStore.createConnector(
props.project.name,
- repositoryCreate
+ state.config.repositoryConfig.resourceId,
+ {
+ title: state.config.repositoryInfo.name,
+ externalId,
+ vcsProvider: state.config.vcs.name,
+ baseDirectory: state.config.repositoryConfig.baseDirectory,
+ branch: state.config.repositoryConfig.branch,
+ fullPath: state.config.repositoryInfo.fullPath,
+ webUrl: state.config.repositoryInfo.webUrl,
+ }
);
emit("finish");
};
try {
- if (!props.create) {
- // 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.
- await repositoryV1Store.deleteRepository(props.project.name);
- }
await createFunc();
} finally {
state.processing = false;
@@ -183,10 +174,8 @@ const tryFinishSetup = async () => {
};
const cancel = () => {
+ // TODO(ed): processing
emit("cancel");
- router.push({
- name: PROJECT_V1_ROUTE_GITOPS,
- });
};
const setCode = (code: string) => {
diff --git a/frontend/src/components/RepositoryTable.vue b/frontend/src/components/RepositoryTable.vue
deleted file mode 100644
index 539656fad6..0000000000
--- a/frontend/src/components/RepositoryTable.vue
+++ /dev/null
@@ -1,59 +0,0 @@
-<template>
- <BBTable
- :column-list="columnList"
- :data-source="repositoryList"
- :show-header="true"
- :left-bordered="true"
- :right-bordered="true"
- @click-row="clickRepository"
- >
- <template #body="{ rowData: repository }">
- <BBTableCell :left-padding="4" class="w-16">
- {{ projectV1Name(repository.project) }}
- </BBTableCell>
- <BBTableCell class="w-32">
- {{ repository.fullPath }}
- </BBTableCell>
- </template>
- </BBTable>
-</template>
-
-<script lang="ts" setup>
-import type { PropType } from "vue";
-import { computed } from "vue";
-import { useI18n } from "vue-i18n";
-import { useRouter } from "vue-router";
-import { PROJECT_V1_ROUTE_GITOPS } from "@/router/dashboard/projectV1";
-import { getProjectName } from "@/store/modules/v1/common";
-import type { ComposedRepository } from "@/types";
-import { projectV1Name } from "../utils";
-
-const props = defineProps({
- repositoryList: {
- required: true,
- type: Object as PropType<ComposedRepository[]>,
- },
-});
-const { t } = useI18n();
-
-const router = useRouter();
-
-const columnList = computed(() => [
- {
- title: t("common.project"),
- },
- {
- title: t("common.repository"),
- },
-]);
-
-const clickRepository = function (_: number, row: number) {
- const repository = props.repositoryList[row];
- router.push({
- name: PROJECT_V1_ROUTE_GITOPS,
- params: {
- projectId: getProjectName(repository.project.name),
- },
- });
-};
-</script>
diff --git a/frontend/src/components/RepositoryVCSProviderPanel.vue b/frontend/src/components/RepositoryVCSProviderPanel.vue
index d07dbaf6eb..74bc9696c7 100644
--- a/frontend/src/components/RepositoryVCSProviderPanel.vue
+++ b/frontend/src/components/RepositoryVCSProviderPanel.vue
@@ -4,14 +4,12 @@
</div>
<div class="mt-4 flex flex-wrap">
<template v-for="(vcs, index) in vcsList" :key="index">
- <button
- type="button"
- class="btn-normal items-center space-x-2 mx-2 my-2"
- @click.prevent="selectVCS(vcs)"
- >
- <VCSIcon custom-class="h-6" :type="vcs.type" />
+ <NButton type="default" @click.prevent="selectVCS(vcs)">
+ <template #icon>
+ <VCSIcon custom-class="h-6" :type="vcs.type" />
+ </template>
<span>{{ vcs.title }}</span>
- </button>
+ </NButton>
</template>
</div>
<div class="mt-2 textinfolabel">
@@ -60,13 +58,13 @@ const state = reactive<LocalState>({});
const currentUserV1 = useCurrentUserV1();
const prepareVCSList = () => {
- vcsV1Store.fetchVCSList();
+ vcsV1Store.getOrFetchVCSList();
};
watchEffect(prepareVCSList);
const vcsList = computed(() => {
- return vcsV1Store.getVCSList();
+ return vcsV1Store.vcsList;
});
const canManageVCSProvider = computed(() => {
diff --git a/frontend/src/components/VCS/VCSProviderBasicInfoPanel.vue b/frontend/src/components/VCS/VCSProviderBasicInfoPanel.vue
index 2ecd2eb304..832151b5e6 100644
--- a/frontend/src/components/VCS/VCSProviderBasicInfoPanel.vue
+++ b/frontend/src/components/VCS/VCSProviderBasicInfoPanel.vue
@@ -43,10 +43,9 @@
/>
<div>
<ResourceIdField
- ref="resourceIdField"
v-model:value="config.resourceId"
class="max-w-full flex-nowrap"
- resource-type="vcsProvider"
+ resource-type="vcs-provider"
:resource-title="config.name"
:validate="validateResourceId"
/>
@@ -169,9 +168,8 @@
import isEmpty from "lodash-es/isEmpty";
import { NRadio, NRadioGroup } from "naive-ui";
import { Status } from "nice-grpc-common";
-import { computed, onUnmounted, reactive, ref } from "vue";
+import { computed, onUnmounted, reactive } from "vue";
import { useI18n } from "vue-i18n";
-import ResourceIdField from "@/components/v2/Form/ResourceIdField.vue";
import { useVCSV1Store } from "@/store";
import { vcsProviderPrefix } from "@/store/modules/v1/common";
import type { VCSConfig } from "@/types";
@@ -198,8 +196,6 @@ const state = reactive<LocalState>({
});
const vcsV1Store = useVCSV1Store();
-const resourceIdField = ref<InstanceType<typeof ResourceIdField>>();
-
onUnmounted(() => {
if (state.urlValidationTimer) {
clearInterval(state.urlValidationTimer);
@@ -357,11 +353,10 @@ const validateResourceId = async (
}
try {
- const instance = await vcsV1Store.fetchVCSByName(
- vcsProviderPrefix + resourceId,
- true /* silent */
+ const vcs = await vcsV1Store.getOrFetchVCSByName(
+ `${vcsProviderPrefix}${resourceId}`
);
- if (instance) {
+ if (vcs) {
return [
{
type: "error",
diff --git a/frontend/src/components/VCSConnectorTable.vue b/frontend/src/components/VCSConnectorTable.vue
new file mode 100644
index 0000000000..8f9c2fda5d
--- /dev/null
+++ b/frontend/src/components/VCSConnectorTable.vue
@@ -0,0 +1,74 @@
+<template>
+ <BBTable
+ :column-list="columnList"
+ :data-source="connectorList"
+ :show-header="true"
+ :left-bordered="true"
+ :right-bordered="true"
+ @click-row="onClick"
+ >
+ <template #body="{ rowData: connector }">
+ <BBTableCell :left-padding="4" class="w-16">
+ {{ projectV1Name(getProject(connector)) }}
+ </BBTableCell>
+ <BBTableCell class="w-32">
+ {{ connector.fullPath }}
+ </BBTableCell>
+ </template>
+ </BBTable>
+</template>
+
+<script lang="ts" setup>
+import { computed } from "vue";
+import { useI18n } from "vue-i18n";
+import { useRouter } from "vue-router";
+import { PROJECT_V1_ROUTE_GITOPS_DETAIL } from "@/router/dashboard/projectV1";
+import { useProjectV1Store, useCurrentUserV1 } from "@/store";
+import { projectNamePrefix } from "@/store/modules/v1/common";
+import { getVCSConnectorId } from "@/store/modules/v1/common";
+import type { VCSConnector } from "@/types/proto/v1/vcs_connector_service";
+import { hasProjectPermissionV2 } from "@/utils";
+import { projectV1Name } from "../utils";
+
+const props = defineProps<{
+ connectorList: VCSConnector[];
+}>();
+
+const { t } = useI18n();
+const projectV1Store = useProjectV1Store();
+const router = useRouter();
+const currentUser = useCurrentUserV1();
+
+const columnList = computed(() => [
+ {
+ title: t("common.project"),
+ },
+ {
+ title: t("common.repository"),
+ },
+]);
+
+const getProject = (connector: VCSConnector) => {
+ const project = `${projectNamePrefix}${getVCSConnectorId(connector.name).projectId}`;
+ return projectV1Store.getProjectByName(project);
+};
+
+const onClick = function (_: number, row: number) {
+ const connector = props.connectorList[row];
+ const project = getProject(connector);
+ if (
+ !hasProjectPermissionV2(project, currentUser.value, "bb.vcsConnectors.get")
+ ) {
+ return;
+ }
+
+ const { projectId, vcsConnectorId } = getVCSConnectorId(connector.name);
+ router.push({
+ name: PROJECT_V1_ROUTE_GITOPS_DETAIL,
+ params: {
+ projectId,
+ vcsConnectorId,
+ },
+ });
+};
+</script>
diff --git a/frontend/src/components/v2/Form/ResourceIdField.vue b/frontend/src/components/v2/Form/ResourceIdField.vue
index 92ff2bc685..75f2d6e526 100644
--- a/frontend/src/components/v2/Form/ResourceIdField.vue
+++ b/frontend/src/components/v2/Form/ResourceIdField.vue
@@ -83,7 +83,8 @@ type ResourceType =
| "instance"
| "project"
| "idp"
- | "vcsProvider"
+ | "vcs-provider"
+ | "vcs-connector"
| "role"
| "database-group"
| "schema-group"
diff --git a/frontend/src/grpcweb/index.ts b/frontend/src/grpcweb/index.ts
index 409d1bdf26..3dfd9b98fb 100644
--- a/frontend/src/grpcweb/index.ts
+++ b/frontend/src/grpcweb/index.ts
@@ -27,6 +27,7 @@ import { SettingServiceDefinition } from "@/types/proto/v1/setting_service";
import { SheetServiceDefinition } from "@/types/proto/v1/sheet_service";
import { SQLServiceDefinition } from "@/types/proto/v1/sql_service";
import { SubscriptionServiceDefinition } from "@/types/proto/v1/subscription_service";
+import { VCSConnectorServiceDefinition } from "@/types/proto/v1/vcs_connector_service";
import { VCSProviderServiceDefinition } from "@/types/proto/v1/vcs_provider_service";
import { WorksheetServiceDefinition } from "@/types/proto/v1/worksheet_service";
import {
@@ -168,6 +169,11 @@ export const vcsProviderServiceClient = clientFactory.create(
channel
);
+export const vcsConnectorServiceClient = clientFactory.create(
+ VCSConnectorServiceDefinition,
+ channel
+);
+
export const loggingServiceClient = clientFactory.create(
LoggingServiceDefinition,
channel
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 9abf1b9e60..4c6b330da6 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1970,7 +1970,15 @@
},
"successfully-updated-db-name-template": "Successfully updated database name template.",
"all": "All projects",
- "key-hint": "Short descriptive alphanumberic letters to identify this project."
+ "key-hint": "Short descriptive alphanumberic letters to identify this project.",
+ "gitops-connector": {
+ "self": "GitOps connector",
+ "add": "Add GitOps connector",
+ "delete": "Delete GitOps connector",
+ "update-success": "Successfully updated GitOps connector",
+ "create-success": "Successfully created GitOps connector",
+ "delete-success": "The GitOps connector is removed"
+ }
},
"gitops": {
"setting": {
@@ -2767,7 +2775,9 @@
"role": "Role",
"database-group": "Database Group",
"schema-group": "Table Group",
- "changelist": "Changelist"
+ "changelist": "Changelist",
+ "vcs-provider": "GitOps Provider",
+ "vcs-connector": "GitOps Connector"
},
"resource-id": {
"self": "{resource} ID",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index dffc0e0a82..0f193c8e31 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1970,7 +1970,15 @@
},
"successfully-updated-db-name-template": "Plantilla de nombre de base de datos actualizada con éxito.",
"all": "Todos los proyectos",
- "key-hint": "Letras alfanuméricas descriptivas cortas para identificar este proyecto.."
+ "key-hint": "Letras alfanuméricas descriptivas cortas para identificar este proyecto..",
+ "gitops-connector": {
+ "self": "Conector GitOps",
+ "add": "Agregar conector GitOps",
+ "delete": "Eliminar conector GitOps",
+ "update-success": "Conector GitOps actualizado correctamente",
+ "create-success": "Conector GitOps creado correctamente",
+ "delete-success": "Se elimina el conector GitOps"
+ }
},
"gitops": {
"setting": {
@@ -2767,7 +2775,9 @@
"role": "Rol",
"database-group": "grupo de bases de datos",
"schema-group": "grupo de mesas",
- "changelist": "Lista de cambios"
+ "changelist": "Lista de cambios",
+ "vcs-provider": "Proveedor GitOps",
+ "vcs-connector": "Conector GitOps"
},
"resource-id": {
"self": "ID de {resource}",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 4886936393..ea7a853673 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1970,7 +1970,15 @@
},
"successfully-updated-db-name-template": "データベース名テンプレートが正常に更新されました。",
"all": "すべてのプロジェクト",
- "key-hint": "このプロジェクトを識別するための短い説明的な英数字文字列。"
+ "key-hint": "このプロジェクトを識別するための短い説明的な英数字文字列。",
+ "gitops-connector": {
+ "self": "GitOps コネクタ",
+ "add": "GitOpsコネクタの追加",
+ "delete": "GitOpsコネクタの削除",
+ "update-success": "GitOps コネクタが正常に更新されました",
+ "create-success": "GitOps コネクタが正常に作成されました",
+ "delete-success": "GitOps コネクタが削除されました"
+ }
},
"gitops": {
"setting": {
@@ -2767,7 +2775,9 @@
"role": "役割",
"database-group": "データベースグループ",
"schema-group": "テーブルグループ",
- "changelist": "変更リスト"
+ "changelist": "変更リスト",
+ "vcs-provider": "GitOpsプロバイダー",
+ "vcs-connector": "GitOpsコネクタ"
},
"resource-id": {
"self": "{resource} ID",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index abe0b612ae..fa213c9530 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -1970,7 +1970,15 @@
},
"successfully-updated-db-name-template": "Đã cập nhật thành công mẫu tên cơ sở dữ liệu.",
"all": "Tất cả dự án",
- "key-hint": "Các chữ cái chữ và số mô tả ngắn để xác định dự án này."
+ "key-hint": "Các chữ cái chữ và số mô tả ngắn để xác định dự án này.",
+ "gitops-connector": {
+ "self": "Trình kết nối GitOps",
+ "add": "Thêm trình kết nối GitOps",
+ "delete": "Xóa trình kết nối GitOps",
+ "update-success": "Đã cập nhật thành công trình kết nối GitOps",
+ "create-success": "Đã tạo thành công trình kết nối GitOps",
+ "delete-success": "Trình kết nối GitOps bị xóa"
+ }
},
"gitops": {
"setting": {
@@ -2767,7 +2775,9 @@
"role": "Vai trò",
"database-group": "Nhóm cơ sở dữ liệu",
"schema-group": "Nhóm bảng",
- "changelist": "Danh sách thay đổi"
+ "changelist": "Danh sách thay đổi",
+ "vcs-provider": "Nhà cung cấp GitOps",
+ "vcs-connector": "Trình kết nối GitOps"
},
"resource-id": {
"self": "ID {resource}",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 7546ba803b..0f752f63c4 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1970,7 +1970,15 @@
},
"successfully-updated-db-name-template": "成功更新数据库名称模板。",
"all": "所有项目",
- "key-hint": "简短且有辨识度的字母数字组合用于识别该项目。"
+ "key-hint": "简短且有辨识度的字母数字组合用于识别该项目。",
+ "gitops-connector": {
+ "self": "GitOps 连接",
+ "add": "新增 GitOps 连接",
+ "delete": "删除 GitOps 连接",
+ "update-success": "GitOps 连接已更新",
+ "create-success": "GitOps 连接已创建",
+ "delete-success": "GitOps 连接已删除"
+ }
},
"gitops": {
"setting": {
@@ -2767,7 +2775,9 @@
"role": "角色",
"database-group": "数据库分组",
"schema-group": "表分组",
- "changelist": "变更列表"
+ "changelist": "变更列表",
+ "vcs-provider": "GitOps 提供方",
+ "vcs-connector": "GitOps 连接"
},
"resource-id": {
"self": "{resource} ID",
diff --git a/frontend/src/router/dashboard/projectV1.ts b/frontend/src/router/dashboard/projectV1.ts
index 8e26121254..5610cb146d 100644
--- a/frontend/src/router/dashboard/projectV1.ts
+++ b/frontend/src/router/dashboard/projectV1.ts
@@ -4,22 +4,22 @@ import { t } from "@/plugins/i18n";
import { PROJECT_V1_ROUTE_DASHBOARD } from "./workspaceRoutes";
export const PROJECT_V1_ROUTE_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.detail`;
-export const PROJECT_V1_ROUTE_DATABASES = `${PROJECT_V1_ROUTE_DASHBOARD}.database.dashboard`;
+export const PROJECT_V1_ROUTE_DATABASES = `${PROJECT_V1_ROUTE_DASHBOARD}.database`;
export const PROJECT_V1_ROUTE_DATABASE_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.database.detail`;
export const PROJECT_V1_ROUTE_DATABASE_CHANGE_HISTORY_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.database.change-history.detail`;
-export const PROJECT_V1_ROUTE_DATABASE_GROUPS = `${PROJECT_V1_ROUTE_DASHBOARD}.database-group.dashboard`;
+export const PROJECT_V1_ROUTE_DATABASE_GROUPS = `${PROJECT_V1_ROUTE_DASHBOARD}.database-group`;
export const PROJECT_V1_ROUTE_DATABASE_GROUP_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.database-group.detail`;
export const PROJECT_V1_ROUTE_DATABASE_GROUP_TABLE_GROUP_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.database-group.table-group.detail`;
export const PROJECT_V1_ROUTE_DEPLOYMENT_CONFIG = `${PROJECT_V1_ROUTE_DASHBOARD}.deployment-config`;
-export const PROJECT_V1_ROUTE_BRANCHES = `${PROJECT_V1_ROUTE_DASHBOARD}.branch.dashboard`;
+export const PROJECT_V1_ROUTE_BRANCHES = `${PROJECT_V1_ROUTE_DASHBOARD}.branch`;
export const PROJECT_V1_ROUTE_BRANCH_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.branch.detail`;
export const PROJECT_V1_ROUTE_BRANCH_ROLLOUT = `${PROJECT_V1_ROUTE_DASHBOARD}.branch.rollout`;
export const PROJECT_V1_ROUTE_BRANCH_MERGE = `${PROJECT_V1_ROUTE_DASHBOARD}.branch.merge`;
export const PROJECT_V1_ROUTE_BRANCH_REBASE = `${PROJECT_V1_ROUTE_DASHBOARD}.branch.rebase`;
-export const PROJECT_V1_ROUTE_ISSUES = `${PROJECT_V1_ROUTE_DASHBOARD}.issue.dashboard`;
+export const PROJECT_V1_ROUTE_ISSUES = `${PROJECT_V1_ROUTE_DASHBOARD}.issue`;
export const PROJECT_V1_ROUTE_ISSUE_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.issue.detail`;
-export const PROJECT_V1_ROUTE_CHANGE_HISTORIES = `${PROJECT_V1_ROUTE_DASHBOARD}.change-histories.dashboard`;
-export const PROJECT_V1_ROUTE_CHANGELISTS = `${PROJECT_V1_ROUTE_DASHBOARD}.changelist.dashboard`;
+export const PROJECT_V1_ROUTE_CHANGE_HISTORIES = `${PROJECT_V1_ROUTE_DASHBOARD}.change-histories`;
+export const PROJECT_V1_ROUTE_CHANGELISTS = `${PROJECT_V1_ROUTE_DASHBOARD}.changelist`;
export const PROJECT_V1_ROUTE_CHANGELIST_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.changelist.detail`;
export const PROJECT_V1_ROUTE_SYNC_SCHEMA = `${PROJECT_V1_ROUTE_DASHBOARD}.sync-schema`;
export const PROJECT_V1_ROUTE_SLOW_QUERIES = `${PROJECT_V1_ROUTE_DASHBOARD}.slow-queries`;
@@ -28,7 +28,7 @@ export const PROJECT_V1_ROUTE_ACTIVITIES = `${PROJECT_V1_ROUTE_DASHBOARD}.activi
export const PROJECT_V1_ROUTE_GITOPS = `${PROJECT_V1_ROUTE_DASHBOARD}.gitops`;
export const PROJECT_V1_ROUTE_GITOPS_CREATE = `${PROJECT_V1_ROUTE_GITOPS}.create`;
export const PROJECT_V1_ROUTE_GITOPS_DETAIL = `${PROJECT_V1_ROUTE_GITOPS}.detail`;
-export const PROJECT_V1_ROUTE_WEBHOOKS = `${PROJECT_V1_ROUTE_DASHBOARD}.webhook.dashboard`;
+export const PROJECT_V1_ROUTE_WEBHOOKS = `${PROJECT_V1_ROUTE_DASHBOARD}.webhook`;
export const PROJECT_V1_ROUTE_WEBHOOK_CREATE = `${PROJECT_V1_ROUTE_DASHBOARD}.webhook.create`;
export const PROJECT_V1_ROUTE_WEBHOOK_DETAIL = `${PROJECT_V1_ROUTE_DASHBOARD}.webhook.detail`;
export const PROJECT_V1_ROUTE_MEMBERS = `${PROJECT_V1_ROUTE_DASHBOARD}.members`;
@@ -306,17 +306,51 @@ const projectV1Routes: RouteRecordRaw[] = [
},
{
path: "gitops",
- name: PROJECT_V1_ROUTE_GITOPS,
meta: {
overrideTitle: true,
- requiredProjectPermissionList: () => [
- "bb.projects.get",
- "bb.vcsConnectors.list",
- ],
},
- component: () =>
- import("@/views/project/ProjectVersionControlPanel.vue"),
props: true,
+ children: [
+ {
+ path: "",
+ name: PROJECT_V1_ROUTE_GITOPS,
+ meta: {
+ requiredProjectPermissionList: () => [
+ "bb.projects.get",
+ "bb.vcsConnectors.list",
+ ],
+ },
+ component: () =>
+ import("@/views/project/ProjectVersionControlPanel.vue"),
+ props: true,
+ },
+ {
+ path: "new",
+ name: PROJECT_V1_ROUTE_GITOPS_CREATE,
+ meta: {
+ requiredProjectPermissionList: () => [
+ "bb.projects.get",
+ "bb.vcsConnectors.create",
+ ],
+ },
+ component: () =>
+ import("@/views/project/ProjectVersionControlCreate.vue"),
+ props: true,
+ },
+ {
+ path: ":vcsConnectorId",
+ name: PROJECT_V1_ROUTE_GITOPS_DETAIL,
+ meta: {
+ requiredProjectPermissionList: () => [
+ "bb.projects.get",
+ "bb.vcsConnectors.get",
+ ],
+ },
+ component: () =>
+ import("@/views/project/ProjectVersionControlDetail.vue"),
+ props: true,
+ },
+ ],
},
{
path: "webhooks",
diff --git a/frontend/src/store/modules/v1/common.ts b/frontend/src/store/modules/v1/common.ts
index 563c6aedb0..66df431d53 100644
--- a/frontend/src/store/modules/v1/common.ts
+++ b/frontend/src/store/modules/v1/common.ts
@@ -14,6 +14,7 @@ export const worksheetNamePrefix = "worksheets/";
export const databaseGroupNamePrefix = "databaseGroups/";
export const schemaGroupNamePrefix = "schemaGroups/";
export const vcsProviderPrefix = "vcsProviders/";
+export const vcsConnectorPrefix = "vcsConnectors/";
export const logNamePrefix = "logs/";
export const issueNamePrefix = "issues/";
export const secretNamePrefix = "secrets/";
@@ -153,7 +154,21 @@ export const getProjectPathFromRepoName = (repoName: string): string => {
return repoName.split("/gitOpsInfo")[0];
};
-export const getVCSId = (name: string): string => {
+export const getVCSProviderId = (name: string): string => {
const tokens = getNameParentTokens(name, [vcsProviderPrefix]);
return tokens[0];
};
+
+export const getVCSConnectorId = (
+ name: string
+): { projectId: string; vcsConnectorId: string } => {
+ const tokens = getNameParentTokens(name, [
+ projectNamePrefix,
+ vcsConnectorPrefix,
+ ]);
+ if (tokens.length !== 2) {
+ return { projectId: "", vcsConnectorId: "" };
+ }
+
+ return { projectId: tokens[0], vcsConnectorId: tokens[1] };
+};
diff --git a/frontend/src/store/modules/v1/index.ts b/frontend/src/store/modules/v1/index.ts
index 6b00de7429..79233e3704 100644
--- a/frontend/src/store/modules/v1/index.ts
+++ b/frontend/src/store/modules/v1/index.ts
@@ -16,8 +16,8 @@ export * from "./experimental-issue";
export * from "./subscription";
export * from "./actuator";
export * from "./sql";
-export * from "./repository";
export * from "./vcs";
+export * from "./vcs_connector";
export * from "./changeHistory";
export * from "./dbSchema";
export * from "./activity";
diff --git a/frontend/src/store/modules/v1/repository.ts b/frontend/src/store/modules/v1/repository.ts
deleted file mode 100644
index 9f0c981862..0000000000
--- a/frontend/src/store/modules/v1/repository.ts
+++ /dev/null
@@ -1,140 +0,0 @@
-import { isEqual, isUndefined } from "lodash-es";
-import { defineStore } from "pinia";
-import { reactive } from "vue";
-import { projectServiceClient, vcsProviderServiceClient } from "@/grpcweb";
-import type { ComposedRepository } from "@/types";
-import type { ProjectGitOpsInfo } from "@/types/proto/v1/vcs_provider_service";
-import { getProjectPathFromRepoName } from "./common";
-import { useProjectV1Store } from "./project";
-
-export const useRepositoryV1Store = defineStore("repository_v1", () => {
- const repositoryMapByProject = reactive(new Map<string, ProjectGitOpsInfo>());
- const repositoryMapByVCS = reactive(new Map<string, ComposedRepository[]>());
-
- const fetchRepositoryByProject = async (
- project: string,
- silent = false
- ): Promise<ProjectGitOpsInfo | undefined> => {
- try {
- const gitopsInfo = await projectServiceClient.getProjectGitOpsInfo(
- {
- name: project + "/gitOpsInfo",
- },
- { silent }
- );
-
- repositoryMapByProject.set(project, gitopsInfo);
- return gitopsInfo;
- } catch (e) {
- return;
- }
- };
-
- const getRepositoryByProject = (
- project: string
- ): ProjectGitOpsInfo | undefined => {
- return repositoryMapByProject.get(project);
- };
-
- const getOrFetchRepositoryByProject = (project: string, silent = false) => {
- if (repositoryMapByProject.has(project)) {
- return Promise.resolve(repositoryMapByProject.get(project));
- }
- return fetchRepositoryByProject(project, silent);
- };
-
- const upsertRepository = async (
- project: string,
- gitopsInfo: Partial<ProjectGitOpsInfo>
- ): Promise<ProjectGitOpsInfo> => {
- gitopsInfo.name = project + "/gitOpsInfo";
- const repo = await getOrFetchRepositoryByProject(project);
- let gitops: ProjectGitOpsInfo;
-
- if (!repo) {
- gitops = await projectServiceClient.updateProjectGitOpsInfo({
- projectGitopsInfo: gitopsInfo,
- allowMissing: true,
- });
- } else {
- gitopsInfo.vcs = repo.vcs;
- const updateMask = getUpdateMaskForRepository(repo, gitopsInfo);
- if (updateMask.length === 0) {
- return repo;
- }
- gitops = await projectServiceClient.updateProjectGitOpsInfo({
- projectGitopsInfo: gitopsInfo,
- updateMask: getUpdateMaskForRepository(repo, gitopsInfo),
- allowMissing: false,
- });
- }
-
- repositoryMapByProject.set(project, gitops);
- return gitops;
- };
-
- const deleteRepository = async (project: string) => {
- await projectServiceClient.unsetProjectGitOpsInfo({
- name: project + "/gitOpsInfo",
- });
- repositoryMapByProject.delete(project);
- };
-
- const fetchRepositoryListByVCS = async (
- vcsName: string
- ): Promise<ProjectGitOpsInfo[]> => {
- const resp = await vcsProviderServiceClient.listProjectGitOpsInfo({
- name: vcsName,
- });
-
- const projectV1Store = useProjectV1Store();
- const repoList: ComposedRepository[] = await Promise.all(
- resp.projectGitopsInfo.map(async (repo) => {
- const project = await projectV1Store.getOrFetchProjectByName(
- getProjectPathFromRepoName(repo.name)
- );
- return {
- ...repo,
- project,
- };
- })
- );
-
- repositoryMapByVCS.set(vcsName, repoList);
- return repoList;
- };
-
- const getRepositoryListByVCS = (vcsName: string): ComposedRepository[] => {
- return repositoryMapByVCS.get(vcsName) || [];
- };
-
- return {
- upsertRepository,
- deleteRepository,
- getRepositoryByProject,
- getOrFetchRepositoryByProject,
- fetchRepositoryListByVCS,
- fetchRepositoryByProject,
- getRepositoryListByVCS,
- };
-});
-
-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.branch) && !isEqual(origin.branch, update.branch)) {
- updateMask.push("branch");
- }
- if (
- !isUndefined(update.baseDirectory) &&
- !isEqual(origin.baseDirectory, update.baseDirectory)
- ) {
- updateMask.push("base_directory");
- }
- return updateMask;
-};
diff --git a/frontend/src/store/modules/v1/vcs.ts b/frontend/src/store/modules/v1/vcs.ts
index 267cc6e1e9..c10fdf688a 100644
--- a/frontend/src/store/modules/v1/vcs.ts
+++ b/frontend/src/store/modules/v1/vcs.ts
@@ -1,13 +1,26 @@
+import { uniqBy } from "lodash-es";
import { isEqual, isUndefined } from "lodash-es";
import { defineStore } from "pinia";
-import { reactive } from "vue";
+import { computed } from "vue";
import { vcsProviderServiceClient } from "@/grpcweb";
+import { useCache } from "@/store/cache";
import type { VCSId } from "@/types";
import type { VCSProvider } from "@/types/proto/v1/vcs_provider_service";
import { vcsProviderPrefix } from "./common";
+type VCSProviderCacheKey = [string /* vcs name */];
+
export const useVCSV1Store = defineStore("vcs_v1", () => {
- const vcsMapByName = reactive(new Map<string, VCSProvider>());
+ const cacheByName = useCache<VCSProviderCacheKey, VCSProvider | undefined>(
+ "bb.vcs-provider.by-name"
+ );
+
+ const vcsList = computed(() => {
+ const list = Array.from(cacheByName.entityCacheMap.values())
+ .map((entry) => entry.entity)
+ .filter((vcs): vcs is VCSProvider => vcs !== undefined);
+ return uniqBy(list, (vcs) => vcs.name);
+ });
const listVCSExternalProjects = async (vcsName: string) => {
const resp = await vcsProviderServiceClient.searchVCSProviderProjects({
@@ -18,47 +31,66 @@ export const useVCSV1Store = defineStore("vcs_v1", () => {
const fetchVCSList = async () => {
const resp = await vcsProviderServiceClient.listVCSProviders({});
- for (const vcs of resp.vcsProviders) {
- vcsMapByName.set(vcs.name, vcs);
- }
return resp.vcsProviders;
};
+ const getOrFetchVCSList = async () => {
+ if (vcsList.value.length > 0) {
+ return vcsList.value;
+ }
+ const list = await fetchVCSList();
+ for (const vcs of list) {
+ cacheByName.setEntity([vcs.name], vcs);
+ }
+ return list;
+ };
+
const fetchVCSByName = async (name: string, silent = false) => {
- const vcs = await vcsProviderServiceClient.getVCSProvider({
- name,
- });
+ const vcs = await vcsProviderServiceClient.getVCSProvider(
+ {
+ name,
+ },
+ { silent }
+ );
- vcsMapByName.set(vcs.name, vcs);
return vcs;
};
- const fetchVCSById = async (vcsId: VCSId) => {
- return fetchVCSByName(`${vcsProviderPrefix}${vcsId}`);
+ const getOrFetchVCSByName = async (name: string) => {
+ const entity = cacheByName.getEntity([name]);
+ if (entity) {
+ return entity;
+ }
+
+ const vcs = await vcsProviderServiceClient.getVCSProvider({
+ name,
+ });
+ cacheByName.setEntity([vcs.name], vcs);
+ return vcs;
};
const getVCSById = (vcsId: VCSId) => {
- return vcsMapByName.get(`${vcsProviderPrefix}${vcsId}`);
+ return getVCSByName(`${vcsProviderPrefix}${vcsId}`);
};
- const getVCSList = () => {
- return [...vcsMapByName.values()];
+ const getVCSByName = (vcs: string) => {
+ return cacheByName.getEntity([vcs]);
};
const deleteVCS = async (name: string) => {
await vcsProviderServiceClient.deleteVCSProvider({
name,
});
- vcsMapByName.delete(name);
+ cacheByName.invalidateEntity([name]);
};
const createVCS = async (resourceId: string, vcs: VCSProvider) => {
- const resp = await vcsProviderServiceClient.createVCSProvider({
+ const provider = await vcsProviderServiceClient.createVCSProvider({
vcsProvider: vcs,
vcsProviderId: resourceId,
});
- vcsMapByName.set(resp.name, resp);
- return resp;
+ cacheByName.setEntity([provider.name], provider);
+ return provider;
};
const updateVCS = async (vcs: Partial<VCSProvider>) => {
@@ -70,21 +102,21 @@ export const useVCSV1Store = defineStore("vcs_v1", () => {
if (updateMask.length === 0) {
return existed;
}
- const resp = await vcsProviderServiceClient.updateVCSProvider({
+ const provider = await vcsProviderServiceClient.updateVCSProvider({
vcsProvider: vcs,
updateMask,
});
- vcsMapByName.set(resp.name, resp);
- return resp;
+ cacheByName.setEntity([provider.name], provider);
+ return provider;
};
return {
+ vcsList,
listVCSExternalProjects,
getVCSById,
- getVCSList,
- fetchVCSByName,
- fetchVCSById,
- fetchVCSList,
+ getVCSByName,
+ getOrFetchVCSByName,
+ getOrFetchVCSList,
deleteVCS,
createVCS,
updateVCS,
diff --git a/frontend/src/store/modules/v1/vcs_connector.ts b/frontend/src/store/modules/v1/vcs_connector.ts
new file mode 100644
index 0000000000..b8eb08f2fa
--- /dev/null
+++ b/frontend/src/store/modules/v1/vcs_connector.ts
@@ -0,0 +1,147 @@
+import { defineStore } from "pinia";
+import { reactive } from "vue";
+import { vcsConnectorServiceClient, vcsProviderServiceClient } from "@/grpcweb";
+import { useCache } from "@/store/cache";
+import { getVCSConnectorId } from "@/store/modules/v1/common";
+import type { VCSConnector } from "@/types/proto/v1/vcs_connector_service";
+import { vcsConnectorPrefix, projectNamePrefix } from "./common";
+
+type VCSConnectorCacheKey = [string /* /projects/{project}/vcsConnectors/ */];
+
+export const useVCSConnectorStore = defineStore("vcs_connector_v1", () => {
+ const cacheByName = useCache<VCSConnectorCacheKey, VCSConnector[]>(
+ "bb.project-vcs-connector.by-name"
+ );
+ const repositoryMapByVCS = reactive(new Map<string, VCSConnector[]>());
+
+ const fetchConnectorsInProvider = async (
+ vcsName: string
+ ): Promise<VCSConnector[]> => {
+ const resp = await vcsProviderServiceClient.listVCSConnectorsInProvider({
+ name: vcsName,
+ });
+
+ repositoryMapByVCS.set(vcsName, resp.vcsConnectors);
+ return resp.vcsConnectors;
+ };
+
+ const getConnectorsInProvider = (vcsName: string): VCSConnector[] => {
+ return repositoryMapByVCS.get(vcsName) || [];
+ };
+
+ const fetchConnectorList = async (project: string) => {
+ const resp = await vcsConnectorServiceClient.listVCSConnectors({
+ parent: project,
+ });
+ return resp.vcsConnectors;
+ };
+
+ const getOrFetchConnectors = async (project: string) => {
+ const cacheName = `${project}/${vcsConnectorPrefix}`;
+ const cachedRequest = cacheByName.getRequest([cacheName]);
+ if (cachedRequest) {
+ return cachedRequest;
+ }
+ const cachedEntity = cacheByName.getEntity([cacheName]);
+ if (cachedEntity) {
+ return cachedEntity;
+ }
+ const request = fetchConnectorList(project);
+ cacheByName.setRequest([cacheName], request);
+ return request;
+ };
+
+ const getConnectorList = (project: string) => {
+ const cacheName = `${project}/${vcsConnectorPrefix}`;
+ return cacheByName.getEntity([cacheName]) ?? [];
+ };
+
+ const getConnector = (project: string, vcsConnectorId: string) => {
+ const name = `${project}/${vcsConnectorPrefix}${vcsConnectorId}`;
+ const cached = getConnectorList(project);
+ return cached.find((item) => item.name === name);
+ };
+
+ const setCache = (project: string, connector: VCSConnector) => {
+ const cached = getConnectorList(project);
+ cached.push(connector);
+ cacheByName.setEntity([`${project}/${vcsConnectorPrefix}`], cached);
+ };
+
+ const deleteCache = (name: string) => {
+ const { projectId } = getVCSConnectorId(name);
+ const project = `${projectNamePrefix}${projectId}`;
+ const cached = getConnectorList(project);
+
+ const index = cached.findIndex((item) => item.name === name);
+ if (index >= 0) {
+ cached.splice(index, 1);
+ }
+ cacheByName.setEntity([`${project}/${vcsConnectorPrefix}`], cached);
+ };
+
+ const getOrFetchConnector = async (
+ project: string,
+ vcsConnectorId: string
+ ) => {
+ const name = `${project}/${vcsConnectorPrefix}${vcsConnectorId}`;
+ const entity = getConnector(project, vcsConnectorId);
+ if (entity) {
+ return entity;
+ }
+
+ const connector = await vcsConnectorServiceClient.getVCSConnector({ name });
+ setCache(project, connector);
+ return connector;
+ };
+
+ const createConnector = async (
+ project: string,
+ vcsConnectorId: string,
+ connector: Partial<VCSConnector>
+ ) => {
+ const newConnector = await vcsConnectorServiceClient.createVCSConnector({
+ parent: project,
+ vcsConnector: connector,
+ vcsConnectorId,
+ });
+ setCache(project, newConnector);
+ return newConnector;
+ };
+
+ const updateConnector = async (
+ vcsConnector: Partial<VCSConnector>,
+ updateMask: string[]
+ ) => {
+ const updatedConnector = await vcsConnectorServiceClient.updateVCSConnector(
+ {
+ vcsConnector,
+ updateMask,
+ }
+ );
+
+ deleteCache(updatedConnector.name);
+
+ const { projectId } = getVCSConnectorId(updatedConnector.name);
+ setCache(`${projectNamePrefix}${projectId}`, updatedConnector);
+ return updatedConnector;
+ };
+
+ const deleteConnector = async (name: string) => {
+ await vcsConnectorServiceClient.deleteVCSConnector({ name });
+
+ deleteCache(name);
+ };
+
+ return {
+ getOrFetchConnectors,
+ getConnectorList,
+ getOrFetchConnector,
+ getConnector,
+ createConnector,
+ deleteConnector,
+ updateConnector,
+ fetchConnectorsInProvider,
+ getConnectorsInProvider,
+ };
+});
diff --git a/frontend/src/types/proto/v1/project_service.ts b/frontend/src/types/proto/v1/project_service.ts
index 8fa01089e8..0da3164e1b 100644
--- a/frontend/src/types/proto/v1/project_service.ts
+++ b/frontend/src/types/proto/v1/project_service.ts
@@ -6,7 +6,6 @@ import { FieldMask } from "../google/protobuf/field_mask";
import { Expr } from "../google/type/expr";
import { State, stateFromJSON, stateToJSON } from "./common";
import { IamPolicy } from "./iam_policy";
-import { ProjectGitOpsInfo } from "./vcs_provider_service";
export const protobufPackage = "bytebase.v1";
@@ -359,35 +358,6 @@ export interface UpdateDeploymentConfigRequest {
config: DeploymentConfig | undefined;
}
-export interface UpdateProjectGitOpsInfoRequest {
- /** The binding for the project and vcs provider. */
- projectGitopsInfo:
- | ProjectGitOpsInfo
- | undefined;
- /** The mask of the fields to be updated. */
- updateMask:
- | string[]
- | undefined;
- /** If true, the gitops will be created if it does not exist. */
- allowMissing: boolean;
-}
-
-export interface UnsetProjectGitOpsInfoRequest {
- /**
- * The name of the GitOps info.
- * Format: projects/{project}/gitOpsInfo
- */
- name: string;
-}
-
-export interface GetProjectGitOpsInfoRequest {
- /**
- * The name of the GitOps info.
- * Format: projects/{project}/gitOpsInfo
- */
- name: string;
-}
-
export interface Project {
/**
* The name of the project.
@@ -2211,213 +2181,6 @@ export const UpdateDeploymentConfigRequest = {
},
};
-function createBaseUpdateProjectGitOpsInfoRequest(): UpdateProjectGitOpsInfoRequest {
- return { projectGitopsInfo: undefined, updateMask: undefined, allowMissing: false };
-}
-
-export const UpdateProjectGitOpsInfoRequest = {
- encode(message: UpdateProjectGitOpsInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.projectGitopsInfo !== undefined) {
- ProjectGitOpsInfo.encode(message.projectGitopsInfo, writer.uint32(18).fork()).ldelim();
- }
- if (message.updateMask !== undefined) {
- FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(26).fork()).ldelim();
- }
- if (message.allowMissing === true) {
- writer.uint32(32).bool(message.allowMissing);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): UpdateProjectGitOpsInfoRequest {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseUpdateProjectGitOpsInfoRequest();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.projectGitopsInfo = ProjectGitOpsInfo.decode(reader, reader.uint32());
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.updateMask = FieldMask.unwrap(FieldMask.decode(reader, reader.uint32()));
- continue;
- case 4:
- if (tag !== 32) {
- break;
- }
-
- message.allowMissing = reader.bool();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): UpdateProjectGitOpsInfoRequest {
- return {
- projectGitopsInfo: isSet(object.projectGitopsInfo)
- ? ProjectGitOpsInfo.fromJSON(object.projectGitopsInfo)
- : undefined,
- updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,
- allowMissing: isSet(object.allowMissing) ? globalThis.Boolean(object.allowMissing) : false,
- };
- },
-
- toJSON(message: UpdateProjectGitOpsInfoRequest): unknown {
- const obj: any = {};
- if (message.projectGitopsInfo !== undefined) {
- obj.projectGitopsInfo = ProjectGitOpsInfo.toJSON(message.projectGitopsInfo);
- }
- if (message.updateMask !== undefined) {
- obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask));
- }
- if (message.allowMissing === true) {
- obj.allowMissing = message.allowMissing;
- }
- return obj;
- },
-
- create(base?: DeepPartial<UpdateProjectGitOpsInfoRequest>): UpdateProjectGitOpsInfoRequest {
- return UpdateProjectGitOpsInfoRequest.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<UpdateProjectGitOpsInfoRequest>): UpdateProjectGitOpsInfoRequest {
- const message = createBaseUpdateProjectGitOpsInfoRequest();
- message.projectGitopsInfo = (object.projectGitopsInfo !== undefined && object.projectGitopsInfo !== null)
- ? ProjectGitOpsInfo.fromPartial(object.projectGitopsInfo)
- : undefined;
- message.updateMask = object.updateMask ?? undefined;
- message.allowMissing = object.allowMissing ?? false;
- return message;
- },
-};
-
-function createBaseUnsetProjectGitOpsInfoRequest(): UnsetProjectGitOpsInfoRequest {
- return { name: "" };
-}
-
-export const UnsetProjectGitOpsInfoRequest = {
- encode(message: UnsetProjectGitOpsInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): UnsetProjectGitOpsInfoRequest {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseUnsetProjectGitOpsInfoRequest();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): UnsetProjectGitOpsInfoRequest {
- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
- },
-
- toJSON(message: UnsetProjectGitOpsInfoRequest): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- return obj;
- },
-
- create(base?: DeepPartial<UnsetProjectGitOpsInfoRequest>): UnsetProjectGitOpsInfoRequest {
- return UnsetProjectGitOpsInfoRequest.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<UnsetProjectGitOpsInfoRequest>): UnsetProjectGitOpsInfoRequest {
- const message = createBaseUnsetProjectGitOpsInfoRequest();
- message.name = object.name ?? "";
- return message;
- },
-};
-
-function createBaseGetProjectGitOpsInfoRequest(): GetProjectGitOpsInfoRequest {
- return { name: "" };
-}
-
-export const GetProjectGitOpsInfoRequest = {
- encode(message: GetProjectGitOpsInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): GetProjectGitOpsInfoRequest {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseGetProjectGitOpsInfoRequest();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): GetProjectGitOpsInfoRequest {
- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
- },
-
- toJSON(message: GetProjectGitOpsInfoRequest): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- return obj;
- },
-
- create(base?: DeepPartial<GetProjectGitOpsInfoRequest>): GetProjectGitOpsInfoRequest {
- return GetProjectGitOpsInfoRequest.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<GetProjectGitOpsInfoRequest>): GetProjectGitOpsInfoRequest {
- const message = createBaseGetProjectGitOpsInfoRequest();
- message.name = object.name ?? "";
- return message;
- },
-};
-
function createBaseProject(): Project {
return {
name: "",
@@ -6125,180 +5888,6 @@ export const ProjectServiceDefinition = {
},
},
},
- updateProjectGitOpsInfo: {
- name: "UpdateProjectGitOpsInfo",
- requestType: UpdateProjectGitOpsInfoRequest,
- requestStream: false,
- responseType: ProjectGitOpsInfo,
- responseStream: false,
- options: {
- _unknownFields: {
- 578365826: [
- new Uint8Array([
- 57,
- 58,
- 1,
- 42,
- 50,
- 52,
- 47,
- 118,
- 49,
- 47,
- 123,
- 112,
- 114,
- 111,
- 106,
- 101,
- 99,
- 116,
- 95,
- 103,
- 105,
- 116,
- 111,
- 112,
- 115,
- 95,
- 105,
- 110,
- 102,
- 111,
- 46,
- 110,
- 97,
- 109,
- 101,
- 61,
- 112,
- 114,
- 111,
- 106,
- 101,
- 99,
- 116,
- 115,
- 47,
- 42,
- 47,
- 103,
- 105,
- 116,
- 79,
- 112,
- 115,
- 73,
- 110,
- 102,
- 111,
- 125,
- ]),
- ],
- },
- },
- },
- unsetProjectGitOpsInfo: {
- name: "UnsetProjectGitOpsInfo",
- requestType: UnsetProjectGitOpsInfoRequest,
- requestStream: false,
- responseType: Empty,
- responseStream: false,
- options: {
- _unknownFields: {
- 8410: [new Uint8Array([4, 110, 97, 109, 101])],
- 578365826: [
- new Uint8Array([
- 34,
- 42,
- 32,
- 47,
- 118,
- 49,
- 47,
- 123,
- 110,
- 97,
- 109,
- 101,
- 61,
- 112,
- 114,
- 111,
- 106,
- 101,
- 99,
- 116,
- 115,
- 47,
- 42,
- 47,
- 103,
- 105,
- 116,
- 79,
- 112,
- 115,
- 73,
- 110,
- 102,
- 111,
- 125,
- ]),
- ],
- },
- },
- },
- getProjectGitOpsInfo: {
- name: "GetProjectGitOpsInfo",
- requestType: GetProjectGitOpsInfoRequest,
- requestStream: false,
- responseType: ProjectGitOpsInfo,
- responseStream: false,
- options: {
- _unknownFields: {
- 578365826: [
- new Uint8Array([
- 34,
- 18,
- 32,
- 47,
- 118,
- 49,
- 47,
- 123,
- 110,
- 97,
- 109,
- 101,
- 61,
- 112,
- 114,
- 111,
- 106,
- 101,
- 99,
- 116,
- 115,
- 47,
- 42,
- 47,
- 103,
- 105,
- 116,
- 79,
- 112,
- 115,
- 73,
- 110,
- 102,
- 111,
- 125,
- ]),
- ],
- },
- },
- },
listDatabaseGroups: {
name: "ListDatabaseGroups",
requestType: ListDatabaseGroupsRequest,
diff --git a/frontend/src/types/proto/v1/vcs_provider_service.ts b/frontend/src/types/proto/v1/vcs_provider_service.ts
index 011b5ac763..111581c273 100644
--- a/frontend/src/types/proto/v1/vcs_provider_service.ts
+++ b/frontend/src/types/proto/v1/vcs_provider_service.ts
@@ -3,6 +3,7 @@ import Long from "long";
import _m0 from "protobufjs/minimal";
import { Empty } from "../google/protobuf/empty";
import { FieldMask } from "../google/protobuf/field_mask";
+import { VCSConnector } from "./vcs_connector_service";
export const protobufPackage = "bytebase.v1";
@@ -92,7 +93,7 @@ export interface SearchVCSProviderProjectsResponse_Project {
webUrl: string;
}
-export interface ListProjectGitOpsInfoRequest {
+export interface ListVCSConnectorsInProviderRequest {
/**
* The name of the vcs provider to retrieve the linked projects.
* Format: vcsProviders/{vcsProvider}
@@ -100,9 +101,9 @@ export interface ListProjectGitOpsInfoRequest {
name: string;
}
-export interface ListProjectGitOpsInfoResponse {
- /** The binding between vcs provider and project. */
- projectGitopsInfo: ProjectGitOpsInfo[];
+export interface ListVCSConnectorsInProviderResponse {
+ /** The vcsConnectors from the specified request. */
+ vcsConnectors: VCSConnector[];
}
export interface VCSProvider {
@@ -178,31 +179,6 @@ export function vCSProvider_TypeToJSON(object: VCSProvider_Type): string {
}
}
-export interface ProjectGitOpsInfo {
- /**
- * The name of the linked repository, generated by the server, and also is the unique identifier.
- * Format: projects/{project}/gitOpsInfo
- */
- name: string;
- /** The name of the VCS. */
- vcs: string;
- /** The title of the repository. For axample: sample. */
- title: string;
- /** The reposition external id in target VCS. */
- externalId: string;
- /** The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. */
- baseDirectory: string;
- /** The branch Bytebase listens to for changes. For example: main. */
- branch: string;
- /**
- * TODO(d): move these to create VCS connector API.
- * The full_path of the repository. For example: bytebase/sample.
- */
- fullPath: string;
- /** The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample. */
- webUrl: string;
-}
-
function createBaseCreateVCSProviderRequest(): CreateVCSProviderRequest {
return { vcsProvider: undefined, vcsProviderId: "" };
}
@@ -843,22 +819,22 @@ export const SearchVCSProviderProjectsResponse_Project = {
},
};
-function createBaseListProjectGitOpsInfoRequest(): ListProjectGitOpsInfoRequest {
+function createBaseListVCSConnectorsInProviderRequest(): ListVCSConnectorsInProviderRequest {
return { name: "" };
}
-export const ListProjectGitOpsInfoRequest = {
- encode(message: ListProjectGitOpsInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const ListVCSConnectorsInProviderRequest = {
+ encode(message: ListVCSConnectorsInProviderRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== "") {
writer.uint32(10).string(message.name);
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): ListProjectGitOpsInfoRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListVCSConnectorsInProviderRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseListProjectGitOpsInfoRequest();
+ const message = createBaseListVCSConnectorsInProviderRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -878,11 +854,11 @@ export const ListProjectGitOpsInfoRequest = {
return message;
},
- fromJSON(object: any): ListProjectGitOpsInfoRequest {
+ fromJSON(object: any): ListVCSConnectorsInProviderRequest {
return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
},
- toJSON(message: ListProjectGitOpsInfoRequest): unknown {
+ toJSON(message: ListVCSConnectorsInProviderRequest): unknown {
const obj: any = {};
if (message.name !== "") {
obj.name = message.name;
@@ -890,32 +866,32 @@ export const ListProjectGitOpsInfoRequest = {
return obj;
},
- create(base?: DeepPartial<ListProjectGitOpsInfoRequest>): ListProjectGitOpsInfoRequest {
- return ListProjectGitOpsInfoRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<ListVCSConnectorsInProviderRequest>): ListVCSConnectorsInProviderRequest {
+ return ListVCSConnectorsInProviderRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<ListProjectGitOpsInfoRequest>): ListProjectGitOpsInfoRequest {
- const message = createBaseListProjectGitOpsInfoRequest();
+ fromPartial(object: DeepPartial<ListVCSConnectorsInProviderRequest>): ListVCSConnectorsInProviderRequest {
+ const message = createBaseListVCSConnectorsInProviderRequest();
message.name = object.name ?? "";
return message;
},
};
-function createBaseListProjectGitOpsInfoResponse(): ListProjectGitOpsInfoResponse {
- return { projectGitopsInfo: [] };
+function createBaseListVCSConnectorsInProviderResponse(): ListVCSConnectorsInProviderResponse {
+ return { vcsConnectors: [] };
}
-export const ListProjectGitOpsInfoResponse = {
- encode(message: ListProjectGitOpsInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- for (const v of message.projectGitopsInfo) {
- ProjectGitOpsInfo.encode(v!, writer.uint32(10).fork()).ldelim();
+export const ListVCSConnectorsInProviderResponse = {
+ encode(message: ListVCSConnectorsInProviderResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ for (const v of message.vcsConnectors) {
+ VCSConnector.encode(v!, writer.uint32(10).fork()).ldelim();
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): ListProjectGitOpsInfoResponse {
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListVCSConnectorsInProviderResponse {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseListProjectGitOpsInfoResponse();
+ const message = createBaseListVCSConnectorsInProviderResponse();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -924,7 +900,7 @@ export const ListProjectGitOpsInfoResponse = {
break;
}
- message.projectGitopsInfo.push(ProjectGitOpsInfo.decode(reader, reader.uint32()));
+ message.vcsConnectors.push(VCSConnector.decode(reader, reader.uint32()));
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -935,28 +911,28 @@ export const ListProjectGitOpsInfoResponse = {
return message;
},
- fromJSON(object: any): ListProjectGitOpsInfoResponse {
+ fromJSON(object: any): ListVCSConnectorsInProviderResponse {
return {
- projectGitopsInfo: globalThis.Array.isArray(object?.projectGitopsInfo)
- ? object.projectGitopsInfo.map((e: any) => ProjectGitOpsInfo.fromJSON(e))
+ vcsConnectors: globalThis.Array.isArray(object?.vcsConnectors)
+ ? object.vcsConnectors.map((e: any) => VCSConnector.fromJSON(e))
: [],
};
},
- toJSON(message: ListProjectGitOpsInfoResponse): unknown {
+ toJSON(message: ListVCSConnectorsInProviderResponse): unknown {
const obj: any = {};
- if (message.projectGitopsInfo?.length) {
- obj.projectGitopsInfo = message.projectGitopsInfo.map((e) => ProjectGitOpsInfo.toJSON(e));
+ if (message.vcsConnectors?.length) {
+ obj.vcsConnectors = message.vcsConnectors.map((e) => VCSConnector.toJSON(e));
}
return obj;
},
- create(base?: DeepPartial<ListProjectGitOpsInfoResponse>): ListProjectGitOpsInfoResponse {
- return ListProjectGitOpsInfoResponse.fromPartial(base ?? {});
+ create(base?: DeepPartial<ListVCSConnectorsInProviderResponse>): ListVCSConnectorsInProviderResponse {
+ return ListVCSConnectorsInProviderResponse.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<ListProjectGitOpsInfoResponse>): ListProjectGitOpsInfoResponse {
- const message = createBaseListProjectGitOpsInfoResponse();
- message.projectGitopsInfo = object.projectGitopsInfo?.map((e) => ProjectGitOpsInfo.fromPartial(e)) || [];
+ fromPartial(object: DeepPartial<ListVCSConnectorsInProviderResponse>): ListVCSConnectorsInProviderResponse {
+ const message = createBaseListVCSConnectorsInProviderResponse();
+ message.vcsConnectors = object.vcsConnectors?.map((e) => VCSConnector.fromPartial(e)) || [];
return message;
},
};
@@ -1080,170 +1056,6 @@ export const VCSProvider = {
},
};
-function createBaseProjectGitOpsInfo(): ProjectGitOpsInfo {
- return { name: "", vcs: "", title: "", externalId: "", baseDirectory: "", branch: "", fullPath: "", webUrl: "" };
-}
-
-export const ProjectGitOpsInfo = {
- encode(message: ProjectGitOpsInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.vcs !== "") {
- writer.uint32(18).string(message.vcs);
- }
- if (message.title !== "") {
- writer.uint32(26).string(message.title);
- }
- if (message.externalId !== "") {
- writer.uint32(34).string(message.externalId);
- }
- if (message.baseDirectory !== "") {
- writer.uint32(42).string(message.baseDirectory);
- }
- if (message.branch !== "") {
- writer.uint32(50).string(message.branch);
- }
- if (message.fullPath !== "") {
- writer.uint32(66).string(message.fullPath);
- }
- if (message.webUrl !== "") {
- writer.uint32(74).string(message.webUrl);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): ProjectGitOpsInfo {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseProjectGitOpsInfo();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.vcs = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.title = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.externalId = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.baseDirectory = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.branch = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.fullPath = reader.string();
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.webUrl = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ProjectGitOpsInfo {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- vcs: isSet(object.vcs) ? globalThis.String(object.vcs) : "",
- title: isSet(object.title) ? globalThis.String(object.title) : "",
- externalId: isSet(object.externalId) ? globalThis.String(object.externalId) : "",
- baseDirectory: isSet(object.baseDirectory) ? globalThis.String(object.baseDirectory) : "",
- branch: isSet(object.branch) ? globalThis.String(object.branch) : "",
- fullPath: isSet(object.fullPath) ? globalThis.String(object.fullPath) : "",
- webUrl: isSet(object.webUrl) ? globalThis.String(object.webUrl) : "",
- };
- },
-
- toJSON(message: ProjectGitOpsInfo): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.vcs !== "") {
- obj.vcs = message.vcs;
- }
- if (message.title !== "") {
- obj.title = message.title;
- }
- if (message.externalId !== "") {
- obj.externalId = message.externalId;
- }
- if (message.baseDirectory !== "") {
- obj.baseDirectory = message.baseDirectory;
- }
- if (message.branch !== "") {
- obj.branch = message.branch;
- }
- if (message.fullPath !== "") {
- obj.fullPath = message.fullPath;
- }
- if (message.webUrl !== "") {
- obj.webUrl = message.webUrl;
- }
- return obj;
- },
-
- create(base?: DeepPartial<ProjectGitOpsInfo>): ProjectGitOpsInfo {
- return ProjectGitOpsInfo.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ProjectGitOpsInfo>): ProjectGitOpsInfo {
- const message = createBaseProjectGitOpsInfo();
- message.name = object.name ?? "";
- message.vcs = object.vcs ?? "";
- message.title = object.title ?? "";
- message.externalId = object.externalId ?? "";
- message.baseDirectory = object.baseDirectory ?? "";
- message.branch = object.branch ?? "";
- message.fullPath = object.fullPath ?? "";
- message.webUrl = object.webUrl ?? "";
- return message;
- },
-};
-
export type VCSProviderServiceDefinition = typeof VCSProviderServiceDefinition;
export const VCSProviderServiceDefinition = {
name: "VCSProviderService",
@@ -1560,19 +1372,19 @@ export const VCSProviderServiceDefinition = {
},
},
},
- listProjectGitOpsInfo: {
- name: "ListProjectGitOpsInfo",
- requestType: ListProjectGitOpsInfoRequest,
+ listVCSConnectorsInProvider: {
+ name: "ListVCSConnectorsInProvider",
+ requestType: ListVCSConnectorsInProviderRequest,
requestStream: false,
- responseType: ListProjectGitOpsInfoResponse,
+ responseType: ListVCSConnectorsInProviderResponse,
responseStream: false,
options: {
_unknownFields: {
578365826: [
new Uint8Array([
- 36,
+ 41,
18,
- 34,
+ 39,
47,
118,
49,
@@ -1599,13 +1411,18 @@ export const VCSProviderServiceDefinition = {
42,
125,
47,
- 112,
- 114,
+ 118,
+ 99,
+ 115,
+ 67,
111,
- 106,
+ 110,
+ 110,
101,
99,
116,
+ 111,
+ 114,
115,
]),
],
diff --git a/frontend/src/types/repository.ts b/frontend/src/types/repository.ts
index 0ad35dd307..048118b504 100644
--- a/frontend/src/types/repository.ts
+++ b/frontend/src/types/repository.ts
@@ -1,6 +1,7 @@
export type RepositoryConfig = {
baseDirectory: string;
branch: string;
+ resourceId: string;
};
export type ExternalRepositoryInfo = {
diff --git a/frontend/src/types/v1/index.ts b/frontend/src/types/v1/index.ts
index d4d6233846..62ff96c48e 100644
--- a/frontend/src/types/v1/index.ts
+++ b/frontend/src/types/v1/index.ts
@@ -6,7 +6,6 @@ export * from "./project";
export * from "./projectWebhook";
export * from "./role";
export * from "./user";
-export * from "./repository";
export * from "./sql";
export * from "./webTerminal";
export * from "./issue";
diff --git a/frontend/src/types/v1/repository.ts b/frontend/src/types/v1/repository.ts
deleted file mode 100644
index fc398d9d70..0000000000
--- a/frontend/src/types/v1/repository.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { Project } from "@/types/proto/v1/project_service";
-import type { ProjectGitOpsInfo } from "@/types/proto/v1/vcs_provider_service";
-
-export interface ComposedRepository extends ProjectGitOpsInfo {
- project: Project;
-}
diff --git a/frontend/src/views/DashboardSidebar.vue b/frontend/src/views/DashboardSidebar.vue
index 3f142a7747..16b0607764 100644
--- a/frontend/src/views/DashboardSidebar.vue
+++ b/frontend/src/views/DashboardSidebar.vue
@@ -69,7 +69,7 @@ const getItemClass = (item: SidebarItem): string[] => {
const { name: current } = route;
const isActiveRoute =
item.name === current?.toString() ||
- current?.toString().startsWith(`${item.name}`);
+ current?.toString().startsWith(`${item.name}.`);
const classes: string[] = [];
if (isActiveRoute) {
classes.push("router-link-active", "bg-link-hover");
diff --git a/frontend/src/views/SettingWorkspaceVCS.vue b/frontend/src/views/SettingWorkspaceVCS.vue
index f6517271ff..610ef41918 100644
--- a/frontend/src/views/SettingWorkspaceVCS.vue
+++ b/frontend/src/views/SettingWorkspaceVCS.vue
@@ -39,7 +39,7 @@ import {
WORKSPACE_ROUTE_GITOPS_DETAIL,
} from "@/router/dashboard/workspaceRoutes";
import { useCurrentUserV1, useVCSV1Store } from "@/store";
-import { getVCSId } from "@/store/modules/v1/common";
+import { getVCSProviderId } from "@/store/modules/v1/common";
import type { VCSProvider } from "@/types/proto/v1/vcs_provider_service";
import { hasWorkspacePermissionV2 } from "@/utils";
@@ -53,13 +53,13 @@ const hasCreateVCSPermission = computed(() => {
});
const prepareVCSList = () => {
- vcsV1Store.fetchVCSList();
+ vcsV1Store.getOrFetchVCSList();
};
watchEffect(prepareVCSList);
const vcsList = computed(() => {
- return vcsV1Store.getVCSList();
+ return vcsV1Store.vcsList;
});
const addVCSProvider = () => {
@@ -99,7 +99,7 @@ const columnList = computed((): DataTableColumn<VCSProvider>[] => {
router.push({
name: WORKSPACE_ROUTE_GITOPS_DETAIL,
params: {
- vcsResourceId: getVCSId(vcs.name),
+ vcsResourceId: getVCSProviderId(vcs.name),
},
});
},
diff --git a/frontend/src/views/SettingWorkspaceVCSDetail.vue b/frontend/src/views/SettingWorkspaceVCSDetail.vue
index 932ae5909c..687f186103 100644
--- a/frontend/src/views/SettingWorkspaceVCSDetail.vue
+++ b/frontend/src/views/SettingWorkspaceVCSDetail.vue
@@ -40,6 +40,7 @@
<BBTextField
id="name"
v-model:value="state.title"
+ :disabled="!hasUpdateVCSPermission"
name="name"
class="mt-1 w-full"
/>
@@ -50,6 +51,7 @@
<BBTextField
id="secret"
v-model:value="state.accessToken"
+ :disabled="!hasUpdateVCSPermission"
name="secret"
class="mt-1 w-full"
:placeholder="$t('common.sensitive-placeholder')"
@@ -57,7 +59,7 @@
</div>
<div class="pt-4 flex border-t justify-between">
- <template v-if="repositoryList.length == 0">
+ <template v-if="connectorList.length == 0">
<BBButtonConfirm
:style="'DELETE'"
:button-text="$t('gitops.setting.git-provider.delete')"
@@ -94,10 +96,10 @@
<div class="py-6">
<div class="text-lg leading-6 font-medium text-main">
- {{ $t("repository.linked") + ` (${repositoryList.length})` }}
+ {{ $t("repository.linked") + ` (${connectorList.length})` }}
</div>
<div class="mt-4">
- <RepositoryTable :repository-list="repositoryList" />
+ <VCSConnectorTable :connector-list="connectorList" />
</div>
</div>
</template>
@@ -106,15 +108,16 @@
import isEmpty from "lodash-es/isEmpty";
import { reactive, computed, watchEffect } from "vue";
import { useRouter } from "vue-router";
-import RepositoryTable from "@/components/RepositoryTable.vue";
import { vcsListByUIType } from "@/components/VCS/utils";
+import VCSConnectorTable from "@/components/VCSConnectorTable.vue";
import { WORKSPACE_ROUTE_GITOPS } from "@/router/dashboard/workspaceRoutes";
import {
pushNotification,
useCurrentUserV1,
- useRepositoryV1Store,
+ useVCSConnectorStore,
useVCSV1Store,
} from "@/store";
+import { vcsProviderPrefix } from "@/store/modules/v1/common";
import type { VCSUIType } from "@/types";
import type { VCSProvider } from "@/types/proto/v1/vcs_provider_service";
import { getVCSUIType, hasWorkspacePermissionV2 } from "@/utils";
@@ -131,7 +134,7 @@ const props = defineProps<{
const router = useRouter();
const currentUser = useCurrentUserV1();
const vcsV1Store = useVCSV1Store();
-const repositoryV1Store = useRepositoryV1Store();
+const vcsConnectorStore = useVCSConnectorStore();
const vcs = computed((): VCSProvider | undefined => {
return vcsV1Store.getVCSById(props.vcsResourceId);
@@ -167,7 +170,9 @@ const hasDeleteVCSPermission = computed(() => {
});
watchEffect(async () => {
- const vcs = await vcsV1Store.fetchVCSById(props.vcsResourceId);
+ const vcs = await vcsV1Store.getOrFetchVCSByName(
+ `${vcsProviderPrefix}${props.vcsResourceId}`
+ );
resetState();
if (vcs) {
if (
@@ -183,12 +188,12 @@ watchEffect(async () => {
});
return;
}
- await repositoryV1Store.fetchRepositoryListByVCS(vcs.name);
+ await vcsConnectorStore.fetchConnectorsInProvider(vcs.name);
}
});
-const repositoryList = computed(() => {
- return repositoryV1Store.getRepositoryListByVCS(vcs.value?.name ?? "");
+const connectorList = computed(() => {
+ return vcsConnectorStore.getConnectorsInProvider(vcs.value?.name ?? "");
});
const allowUpdate = computed(() => {
diff --git a/frontend/src/views/project/ProjectVersionControlCreate.vue b/frontend/src/views/project/ProjectVersionControlCreate.vue
new file mode 100644
index 0000000000..559b252c4d
--- /dev/null
+++ b/frontend/src/views/project/ProjectVersionControlCreate.vue
@@ -0,0 +1,61 @@
+<template>
+ <RepositorySetupWizard
+ :project="project"
+ @cancel="onCancel"
+ @finish="onFinish"
+ />
+</template>
+
+<script lang="ts" setup>
+import { computed } from "vue";
+import { useI18n } from "vue-i18n";
+import { useRouter } from "vue-router";
+import { PROJECT_V1_ROUTE_GITOPS } from "@/router/dashboard/projectV1";
+import {
+ pushNotification,
+ useVCSConnectorStore,
+ useProjectV1Store,
+} from "@/store";
+import { projectNamePrefix } from "@/store/modules/v1/common";
+
+const props = defineProps<{
+ projectId: string;
+}>();
+
+const router = useRouter();
+const projectV1Store = useProjectV1Store();
+const vcsConnectorStore = useVCSConnectorStore();
+const { t } = useI18n();
+
+const project = computed(() => {
+ return projectV1Store.getProjectByName(
+ `${projectNamePrefix}${props.projectId}`
+ );
+});
+
+const vcsConnectorList = computed(() =>
+ vcsConnectorStore.getConnectorList(project.value.name)
+);
+
+const onCancel = () => {
+ router.push({
+ name: PROJECT_V1_ROUTE_GITOPS,
+ });
+};
+
+const onFinish = () => {
+ if (vcsConnectorList.value.length === 1) {
+ // refresh project
+ // TODO(ed): we can only update the frontend data, don't need to call API.
+ projectV1Store.fetchProjectByName(project.value.name);
+ }
+ pushNotification({
+ module: "bytebase",
+ style: "SUCCESS",
+ title: t("project.gitops-connector.create-success"),
+ });
+ router.push({
+ name: PROJECT_V1_ROUTE_GITOPS,
+ });
+};
+</script>
diff --git a/frontend/src/views/project/ProjectVersionControlDetail.vue b/frontend/src/views/project/ProjectVersionControlDetail.vue
new file mode 100644
index 0000000000..4e4ccea8ed
--- /dev/null
+++ b/frontend/src/views/project/ProjectVersionControlDetail.vue
@@ -0,0 +1,112 @@
+<template>
+ <RepositoryPanel
+ :project="project"
+ :vcs-connector="vcsConnector"
+ :allow-edit="allowEdit"
+ :allow-delete="allowDelete"
+ @delete="onDelete"
+ @update="onUpdate"
+ @cancel="onCancel"
+ />
+</template>
+
+<script lang="ts" setup>
+import { computed, watchEffect } from "vue";
+import { useI18n } from "vue-i18n";
+import { useRouter } from "vue-router";
+import { PROJECT_V1_ROUTE_GITOPS } from "@/router/dashboard/projectV1";
+import {
+ useVCSConnectorStore,
+ useProjectV1Store,
+ useVCSV1Store,
+ useCurrentUserV1,
+ pushNotification,
+} from "@/store";
+import { projectNamePrefix } from "@/store/modules/v1/common";
+import { VCSConnector } from "@/types/proto/v1/vcs_connector_service";
+import { hasProjectPermissionV2 } from "@/utils";
+
+const props = defineProps<{
+ projectId: string;
+ vcsConnectorId: string;
+}>();
+
+const vcsConnectorStore = useVCSConnectorStore();
+const vcsProviderStore = useVCSV1Store();
+const projectV1Store = useProjectV1Store();
+const currentUser = useCurrentUserV1();
+const router = useRouter();
+const { t } = useI18n();
+
+const project = computed(() => {
+ return projectV1Store.getProjectByName(
+ `${projectNamePrefix}${props.projectId}`
+ );
+});
+
+const vcsConnector = computed(
+ () =>
+ vcsConnectorStore.getConnector(project.value.name, props.vcsConnectorId) ??
+ VCSConnector.fromPartial({})
+);
+
+const vcsConnectorList = computed(() =>
+ vcsConnectorStore.getConnectorList(project.value.name)
+);
+
+const allowEdit = computed(() => {
+ return hasProjectPermissionV2(
+ project.value,
+ currentUser.value,
+ "bb.vcsConnectors.update"
+ );
+});
+
+const allowDelete = computed(() => {
+ return hasProjectPermissionV2(
+ project.value,
+ currentUser.value,
+ "bb.vcsConnectors.delete"
+ );
+});
+
+watchEffect(async () => {
+ const connector = await vcsConnectorStore.getOrFetchConnector(
+ project.value.name,
+ props.vcsConnectorId
+ );
+ if (connector) {
+ await vcsProviderStore.getOrFetchVCSByName(connector.vcsProvider);
+ }
+});
+
+const onCancel = () => {
+ router.push({
+ name: PROJECT_V1_ROUTE_GITOPS,
+ });
+};
+
+const onDelete = () => {
+ if (vcsConnectorList.value.length === 0) {
+ // refresh project
+ // TODO(ed): we can only update the frontend data, don't need to call API.
+ projectV1Store.fetchProjectByName(project.value.name);
+ }
+
+ pushNotification({
+ module: "bytebase",
+ style: "SUCCESS",
+ title: t("project.gitops-connector.delete-success"),
+ });
+
+ onCancel();
+};
+
+const onUpdate = () => {
+ pushNotification({
+ module: "bytebase",
+ style: "SUCCESS",
+ title: t("project.gitops-connector.update-success"),
+ });
+};
+</script>
diff --git a/frontend/src/views/project/ProjectVersionControlPanel.vue b/frontend/src/views/project/ProjectVersionControlPanel.vue
index 24497fcbb1..0f7045ecfb 100644
--- a/frontend/src/views/project/ProjectVersionControlPanel.vue
+++ b/frontend/src/views/project/ProjectVersionControlPanel.vue
@@ -1,23 +1,168 @@
<template>
- <ProjectVersionControlPanel :project="project" :allow-edit="allowEdit" />
+ <div class="space-y-4">
+ <div class="textinfolabel">
+ {{ $t("workflow.gitops-workflow-description") }}
+ </div>
+ <div class="flex flex-row items-center justify-end gap-x-2">
+ <NButton v-if="allowCreate" type="primary" @click="createConnector">
+ {{ $t("project.gitops-connector.add") }}
+ </NButton>
+ </div>
+ <NDataTable
+ :data="connectorList"
+ :columns="columnList"
+ :striped="true"
+ :bordered="true"
+ class="connector-table-list"
+ />
+ </div>
</template>
<script setup lang="ts">
-import { computed } from "vue";
-import ProjectVersionControlPanel from "@/components/ProjectVersionControlPanel.vue";
-import { useProjectV1Store } from "@/store";
+import { NButton, NDataTable } from "naive-ui";
+import type { DataTableColumn } from "naive-ui";
+import { computed, h, watchEffect } from "vue";
+import { useI18n } from "vue-i18n";
+import { useRouter } from "vue-router";
+import VCSIcon from "@/components/VCS/VCSIcon.vue";
+import {
+ PROJECT_V1_ROUTE_GITOPS_DETAIL,
+ PROJECT_V1_ROUTE_GITOPS_CREATE,
+} from "@/router/dashboard/projectV1";
+import {
+ useVCSConnectorStore,
+ useProjectV1Store,
+ useCurrentUserV1,
+ useVCSV1Store,
+} from "@/store";
import { projectNamePrefix } from "@/store/modules/v1/common";
+import { getVCSConnectorId } from "@/store/modules/v1/common";
+import type { VCSConnector } from "@/types/proto/v1/vcs_connector_service";
+import { VCSProvider_Type } from "@/types/proto/v1/vcs_provider_service";
+import { hasProjectPermissionV2 } from "@/utils";
const props = defineProps<{
projectId: string;
- allowEdit: boolean;
}>();
const projectV1Store = useProjectV1Store();
+const currentUser = useCurrentUserV1();
+const vcsV1Store = useVCSV1Store();
+const vcsConnectorStore = useVCSConnectorStore();
+const router = useRouter();
+const { t } = useI18n();
const project = computed(() => {
return projectV1Store.getProjectByName(
`${projectNamePrefix}${props.projectId}`
);
});
+
+const allowCreate = computed(() => {
+ return hasProjectPermissionV2(
+ project.value,
+ currentUser.value,
+ "bb.vcsConnectors.create"
+ );
+});
+
+const allowView = computed(() => {
+ return hasProjectPermissionV2(
+ project.value,
+ currentUser.value,
+ "bb.vcsConnectors.get"
+ );
+});
+
+const createConnector = () => {
+ router.push({
+ name: PROJECT_V1_ROUTE_GITOPS_CREATE,
+ });
+};
+
+const columnList = computed((): DataTableColumn<VCSConnector>[] => {
+ const list: DataTableColumn<VCSConnector>[] = [
+ {
+ key: "provider",
+ title: t("repository.git-provider"),
+ resizable: true,
+ render: (connector) => {
+ const vcs = vcsV1Store.getVCSByName(connector.vcsProvider);
+ return h("div", { class: "flex items-center gap-x-2" }, [
+ h(VCSIcon, {
+ type: vcs?.type ?? VCSProvider_Type.TYPE_UNSPECIFIED,
+ customClass: "h-4",
+ }),
+ vcs?.title ?? "",
+ ]);
+ },
+ },
+ {
+ key: "id",
+ title: t("common.id"),
+ resizable: true,
+ render: (connector) => getVCSConnectorId(connector.name).vcsConnectorId,
+ },
+ {
+ key: "repository",
+ title: t("common.repository"),
+ resizable: true,
+ render: (connector) => connector.fullPath,
+ },
+ {
+ key: "branch",
+ title: t("common.branch"),
+ render: (connector) => connector.branch,
+ },
+ ];
+
+ if (allowView.value) {
+ list.push({
+ key: "view",
+ title: "",
+ render: (connector) =>
+ h(
+ "div",
+ { class: "flex justify-end" },
+ h(
+ NButton,
+ {
+ size: "small",
+ onClick: () => {
+ router.push({
+ name: PROJECT_V1_ROUTE_GITOPS_DETAIL,
+ params: {
+ vcsConnectorId: getVCSConnectorId(connector.name)
+ .vcsConnectorId,
+ },
+ });
+ },
+ },
+ t("common.view")
+ )
+ ),
+ });
+ }
+
+ return list;
+});
+
+const connectorList = computed(() => {
+ const list = vcsConnectorStore.getConnectorList(project.value.name);
+ return list;
+});
+
+watchEffect(async () => {
+ await Promise.all([
+ vcsV1Store.getOrFetchVCSList(),
+ vcsConnectorStore.getOrFetchConnectors(project.value.name),
+ ]);
+});
</script>
+
+<style lang="postcss" scoped>
+.connector-table-list :deep(.n-data-table-td),
+.connector-table-list :deep(.n-data-table-th) {
+ @apply !py-1.5;
+}
+</style>
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 7af7099cc1..78fbaa49c7 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -335,25 +335,6 @@
- [OrgPolicyService](#bytebase-v1-OrgPolicyService)
-- [v1/vcs_provider_service.proto](#v1_vcs_provider_service-proto)
- - [CreateVCSProviderRequest](#bytebase-v1-CreateVCSProviderRequest)
- - [DeleteVCSProviderRequest](#bytebase-v1-DeleteVCSProviderRequest)
- - [GetVCSProviderRequest](#bytebase-v1-GetVCSProviderRequest)
- - [ListProjectGitOpsInfoRequest](#bytebase-v1-ListProjectGitOpsInfoRequest)
- - [ListProjectGitOpsInfoResponse](#bytebase-v1-ListProjectGitOpsInfoResponse)
- - [ListVCSProvidersRequest](#bytebase-v1-ListVCSProvidersRequest)
- - [ListVCSProvidersResponse](#bytebase-v1-ListVCSProvidersResponse)
- - [ProjectGitOpsInfo](#bytebase-v1-ProjectGitOpsInfo)
- - [SearchVCSProviderProjectsRequest](#bytebase-v1-SearchVCSProviderProjectsRequest)
- - [SearchVCSProviderProjectsResponse](#bytebase-v1-SearchVCSProviderProjectsResponse)
- - [SearchVCSProviderProjectsResponse.Project](#bytebase-v1-SearchVCSProviderProjectsResponse-Project)
- - [UpdateVCSProviderRequest](#bytebase-v1-UpdateVCSProviderRequest)
- - [VCSProvider](#bytebase-v1-VCSProvider)
-
- - [VCSProvider.Type](#bytebase-v1-VCSProvider-Type)
-
- - [VCSProviderService](#bytebase-v1-VCSProviderService)
-
- [v1/project_service.proto](#v1_project_service-proto)
- [Activity](#bytebase-v1-Activity)
- [AddWebhookRequest](#bytebase-v1-AddWebhookRequest)
@@ -373,7 +354,6 @@
- [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest)
- [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest)
- [GetIamPolicyRequest](#bytebase-v1-GetIamPolicyRequest)
- - [GetProjectGitOpsInfoRequest](#bytebase-v1-GetProjectGitOpsInfoRequest)
- [GetProjectProtectionRulesRequest](#bytebase-v1-GetProjectProtectionRulesRequest)
- [GetProjectRequest](#bytebase-v1-GetProjectRequest)
- [GetSchemaGroupRequest](#bytebase-v1-GetSchemaGroupRequest)
@@ -399,10 +379,8 @@
- [TestWebhookRequest](#bytebase-v1-TestWebhookRequest)
- [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)
- [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)
- - [UnsetProjectGitOpsInfoRequest](#bytebase-v1-UnsetProjectGitOpsInfoRequest)
- [UpdateDatabaseGroupRequest](#bytebase-v1-UpdateDatabaseGroupRequest)
- [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest)
- - [UpdateProjectGitOpsInfoRequest](#bytebase-v1-UpdateProjectGitOpsInfoRequest)
- [UpdateProjectProtectionRulesRequest](#bytebase-v1-UpdateProjectProtectionRulesRequest)
- [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest)
- [UpdateSchemaGroupRequest](#bytebase-v1-UpdateSchemaGroupRequest)
@@ -615,6 +593,24 @@
- [VCSConnectorService](#bytebase-v1-VCSConnectorService)
+- [v1/vcs_provider_service.proto](#v1_vcs_provider_service-proto)
+ - [CreateVCSProviderRequest](#bytebase-v1-CreateVCSProviderRequest)
+ - [DeleteVCSProviderRequest](#bytebase-v1-DeleteVCSProviderRequest)
+ - [GetVCSProviderRequest](#bytebase-v1-GetVCSProviderRequest)
+ - [ListVCSConnectorsInProviderRequest](#bytebase-v1-ListVCSConnectorsInProviderRequest)
+ - [ListVCSConnectorsInProviderResponse](#bytebase-v1-ListVCSConnectorsInProviderResponse)
+ - [ListVCSProvidersRequest](#bytebase-v1-ListVCSProvidersRequest)
+ - [ListVCSProvidersResponse](#bytebase-v1-ListVCSProvidersResponse)
+ - [SearchVCSProviderProjectsRequest](#bytebase-v1-SearchVCSProviderProjectsRequest)
+ - [SearchVCSProviderProjectsResponse](#bytebase-v1-SearchVCSProviderProjectsResponse)
+ - [SearchVCSProviderProjectsResponse.Project](#bytebase-v1-SearchVCSProviderProjectsResponse-Project)
+ - [UpdateVCSProviderRequest](#bytebase-v1-UpdateVCSProviderRequest)
+ - [VCSProvider](#bytebase-v1-VCSProvider)
+
+ - [VCSProvider.Type](#bytebase-v1-VCSProvider-Type)
+
+ - [VCSProviderService](#bytebase-v1-VCSProviderService)
+
- [v1/worksheet_service.proto](#v1_worksheet_service-proto)
- [CreateWorksheetRequest](#bytebase-v1-CreateWorksheetRequest)
- [DeleteWorksheetRequest](#bytebase-v1-DeleteWorksheetRequest)
@@ -5631,643 +5627,366 @@ The policy&#39;s `name` field is used to identify the instance to update. Format
-<a name="v1_vcs_provider_service-proto"></a>
+<a name="v1_project_service-proto"></a>
<p align="right"><a href="#top">Top</a></p>
-## v1/vcs_provider_service.proto
-
-
-
-<a name="bytebase-v1-CreateVCSProviderRequest"></a>
-
-### CreateVCSProviderRequest
+## v1/project_service.proto
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| vcs_provider | [VCSProvider](#bytebase-v1-VCSProvider) | | |
-| vcs_provider_id | [string](#string) | | The ID to use for the VCS provider, which will become the final component of the VCS provider&#39;s name.
+<a name="bytebase-v1-Activity"></a>
-This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
+### Activity
+TODO(zp): move to activity later.
-<a name="bytebase-v1-DeleteVCSProviderRequest"></a>
+<a name="bytebase-v1-AddWebhookRequest"></a>
-### DeleteVCSProviderRequest
+### AddWebhookRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the vcs provider to delete. Format: vcsProviders/{vcsProvider} |
+| project | [string](#string) | | The name of the project to add the webhook to. Format: projects/{project} |
+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to add. |
-<a name="bytebase-v1-GetVCSProviderRequest"></a>
+<a name="bytebase-v1-BatchGetIamPolicyRequest"></a>
-### GetVCSProviderRequest
+### BatchGetIamPolicyRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the vcs provider to retrieve. Format: vcsProviders/{vcsProvider} |
+| scope | [string](#string) | | The scope of the batch get. Typically it&#39;s &#34;projects/-&#34;. |
+| names | [string](#string) | repeated | |
-<a name="bytebase-v1-ListProjectGitOpsInfoRequest"></a>
+<a name="bytebase-v1-BatchGetIamPolicyResponse"></a>
-### ListProjectGitOpsInfoRequest
+### BatchGetIamPolicyResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the vcs provider to retrieve the linked projects. Format: vcsProviders/{vcsProvider} |
+| policy_results | [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult) | repeated | |
-<a name="bytebase-v1-ListProjectGitOpsInfoResponse"></a>
+<a name="bytebase-v1-BatchGetIamPolicyResponse-PolicyResult"></a>
-### ListProjectGitOpsInfoResponse
+### BatchGetIamPolicyResponse.PolicyResult
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| project_gitops_info | [ProjectGitOpsInfo](#bytebase-v1-ProjectGitOpsInfo) | repeated | The binding between vcs provider and project. |
+| project | [string](#string) | | |
+| policy | [IamPolicy](#bytebase-v1-IamPolicy) | | |
-<a name="bytebase-v1-ListVCSProvidersRequest"></a>
+<a name="bytebase-v1-CreateDatabaseGroupRequest"></a>
-### ListVCSProvidersRequest
+### CreateDatabaseGroupRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| page_size | [int32](#int32) | | Not used. The maximum number of vcs provider to return. The service may return fewer than this value. If unspecified, at most 100 vcs provider will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
-| page_token | [string](#string) | | Not used. A page token, received from a previous `ListVCSProviders` call. Provide this to retrieve the subsequent page. |
+| parent | [string](#string) | | The parent resource where this database group will be created. Format: projects/{project} |
+| database_group | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | | The database group to create. |
+| database_group_id | [string](#string) | | The ID to use for the database group, which will become the final component of the database group&#39;s resource name.
+This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
+| validate_only | [bool](#bool) | | If set, validate the create request and preview the full database group response, but do not actually create it. |
-<a name="bytebase-v1-ListVCSProvidersResponse"></a>
-### ListVCSProvidersResponse
+<a name="bytebase-v1-CreateProjectRequest"></a>
+
+### CreateProjectRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| vcs_providers | [VCSProvider](#bytebase-v1-VCSProvider) | repeated | The list of vcs providers. |
-| next_page_token | [string](#string) | | Not used. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
+| project | [Project](#bytebase-v1-Project) | | The project to create. |
+| project_id | [string](#string) | | The ID to use for the project, which will become the final component of the project&#39;s resource name.
+
+This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
-<a name="bytebase-v1-ProjectGitOpsInfo"></a>
+<a name="bytebase-v1-CreateSchemaGroupRequest"></a>
-### ProjectGitOpsInfo
+### CreateSchemaGroupRequest
| 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 | [string](#string) | | The name of the VCS. |
-| title | [string](#string) | | The title of the repository. For axample: sample. |
-| external_id | [string](#string) | | The reposition external id in target VCS. |
-| base_directory | [string](#string) | | The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. |
-| branch | [string](#string) | | The branch Bytebase listens to for changes. For example: main. |
-| full_path | [string](#string) | | TODO(d): move these to create VCS connector API. 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. |
+| parent | [string](#string) | | The parent resource where this schema group will be created. Format: projects/{project}/databaseGroups/{databaseGroup} |
+| schema_group | [SchemaGroup](#bytebase-v1-SchemaGroup) | | The schema group to create. |
+| schema_group_id | [string](#string) | | The ID to use for the schema group, which will become the final component of the schema group&#39;s resource name.
+This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
+| validate_only | [bool](#bool) | | If set, validate the create request and preview the full schema group response, but do not actually create it. |
-<a name="bytebase-v1-SearchVCSProviderProjectsRequest"></a>
-### SearchVCSProviderProjectsRequest
+<a name="bytebase-v1-DatabaseGroup"></a>
+
+### DatabaseGroup
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the vcs provider to retrieve the vcs provider repositories. Format: vcsProviders/{vcsProvider} |
+| name | [string](#string) | | The name of the database group. Format: projects/{project}/databaseGroups/{databaseGroup} |
+| database_placeholder | [string](#string) | | The short name used in actual databases specified by users. For example, the placeholder for db1_2010, db1_2021, db1_2023 will be &#34;db1&#34;. |
+| database_expr | [google.type.Expr](#google-type-Expr) | | The condition that is associated with this database group. |
+| matched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |
+| unmatched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |
-<a name="bytebase-v1-SearchVCSProviderProjectsResponse"></a>
+<a name="bytebase-v1-DatabaseGroup-Database"></a>
-### SearchVCSProviderProjectsResponse
+### DatabaseGroup.Database
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| projects | [SearchVCSProviderProjectsResponse.Project](#bytebase-v1-SearchVCSProviderProjectsResponse-Project) | repeated | The list of project in vcs provider. |
+| name | [string](#string) | | The resource name of the database. Format: instances/{instance}/databases/{database} |
-<a name="bytebase-v1-SearchVCSProviderProjectsResponse-Project"></a>
+<a name="bytebase-v1-DeleteDatabaseGroupRequest"></a>
-### SearchVCSProviderProjectsResponse.Project
+### DeleteDatabaseGroupRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| id | [string](#string) | | The id of the project in vcs provider. |
-| title | [string](#string) | | The title of the project in vcs provider. |
-| fullpath | [string](#string) | | The fullpath of the project in vcs provider. |
-| web_url | [string](#string) | | Web url of the project in vcs provider. |
+| name | [string](#string) | | The name of the database group to delete. Format: projects/{project}/databaseGroups/{databaseGroup} |
-<a name="bytebase-v1-UpdateVCSProviderRequest"></a>
+<a name="bytebase-v1-DeleteProjectRequest"></a>
-### UpdateVCSProviderRequest
+### DeleteProjectRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| vcs_provider | [VCSProvider](#bytebase-v1-VCSProvider) | | |
-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to be updated. |
+| name | [string](#string) | | The name of the project to delete. Format: projects/{project} |
+| force | [bool](#bool) | | If set to true, any databases and sheets from this project will also be moved to default project, and all open issues will be closed. |
-<a name="bytebase-v1-VCSProvider"></a>
+<a name="bytebase-v1-DeleteSchemaGroupRequest"></a>
-### VCSProvider
+### DeleteSchemaGroupRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the vcs provider. Format: vcsProviders/{vcsProvider} |
-| title | [string](#string) | | The title of the vcs provider. It is used to display in the UI. Specified by the client. |
-| type | [VCSProvider.Type](#bytebase-v1-VCSProvider-Type) | | |
-| url | [string](#string) | | The url of the vcs provider. Specified by the client. For example: github.com, gitlab.com, gitlab.bytebase.com. |
-| access_token | [string](#string) | | The access token of the vcs provider. |
+| name | [string](#string) | | The name of the schema group to delete. Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} |
-
+<a name="bytebase-v1-DeploymentConfig"></a>
-<a name="bytebase-v1-VCSProvider-Type"></a>
+### DeploymentConfig
-### VCSProvider.Type
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| TYPE_UNSPECIFIED | 0 | |
-| GITHUB | 1 | GitHub type. Using for GitHub community edition(ce). |
-| GITLAB | 2 | GitLab type. Using for GitLab community edition(ce) and enterprise edition(ee). |
-| BITBUCKET | 3 | BitBucket type. Using for BitBucket cloud or BitBucket server. |
-| AZURE_DEVOPS | 4 | Azure DevOps. Using for Azure DevOps GitOps workflow. |
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the resource. Format: projects/{project}/deploymentConfigs/default. |
+| title | [string](#string) | | The title of the deployment config. |
+| schedule | [Schedule](#bytebase-v1-Schedule) | | |
-
-
-<a name="bytebase-v1-VCSProviderService"></a>
-### VCSProviderService
+<a name="bytebase-v1-DeploymentSpec"></a>
+### DeploymentSpec
-| Method Name | Request Type | Response Type | Description |
-| ----------- | ------------ | ------------- | ------------|
-| GetVCSProvider | [GetVCSProviderRequest](#bytebase-v1-GetVCSProviderRequest) | [VCSProvider](#bytebase-v1-VCSProvider) | |
-| ListVCSProviders | [ListVCSProvidersRequest](#bytebase-v1-ListVCSProvidersRequest) | [ListVCSProvidersResponse](#bytebase-v1-ListVCSProvidersResponse) | |
-| CreateVCSProvider | [CreateVCSProviderRequest](#bytebase-v1-CreateVCSProviderRequest) | [VCSProvider](#bytebase-v1-VCSProvider) | |
-| UpdateVCSProvider | [UpdateVCSProviderRequest](#bytebase-v1-UpdateVCSProviderRequest) | [VCSProvider](#bytebase-v1-VCSProvider) | |
-| DeleteVCSProvider | [DeleteVCSProviderRequest](#bytebase-v1-DeleteVCSProviderRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
-| SearchVCSProviderProjects | [SearchVCSProviderProjectsRequest](#bytebase-v1-SearchVCSProviderProjectsRequest) | [SearchVCSProviderProjectsResponse](#bytebase-v1-SearchVCSProviderProjectsResponse) | |
-| ListProjectGitOpsInfo | [ListProjectGitOpsInfoRequest](#bytebase-v1-ListProjectGitOpsInfoRequest) | [ListProjectGitOpsInfoResponse](#bytebase-v1-ListProjectGitOpsInfoResponse) | |
-
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| label_selector | [LabelSelector](#bytebase-v1-LabelSelector) | | |
-<a name="v1_project_service-proto"></a>
-<p align="right"><a href="#top">Top</a></p>
-## v1/project_service.proto
-<a name="bytebase-v1-Activity"></a>
+<a name="bytebase-v1-GetDatabaseGroupRequest"></a>
+
+### GetDatabaseGroupRequest
-### Activity
-TODO(zp): move to activity later.
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the database group to retrieve. Format: projects/{project}/databaseGroups/{databaseGroup} |
+| view | [DatabaseGroupView](#bytebase-v1-DatabaseGroupView) | | The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. |
-<a name="bytebase-v1-AddWebhookRequest"></a>
-### AddWebhookRequest
+
+<a name="bytebase-v1-GetDeploymentConfigRequest"></a>
+
+### GetDeploymentConfigRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| project | [string](#string) | | The name of the project to add the webhook to. Format: projects/{project} |
-| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to add. |
+| name | [string](#string) | | The name of the resource. Format: projects/{project}/deploymentConfigs/default. |
-<a name="bytebase-v1-BatchGetIamPolicyRequest"></a>
+<a name="bytebase-v1-GetIamPolicyRequest"></a>
-### BatchGetIamPolicyRequest
+### GetIamPolicyRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| scope | [string](#string) | | The scope of the batch get. Typically it&#39;s &#34;projects/-&#34;. |
-| names | [string](#string) | repeated | |
+| project | [string](#string) | | The name of the project to get the IAM policy. Format: projects/{project} |
-<a name="bytebase-v1-BatchGetIamPolicyResponse"></a>
+<a name="bytebase-v1-GetProjectProtectionRulesRequest"></a>
-### BatchGetIamPolicyResponse
+### GetProjectProtectionRulesRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| policy_results | [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult) | repeated | |
+| name | [string](#string) | | The name of the protection rules. Format: projects/{project}/protectionRules |
-<a name="bytebase-v1-BatchGetIamPolicyResponse-PolicyResult"></a>
+<a name="bytebase-v1-GetProjectRequest"></a>
-### BatchGetIamPolicyResponse.PolicyResult
+### GetProjectRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| project | [string](#string) | | |
-| policy | [IamPolicy](#bytebase-v1-IamPolicy) | | |
+| name | [string](#string) | | The name of the project to retrieve. Format: projects/{project} |
-<a name="bytebase-v1-CreateDatabaseGroupRequest"></a>
+<a name="bytebase-v1-GetSchemaGroupRequest"></a>
-### CreateDatabaseGroupRequest
+### GetSchemaGroupRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | The parent resource where this database group will be created. Format: projects/{project} |
-| database_group | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | | The database group to create. |
-| database_group_id | [string](#string) | | The ID to use for the database group, which will become the final component of the database group&#39;s resource name.
-
-This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
-| validate_only | [bool](#bool) | | If set, validate the create request and preview the full database group response, but do not actually create it. |
+| name | [string](#string) | | The name of the database group to retrieve. Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} |
+| view | [SchemaGroupView](#bytebase-v1-SchemaGroupView) | | The view to return. Defaults to SCHEMA_GROUP_VIEW_BASIC. |
-<a name="bytebase-v1-CreateProjectRequest"></a>
+<a name="bytebase-v1-LabelSelector"></a>
-### CreateProjectRequest
+### LabelSelector
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| project | [Project](#bytebase-v1-Project) | | The project to create. |
-| project_id | [string](#string) | | The ID to use for the project, which will become the final component of the project&#39;s resource name.
-
-This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
+| match_expressions | [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement) | repeated | |
-<a name="bytebase-v1-CreateSchemaGroupRequest"></a>
+<a name="bytebase-v1-LabelSelectorRequirement"></a>
-### CreateSchemaGroupRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | The parent resource where this schema group will be created. Format: projects/{project}/databaseGroups/{databaseGroup} |
-| schema_group | [SchemaGroup](#bytebase-v1-SchemaGroup) | | The schema group to create. |
-| schema_group_id | [string](#string) | | The ID to use for the schema group, which will become the final component of the schema group&#39;s resource name.
-
-This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
-| validate_only | [bool](#bool) | | If set, validate the create request and preview the full schema group response, but do not actually create it. |
-
-
-
-
-
-
-<a name="bytebase-v1-DatabaseGroup"></a>
-
-### DatabaseGroup
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the database group. Format: projects/{project}/databaseGroups/{databaseGroup} |
-| database_placeholder | [string](#string) | | The short name used in actual databases specified by users. For example, the placeholder for db1_2010, db1_2021, db1_2023 will be &#34;db1&#34;. |
-| database_expr | [google.type.Expr](#google-type-Expr) | | The condition that is associated with this database group. |
-| matched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |
-| unmatched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |
-
-
-
-
-
-
-<a name="bytebase-v1-DatabaseGroup-Database"></a>
-
-### DatabaseGroup.Database
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The resource name of the database. Format: instances/{instance}/databases/{database} |
-
-
-
-
-
-
-<a name="bytebase-v1-DeleteDatabaseGroupRequest"></a>
-
-### DeleteDatabaseGroupRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the database group to delete. Format: projects/{project}/databaseGroups/{databaseGroup} |
-
-
-
-
-
-
-<a name="bytebase-v1-DeleteProjectRequest"></a>
-
-### DeleteProjectRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the project to delete. Format: projects/{project} |
-| force | [bool](#bool) | | If set to true, any databases and sheets from this project will also be moved to default project, and all open issues will be closed. |
-
-
-
-
-
-
-<a name="bytebase-v1-DeleteSchemaGroupRequest"></a>
-
-### DeleteSchemaGroupRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the schema group to delete. Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} |
-
-
-
-
-
-
-<a name="bytebase-v1-DeploymentConfig"></a>
-
-### DeploymentConfig
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the resource. Format: projects/{project}/deploymentConfigs/default. |
-| title | [string](#string) | | The title of the deployment config. |
-| schedule | [Schedule](#bytebase-v1-Schedule) | | |
-
-
-
-
-
-
-<a name="bytebase-v1-DeploymentSpec"></a>
-
-### DeploymentSpec
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| label_selector | [LabelSelector](#bytebase-v1-LabelSelector) | | |
-
-
-
-
-
-
-<a name="bytebase-v1-GetDatabaseGroupRequest"></a>
-
-### GetDatabaseGroupRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the database group to retrieve. Format: projects/{project}/databaseGroups/{databaseGroup} |
-| view | [DatabaseGroupView](#bytebase-v1-DatabaseGroupView) | | The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. |
-
-
-
-
-
-
-<a name="bytebase-v1-GetDeploymentConfigRequest"></a>
-
-### GetDeploymentConfigRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the resource. Format: projects/{project}/deploymentConfigs/default. |
-
-
-
-
-
-
-<a name="bytebase-v1-GetIamPolicyRequest"></a>
-
-### GetIamPolicyRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| project | [string](#string) | | The name of the project to get the IAM policy. Format: projects/{project} |
-
-
-
-
-
-
-<a name="bytebase-v1-GetProjectGitOpsInfoRequest"></a>
-
-### GetProjectGitOpsInfoRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the GitOps info. Format: projects/{project}/gitOpsInfo |
-
-
-
-
-
-
-<a name="bytebase-v1-GetProjectProtectionRulesRequest"></a>
-
-### GetProjectProtectionRulesRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the protection rules. Format: projects/{project}/protectionRules |
-
-
-
-
-
-
-<a name="bytebase-v1-GetProjectRequest"></a>
-
-### GetProjectRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the project to retrieve. Format: projects/{project} |
-
-
-
-
-
-
-<a name="bytebase-v1-GetSchemaGroupRequest"></a>
-
-### GetSchemaGroupRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the database group to retrieve. Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} |
-| view | [SchemaGroupView](#bytebase-v1-SchemaGroupView) | | The view to return. Defaults to SCHEMA_GROUP_VIEW_BASIC. |
-
-
-
-
-
-
-<a name="bytebase-v1-LabelSelector"></a>
-
-### LabelSelector
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| match_expressions | [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement) | repeated | |
-
-
-
-
-
-
-<a name="bytebase-v1-LabelSelectorRequirement"></a>
-
-### LabelSelectorRequirement
+### LabelSelectorRequirement
@@ -6621,21 +6340,6 @@ All the expressions will be used to filter the schema objects in DatabaseSchema.
-<a name="bytebase-v1-UnsetProjectGitOpsInfoRequest"></a>
-
-### UnsetProjectGitOpsInfoRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the GitOps info. Format: projects/{project}/gitOpsInfo |
-
-
-
-
-
-
<a name="bytebase-v1-UpdateDatabaseGroupRequest"></a>
### UpdateDatabaseGroupRequest
@@ -6669,23 +6373,6 @@ The database group&#39;s `name` field is used to identify the database group to
-<a name="bytebase-v1-UpdateProjectGitOpsInfoRequest"></a>
-
-### UpdateProjectGitOpsInfoRequest
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| project_gitops_info | [ProjectGitOpsInfo](#bytebase-v1-ProjectGitOpsInfo) | | The binding for the project and vcs provider. |
-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The mask of the fields to be updated. |
-| allow_missing | [bool](#bool) | | If true, the gitops will be created if it does not exist. |
-
-
-
-
-
-
<a name="bytebase-v1-UpdateProjectProtectionRulesRequest"></a>
### UpdateProjectProtectionRulesRequest
@@ -6950,9 +6637,6 @@ The type of target.
| UpdateWebhook | [UpdateWebhookRequest](#bytebase-v1-UpdateWebhookRequest) | [Project](#bytebase-v1-Project) | |
| RemoveWebhook | [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest) | [Project](#bytebase-v1-Project) | |
| TestWebhook | [TestWebhookRequest](#bytebase-v1-TestWebhookRequest) | [TestWebhookResponse](#bytebase-v1-TestWebhookResponse) | |
-| UpdateProjectGitOpsInfo | [UpdateProjectGitOpsInfoRequest](#bytebase-v1-UpdateProjectGitOpsInfoRequest) | [ProjectGitOpsInfo](#bytebase-v1-ProjectGitOpsInfo) | |
-| UnsetProjectGitOpsInfo | [UnsetProjectGitOpsInfoRequest](#bytebase-v1-UnsetProjectGitOpsInfoRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
-| 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) | |
| CreateDatabaseGroup | [CreateDatabaseGroupRequest](#bytebase-v1-CreateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |
@@ -9878,6 +9562,246 @@ The vcsConnector&#39;s `name` field is used to identify the vcsConnector to upda
+<a name="v1_vcs_provider_service-proto"></a>
+<p align="right"><a href="#top">Top</a></p>
+
+## v1/vcs_provider_service.proto
+
+
+
+<a name="bytebase-v1-CreateVCSProviderRequest"></a>
+
+### CreateVCSProviderRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| vcs_provider | [VCSProvider](#bytebase-v1-VCSProvider) | | |
+| vcs_provider_id | [string](#string) | | The ID to use for the VCS provider, which will become the final component of the VCS provider&#39;s name.
+
+This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
+
+
+
+
+
+
+<a name="bytebase-v1-DeleteVCSProviderRequest"></a>
+
+### DeleteVCSProviderRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the vcs provider to delete. Format: vcsProviders/{vcsProvider} |
+
+
+
+
+
+
+<a name="bytebase-v1-GetVCSProviderRequest"></a>
+
+### GetVCSProviderRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the vcs provider to retrieve. Format: vcsProviders/{vcsProvider} |
+
+
+
+
+
+
+<a name="bytebase-v1-ListVCSConnectorsInProviderRequest"></a>
+
+### ListVCSConnectorsInProviderRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the vcs provider to retrieve the linked projects. Format: vcsProviders/{vcsProvider} |
+
+
+
+
+
+
+<a name="bytebase-v1-ListVCSConnectorsInProviderResponse"></a>
+
+### ListVCSConnectorsInProviderResponse
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| vcs_connectors | [VCSConnector](#bytebase-v1-VCSConnector) | repeated | The vcsConnectors from the specified request. |
+
+
+
+
+
+
+<a name="bytebase-v1-ListVCSProvidersRequest"></a>
+
+### ListVCSProvidersRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| page_size | [int32](#int32) | | Not used. The maximum number of vcs provider to return. The service may return fewer than this value. If unspecified, at most 100 vcs provider will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
+| page_token | [string](#string) | | Not used. A page token, received from a previous `ListVCSProviders` call. Provide this to retrieve the subsequent page. |
+
+
+
+
+
+
+<a name="bytebase-v1-ListVCSProvidersResponse"></a>
+
+### ListVCSProvidersResponse
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| vcs_providers | [VCSProvider](#bytebase-v1-VCSProvider) | repeated | The list of vcs providers. |
+| next_page_token | [string](#string) | | Not used. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
+
+
+
+
+
+
+<a name="bytebase-v1-SearchVCSProviderProjectsRequest"></a>
+
+### SearchVCSProviderProjectsRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the vcs provider to retrieve the vcs provider repositories. Format: vcsProviders/{vcsProvider} |
+
+
+
+
+
+
+<a name="bytebase-v1-SearchVCSProviderProjectsResponse"></a>
+
+### SearchVCSProviderProjectsResponse
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| projects | [SearchVCSProviderProjectsResponse.Project](#bytebase-v1-SearchVCSProviderProjectsResponse-Project) | repeated | The list of project in vcs provider. |
+
+
+
+
+
+
+<a name="bytebase-v1-SearchVCSProviderProjectsResponse-Project"></a>
+
+### SearchVCSProviderProjectsResponse.Project
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| id | [string](#string) | | The id of the project in vcs provider. |
+| title | [string](#string) | | The title of the project in vcs provider. |
+| fullpath | [string](#string) | | The fullpath of the project in vcs provider. |
+| web_url | [string](#string) | | Web url of the project in vcs provider. |
+
+
+
+
+
+
+<a name="bytebase-v1-UpdateVCSProviderRequest"></a>
+
+### UpdateVCSProviderRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| vcs_provider | [VCSProvider](#bytebase-v1-VCSProvider) | | |
+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to be updated. |
+
+
+
+
+
+
+<a name="bytebase-v1-VCSProvider"></a>
+
+### VCSProvider
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name of the vcs provider. Format: vcsProviders/{vcsProvider} |
+| title | [string](#string) | | The title of the vcs provider. It is used to display in the UI. Specified by the client. |
+| type | [VCSProvider.Type](#bytebase-v1-VCSProvider-Type) | | |
+| url | [string](#string) | | The url of the vcs provider. Specified by the client. For example: github.com, gitlab.com, gitlab.bytebase.com. |
+| access_token | [string](#string) | | The access token of the vcs provider. |
+
+
+
+
+
+
+
+
+<a name="bytebase-v1-VCSProvider-Type"></a>
+
+### VCSProvider.Type
+
+
+| Name | Number | Description |
+| ---- | ------ | ----------- |
+| TYPE_UNSPECIFIED | 0 | |
+| GITHUB | 1 | GitHub type. Using for GitHub community edition(ce). |
+| GITLAB | 2 | GitLab type. Using for GitLab community edition(ce) and enterprise edition(ee). |
+| BITBUCKET | 3 | BitBucket type. Using for BitBucket cloud or BitBucket server. |
+| AZURE_DEVOPS | 4 | Azure DevOps. Using for Azure DevOps GitOps workflow. |
+
+
+
+
+
+
+
+<a name="bytebase-v1-VCSProviderService"></a>
+
+### VCSProviderService
+
+
+| Method Name | Request Type | Response Type | Description |
+| ----------- | ------------ | ------------- | ------------|
+| GetVCSProvider | [GetVCSProviderRequest](#bytebase-v1-GetVCSProviderRequest) | [VCSProvider](#bytebase-v1-VCSProvider) | |
+| ListVCSProviders | [ListVCSProvidersRequest](#bytebase-v1-ListVCSProvidersRequest) | [ListVCSProvidersResponse](#bytebase-v1-ListVCSProvidersResponse) | |
+| CreateVCSProvider | [CreateVCSProviderRequest](#bytebase-v1-CreateVCSProviderRequest) | [VCSProvider](#bytebase-v1-VCSProvider) | |
+| UpdateVCSProvider | [UpdateVCSProviderRequest](#bytebase-v1-UpdateVCSProviderRequest) | [VCSProvider](#bytebase-v1-VCSProvider) | |
+| DeleteVCSProvider | [DeleteVCSProviderRequest](#bytebase-v1-DeleteVCSProviderRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
+| SearchVCSProviderProjects | [SearchVCSProviderProjectsRequest](#bytebase-v1-SearchVCSProviderProjectsRequest) | [SearchVCSProviderProjectsResponse](#bytebase-v1-SearchVCSProviderProjectsResponse) | |
+| ListVCSConnectorsInProvider | [ListVCSConnectorsInProviderRequest](#bytebase-v1-ListVCSConnectorsInProviderRequest) | [ListVCSConnectorsInProviderResponse](#bytebase-v1-ListVCSConnectorsInProviderResponse) | |
+
+
+
+
+
<a name="v1_worksheet_service-proto"></a>
<p align="right"><a href="#top">Top</a></p>
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index fb66e6fc12..378bc7808b 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -1453,77 +1453,6 @@
</li>
- <li>
- <a href="#v1%2fvcs_provider_service.proto">v1/vcs_provider_service.proto</a>
- <ul>
-
- <li>
- <a href="#bytebase.v1.CreateVCSProviderRequest"><span class="badge">M</span>CreateVCSProviderRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.DeleteVCSProviderRequest"><span class="badge">M</span>DeleteVCSProviderRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.GetVCSProviderRequest"><span class="badge">M</span>GetVCSProviderRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ListProjectGitOpsInfoRequest"><span class="badge">M</span>ListProjectGitOpsInfoRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ListProjectGitOpsInfoResponse"><span class="badge">M</span>ListProjectGitOpsInfoResponse</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ListVCSProvidersRequest"><span class="badge">M</span>ListVCSProvidersRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ListVCSProvidersResponse"><span class="badge">M</span>ListVCSProvidersResponse</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ProjectGitOpsInfo"><span class="badge">M</span>ProjectGitOpsInfo</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.SearchVCSProviderProjectsRequest"><span class="badge">M</span>SearchVCSProviderProjectsRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.SearchVCSProviderProjectsResponse"><span class="badge">M</span>SearchVCSProviderProjectsResponse</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.SearchVCSProviderProjectsResponse.Project"><span class="badge">M</span>SearchVCSProviderProjectsResponse.Project</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.UpdateVCSProviderRequest"><span class="badge">M</span>UpdateVCSProviderRequest</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.VCSProvider"><span class="badge">M</span>VCSProvider</a>
- </li>
-
-
- <li>
- <a href="#bytebase.v1.VCSProvider.Type"><span class="badge">E</span>VCSProvider.Type</a>
- </li>
-
-
-
- <li>
- <a href="#bytebase.v1.VCSProviderService"><span class="badge">S</span>VCSProviderService</a>
- </li>
-
- </ul>
- </li>
-
-
<li>
<a href="#v1%2fproject_service.proto">v1/project_service.proto</a>
<ul>
@@ -1600,10 +1529,6 @@
<a href="#bytebase.v1.GetIamPolicyRequest"><span class="badge">M</span>GetIamPolicyRequest</a>
</li>
- <li>
- <a href="#bytebase.v1.GetProjectGitOpsInfoRequest"><span class="badge">M</span>GetProjectGitOpsInfoRequest</a>
- </li>
-
<li>
<a href="#bytebase.v1.GetProjectProtectionRulesRequest"><span class="badge">M</span>GetProjectProtectionRulesRequest</a>
</li>
@@ -1704,10 +1629,6 @@
<a href="#bytebase.v1.UndeleteProjectRequest"><span class="badge">M</span>UndeleteProjectRequest</a>
</li>
- <li>
- <a href="#bytebase.v1.UnsetProjectGitOpsInfoRequest"><span class="badge">M</span>UnsetProjectGitOpsInfoRequest</a>
- </li>
-
<li>
<a href="#bytebase.v1.UpdateDatabaseGroupRequest"><span class="badge">M</span>UpdateDatabaseGroupRequest</a>
</li>
@@ -1716,10 +1637,6 @@
<a href="#bytebase.v1.UpdateDeploymentConfigRequest"><span class="badge">M</span>UpdateDeploymentConfigRequest</a>
</li>
- <li>
- <a href="#bytebase.v1.UpdateProjectGitOpsInfoRequest"><span class="badge">M</span>UpdateProjectGitOpsInfoRequest</a>
- </li>
-
<li>
<a href="#bytebase.v1.UpdateProjectProtectionRulesRequest"><span class="badge">M</span>UpdateProjectProtectionRulesRequest</a>
</li>
@@ -2531,6 +2448,73 @@
</li>
+ <li>
+ <a href="#v1%2fvcs_provider_service.proto">v1/vcs_provider_service.proto</a>
+ <ul>
+
+ <li>
+ <a href="#bytebase.v1.CreateVCSProviderRequest"><span class="badge">M</span>CreateVCSProviderRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.DeleteVCSProviderRequest"><span class="badge">M</span>DeleteVCSProviderRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.GetVCSProviderRequest"><span class="badge">M</span>GetVCSProviderRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ListVCSConnectorsInProviderRequest"><span class="badge">M</span>ListVCSConnectorsInProviderRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ListVCSConnectorsInProviderResponse"><span class="badge">M</span>ListVCSConnectorsInProviderResponse</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ListVCSProvidersRequest"><span class="badge">M</span>ListVCSProvidersRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ListVCSProvidersResponse"><span class="badge">M</span>ListVCSProvidersResponse</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.SearchVCSProviderProjectsRequest"><span class="badge">M</span>SearchVCSProviderProjectsRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.SearchVCSProviderProjectsResponse"><span class="badge">M</span>SearchVCSProviderProjectsResponse</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.SearchVCSProviderProjectsResponse.Project"><span class="badge">M</span>SearchVCSProviderProjectsResponse.Project</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.UpdateVCSProviderRequest"><span class="badge">M</span>UpdateVCSProviderRequest</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.VCSProvider"><span class="badge">M</span>VCSProvider</a>
+ </li>
+
+
+ <li>
+ <a href="#bytebase.v1.VCSProvider.Type"><span class="badge">E</span>VCSProvider.Type</a>
+ </li>
+
+
+
+ <li>
+ <a href="#bytebase.v1.VCSProviderService"><span class="badge">S</span>VCSProviderService</a>
+ </li>
+
+ </ul>
+ </li>
+
+
<li>
<a href="#v1%2fworksheet_service.proto">v1/worksheet_service.proto</a>
<ul>
@@ -16242,12 +16226,19 @@ In this situation, `update_mask` is ignored. </p></td>
<div class="file-heading">
- <h2 id="v1/vcs_provider_service.proto">v1/vcs_provider_service.proto</h2><a href="#title">Top</a>
+ <h2 id="v1/project_service.proto">v1/project_service.proto</h2><a href="#title">Top</a>
</div>
<p></p>
- <h3 id="bytebase.v1.CreateVCSProviderRequest">CreateVCSProviderRequest</h3>
+ <h3 id="bytebase.v1.Activity">Activity</h3>
+ <p>TODO(zp): move to activity later.</p>
+
+
+
+
+
+ <h3 id="bytebase.v1.AddWebhookRequest">AddWebhookRequest</h3>
<p></p>
@@ -16258,21 +16249,18 @@ In this situation, `update_mask` is ignored. </p></td>
<tbody>
<tr>
- <td>vcs_provider</td>
- <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
+ <td>project</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The name of the project to add the webhook to.
+Format: projects/{project} </p></td>
</tr>
<tr>
- <td>vcs_provider_id</td>
- <td><a href="#string">string</a></td>
+ <td>webhook</td>
+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
<td></td>
- <td><p>The ID to use for the VCS provider, which will become the final component of
-the VCS provider&#39;s name.
-
-This value should be 4-63 characters, and valid characters
-are /[a-z][0-9]-/. </p></td>
+ <td><p>The webhook to add. </p></td>
</tr>
</tbody>
@@ -16282,7 +16270,7 @@ are /[a-z][0-9]-/. </p></td>
- <h3 id="bytebase.v1.DeleteVCSProviderRequest">DeleteVCSProviderRequest</h3>
+ <h3 id="bytebase.v1.BatchGetIamPolicyRequest">BatchGetIamPolicyRequest</h3>
<p></p>
@@ -16293,11 +16281,17 @@ are /[a-z][0-9]-/. </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>scope</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcs provider to delete.
-Format: vcsProviders/{vcsProvider} </p></td>
+ <td><p>The scope of the batch get. Typically it&#39;s &#34;projects/-&#34;. </p></td>
+ </tr>
+
+ <tr>
+ <td>names</td>
+ <td><a href="#string">string</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -16307,7 +16301,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.GetVCSProviderRequest">GetVCSProviderRequest</h3>
+ <h3 id="bytebase.v1.BatchGetIamPolicyResponse">BatchGetIamPolicyResponse</h3>
<p></p>
@@ -16318,11 +16312,10 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the vcs provider to retrieve.
-Format: vcsProviders/{vcsProvider} </p></td>
+ <td>policy_results</td>
+ <td><a href="#bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -16332,7 +16325,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.ListProjectGitOpsInfoRequest">ListProjectGitOpsInfoRequest</h3>
+ <h3 id="bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</h3>
<p></p>
@@ -16343,11 +16336,17 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>project</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcs provider to retrieve the linked projects.
-Format: vcsProviders/{vcsProvider} </p></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>policy</td>
+ <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -16357,7 +16356,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.ListProjectGitOpsInfoResponse">ListProjectGitOpsInfoResponse</h3>
+ <h3 id="bytebase.v1.CreateDatabaseGroupRequest">CreateDatabaseGroupRequest</h3>
<p></p>
@@ -16368,10 +16367,36 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>project_gitops_info</td>
- <td><a href="#bytebase.v1.ProjectGitOpsInfo">ProjectGitOpsInfo</a></td>
- <td>repeated</td>
- <td><p>The binding between vcs provider and project. </p></td>
+ <td>parent</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The parent resource where this database group will be created.
+Format: projects/{project} </p></td>
+ </tr>
+
+ <tr>
+ <td>database_group</td>
+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>
+ <td></td>
+ <td><p>The database group to create. </p></td>
+ </tr>
+
+ <tr>
+ <td>database_group_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The ID to use for the database group, which will become the final component of
+the database group&#39;s resource name.
+
+This value should be 4-63 characters, and valid characters
+are /[a-z][0-9]-/. </p></td>
+ </tr>
+
+ <tr>
+ <td>validate_only</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>If set, validate the create request and preview the full database group response, but do not actually create it. </p></td>
</tr>
</tbody>
@@ -16381,7 +16406,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.ListVCSProvidersRequest">ListVCSProvidersRequest</h3>
+ <h3 id="bytebase.v1.CreateProjectRequest">CreateProjectRequest</h3>
<p></p>
@@ -16392,22 +16417,23 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
+ <td>project</td>
+ <td><a href="#bytebase.v1.Project">Project</a></td>
<td></td>
- <td><p>Not used. The maximum number of vcs provider to return. The service may return fewer than this value.
-If unspecified, at most 100 vcs provider will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
+ <td><p>The project to create. </p></td>
</tr>
<tr>
- <td>page_token</td>
+ <td>project_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>Not used. A page token, received from a previous `ListVCSProviders` call.
-Provide this to retrieve the subsequent page. </p></td>
- </tr>
-
+ <td><p>The ID to use for the project, which will become the final component of
+the project&#39;s resource name.
+
+This value should be 4-63 characters, and valid characters
+are /[a-z][0-9]-/. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -16415,7 +16441,7 @@ Provide this to retrieve the subsequent page. </p></td>
- <h3 id="bytebase.v1.ListVCSProvidersResponse">ListVCSProvidersResponse</h3>
+ <h3 id="bytebase.v1.CreateSchemaGroupRequest">CreateSchemaGroupRequest</h3>
<p></p>
@@ -16426,18 +16452,36 @@ Provide this to retrieve the subsequent page. </p></td>
<tbody>
<tr>
- <td>vcs_providers</td>
- <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
- <td>repeated</td>
- <td><p>The list of vcs providers. </p></td>
+ <td>parent</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The parent resource where this schema group will be created.
+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
</tr>
<tr>
- <td>next_page_token</td>
+ <td>schema_group</td>
+ <td><a href="#bytebase.v1.SchemaGroup">SchemaGroup</a></td>
+ <td></td>
+ <td><p>The schema group to create. </p></td>
+ </tr>
+
+ <tr>
+ <td>schema_group_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
+ <td><p>The ID to use for the schema group, which will become the final component of
+the schema group&#39;s resource name.
+
+This value should be 4-63 characters, and valid characters
+are /[a-z][0-9]-/. </p></td>
+ </tr>
+
+ <tr>
+ <td>validate_only</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>If set, validate the create request and preview the full schema group response, but do not actually create it. </p></td>
</tr>
</tbody>
@@ -16447,7 +16491,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.ProjectGitOpsInfo">ProjectGitOpsInfo</h3>
+ <h3 id="bytebase.v1.DatabaseGroup">DatabaseGroup</h3>
<p></p>
@@ -16461,58 +16505,87 @@ If this field is omitted, there are no subsequent pages. </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the linked repository, generated by the server, and also is the unique identifier.
-Format: projects/{project}/gitOpsInfo </p></td>
+ <td><p>The name of the database group.
+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
</tr>
<tr>
- <td>vcs</td>
+ <td>database_placeholder</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the VCS. </p></td>
+ <td><p>The short name used in actual databases specified by users.
+For example, the placeholder for db1_2010, db1_2021, db1_2023 will be &#34;db1&#34;. </p></td>
</tr>
<tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
+ <td>database_expr</td>
+ <td><a href="#google.type.Expr">google.type.Expr</a></td>
<td></td>
- <td><p>The title of the repository. For axample: sample. </p></td>
+ <td><p>The condition that is associated with this database group. </p></td>
</tr>
<tr>
- <td>external_id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The reposition external id in target VCS. </p></td>
+ <td>matched_databases</td>
+ <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>
+ <td>repeated</td>
+ <td><p>The list of databases that match the database group condition. </p></td>
</tr>
<tr>
- <td>base_directory</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. </p></td>
+ <td>unmatched_databases</td>
+ <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>
+ <td>repeated</td>
+ <td><p>The list of databases that match the database group condition. </p></td>
</tr>
- <tr>
- <td>branch</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The branch Bytebase listens to for changes. For example: main. </p></td>
- </tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
<tr>
- <td>full_path</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>TODO(d): move these to create VCS connector API.
-The full_path of the repository. For example: bytebase/sample. </p></td>
+ <td><p>The resource name of the database.
+Format: instances/{instance}/databases/{database} </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.DeleteDatabaseGroupRequest">DeleteDatabaseGroupRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>web_url</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample. </p></td>
+ <td><p>The name of the database group to delete.
+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
</tr>
</tbody>
@@ -16522,7 +16595,7 @@ The full_path of the repository. For example: bytebase/sample. </p></td>
- <h3 id="bytebase.v1.SearchVCSProviderProjectsRequest">SearchVCSProviderProjectsRequest</h3>
+ <h3 id="bytebase.v1.DeleteProjectRequest">DeleteProjectRequest</h3>
<p></p>
@@ -16536,8 +16609,15 @@ The full_path of the repository. For example: bytebase/sample. </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcs provider to retrieve the vcs provider repositories.
-Format: vcsProviders/{vcsProvider} </p></td>
+ <td><p>The name of the project to delete.
+Format: projects/{project} </p></td>
+ </tr>
+
+ <tr>
+ <td>force</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>If set to true, any databases and sheets from this project will also be moved to default project, and all open issues will be closed. </p></td>
</tr>
</tbody>
@@ -16547,7 +16627,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.SearchVCSProviderProjectsResponse">SearchVCSProviderProjectsResponse</h3>
+ <h3 id="bytebase.v1.DeleteSchemaGroupRequest">DeleteSchemaGroupRequest</h3>
<p></p>
@@ -16558,10 +16638,11 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>projects</td>
- <td><a href="#bytebase.v1.SearchVCSProviderProjectsResponse.Project">SearchVCSProviderProjectsResponse.Project</a></td>
- <td>repeated</td>
- <td><p>The list of project in vcs provider. </p></td>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the schema group to delete.
+Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
</tr>
</tbody>
@@ -16571,7 +16652,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.SearchVCSProviderProjectsResponse.Project">SearchVCSProviderProjectsResponse.Project</h3>
+ <h3 id="bytebase.v1.DeploymentConfig">DeploymentConfig</h3>
<p></p>
@@ -16582,31 +16663,25 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>id</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The id of the project in vcs provider. </p></td>
+ <td><p>The name of the resource.
+Format: projects/{project}/deploymentConfigs/default. </p></td>
</tr>
<tr>
<td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The title of the project in vcs provider. </p></td>
- </tr>
-
- <tr>
- <td>fullpath</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The fullpath of the project in vcs provider. </p></td>
+ <td><p>The title of the deployment config. </p></td>
</tr>
<tr>
- <td>web_url</td>
- <td><a href="#string">string</a></td>
+ <td>schedule</td>
+ <td><a href="#bytebase.v1.Schedule">Schedule</a></td>
<td></td>
- <td><p>Web url of the project in vcs provider. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -16616,7 +16691,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.UpdateVCSProviderRequest">UpdateVCSProviderRequest</h3>
+ <h3 id="bytebase.v1.DeploymentSpec">DeploymentSpec</h3>
<p></p>
@@ -16627,19 +16702,12 @@ Format: vcsProviders/{vcsProvider} </p></td>
<tbody>
<tr>
- <td>vcs_provider</td>
- <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
+ <td>label_selector</td>
+ <td><a href="#bytebase.v1.LabelSelector">LabelSelector</a></td>
<td></td>
<td><p> </p></td>
</tr>
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The list of fields to be updated. </p></td>
- </tr>
-
</tbody>
</table>
@@ -16647,7 +16715,7 @@ Format: vcsProviders/{vcsProvider} </p></td>
- <h3 id="bytebase.v1.VCSProvider">VCSProvider</h3>
+ <h3 id="bytebase.v1.GetDatabaseGroupRequest">GetDatabaseGroupRequest</h3>
<p></p>
@@ -16661,37 +16729,65 @@ Format: vcsProviders/{vcsProvider} </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcs provider.
-Format: vcsProviders/{vcsProvider} </p></td>
+ <td><p>The name of the database group to retrieve.
+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
</tr>
<tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
+ <td>view</td>
+ <td><a href="#bytebase.v1.DatabaseGroupView">DatabaseGroupView</a></td>
<td></td>
- <td><p>The title of the vcs provider. It is used to display in the UI. Specified by the client. </p></td>
+ <td><p>The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. </p></td>
</tr>
- <tr>
- <td>type</td>
- <td><a href="#bytebase.v1.VCSProvider.Type">VCSProvider.Type</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.GetDeploymentConfigRequest">GetDeploymentConfigRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
<tr>
- <td>url</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The url of the vcs provider. Specified by the client.
-For example: github.com, gitlab.com, gitlab.bytebase.com. </p></td>
+ <td><p>The name of the resource.
+Format: projects/{project}/deploymentConfigs/default. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.GetIamPolicyRequest">GetIamPolicyRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>access_token</td>
+ <td>project</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The access token of the vcs provider. </p></td>
+ <td><p>The name of the project to get the IAM policy.
+Format: projects/{project} </p></td>
</tr>
</tbody>
@@ -16701,218 +16797,32 @@ For example: github.com, gitlab.com, gitlab.bytebase.com. </p></td>
-
-
- <h3 id="bytebase.v1.VCSProvider.Type">VCSProvider.Type</h3>
+ <h3 id="bytebase.v1.GetProjectProtectionRulesRequest">GetProjectProtectionRulesRequest</h3>
<p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>GITHUB</td>
- <td>1</td>
- <td><p>GitHub type. Using for GitHub community edition(ce).</p></td>
- </tr>
-
- <tr>
- <td>GITLAB</td>
- <td>2</td>
- <td><p>GitLab type. Using for GitLab community edition(ce) and enterprise edition(ee).</p></td>
- </tr>
-
- <tr>
- <td>BITBUCKET</td>
- <td>3</td>
- <td><p>BitBucket type. Using for BitBucket cloud or BitBucket server.</p></td>
- </tr>
-
- <tr>
- <td>AZURE_DEVOPS</td>
- <td>4</td>
- <td><p>Azure DevOps. Using for Azure DevOps GitOps workflow.</p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.VCSProviderService">VCSProviderService</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>GetVCSProvider</td>
- <td><a href="#bytebase.v1.GetVCSProviderRequest">GetVCSProviderRequest</a></td>
- <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ListVCSProviders</td>
- <td><a href="#bytebase.v1.ListVCSProvidersRequest">ListVCSProvidersRequest</a></td>
- <td><a href="#bytebase.v1.ListVCSProvidersResponse">ListVCSProvidersResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>CreateVCSProvider</td>
- <td><a href="#bytebase.v1.CreateVCSProviderRequest">CreateVCSProviderRequest</a></td>
- <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>UpdateVCSProvider</td>
- <td><a href="#bytebase.v1.UpdateVCSProviderRequest">UpdateVCSProviderRequest</a></td>
- <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>DeleteVCSProvider</td>
- <td><a href="#bytebase.v1.DeleteVCSProviderRequest">DeleteVCSProviderRequest</a></td>
- <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>SearchVCSProviderProjects</td>
- <td><a href="#bytebase.v1.SearchVCSProviderProjectsRequest">SearchVCSProviderProjectsRequest</a></td>
- <td><a href="#bytebase.v1.SearchVCSProviderProjectsResponse">SearchVCSProviderProjectsResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ListProjectGitOpsInfo</td>
- <td><a href="#bytebase.v1.ListProjectGitOpsInfoRequest">ListProjectGitOpsInfoRequest</a></td>
- <td><a href="#bytebase.v1.ListProjectGitOpsInfoResponse">ListProjectGitOpsInfoResponse</a></td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <h4>Methods with HTTP bindings</h4>
- <table>
+ <table class="field-table">
<thead>
- <tr>
- <td>Method Name</td>
- <td>Method</td>
- <td>Pattern</td>
- <td>Body</td>
- </tr>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>
-
-
-
- <tr>
- <td>GetVCSProvider</td>
- <td>GET</td>
- <td>/v1/{name=vcsProviders/*}</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>ListVCSProviders</td>
- <td>GET</td>
- <td>/v1/vcsProviders</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>CreateVCSProvider</td>
- <td>POST</td>
- <td>/v1/vcsProviders</td>
- <td>vcs_provider</td>
- </tr>
-
-
-
-
- <tr>
- <td>UpdateVCSProvider</td>
- <td>PATCH</td>
- <td>/v1/{vcs_provider.name=vcsProviders/*}</td>
- <td>vcs_provider</td>
- </tr>
-
-
-
-
- <tr>
- <td>DeleteVCSProvider</td>
- <td>DELETE</td>
- <td>/v1/{name=vcsProviders/*}</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>SearchVCSProviderProjects</td>
- <td>POST</td>
- <td>/v1/{name=vcsProviders/*}:searchProjects</td>
- <td>*</td>
- </tr>
-
-
-
- <tr>
- <td>ListProjectGitOpsInfo</td>
- <td>GET</td>
- <td>/v1/{name=vcsProviders/*}/projects</td>
- <td></td>
- </tr>
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the protection rules.
+Format: projects/{project}/protectionRules </p></td>
+ </tr>
-
</tbody>
</table>
-
-
-
-
- <div class="file-heading">
- <h2 id="v1/project_service.proto">v1/project_service.proto</h2><a href="#title">Top</a>
- </div>
- <p></p>
-
-
- <h3 id="bytebase.v1.Activity">Activity</h3>
- <p>TODO(zp): move to activity later.</p>
-
+
- <h3 id="bytebase.v1.AddWebhookRequest">AddWebhookRequest</h3>
+ <h3 id="bytebase.v1.GetProjectRequest">GetProjectRequest</h3>
<p></p>
@@ -16923,20 +16833,13 @@ For example: github.com, gitlab.com, gitlab.bytebase.com. </p></td>
<tbody>
<tr>
- <td>project</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the project to add the webhook to.
+ <td><p>The name of the project to retrieve.
Format: projects/{project} </p></td>
</tr>
- <tr>
- <td>webhook</td>
- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
- <td></td>
- <td><p>The webhook to add. </p></td>
- </tr>
-
</tbody>
</table>
@@ -16944,7 +16847,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.BatchGetIamPolicyRequest">BatchGetIamPolicyRequest</h3>
+ <h3 id="bytebase.v1.GetSchemaGroupRequest">GetSchemaGroupRequest</h3>
<p></p>
@@ -16955,17 +16858,18 @@ Format: projects/{project} </p></td>
<tbody>
<tr>
- <td>scope</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The scope of the batch get. Typically it&#39;s &#34;projects/-&#34;. </p></td>
+ <td><p>The name of the database group to retrieve.
+Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
</tr>
<tr>
- <td>names</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p> </p></td>
+ <td>view</td>
+ <td><a href="#bytebase.v1.SchemaGroupView">SchemaGroupView</a></td>
+ <td></td>
+ <td><p>The view to return. Defaults to SCHEMA_GROUP_VIEW_BASIC. </p></td>
</tr>
</tbody>
@@ -16975,7 +16879,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.BatchGetIamPolicyResponse">BatchGetIamPolicyResponse</h3>
+ <h3 id="bytebase.v1.LabelSelector">LabelSelector</h3>
<p></p>
@@ -16986,8 +16890,8 @@ Format: projects/{project} </p></td>
<tbody>
<tr>
- <td>policy_results</td>
- <td><a href="#bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</a></td>
+ <td>match_expressions</td>
+ <td><a href="#bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</a></td>
<td>repeated</td>
<td><p> </p></td>
</tr>
@@ -16999,7 +16903,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</h3>
+ <h3 id="bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</h3>
<p></p>
@@ -17010,19 +16914,26 @@ Format: projects/{project} </p></td>
<tbody>
<tr>
- <td>project</td>
+ <td>key</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>policy</td>
- <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>
+ <td>operator</td>
+ <td><a href="#bytebase.v1.OperatorType">OperatorType</a></td>
<td></td>
<td><p> </p></td>
</tr>
+ <tr>
+ <td>values</td>
+ <td><a href="#string">string</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
</tbody>
</table>
@@ -17030,7 +16941,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.CreateDatabaseGroupRequest">CreateDatabaseGroupRequest</h3>
+ <h3 id="bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</h3>
<p></p>
@@ -17044,33 +16955,30 @@ Format: projects/{project} </p></td>
<td>parent</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The parent resource where this database group will be created.
-Format: projects/{project} </p></td>
+ <td><p>The parent resource whose database groups are to be listed.
+Format: projects/{project}
+Using &#34;projects/-&#34; will list database groups across all projects. </p></td>
</tr>
<tr>
- <td>database_group</td>
- <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>
+ <td>page_size</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p>The database group to create. </p></td>
+ <td><p>Not used. The maximum number of anomalies to return. The service may return fewer than
+this value.
+If unspecified, at most 50 anomalies will be returned.
+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
</tr>
<tr>
- <td>database_group_id</td>
+ <td>page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The ID to use for the database group, which will become the final component of
-the database group&#39;s resource name.
-
-This value should be 4-63 characters, and valid characters
-are /[a-z][0-9]-/. </p></td>
- </tr>
-
- <tr>
- <td>validate_only</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>If set, validate the create request and preview the full database group response, but do not actually create it. </p></td>
+ <td><p>Not used. A page token, received from a previous `ListDatabaseGroups` call.
+Provide this to retrieve the subsequent page.
+
+When paginating, all other parameters provided to `ListDatabaseGroups` must match
+the call that provided the page token. </p></td>
</tr>
</tbody>
@@ -17080,7 +16988,7 @@ are /[a-z][0-9]-/. </p></td>
- <h3 id="bytebase.v1.CreateProjectRequest">CreateProjectRequest</h3>
+ <h3 id="bytebase.v1.ListDatabaseGroupsResponse">ListDatabaseGroupsResponse</h3>
<p></p>
@@ -17091,21 +16999,18 @@ are /[a-z][0-9]-/. </p></td>
<tbody>
<tr>
- <td>project</td>
- <td><a href="#bytebase.v1.Project">Project</a></td>
- <td></td>
- <td><p>The project to create. </p></td>
+ <td>database_groups</td>
+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>
+ <td>repeated</td>
+ <td><p>database_groups is the list of database groups. </p></td>
</tr>
<tr>
- <td>project_id</td>
+ <td>next_page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The ID to use for the project, which will become the final component of
-the project&#39;s resource name.
-
-This value should be 4-63 characters, and valid characters
-are /[a-z][0-9]-/. </p></td>
+ <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.
+If this field is omitted, there are no subsequent pages. </p></td>
</tr>
</tbody>
@@ -17115,7 +17020,7 @@ are /[a-z][0-9]-/. </p></td>
- <h3 id="bytebase.v1.CreateSchemaGroupRequest">CreateSchemaGroupRequest</h3>
+ <h3 id="bytebase.v1.ListProjectsRequest">ListProjectsRequest</h3>
<p></p>
@@ -17126,36 +17031,31 @@ are /[a-z][0-9]-/. </p></td>
<tbody>
<tr>
- <td>parent</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The parent resource where this schema group will be created.
-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
- </tr>
-
- <tr>
- <td>schema_group</td>
- <td><a href="#bytebase.v1.SchemaGroup">SchemaGroup</a></td>
+ <td>page_size</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p>The schema group to create. </p></td>
+ <td><p>The maximum number of projects to return. The service may return fewer than
+this value.
+If unspecified, at most 50 projects will be returned.
+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
</tr>
<tr>
- <td>schema_group_id</td>
+ <td>page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The ID to use for the schema group, which will become the final component of
-the schema group&#39;s resource name.
+ <td><p>A page token, received from a previous `ListProjects` call.
+Provide this to retrieve the subsequent page.
-This value should be 4-63 characters, and valid characters
-are /[a-z][0-9]-/. </p></td>
+When paginating, all other parameters provided to `ListProjects` must match
+the call that provided the page token. </p></td>
</tr>
<tr>
- <td>validate_only</td>
+ <td>show_deleted</td>
<td><a href="#bool">bool</a></td>
<td></td>
- <td><p>If set, validate the create request and preview the full schema group response, but do not actually create it. </p></td>
+ <td><p>Show deleted projects if specified. </p></td>
</tr>
</tbody>
@@ -17165,7 +17065,7 @@ are /[a-z][0-9]-/. </p></td>
- <h3 id="bytebase.v1.DatabaseGroup">DatabaseGroup</h3>
+ <h3 id="bytebase.v1.ListProjectsResponse">ListProjectsResponse</h3>
<p></p>
@@ -17176,40 +17076,18 @@ are /[a-z][0-9]-/. </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the database group.
-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
+ <td>projects</td>
+ <td><a href="#bytebase.v1.Project">Project</a></td>
+ <td>repeated</td>
+ <td><p>The projects from the specified request. </p></td>
</tr>
<tr>
- <td>database_placeholder</td>
+ <td>next_page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The short name used in actual databases specified by users.
-For example, the placeholder for db1_2010, db1_2021, db1_2023 will be &#34;db1&#34;. </p></td>
- </tr>
-
- <tr>
- <td>database_expr</td>
- <td><a href="#google.type.Expr">google.type.Expr</a></td>
- <td></td>
- <td><p>The condition that is associated with this database group. </p></td>
- </tr>
-
- <tr>
- <td>matched_databases</td>
- <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>
- <td>repeated</td>
- <td><p>The list of databases that match the database group condition. </p></td>
- </tr>
-
- <tr>
- <td>unmatched_databases</td>
- <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>
- <td>repeated</td>
- <td><p>The list of databases that match the database group condition. </p></td>
+ <td><p>A token, which can be sent as `page_token` to retrieve the next page.
+If this field is omitted, there are no subsequent pages. </p></td>
</tr>
</tbody>
@@ -17219,7 +17097,7 @@ For example, the placeholder for db1_2010, db1_2021, db1_2023 will be &#34;db1&#
- <h3 id="bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</h3>
+ <h3 id="bytebase.v1.ListSchemaGroupsRequest">ListSchemaGroupsRequest</h3>
<p></p>
@@ -17230,11 +17108,32 @@ For example, the placeholder for db1_2010, db1_2021, db1_2023 will be &#34;db1&#
<tbody>
<tr>
- <td>name</td>
+ <td>parent</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The resource name of the database.
-Format: instances/{instance}/databases/{database} </p></td>
+ <td><p>The parent resource whose schema groups are to be listed.
+Format: projects/{project}/schemaGroups/{schemaGroup} </p></td>
+ </tr>
+
+ <tr>
+ <td>page_size</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p>Not used. The maximum number of anomalies to return. The service may return fewer than
+this value.
+If unspecified, at most 50 anomalies will be returned.
+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
+ </tr>
+
+ <tr>
+ <td>page_token</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Not used. A page token, received from a previous `ListSchemaGroups` call.
+Provide this to retrieve the subsequent page.
+
+When paginating, all other parameters provided to `ListSchemaGroups` must match
+the call that provided the page token. </p></td>
</tr>
</tbody>
@@ -17244,7 +17143,7 @@ Format: instances/{instance}/databases/{database} </p></td>
- <h3 id="bytebase.v1.DeleteDatabaseGroupRequest">DeleteDatabaseGroupRequest</h3>
+ <h3 id="bytebase.v1.ListSchemaGroupsResponse">ListSchemaGroupsResponse</h3>
<p></p>
@@ -17255,11 +17154,18 @@ Format: instances/{instance}/databases/{database} </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>schema_groups</td>
+ <td><a href="#bytebase.v1.SchemaGroup">SchemaGroup</a></td>
+ <td>repeated</td>
+ <td><p>schema_groups is the list of schema groups. </p></td>
+ </tr>
+
+ <tr>
+ <td>next_page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the database group to delete.
-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
+ <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.
+If this field is omitted, there are no subsequent pages. </p></td>
</tr>
</tbody>
@@ -17269,7 +17175,7 @@ Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
- <h3 id="bytebase.v1.DeleteProjectRequest">DeleteProjectRequest</h3>
+ <h3 id="bytebase.v1.Project">Project</h3>
<p></p>
@@ -17283,40 +17189,64 @@ Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the project to delete.
+ <td><p>The name of the project.
Format: projects/{project} </p></td>
</tr>
<tr>
- <td>force</td>
- <td><a href="#bool">bool</a></td>
+ <td>uid</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>If set to true, any databases and sheets from this project will also be moved to default project, and all open issues will be closed. </p></td>
+ <td><p>The system-assigned, unique identifier for a resource. </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.DeleteSchemaGroupRequest">DeleteSchemaGroupRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>state</td>
+ <td><a href="#bytebase.v1.State">State</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
<tr>
- <td>name</td>
+ <td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the schema group to delete.
-Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
+ <td><p>The title or name of a project. It&#39;s not unique within the workspace. </p></td>
+ </tr>
+
+ <tr>
+ <td>key</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The key is a short and upper-case identifier for a project. It&#39;s unique within the workspace. </p></td>
+ </tr>
+
+ <tr>
+ <td>workflow</td>
+ <td><a href="#bytebase.v1.Workflow">Workflow</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>tenant_mode</td>
+ <td><a href="#bytebase.v1.TenantMode">TenantMode</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>webhooks</td>
+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>data_classification_config_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -17326,7 +17256,7 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
- <h3 id="bytebase.v1.DeploymentConfig">DeploymentConfig</h3>
+ <h3 id="bytebase.v1.ProtectionRule">ProtectionRule</h3>
<p></p>
@@ -17337,23 +17267,37 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
<tbody>
<tr>
- <td>name</td>
+ <td>id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the resource.
-Format: projects/{project}/deploymentConfigs/default. </p></td>
+ <td><p>A unique identifier for a node in UUID format. </p></td>
</tr>
<tr>
- <td>title</td>
+ <td>target</td>
+ <td><a href="#bytebase.v1.ProtectionRule.Target">ProtectionRule.Target</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>name_filter</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The title of the deployment config. </p></td>
+ <td><p>The name of the branch/changelist or wildcard. </p></td>
</tr>
<tr>
- <td>schedule</td>
- <td><a href="#bytebase.v1.Schedule">Schedule</a></td>
+ <td>allowed_roles</td>
+ <td><a href="#string">string</a></td>
+ <td>repeated</td>
+ <td><p>The roles allowed to create branches or changelists, rebase branches, delete branches.
+Format: roles/projectOwner. </p></td>
+ </tr>
+
+ <tr>
+ <td>branch_source</td>
+ <td><a href="#bytebase.v1.ProtectionRule.BranchSource">ProtectionRule.BranchSource</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -17365,7 +17309,7 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>
- <h3 id="bytebase.v1.DeploymentSpec">DeploymentSpec</h3>
+ <h3 id="bytebase.v1.ProtectionRules">ProtectionRules</h3>
<p></p>
@@ -17376,9 +17320,17 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>
<tbody>
<tr>
- <td>label_selector</td>
- <td><a href="#bytebase.v1.LabelSelector">LabelSelector</a></td>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
<td></td>
+ <td><p>The name of the protection rules.
+Format: projects/{project}/protectionRules </p></td>
+ </tr>
+
+ <tr>
+ <td>rules</td>
+ <td><a href="#bytebase.v1.ProtectionRule">ProtectionRule</a></td>
+ <td>repeated</td>
<td><p> </p></td>
</tr>
@@ -17389,7 +17341,7 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>
- <h3 id="bytebase.v1.GetDatabaseGroupRequest">GetDatabaseGroupRequest</h3>
+ <h3 id="bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</h3>
<p></p>
@@ -17400,18 +17352,10 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the database group to retrieve.
-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
- </tr>
-
- <tr>
- <td>view</td>
- <td><a href="#bytebase.v1.DatabaseGroupView">DatabaseGroupView</a></td>
+ <td>webhook</td>
+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
<td></td>
- <td><p>The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. </p></td>
+ <td><p>The webhook to remove. Identified by its url. </p></td>
</tr>
</tbody>
@@ -17421,7 +17365,7 @@ Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
- <h3 id="bytebase.v1.GetDeploymentConfigRequest">GetDeploymentConfigRequest</h3>
+ <h3 id="bytebase.v1.Schedule">Schedule</h3>
<p></p>
@@ -17432,11 +17376,10 @@ Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the resource.
-Format: projects/{project}/deploymentConfigs/default. </p></td>
+ <td>deployments</td>
+ <td><a href="#bytebase.v1.ScheduleDeployment">ScheduleDeployment</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -17446,7 +17389,7 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>
- <h3 id="bytebase.v1.GetIamPolicyRequest">GetIamPolicyRequest</h3>
+ <h3 id="bytebase.v1.ScheduleDeployment">ScheduleDeployment</h3>
<p></p>
@@ -17457,11 +17400,17 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>
<tbody>
<tr>
- <td>project</td>
+ <td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the project to get the IAM policy.
-Format: projects/{project} </p></td>
+ <td><p>The title of the deployment (stage) in a schedule. </p></td>
+ </tr>
+
+ <tr>
+ <td>spec</td>
+ <td><a href="#bytebase.v1.DeploymentSpec">DeploymentSpec</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -17471,7 +17420,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.GetProjectGitOpsInfoRequest">GetProjectGitOpsInfoRequest</h3>
+ <h3 id="bytebase.v1.SchemaGroup">SchemaGroup</h3>
<p></p>
@@ -17485,33 +17434,38 @@ Format: projects/{project} </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the GitOps info.
-Format: projects/{project}/gitOpsInfo </p></td>
+ <td><p>The name of the schema group.
+Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.GetProjectProtectionRulesRequest">GetProjectProtectionRulesRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>table_expr</td>
+ <td><a href="#google.type.Expr">google.type.Expr</a></td>
+ <td></td>
+ <td><p>The table condition that is associated with this schema group.
+The table_placeholder in the sheet script will be rendered to the actual table name. </p></td>
+ </tr>
<tr>
- <td>name</td>
+ <td>table_placeholder</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the protection rules.
-Format: projects/{project}/protectionRules </p></td>
+ <td><p>The table placeholder used for rendering. For example, if set to &#34;tbl&#34;, all the table name
+&#34;tbl&#34; in the SQL script will be rendered to the actual table name. </p></td>
+ </tr>
+
+ <tr>
+ <td>matched_tables</td>
+ <td><a href="#bytebase.v1.SchemaGroup.Table">SchemaGroup.Table</a></td>
+ <td>repeated</td>
+ <td><p>The list of databases that match the database group condition. </p></td>
+ </tr>
+
+ <tr>
+ <td>unmatched_tables</td>
+ <td><a href="#bytebase.v1.SchemaGroup.Table">SchemaGroup.Table</a></td>
+ <td>repeated</td>
+ <td><p>The list of databases that match the database group condition. </p></td>
</tr>
</tbody>
@@ -17521,8 +17475,8 @@ Format: projects/{project}/protectionRules </p></td>
- <h3 id="bytebase.v1.GetProjectRequest">GetProjectRequest</h3>
- <p></p>
+ <h3 id="bytebase.v1.SchemaGroup.Table">SchemaGroup.Table</h3>
+ <p>In the future, we can introduce schema_expr if users use schema (Postgres schema) for groups.</p><p>Its keyword will be {{SCHEMA}}.</p><p>All the expressions will be used to filter the schema objects in DatabaseSchema.</p>
<table class="field-table">
@@ -17532,11 +17486,25 @@ Format: projects/{project}/protectionRules </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>database</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the project to retrieve.
-Format: projects/{project} </p></td>
+ <td><p>The resource name of the database.
+Format: instances/{instance}/databases/{database} </p></td>
+ </tr>
+
+ <tr>
+ <td>schema</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>table</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -17546,7 +17514,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.GetSchemaGroupRequest">GetSchemaGroupRequest</h3>
+ <h3 id="bytebase.v1.SearchProjectsRequest">SearchProjectsRequest</h3>
<p></p>
@@ -17557,18 +17525,10 @@ Format: projects/{project} </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the database group to retrieve.
-Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
- </tr>
-
- <tr>
- <td>view</td>
- <td><a href="#bytebase.v1.SchemaGroupView">SchemaGroupView</a></td>
+ <td>show_deleted</td>
+ <td><a href="#bool">bool</a></td>
<td></td>
- <td><p>The view to return. Defaults to SCHEMA_GROUP_VIEW_BASIC. </p></td>
+ <td><p>Show deleted projects if specified. </p></td>
</tr>
</tbody>
@@ -17578,7 +17538,7 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
- <h3 id="bytebase.v1.LabelSelector">LabelSelector</h3>
+ <h3 id="bytebase.v1.SearchProjectsResponse">SearchProjectsResponse</h3>
<p></p>
@@ -17589,10 +17549,10 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
<tbody>
<tr>
- <td>match_expressions</td>
- <td><a href="#bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</a></td>
+ <td>projects</td>
+ <td><a href="#bytebase.v1.Project">Project</a></td>
<td>repeated</td>
- <td><p> </p></td>
+ <td><p>The projects from the specified request. </p></td>
</tr>
</tbody>
@@ -17602,7 +17562,7 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
- <h3 id="bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</h3>
+ <h3 id="bytebase.v1.SetIamPolicyRequest">SetIamPolicyRequest</h3>
<p></p>
@@ -17613,26 +17573,20 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
<tbody>
<tr>
- <td>key</td>
+ <td>project</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The name of the project to set the IAM policy.
+Format: projects/{project} </p></td>
</tr>
<tr>
- <td>operator</td>
- <td><a href="#bytebase.v1.OperatorType">OperatorType</a></td>
+ <td>policy</td>
+ <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>
<td></td>
<td><p> </p></td>
</tr>
- <tr>
- <td>values</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p> </p></td>
- </tr>
-
</tbody>
</table>
@@ -17640,7 +17594,7 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
- <h3 id="bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</h3>
+ <h3 id="bytebase.v1.TestWebhookRequest">TestWebhookRequest</h3>
<p></p>
@@ -17651,33 +17605,18 @@ Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGr
<tbody>
<tr>
- <td>parent</td>
+ <td>project</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The parent resource whose database groups are to be listed.
-Format: projects/{project}
-Using &#34;projects/-&#34; will list database groups across all projects. </p></td>
- </tr>
-
- <tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>Not used. The maximum number of anomalies to return. The service may return fewer than
-this value.
-If unspecified, at most 50 anomalies will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
+ <td><p>The name of the project which owns the webhook to test.
+Format: projects/{project} </p></td>
</tr>
<tr>
- <td>page_token</td>
- <td><a href="#string">string</a></td>
+ <td>webhook</td>
+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
<td></td>
- <td><p>Not used. A page token, received from a previous `ListDatabaseGroups` call.
-Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListDatabaseGroups` must match
-the call that provided the page token. </p></td>
+ <td><p>The webhook to test. Identified by its url. </p></td>
</tr>
</tbody>
@@ -17687,7 +17626,7 @@ the call that provided the page token. </p></td>
- <h3 id="bytebase.v1.ListDatabaseGroupsResponse">ListDatabaseGroupsResponse</h3>
+ <h3 id="bytebase.v1.TestWebhookResponse">TestWebhookResponse</h3>
<p></p>
@@ -17698,18 +17637,10 @@ the call that provided the page token. </p></td>
<tbody>
<tr>
- <td>database_groups</td>
- <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>
- <td>repeated</td>
- <td><p>database_groups is the list of database groups. </p></td>
- </tr>
-
- <tr>
- <td>next_page_token</td>
+ <td>error</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
+ <td><p>The result of the test, empty if the test is successful. </p></td>
</tr>
</tbody>
@@ -17719,7 +17650,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.ListProjectsRequest">ListProjectsRequest</h3>
+ <h3 id="bytebase.v1.UndeleteProjectRequest">UndeleteProjectRequest</h3>
<p></p>
@@ -17730,31 +17661,11 @@ If this field is omitted, there are no subsequent pages. </p></td>
<tbody>
<tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The maximum number of projects to return. The service may return fewer than
-this value.
-If unspecified, at most 50 projects will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
- </tr>
-
- <tr>
- <td>page_token</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>A page token, received from a previous `ListProjects` call.
-Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListProjects` must match
-the call that provided the page token. </p></td>
- </tr>
-
- <tr>
- <td>show_deleted</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>Show deleted projects if specified. </p></td>
+ <td><p>The name of the deleted project.
+Format: projects/{project} </p></td>
</tr>
</tbody>
@@ -17764,7 +17675,7 @@ the call that provided the page token. </p></td>
- <h3 id="bytebase.v1.ListProjectsResponse">ListProjectsResponse</h3>
+ <h3 id="bytebase.v1.UpdateDatabaseGroupRequest">UpdateDatabaseGroupRequest</h3>
<p></p>
@@ -17775,18 +17686,20 @@ the call that provided the page token. </p></td>
<tbody>
<tr>
- <td>projects</td>
- <td><a href="#bytebase.v1.Project">Project</a></td>
- <td>repeated</td>
- <td><p>The projects from the specified request. </p></td>
+ <td>database_group</td>
+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>
+ <td></td>
+ <td><p>The database group to update.
+
+The database group&#39;s `name` field is used to identify the database group to update.
+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
</tr>
<tr>
- <td>next_page_token</td>
- <td><a href="#string">string</a></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
- <td><p>A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
+ <td><p>The list of fields to update. </p></td>
</tr>
</tbody>
@@ -17796,7 +17709,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.ListSchemaGroupsRequest">ListSchemaGroupsRequest</h3>
+ <h3 id="bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</h3>
<p></p>
@@ -17807,32 +17720,10 @@ If this field is omitted, there are no subsequent pages. </p></td>
<tbody>
<tr>
- <td>parent</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The parent resource whose schema groups are to be listed.
-Format: projects/{project}/schemaGroups/{schemaGroup} </p></td>
- </tr>
-
- <tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>Not used. The maximum number of anomalies to return. The service may return fewer than
-this value.
-If unspecified, at most 50 anomalies will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
- </tr>
-
- <tr>
- <td>page_token</td>
- <td><a href="#string">string</a></td>
+ <td>config</td>
+ <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>
<td></td>
- <td><p>Not used. A page token, received from a previous `ListSchemaGroups` call.
-Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListSchemaGroups` must match
-the call that provided the page token. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -17842,7 +17733,7 @@ the call that provided the page token. </p></td>
- <h3 id="bytebase.v1.ListSchemaGroupsResponse">ListSchemaGroupsResponse</h3>
+ <h3 id="bytebase.v1.UpdateProjectProtectionRulesRequest">UpdateProjectProtectionRulesRequest</h3>
<p></p>
@@ -17853,18 +17744,10 @@ the call that provided the page token. </p></td>
<tbody>
<tr>
- <td>schema_groups</td>
- <td><a href="#bytebase.v1.SchemaGroup">SchemaGroup</a></td>
- <td>repeated</td>
- <td><p>schema_groups is the list of schema groups. </p></td>
- </tr>
-
- <tr>
- <td>next_page_token</td>
- <td><a href="#string">string</a></td>
+ <td>protection_rules</td>
+ <td><a href="#bytebase.v1.ProtectionRules">ProtectionRules</a></td>
<td></td>
- <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -17874,7 +17757,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.Project">Project</h3>
+ <h3 id="bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</h3>
<p></p>
@@ -17885,67 +17768,20 @@ If this field is omitted, there are no subsequent pages. </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
+ <td>project</td>
+ <td><a href="#bytebase.v1.Project">Project</a></td>
<td></td>
- <td><p>The name of the project.
+ <td><p>The project to update.
+
+The project&#39;s `name` field is used to identify the project to update.
Format: projects/{project} </p></td>
</tr>
<tr>
- <td>uid</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The system-assigned, unique identifier for a resource. </p></td>
- </tr>
-
- <tr>
- <td>state</td>
- <td><a href="#bytebase.v1.State">State</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The title or name of a project. It&#39;s not unique within the workspace. </p></td>
- </tr>
-
- <tr>
- <td>key</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The key is a short and upper-case identifier for a project. It&#39;s unique within the workspace. </p></td>
- </tr>
-
- <tr>
- <td>workflow</td>
- <td><a href="#bytebase.v1.Workflow">Workflow</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>tenant_mode</td>
- <td><a href="#bytebase.v1.TenantMode">TenantMode</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>webhooks</td>
- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
- <td>repeated</td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>data_classification_config_id</td>
- <td><a href="#string">string</a></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The list of fields to update. </p></td>
</tr>
</tbody>
@@ -17955,7 +17791,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.ProtectionRule">ProtectionRule</h3>
+ <h3 id="bytebase.v1.UpdateSchemaGroupRequest">UpdateSchemaGroupRequest</h3>
<p></p>
@@ -17966,39 +17802,20 @@ Format: projects/{project} </p></td>
<tbody>
<tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>A unique identifier for a node in UUID format. </p></td>
- </tr>
-
- <tr>
- <td>target</td>
- <td><a href="#bytebase.v1.ProtectionRule.Target">ProtectionRule.Target</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>name_filter</td>
- <td><a href="#string">string</a></td>
+ <td>schema_group</td>
+ <td><a href="#bytebase.v1.SchemaGroup">SchemaGroup</a></td>
<td></td>
- <td><p>The name of the branch/changelist or wildcard. </p></td>
- </tr>
-
- <tr>
- <td>allowed_roles</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The roles allowed to create branches or changelists, rebase branches, delete branches.
-Format: roles/projectOwner. </p></td>
+ <td><p>The schema group to update.
+
+The schema group&#39;s `name` field is used to identify the schema group to update.
+Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
</tr>
<tr>
- <td>branch_source</td>
- <td><a href="#bytebase.v1.ProtectionRule.BranchSource">ProtectionRule.BranchSource</a></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The list of fields to update. </p></td>
</tr>
</tbody>
@@ -18008,7 +17825,7 @@ Format: roles/projectOwner. </p></td>
- <h3 id="bytebase.v1.ProtectionRules">ProtectionRules</h3>
+ <h3 id="bytebase.v1.UpdateWebhookRequest">UpdateWebhookRequest</h3>
<p></p>
@@ -18019,18 +17836,17 @@ Format: roles/projectOwner. </p></td>
<tbody>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
+ <td>webhook</td>
+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
<td></td>
- <td><p>The name of the protection rules.
-Format: projects/{project}/protectionRules </p></td>
+ <td><p>The webhook to modify. </p></td>
</tr>
<tr>
- <td>rules</td>
- <td><a href="#bytebase.v1.ProtectionRule">ProtectionRule</a></td>
- <td>repeated</td>
- <td><p> </p></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
+ <td></td>
+ <td><p>The list of fields to update. </p></td>
</tr>
</tbody>
@@ -18040,7 +17856,7 @@ Format: projects/{project}/protectionRules </p></td>
- <h3 id="bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</h3>
+ <h3 id="bytebase.v1.Webhook">Webhook</h3>
<p></p>
@@ -18051,625 +17867,47 @@ Format: projects/{project}/protectionRules </p></td>
<tbody>
<tr>
- <td>webhook</td>
- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The webhook to remove. Identified by its url. </p></td>
+ <td><p>name is the name of the webhook, generated by the server.
+format: projects/{project}/webhooks/{webhook} </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.Schedule">Schedule</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
<tr>
- <td>deployments</td>
- <td><a href="#bytebase.v1.ScheduleDeployment">ScheduleDeployment</a></td>
- <td>repeated</td>
- <td><p> </p></td>
+ <td>type</td>
+ <td><a href="#bytebase.v1.Webhook.Type">Webhook.Type</a></td>
+ <td></td>
+ <td><p>type is the type of the webhook. </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ScheduleDeployment">ScheduleDeployment</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
<tr>
<td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The title of the deployment (stage) in a schedule. </p></td>
+ <td><p>title is the title of the webhook. </p></td>
</tr>
<tr>
- <td>spec</td>
- <td><a href="#bytebase.v1.DeploymentSpec">DeploymentSpec</a></td>
+ <td>url</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SchemaGroup">SchemaGroup</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the schema group.
-Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
- </tr>
-
- <tr>
- <td>table_expr</td>
- <td><a href="#google.type.Expr">google.type.Expr</a></td>
- <td></td>
- <td><p>The table condition that is associated with this schema group.
-The table_placeholder in the sheet script will be rendered to the actual table name. </p></td>
- </tr>
-
- <tr>
- <td>table_placeholder</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The table placeholder used for rendering. For example, if set to &#34;tbl&#34;, all the table name
-&#34;tbl&#34; in the SQL script will be rendered to the actual table name. </p></td>
- </tr>
-
- <tr>
- <td>matched_tables</td>
- <td><a href="#bytebase.v1.SchemaGroup.Table">SchemaGroup.Table</a></td>
- <td>repeated</td>
- <td><p>The list of databases that match the database group condition. </p></td>
- </tr>
-
- <tr>
- <td>unmatched_tables</td>
- <td><a href="#bytebase.v1.SchemaGroup.Table">SchemaGroup.Table</a></td>
- <td>repeated</td>
- <td><p>The list of databases that match the database group condition. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SchemaGroup.Table">SchemaGroup.Table</h3>
- <p>In the future, we can introduce schema_expr if users use schema (Postgres schema) for groups.</p><p>Its keyword will be {{SCHEMA}}.</p><p>All the expressions will be used to filter the schema objects in DatabaseSchema.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>database</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The resource name of the database.
-Format: instances/{instance}/databases/{database} </p></td>
- </tr>
-
- <tr>
- <td>schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>table</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SearchProjectsRequest">SearchProjectsRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>show_deleted</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>Show deleted projects if specified. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SearchProjectsResponse">SearchProjectsResponse</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>projects</td>
- <td><a href="#bytebase.v1.Project">Project</a></td>
- <td>repeated</td>
- <td><p>The projects from the specified request. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SetIamPolicyRequest">SetIamPolicyRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>project</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the project to set the IAM policy.
-Format: projects/{project} </p></td>
- </tr>
-
- <tr>
- <td>policy</td>
- <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.TestWebhookRequest">TestWebhookRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>project</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the project which owns the webhook to test.
-Format: projects/{project} </p></td>
- </tr>
-
- <tr>
- <td>webhook</td>
- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
- <td></td>
- <td><p>The webhook to test. Identified by its url. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.TestWebhookResponse">TestWebhookResponse</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>error</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The result of the test, empty if the test is successful. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UndeleteProjectRequest">UndeleteProjectRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the deleted project.
-Format: projects/{project} </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UnsetProjectGitOpsInfoRequest">UnsetProjectGitOpsInfoRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the GitOps info.
-Format: projects/{project}/gitOpsInfo </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateDatabaseGroupRequest">UpdateDatabaseGroupRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>database_group</td>
- <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>
- <td></td>
- <td><p>The database group to update.
-
-The database group&#39;s `name` field is used to identify the database group to update.
-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>
- </tr>
-
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The list of fields to update. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>config</td>
- <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateProjectGitOpsInfoRequest">UpdateProjectGitOpsInfoRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>project_gitops_info</td>
- <td><a href="#bytebase.v1.ProjectGitOpsInfo">ProjectGitOpsInfo</a></td>
- <td></td>
- <td><p>The binding for the project and vcs provider. </p></td>
- </tr>
-
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The mask of the fields to be updated. </p></td>
- </tr>
-
- <tr>
- <td>allow_missing</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>If true, the gitops will be created if it does not exist. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateProjectProtectionRulesRequest">UpdateProjectProtectionRulesRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>protection_rules</td>
- <td><a href="#bytebase.v1.ProtectionRules">ProtectionRules</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>project</td>
- <td><a href="#bytebase.v1.Project">Project</a></td>
- <td></td>
- <td><p>The project to update.
-
-The project&#39;s `name` field is used to identify the project to update.
-Format: projects/{project} </p></td>
- </tr>
-
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The list of fields to update. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateSchemaGroupRequest">UpdateSchemaGroupRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>schema_group</td>
- <td><a href="#bytebase.v1.SchemaGroup">SchemaGroup</a></td>
- <td></td>
- <td><p>The schema group to update.
-
-The schema group&#39;s `name` field is used to identify the schema group to update.
-Format: projects/{project}/databaseGroups/{databaseGroup}/schemaGroups/{schemaGroup} </p></td>
- </tr>
-
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The list of fields to update. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateWebhookRequest">UpdateWebhookRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>webhook</td>
- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>
- <td></td>
- <td><p>The webhook to modify. </p></td>
- </tr>
-
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The list of fields to update. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.Webhook">Webhook</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>name is the name of the webhook, generated by the server.
-format: projects/{project}/webhooks/{webhook} </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#bytebase.v1.Webhook.Type">Webhook.Type</a></td>
- <td></td>
- <td><p>type is the type of the webhook. </p></td>
- </tr>
-
- <tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>title is the title of the webhook. </p></td>
- </tr>
-
- <tr>
- <td>url</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>url is the url of the webhook, should be unique within the project. </p></td>
- </tr>
-
- <tr>
- <td>notification_types</td>
- <td><a href="#bytebase.v1.Activity.Type">Activity.Type</a></td>
- <td>repeated</td>
- <td><p>notification_types is the list of activities types that the webhook is interested in.
-Bytebase will only send notifications to the webhook if the activity type is in the list.
-It should not be empty, and shoule be a subset of the following:
-- TYPE_ISSUE_CREATED
-- TYPE_ISSUE_STATUS_UPDATE
-- TYPE_ISSUE_PIPELINE_STAGE_UPDATE
-- TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE
-- TYPE_ISSUE_FIELD_UPDATE
-- TYPE_ISSUE_COMMENT_CREAT </p></td>
+ <td><p>url is the url of the webhook, should be unique within the project. </p></td>
+ </tr>
+
+ <tr>
+ <td>notification_types</td>
+ <td><a href="#bytebase.v1.Activity.Type">Activity.Type</a></td>
+ <td>repeated</td>
+ <td><p>notification_types is the list of activities types that the webhook is interested in.
+Bytebase will only send notifications to the webhook if the activity type is in the list.
+It should not be empty, and shoule be a subset of the following:
+- TYPE_ISSUE_CREATED
+- TYPE_ISSUE_STATUS_UPDATE
+- TYPE_ISSUE_PIPELINE_STAGE_UPDATE
+- TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE
+- TYPE_ISSUE_FIELD_UPDATE
+- TYPE_ISSUE_COMMENT_CREAT </p></td>
</tr>
</tbody>
@@ -19221,27 +18459,6 @@ The API will default to the BASIC view.</p></td>
<td><p></p></td>
</tr>
- <tr>
- <td>UpdateProjectGitOpsInfo</td>
- <td><a href="#bytebase.v1.UpdateProjectGitOpsInfoRequest">UpdateProjectGitOpsInfoRequest</a></td>
- <td><a href="#bytebase.v1.ProjectGitOpsInfo">ProjectGitOpsInfo</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>UnsetProjectGitOpsInfo</td>
- <td><a href="#bytebase.v1.UnsetProjectGitOpsInfoRequest">UnsetProjectGitOpsInfoRequest</a></td>
- <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>GetProjectGitOpsInfo</td>
- <td><a href="#bytebase.v1.GetProjectGitOpsInfoRequest">GetProjectGitOpsInfoRequest</a></td>
- <td><a href="#bytebase.v1.ProjectGitOpsInfo">ProjectGitOpsInfo</a></td>
- <td><p></p></td>
- </tr>
-
<tr>
<td>ListDatabaseGroups</td>
<td><a href="#bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</a></td>
@@ -19506,36 +18723,6 @@ The API will default to the BASIC view.</p></td>
- <tr>
- <td>UpdateProjectGitOpsInfo</td>
- <td>PATCH</td>
- <td>/v1/{project_gitops_info.name=projects/*/gitOpsInfo}</td>
- <td>*</td>
- </tr>
-
-
-
-
- <tr>
- <td>UnsetProjectGitOpsInfo</td>
- <td>DELETE</td>
- <td>/v1/{name=projects/*/gitOpsInfo}</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>GetProjectGitOpsInfo</td>
- <td>GET</td>
- <td>/v1/{name=projects/*/gitOpsInfo}</td>
- <td></td>
- </tr>
-
-
-
-
<tr>
<td>ListDatabaseGroups</td>
<td>GET</td>
@@ -22611,7 +21798,207 @@ Format: projects/{project}/plans/{plan} </p></td>
</tbody>
</table>
- <h3 id="bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus">Task.DatabaseDataUpdate.RollbackSqlStatus</h3>
+ <h3 id="bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus">Task.DatabaseDataUpdate.RollbackSqlStatus</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>ROLLBACK_SQL_STATUS_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>PENDING</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DONE</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>FAILED</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.Task.Status">Task.Status</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>STATUS_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>NOT_STARTED</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>PENDING</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>RUNNING</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DONE</td>
+ <td>4</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>FAILED</td>
+ <td>5</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>CANCELED</td>
+ <td>6</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>SKIPPED</td>
+ <td>7</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.Task.Type">Task.Type</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>GENERAL</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_CREATE</td>
+ <td>2</td>
+ <td><p>use payload DatabaseCreate</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_SCHEMA_BASELINE</td>
+ <td>3</td>
+ <td><p>use payload DatabaseSchemaBaseline</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_SCHEMA_UPDATE</td>
+ <td>4</td>
+ <td><p>use payload DatabaseSchemaUpdate</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_SCHEMA_UPDATE_SDL</td>
+ <td>5</td>
+ <td><p>use payload DatabaseSchemaUpdate</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_SCHEMA_UPDATE_GHOST_SYNC</td>
+ <td>6</td>
+ <td><p>use payload DatabaseSchemaUpdate</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_SCHEMA_UPDATE_GHOST_CUTOVER</td>
+ <td>7</td>
+ <td><p>use payload nil</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_DATA_UPDATE</td>
+ <td>8</td>
+ <td><p>use payload DatabaseDataUpdate</p></td>
+ </tr>
+
+ <tr>
+ <td>DATABASE_DATA_EXPORT</td>
+ <td>12</td>
+ <td><p>use payload DatabaseDataExport</p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.TaskRun.ExecutionStatus">TaskRun.ExecutionStatus</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>EXECUTION_STATUS_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>PRE_EXECUTING</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>EXECUTING</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>POST_EXECUTING</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.TaskRun.Status">TaskRun.Status</h3>
<p></p>
<table class="enum-table">
<thead>
@@ -22620,7 +22007,7 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>ROLLBACK_SQL_STATUS_UNSPECIFIED</td>
+ <td>STATUS_UNSPECIFIED</td>
<td>0</td>
<td><p></p></td>
</tr>
@@ -22632,186 +22019,512 @@ Format: projects/{project}/plans/{plan} </p></td>
</tr>
<tr>
- <td>DONE</td>
+ <td>RUNNING</td>
<td>2</td>
<td><p></p></td>
</tr>
<tr>
- <td>FAILED</td>
+ <td>DONE</td>
<td>3</td>
<td><p></p></td>
</tr>
+ <tr>
+ <td>FAILED</td>
+ <td>4</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>CANCELED</td>
+ <td>5</td>
+ <td><p></p></td>
+ </tr>
+
</tbody>
</table>
- <h3 id="bytebase.v1.Task.Status">Task.Status</h3>
+
+
+
+
+ <h3 id="bytebase.v1.RolloutService">RolloutService</h3>
<p></p>
<table class="enum-table">
<thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
</thead>
<tbody>
<tr>
- <td>STATUS_UNSPECIFIED</td>
- <td>0</td>
+ <td>GetPlan</td>
+ <td><a href="#bytebase.v1.GetPlanRequest">GetPlanRequest</a></td>
+ <td><a href="#bytebase.v1.Plan">Plan</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>NOT_STARTED</td>
- <td>1</td>
+ <td>ListPlans</td>
+ <td><a href="#bytebase.v1.ListPlansRequest">ListPlansRequest</a></td>
+ <td><a href="#bytebase.v1.ListPlansResponse">ListPlansResponse</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>PENDING</td>
- <td>2</td>
+ <td>CreatePlan</td>
+ <td><a href="#bytebase.v1.CreatePlanRequest">CreatePlanRequest</a></td>
+ <td><a href="#bytebase.v1.Plan">Plan</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>RUNNING</td>
- <td>3</td>
+ <td>UpdatePlan</td>
+ <td><a href="#bytebase.v1.UpdatePlanRequest">UpdatePlanRequest</a></td>
+ <td><a href="#bytebase.v1.Plan">Plan</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>DONE</td>
- <td>4</td>
+ <td>GetRollout</td>
+ <td><a href="#bytebase.v1.GetRolloutRequest">GetRolloutRequest</a></td>
+ <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>FAILED</td>
- <td>5</td>
+ <td>CreateRollout</td>
+ <td><a href="#bytebase.v1.CreateRolloutRequest">CreateRolloutRequest</a></td>
+ <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>CANCELED</td>
- <td>6</td>
+ <td>PreviewRollout</td>
+ <td><a href="#bytebase.v1.PreviewRolloutRequest">PreviewRolloutRequest</a></td>
+ <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>SKIPPED</td>
- <td>7</td>
+ <td>ListTaskRuns</td>
+ <td><a href="#bytebase.v1.ListTaskRunsRequest">ListTaskRunsRequest</a></td>
+ <td><a href="#bytebase.v1.ListTaskRunsResponse">ListTaskRunsResponse</a></td>
<td><p></p></td>
</tr>
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.Task.Type">Task.Type</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>ListPlanCheckRuns</td>
+ <td><a href="#bytebase.v1.ListPlanCheckRunsRequest">ListPlanCheckRunsRequest</a></td>
+ <td><a href="#bytebase.v1.ListPlanCheckRunsResponse">ListPlanCheckRunsResponse</a></td>
+ <td><p></p></td>
+ </tr>
<tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
+ <td>RunPlanChecks</td>
+ <td><a href="#bytebase.v1.RunPlanChecksRequest">RunPlanChecksRequest</a></td>
+ <td><a href="#bytebase.v1.RunPlanChecksResponse">RunPlanChecksResponse</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>GENERAL</td>
- <td>1</td>
+ <td>BatchRunTasks</td>
+ <td><a href="#bytebase.v1.BatchRunTasksRequest">BatchRunTasksRequest</a></td>
+ <td><a href="#bytebase.v1.BatchRunTasksResponse">BatchRunTasksResponse</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>DATABASE_CREATE</td>
- <td>2</td>
- <td><p>use payload DatabaseCreate</p></td>
+ <td>BatchSkipTasks</td>
+ <td><a href="#bytebase.v1.BatchSkipTasksRequest">BatchSkipTasksRequest</a></td>
+ <td><a href="#bytebase.v1.BatchSkipTasksResponse">BatchSkipTasksResponse</a></td>
+ <td><p></p></td>
</tr>
<tr>
- <td>DATABASE_SCHEMA_BASELINE</td>
- <td>3</td>
- <td><p>use payload DatabaseSchemaBaseline</p></td>
+ <td>BatchCancelTaskRuns</td>
+ <td><a href="#bytebase.v1.BatchCancelTaskRunsRequest">BatchCancelTaskRunsRequest</a></td>
+ <td><a href="#bytebase.v1.BatchCancelTaskRunsResponse">BatchCancelTaskRunsResponse</a></td>
+ <td><p></p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+ <h4>Methods with HTTP bindings</h4>
+ <table>
+ <thead>
<tr>
- <td>DATABASE_SCHEMA_UPDATE</td>
- <td>4</td>
- <td><p>use payload DatabaseSchemaUpdate</p></td>
+ <td>Method Name</td>
+ <td>Method</td>
+ <td>Pattern</td>
+ <td>Body</td>
+ </tr>
+ </thead>
+ <tbody>
+
+
+
+ <tr>
+ <td>GetPlan</td>
+ <td>GET</td>
+ <td>/v1/{name=projects/*/plans/*}</td>
+ <td></td>
</tr>
+
+
+
<tr>
- <td>DATABASE_SCHEMA_UPDATE_SDL</td>
- <td>5</td>
- <td><p>use payload DatabaseSchemaUpdate</p></td>
+ <td>ListPlans</td>
+ <td>GET</td>
+ <td>/v1/{parent=projects/*}/plans</td>
+ <td></td>
</tr>
+
+
+
<tr>
- <td>DATABASE_SCHEMA_UPDATE_GHOST_SYNC</td>
- <td>6</td>
- <td><p>use payload DatabaseSchemaUpdate</p></td>
+ <td>CreatePlan</td>
+ <td>POST</td>
+ <td>/v1/{parent=projects/*}/plans</td>
+ <td>plan</td>
</tr>
+
+
+
<tr>
- <td>DATABASE_SCHEMA_UPDATE_GHOST_CUTOVER</td>
- <td>7</td>
- <td><p>use payload nil</p></td>
+ <td>UpdatePlan</td>
+ <td>PATCH</td>
+ <td>/v1/{plan.name=projects/*/plans/*}</td>
+ <td>plan</td>
</tr>
+
+
+
<tr>
- <td>DATABASE_DATA_UPDATE</td>
- <td>8</td>
- <td><p>use payload DatabaseDataUpdate</p></td>
+ <td>GetRollout</td>
+ <td>GET</td>
+ <td>/v1/{name=projects/*/rollouts/*}</td>
+ <td></td>
</tr>
+
+
+
<tr>
- <td>DATABASE_DATA_EXPORT</td>
- <td>12</td>
- <td><p>use payload DatabaseDataExport</p></td>
+ <td>CreateRollout</td>
+ <td>POST</td>
+ <td>/v1/{parent=projects/*}/rollouts</td>
+ <td>rollout</td>
</tr>
+
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.TaskRun.ExecutionStatus">TaskRun.ExecutionStatus</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
+
+
+ <tr>
+ <td>PreviewRollout</td>
+ <td>POST</td>
+ <td>/v1/{project=projects/*}:previewRollout</td>
+ <td>*</td>
+ </tr>
+
+
+
<tr>
- <td>EXECUTION_STATUS_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
+ <td>ListTaskRuns</td>
+ <td>GET</td>
+ <td>/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*}/taskRuns</td>
+ <td></td>
</tr>
+
+
+
<tr>
- <td>PRE_EXECUTING</td>
- <td>1</td>
- <td><p></p></td>
+ <td>ListPlanCheckRuns</td>
+ <td>GET</td>
+ <td>/v1/{parent=projects/*/plans/*}/planCheckRuns</td>
+ <td></td>
</tr>
+
+
+
<tr>
- <td>EXECUTING</td>
- <td>2</td>
- <td><p></p></td>
+ <td>RunPlanChecks</td>
+ <td>POST</td>
+ <td>/v1/{name=projects/*/plans/*}:runPlanChecks</td>
+ <td>*</td>
+ </tr>
+
+
+
+
+ <tr>
+ <td>BatchRunTasks</td>
+ <td>POST</td>
+ <td>/v1/{parent=projects/*/rollouts/*/stages/*}/tasks:batchRun</td>
+ <td>*</td>
+ </tr>
+
+
+
+
+ <tr>
+ <td>BatchSkipTasks</td>
+ <td>POST</td>
+ <td>/v1/{parent=projects/*/rollouts/*/stages/*}/tasks:batchSkip</td>
+ <td>*</td>
</tr>
+
+
+
<tr>
- <td>POST_EXECUTING</td>
- <td>3</td>
- <td><p></p></td>
+ <td>BatchCancelTaskRuns</td>
+ <td>POST</td>
+ <td>/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*}/taskRuns:batchCancel</td>
+ <td>*</td>
</tr>
+
- </tbody>
- </table>
+ </tbody>
+ </table>
+
+
+
- <h3 id="bytebase.v1.TaskRun.Status">TaskRun.Status</h3>
+ <div class="file-heading">
+ <h2 id="v1/subscription_service.proto">v1/subscription_service.proto</h2><a href="#title">Top</a>
+ </div>
+ <p></p>
+
+
+ <h3 id="bytebase.v1.Feature">Feature</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Name is the feature name. </p></td>
+ </tr>
+
+ <tr>
+ <td>matrix</td>
+ <td><a href="#bytebase.v1.Feature.MatrixEntry">Feature.MatrixEntry</a></td>
+ <td>repeated</td>
+ <td><p>Matrix is the feature matrix for different plan. The key is the plan enum in string value. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.Feature.MatrixEntry">Feature.MatrixEntry</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>key</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>value</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.FeatureMatrix">FeatureMatrix</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>features</td>
+ <td><a href="#bytebase.v1.Feature">Feature</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.GetFeatureMatrixRequest">GetFeatureMatrixRequest</h3>
+ <p></p>
+
+
+
+
+
+ <h3 id="bytebase.v1.GetSubscriptionRequest">GetSubscriptionRequest</h3>
+ <p></p>
+
+
+
+
+
+ <h3 id="bytebase.v1.PatchSubscription">PatchSubscription</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>license</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.Subscription">Subscription</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>instance_count</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>expires_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>started_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>plan</td>
+ <td><a href="#bytebase.v1.PlanType">PlanType</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>trialing</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>org_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>org_name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.UpdateSubscriptionRequest">UpdateSubscriptionRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>patch</td>
+ <td><a href="#bytebase.v1.PatchSubscription">PatchSubscription</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+
+
+ <h3 id="bytebase.v1.PlanType">PlanType</h3>
<p></p>
<table class="enum-table">
<thead>
@@ -22820,38 +22533,26 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>STATUS_UNSPECIFIED</td>
+ <td>PLAN_TYPE_UNSPECIFIED</td>
<td>0</td>
<td><p></p></td>
</tr>
<tr>
- <td>PENDING</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>RUNNING</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>DONE</td>
- <td>3</td>
+ <td>FREE</td>
+ <td>1</td>
<td><p></p></td>
</tr>
<tr>
- <td>FAILED</td>
- <td>4</td>
+ <td>TEAM</td>
+ <td>2</td>
<td><p></p></td>
</tr>
<tr>
- <td>CANCELED</td>
- <td>5</td>
+ <td>ENTERPRISE</td>
+ <td>3</td>
<td><p></p></td>
</tr>
@@ -22862,7 +22563,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.RolloutService">RolloutService</h3>
+ <h3 id="bytebase.v1.SubscriptionService">SubscriptionService</h3>
<p></p>
<table class="enum-table">
<thead>
@@ -22871,93 +22572,23 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>GetPlan</td>
- <td><a href="#bytebase.v1.GetPlanRequest">GetPlanRequest</a></td>
- <td><a href="#bytebase.v1.Plan">Plan</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ListPlans</td>
- <td><a href="#bytebase.v1.ListPlansRequest">ListPlansRequest</a></td>
- <td><a href="#bytebase.v1.ListPlansResponse">ListPlansResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>CreatePlan</td>
- <td><a href="#bytebase.v1.CreatePlanRequest">CreatePlanRequest</a></td>
- <td><a href="#bytebase.v1.Plan">Plan</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>UpdatePlan</td>
- <td><a href="#bytebase.v1.UpdatePlanRequest">UpdatePlanRequest</a></td>
- <td><a href="#bytebase.v1.Plan">Plan</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>GetRollout</td>
- <td><a href="#bytebase.v1.GetRolloutRequest">GetRolloutRequest</a></td>
- <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>CreateRollout</td>
- <td><a href="#bytebase.v1.CreateRolloutRequest">CreateRolloutRequest</a></td>
- <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>PreviewRollout</td>
- <td><a href="#bytebase.v1.PreviewRolloutRequest">PreviewRolloutRequest</a></td>
- <td><a href="#bytebase.v1.Rollout">Rollout</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ListTaskRuns</td>
- <td><a href="#bytebase.v1.ListTaskRunsRequest">ListTaskRunsRequest</a></td>
- <td><a href="#bytebase.v1.ListTaskRunsResponse">ListTaskRunsResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ListPlanCheckRuns</td>
- <td><a href="#bytebase.v1.ListPlanCheckRunsRequest">ListPlanCheckRunsRequest</a></td>
- <td><a href="#bytebase.v1.ListPlanCheckRunsResponse">ListPlanCheckRunsResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>RunPlanChecks</td>
- <td><a href="#bytebase.v1.RunPlanChecksRequest">RunPlanChecksRequest</a></td>
- <td><a href="#bytebase.v1.RunPlanChecksResponse">RunPlanChecksResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>BatchRunTasks</td>
- <td><a href="#bytebase.v1.BatchRunTasksRequest">BatchRunTasksRequest</a></td>
- <td><a href="#bytebase.v1.BatchRunTasksResponse">BatchRunTasksResponse</a></td>
+ <td>GetSubscription</td>
+ <td><a href="#bytebase.v1.GetSubscriptionRequest">GetSubscriptionRequest</a></td>
+ <td><a href="#bytebase.v1.Subscription">Subscription</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>BatchSkipTasks</td>
- <td><a href="#bytebase.v1.BatchSkipTasksRequest">BatchSkipTasksRequest</a></td>
- <td><a href="#bytebase.v1.BatchSkipTasksResponse">BatchSkipTasksResponse</a></td>
+ <td>GetFeatureMatrix</td>
+ <td><a href="#bytebase.v1.GetFeatureMatrixRequest">GetFeatureMatrixRequest</a></td>
+ <td><a href="#bytebase.v1.FeatureMatrix">FeatureMatrix</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>BatchCancelTaskRuns</td>
- <td><a href="#bytebase.v1.BatchCancelTaskRunsRequest">BatchCancelTaskRunsRequest</a></td>
- <td><a href="#bytebase.v1.BatchCancelTaskRunsResponse">BatchCancelTaskRunsResponse</a></td>
+ <td>UpdateSubscription</td>
+ <td><a href="#bytebase.v1.UpdateSubscriptionRequest">UpdateSubscriptionRequest</a></td>
+ <td><a href="#bytebase.v1.Subscription">Subscription</a></td>
<td><p></p></td>
</tr>
@@ -22982,9 +22613,9 @@ Format: projects/{project}/plans/{plan} </p></td>
<tr>
- <td>GetPlan</td>
+ <td>GetSubscription</td>
<td>GET</td>
- <td>/v1/{name=projects/*/plans/*}</td>
+ <td>/v1/subscription</td>
<td></td>
</tr>
@@ -22992,9 +22623,9 @@ Format: projects/{project}/plans/{plan} </p></td>
<tr>
- <td>ListPlans</td>
+ <td>GetFeatureMatrix</td>
<td>GET</td>
- <td>/v1/{parent=projects/*}/plans</td>
+ <td>/v1/feature</td>
<td></td>
</tr>
@@ -23002,126 +22633,95 @@ Format: projects/{project}/plans/{plan} </p></td>
<tr>
- <td>CreatePlan</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*}/plans</td>
- <td>plan</td>
- </tr>
-
-
-
-
- <tr>
- <td>UpdatePlan</td>
+ <td>UpdateSubscription</td>
<td>PATCH</td>
- <td>/v1/{plan.name=projects/*/plans/*}</td>
- <td>plan</td>
- </tr>
-
-
-
-
- <tr>
- <td>GetRollout</td>
- <td>GET</td>
- <td>/v1/{name=projects/*/rollouts/*}</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>CreateRollout</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*}/rollouts</td>
- <td>rollout</td>
- </tr>
-
-
-
-
- <tr>
- <td>PreviewRollout</td>
- <td>POST</td>
- <td>/v1/{project=projects/*}:previewRollout</td>
- <td>*</td>
- </tr>
-
-
-
-
- <tr>
- <td>ListTaskRuns</td>
- <td>GET</td>
- <td>/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*}/taskRuns</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>ListPlanCheckRuns</td>
- <td>GET</td>
- <td>/v1/{parent=projects/*/plans/*}/planCheckRuns</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>RunPlanChecks</td>
- <td>POST</td>
- <td>/v1/{name=projects/*/plans/*}:runPlanChecks</td>
- <td>*</td>
+ <td>/v1/subscription</td>
+ <td>patch</td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+ <div class="file-heading">
+ <h2 id="v1/setting_service.proto">v1/setting_service.proto</h2><a href="#title">Top</a>
+ </div>
+ <p></p>
+
+
+ <h3 id="bytebase.v1.AgentPluginSetting">AgentPluginSetting</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>url</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The URL for the agent API. </p></td>
+ </tr>
- <tr>
- <td>BatchRunTasks</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*/rollouts/*/stages/*}/tasks:batchRun</td>
- <td>*</td>
- </tr>
-
-
-
+ <tr>
+ <td>token</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The token for the agent. </p></td>
+ </tr>
- <tr>
- <td>BatchSkipTasks</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*/rollouts/*/stages/*}/tasks:batchSkip</td>
- <td>*</td>
- </tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.Announcement">Announcement</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
-
+ <tr>
+ <td>level</td>
+ <td><a href="#bytebase.v1.Announcement.AlertLevel">Announcement.AlertLevel</a></td>
+ <td></td>
+ <td><p>The alert level of announcemnt </p></td>
+ </tr>
+ <tr>
+ <td>text</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The text of announcemnt </p></td>
+ </tr>
- <tr>
- <td>BatchCancelTaskRuns</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*}/taskRuns:batchCancel</td>
- <td>*</td>
- </tr>
+ <tr>
+ <td>link</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The optional link, user can follow the link to check extra details </p></td>
+ </tr>
-
</tbody>
</table>
+
-
-
-
- <div class="file-heading">
- <h2 id="v1/subscription_service.proto">v1/subscription_service.proto</h2><a href="#title">Top</a>
- </div>
- <p></p>
+
- <h3 id="bytebase.v1.Feature">Feature</h3>
+ <h3 id="bytebase.v1.AppIMSetting">AppIMSetting</h3>
<p></p>
@@ -23132,17 +22732,31 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>im_type</td>
+ <td><a href="#bytebase.v1.AppIMSetting.IMType">AppIMSetting.IMType</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>app_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>Name is the feature name. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>matrix</td>
- <td><a href="#bytebase.v1.Feature.MatrixEntry">Feature.MatrixEntry</a></td>
- <td>repeated</td>
- <td><p>Matrix is the feature matrix for different plan. The key is the plan enum in string value. </p></td>
+ <td>app_secret</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>external_approval</td>
+ <td><a href="#bytebase.v1.AppIMSetting.ExternalApproval">AppIMSetting.ExternalApproval</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -23152,7 +22766,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.Feature.MatrixEntry">Feature.MatrixEntry</h3>
+ <h3 id="bytebase.v1.AppIMSetting.ExternalApproval">AppIMSetting.ExternalApproval</h3>
<p></p>
@@ -23163,15 +22777,15 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>key</td>
- <td><a href="#string">string</a></td>
+ <td>enabled</td>
+ <td><a href="#bool">bool</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>value</td>
- <td><a href="#bool">bool</a></td>
+ <td>approval_definition_id</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -23183,7 +22797,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.FeatureMatrix">FeatureMatrix</h3>
+ <h3 id="bytebase.v1.DataClassificationSetting">DataClassificationSetting</h3>
<p></p>
@@ -23194,8 +22808,8 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>features</td>
- <td><a href="#bytebase.v1.Feature">Feature</a></td>
+ <td>configs</td>
+ <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig">DataClassificationSetting.DataClassificationConfig</a></td>
<td>repeated</td>
<td><p> </p></td>
</tr>
@@ -23207,21 +22821,85 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.GetFeatureMatrixRequest">GetFeatureMatrixRequest</h3>
+ <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig">DataClassificationSetting.DataClassificationConfig</h3>
<p></p>
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>id is the uuid for classification. Each project can chose one classification config. </p></td>
+ </tr>
+
+ <tr>
+ <td>title</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>levels</td>
+ <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level">DataClassificationSetting.DataClassificationConfig.Level</a></td>
+ <td>repeated</td>
+ <td><p>levels is user defined level list for classification.
+The order for the level decides its priority. </p></td>
+ </tr>
+
+ <tr>
+ <td>classification</td>
+ <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry">DataClassificationSetting.DataClassificationConfig.ClassificationEntry</a></td>
+ <td>repeated</td>
+ <td><p>classification is the id - DataClassification map.
+The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
- <h3 id="bytebase.v1.GetSubscriptionRequest">GetSubscriptionRequest</h3>
+ <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry">DataClassificationSetting.DataClassificationConfig.ClassificationEntry</h3>
<p></p>
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>key</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>value</td>
+ <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification">DataClassificationSetting.DataClassificationConfig.DataClassification</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
- <h3 id="bytebase.v1.PatchSubscription">PatchSubscription</h3>
+ <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification">DataClassificationSetting.DataClassificationConfig.DataClassification</h3>
<p></p>
@@ -23232,12 +22910,33 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>license</td>
+ <td>id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>id is the classification id in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
+ </tr>
+
+ <tr>
+ <td>title</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
+ <tr>
+ <td>description</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>level_id</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
</tbody>
</table>
@@ -23245,7 +22944,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.Subscription">Subscription</h3>
+ <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level">DataClassificationSetting.DataClassificationConfig.Level</h3>
<p></p>
@@ -23256,52 +22955,111 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>instance_count</td>
- <td><a href="#int32">int32</a></td>
+ <td>id</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>expires_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>title</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>started_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>description</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ExternalApprovalSetting">ExternalApprovalSetting</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>nodes</td>
+ <td><a href="#bytebase.v1.ExternalApprovalSetting.Node">ExternalApprovalSetting.Node</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ExternalApprovalSetting.Node">ExternalApprovalSetting.Node</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>plan</td>
- <td><a href="#bytebase.v1.PlanType">PlanType</a></td>
+ <td>id</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>A unique identifier for a node in UUID format.
+We will also include the id in the message sending to the external relay service to identify the node. </p></td>
</tr>
<tr>
- <td>trialing</td>
- <td><a href="#bool">bool</a></td>
+ <td>title</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The title of the node. </p></td>
</tr>
<tr>
- <td>org_id</td>
+ <td>endpoint</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The external endpoint for the relay service, e.g. &#34;http://hello:1234&#34;. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.GetSettingRequest">GetSettingRequest</h3>
+ <p>The request message for getting a setting.</p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>org_name</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The resource name of the setting. </p></td>
</tr>
</tbody>
@@ -23311,8 +23069,8 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.UpdateSubscriptionRequest">UpdateSubscriptionRequest</h3>
- <p></p>
+ <h3 id="bytebase.v1.GetSettingResponse">GetSettingResponse</h3>
+ <p>The response message for getting a setting.</p>
<table class="field-table">
@@ -23322,8 +23080,8 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>patch</td>
- <td><a href="#bytebase.v1.PatchSubscription">PatchSubscription</a></td>
+ <td>setting</td>
+ <td><a href="#bytebase.v1.Setting">Setting</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -23335,137 +23093,45 @@ Format: projects/{project}/plans/{plan} </p></td>
-
-
- <h3 id="bytebase.v1.PlanType">PlanType</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>PLAN_TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>FREE</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>TEAM</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ENTERPRISE</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SubscriptionService">SubscriptionService</h3>
+ <h3 id="bytebase.v1.ListSettingsRequest">ListSettingsRequest</h3>
<p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>GetSubscription</td>
- <td><a href="#bytebase.v1.GetSubscriptionRequest">GetSubscriptionRequest</a></td>
- <td><a href="#bytebase.v1.Subscription">Subscription</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>GetFeatureMatrix</td>
- <td><a href="#bytebase.v1.GetFeatureMatrixRequest">GetFeatureMatrixRequest</a></td>
- <td><a href="#bytebase.v1.FeatureMatrix">FeatureMatrix</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>UpdateSubscription</td>
- <td><a href="#bytebase.v1.UpdateSubscriptionRequest">UpdateSubscriptionRequest</a></td>
- <td><a href="#bytebase.v1.Subscription">Subscription</a></td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <h4>Methods with HTTP bindings</h4>
- <table>
+ <table class="field-table">
<thead>
- <tr>
- <td>Method Name</td>
- <td>Method</td>
- <td>Pattern</td>
- <td>Body</td>
- </tr>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>
-
-
-
- <tr>
- <td>GetSubscription</td>
- <td>GET</td>
- <td>/v1/subscription</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>GetFeatureMatrix</td>
- <td>GET</td>
- <td>/v1/feature</td>
- <td></td>
- </tr>
-
-
+ <tr>
+ <td>page_size</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p>The maximum number of settings to return. The service may return fewer than
+this value.
+If unspecified, at most 50 settings will be returned.
+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
+ </tr>
- <tr>
- <td>UpdateSubscription</td>
- <td>PATCH</td>
- <td>/v1/subscription</td>
- <td>patch</td>
- </tr>
+ <tr>
+ <td>page_token</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>A page token, received from a previous `ListSettings` call.
+Provide this to retrieve the subsequent page.
+
+When paginating, all other parameters provided to `ListSettings` must match
+the call that provided the page token. </p></td>
+ </tr>
-
</tbody>
</table>
+
-
-
-
- <div class="file-heading">
- <h2 id="v1/setting_service.proto">v1/setting_service.proto</h2><a href="#title">Top</a>
- </div>
- <p></p>
+
- <h3 id="bytebase.v1.AgentPluginSetting">AgentPluginSetting</h3>
+ <h3 id="bytebase.v1.ListSettingsResponse">ListSettingsResponse</h3>
<p></p>
@@ -23476,17 +23142,18 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>url</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The URL for the agent API. </p></td>
+ <td>settings</td>
+ <td><a href="#bytebase.v1.Setting">Setting</a></td>
+ <td>repeated</td>
+ <td><p>The settings from the specified request. </p></td>
</tr>
<tr>
- <td>token</td>
+ <td>next_page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The token for the agent. </p></td>
+ <td><p>A token, which can be sent as `page_token` to retrieve the next page.
+If this field is omitted, there are no subsequent pages. </p></td>
</tr>
</tbody>
@@ -23496,7 +23163,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.Announcement">Announcement</h3>
+ <h3 id="bytebase.v1.MaskingAlgorithmSetting">MaskingAlgorithmSetting</h3>
<p></p>
@@ -23507,24 +23174,10 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>level</td>
- <td><a href="#bytebase.v1.Announcement.AlertLevel">Announcement.AlertLevel</a></td>
- <td></td>
- <td><p>The alert level of announcemnt </p></td>
- </tr>
-
- <tr>
- <td>text</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The text of announcemnt </p></td>
- </tr>
-
- <tr>
- <td>link</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The optional link, user can follow the link to check extra details </p></td>
+ <td>algorithms</td>
+ <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm">MaskingAlgorithmSetting.Algorithm</a></td>
+ <td>repeated</td>
+ <td><p>algorithms is the list of masking algorithms. </p></td>
</tr>
</tbody>
@@ -23534,7 +23187,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.AppIMSetting">AppIMSetting</h3>
+ <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm">MaskingAlgorithmSetting.Algorithm</h3>
<p></p>
@@ -23545,29 +23198,53 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>im_type</td>
- <td><a href="#bytebase.v1.AppIMSetting.IMType">AppIMSetting.IMType</a></td>
+ <td>id</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>id is the uuid for masking algorithm. </p></td>
</tr>
<tr>
- <td>app_id</td>
+ <td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>title is the title for masking algorithm. </p></td>
</tr>
<tr>
- <td>app_secret</td>
+ <td>description</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>description is the description for masking algorithm. </p></td>
+ </tr>
+
+ <tr>
+ <td>category</td>
<td><a href="#string">string</a></td>
<td></td>
+ <td><p>Category is the category for masking algorithm. Currently, it accepts 2 categories only: MASK and HASH.
+The range of accepted Payload is decided by the category.
+MASK: FullMask, RangeMask
+HASH: MD5Mask </p></td>
+ </tr>
+
+ <tr>
+ <td>full_mask</td>
+ <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.FullMask">MaskingAlgorithmSetting.Algorithm.FullMask</a></td>
+ <td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>external_approval</td>
- <td><a href="#bytebase.v1.AppIMSetting.ExternalApproval">AppIMSetting.ExternalApproval</a></td>
+ <td>range_mask</td>
+ <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask">MaskingAlgorithmSetting.Algorithm.RangeMask</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>md5_mask</td>
+ <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.MD5Mask">MaskingAlgorithmSetting.Algorithm.MD5Mask</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -23579,7 +23256,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.AppIMSetting.ExternalApproval">AppIMSetting.ExternalApproval</h3>
+ <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.FullMask">MaskingAlgorithmSetting.Algorithm.FullMask</h3>
<p></p>
@@ -23590,17 +23267,35 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>enabled</td>
- <td><a href="#bool">bool</a></td>
+ <td>substitution</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>substitution is the string used to replace the original value, the
+max length of the string is 16 bytes. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.MD5Mask">MaskingAlgorithmSetting.Algorithm.MD5Mask</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>approval_definition_id</td>
+ <td>salt</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>salt is the salt value to generate a different hash that with the word alone. </p></td>
</tr>
</tbody>
@@ -23610,7 +23305,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.DataClassificationSetting">DataClassificationSetting</h3>
+ <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask">MaskingAlgorithmSetting.Algorithm.RangeMask</h3>
<p></p>
@@ -23621,10 +23316,11 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>configs</td>
- <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig">DataClassificationSetting.DataClassificationConfig</a></td>
+ <td>slices</td>
+ <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice">MaskingAlgorithmSetting.Algorithm.RangeMask.Slice</a></td>
<td>repeated</td>
- <td><p> </p></td>
+ <td><p>We store it as a repeated field to face the fact that the original value may have multiple parts should be masked.
+But frontend can be started with a single rule easily. </p></td>
</tr>
</tbody>
@@ -23634,7 +23330,7 @@ Format: projects/{project}/plans/{plan} </p></td>
- <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig">DataClassificationSetting.DataClassificationConfig</h3>
+ <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice">MaskingAlgorithmSetting.Algorithm.RangeMask.Slice</h3>
<p></p>
@@ -23645,33 +23341,24 @@ Format: projects/{project}/plans/{plan} </p></td>
<tbody>
<tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
+ <td>start</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p>id is the uuid for classification. Each project can chose one classification config. </p></td>
+ <td><p>start is the start index of the original value, start from 0 and should be less than stop. </p></td>
</tr>
<tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
+ <td>end</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>levels</td>
- <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level">DataClassificationSetting.DataClassificationConfig.Level</a></td>
- <td>repeated</td>
- <td><p>levels is user defined level list for classification.
-The order for the level decides its priority. </p></td>
+ <td><p>stop is the stop index of the original value, should be less than the length of the original value. </p></td>
</tr>
<tr>
- <td>classification</td>
- <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry">DataClassificationSetting.DataClassificationConfig.ClassificationEntry</a></td>
- <td>repeated</td>
- <td><p>classification is the id - DataClassification map.
-The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
+ <td>substitution</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>substitution is the string used to replace the OriginalValue[start:end). </p></td>
</tr>
</tbody>
@@ -23681,7 +23368,7 @@ The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
- <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry">DataClassificationSetting.DataClassificationConfig.ClassificationEntry</h3>
+ <h3 id="bytebase.v1.SMTPMailDeliverySettingValue">SMTPMailDeliverySettingValue</h3>
<p></p>
@@ -23692,100 +23379,81 @@ The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
<tbody>
<tr>
- <td>key</td>
+ <td>server</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The SMTP server address. </p></td>
</tr>
<tr>
- <td>value</td>
- <td><a href="#bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification">DataClassificationSetting.DataClassificationConfig.DataClassification</a></td>
+ <td>port</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The SMTP server port. </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification">DataClassificationSetting.DataClassificationConfig.DataClassification</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
<tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
+ <td>encryption</td>
+ <td><a href="#bytebase.v1.SMTPMailDeliverySettingValue.Encryption">SMTPMailDeliverySettingValue.Encryption</a></td>
<td></td>
- <td><p>id is the classification id in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
+ <td><p>The SMTP server encryption. </p></td>
</tr>
<tr>
- <td>title</td>
+ <td>ca</td>
<td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
+ <td>optional</td>
+ <td><p>The CA, KEY, and CERT for the SMTP server.
+Not used. </p></td>
</tr>
<tr>
- <td>description</td>
+ <td>key</td>
<td><a href="#string">string</a></td>
- <td></td>
+ <td>optional</td>
<td><p> </p></td>
</tr>
<tr>
- <td>level_id</td>
+ <td>cert</td>
<td><a href="#string">string</a></td>
<td>optional</td>
<td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level">DataClassificationSetting.DataClassificationConfig.Level</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>authentication</td>
+ <td><a href="#bytebase.v1.SMTPMailDeliverySettingValue.Authentication">SMTPMailDeliverySettingValue.Authentication</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
<tr>
- <td>id</td>
+ <td>username</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>title</td>
+ <td>password</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p>If not specified, server will use the existed password. </p></td>
+ </tr>
+
+ <tr>
+ <td>from</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The sender email address. </p></td>
</tr>
<tr>
- <td>description</td>
+ <td>to</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The recipient email address, used with validate_only to send test email. </p></td>
</tr>
</tbody>
@@ -23795,7 +23463,7 @@ The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
- <h3 id="bytebase.v1.ExternalApprovalSetting">ExternalApprovalSetting</h3>
+ <h3 id="bytebase.v1.SchemaTemplateSetting">SchemaTemplateSetting</h3>
<p></p>
@@ -23806,8 +23474,22 @@ The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
<tbody>
<tr>
- <td>nodes</td>
- <td><a href="#bytebase.v1.ExternalApprovalSetting.Node">ExternalApprovalSetting.Node</a></td>
+ <td>field_templates</td>
+ <td><a href="#bytebase.v1.SchemaTemplateSetting.FieldTemplate">SchemaTemplateSetting.FieldTemplate</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>column_types</td>
+ <td><a href="#bytebase.v1.SchemaTemplateSetting.ColumnType">SchemaTemplateSetting.ColumnType</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>table_templates</td>
+ <td><a href="#bytebase.v1.SchemaTemplateSetting.TableTemplate">SchemaTemplateSetting.TableTemplate</a></td>
<td>repeated</td>
<td><p> </p></td>
</tr>
@@ -23819,7 +23501,7 @@ The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
- <h3 id="bytebase.v1.ExternalApprovalSetting.Node">ExternalApprovalSetting.Node</h3>
+ <h3 id="bytebase.v1.SchemaTemplateSetting.ColumnType">SchemaTemplateSetting.ColumnType</h3>
<p></p>
@@ -23830,25 +23512,24 @@ The id should in [0-9]&#43;-[0-9]&#43;-[0-9]&#43; format. </p></td>
<tbody>
<tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
+ <td>engine</td>
+ <td><a href="#bytebase.v1.Engine">Engine</a></td>
<td></td>
- <td><p>A unique identifier for a node in UUID format.
-We will also include the id in the message sending to the external relay service to identify the node. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
+ <td>enabled</td>
+ <td><a href="#bool">bool</a></td>
<td></td>
- <td><p>The title of the node. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>endpoint</td>
+ <td>types</td>
<td><a href="#string">string</a></td>
- <td></td>
- <td><p>The external endpoint for the relay service, e.g. &#34;http://hello:1234&#34;. </p></td>
+ <td>repeated</td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -23858,8 +23539,8 @@ We will also include the id in the message sending to the external relay service
- <h3 id="bytebase.v1.GetSettingRequest">GetSettingRequest</h3>
- <p>The request message for getting a setting.</p>
+ <h3 id="bytebase.v1.SchemaTemplateSetting.FieldTemplate">SchemaTemplateSetting.FieldTemplate</h3>
+ <p></p>
<table class="field-table">
@@ -23869,72 +23550,38 @@ We will also include the id in the message sending to the external relay service
<tbody>
<tr>
- <td>name</td>
+ <td>id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The resource name of the setting. </p></td>
+ <td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.GetSettingResponse">GetSettingResponse</h3>
- <p>The response message for getting a setting.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
<tr>
- <td>setting</td>
- <td><a href="#bytebase.v1.Setting">Setting</a></td>
+ <td>engine</td>
+ <td><a href="#bytebase.v1.Engine">Engine</a></td>
<td></td>
<td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ListSettingsRequest">ListSettingsRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>category</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
<tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
+ <td>column</td>
+ <td><a href="#bytebase.v1.ColumnMetadata">ColumnMetadata</a></td>
<td></td>
- <td><p>The maximum number of settings to return. The service may return fewer than
-this value.
-If unspecified, at most 50 settings will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>page_token</td>
- <td><a href="#string">string</a></td>
+ <td>config</td>
+ <td><a href="#bytebase.v1.ColumnConfig">ColumnConfig</a></td>
<td></td>
- <td><p>A page token, received from a previous `ListSettings` call.
-Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListSettings` must match
-the call that provided the page token. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -23944,7 +23591,7 @@ the call that provided the page token. </p></td>
- <h3 id="bytebase.v1.ListSettingsResponse">ListSettingsResponse</h3>
+ <h3 id="bytebase.v1.SchemaTemplateSetting.TableTemplate">SchemaTemplateSetting.TableTemplate</h3>
<p></p>
@@ -23955,18 +23602,38 @@ the call that provided the page token. </p></td>
<tbody>
<tr>
- <td>settings</td>
- <td><a href="#bytebase.v1.Setting">Setting</a></td>
- <td>repeated</td>
- <td><p>The settings from the specified request. </p></td>
+ <td>id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>engine</td>
+ <td><a href="#bytebase.v1.Engine">Engine</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>category</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>next_page_token</td>
- <td><a href="#string">string</a></td>
+ <td>table</td>
+ <td><a href="#bytebase.v1.TableMetadata">TableMetadata</a></td>
<td></td>
- <td><p>A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>config</td>
+ <td><a href="#bytebase.v1.TableConfig">TableConfig</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -23976,7 +23643,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.MaskingAlgorithmSetting">MaskingAlgorithmSetting</h3>
+ <h3 id="bytebase.v1.SemanticTypeSetting">SemanticTypeSetting</h3>
<p></p>
@@ -23987,10 +23654,10 @@ If this field is omitted, there are no subsequent pages. </p></td>
<tbody>
<tr>
- <td>algorithms</td>
- <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm">MaskingAlgorithmSetting.Algorithm</a></td>
+ <td>types</td>
+ <td><a href="#bytebase.v1.SemanticTypeSetting.SemanticType">SemanticTypeSetting.SemanticType</a></td>
<td>repeated</td>
- <td><p>algorithms is the list of masking algorithms. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -24000,7 +23667,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm">MaskingAlgorithmSetting.Algorithm</h3>
+ <h3 id="bytebase.v1.SemanticTypeSetting.SemanticType">SemanticTypeSetting.SemanticType</h3>
<p></p>
@@ -24014,52 +23681,35 @@ If this field is omitted, there are no subsequent pages. </p></td>
<td>id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>id is the uuid for masking algorithm. </p></td>
+ <td><p>id is the uuid for semantic type. </p></td>
</tr>
<tr>
<td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>title is the title for masking algorithm. </p></td>
+ <td><p>the title of the semantic type, it should not be empty. </p></td>
</tr>
<tr>
<td>description</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>description is the description for masking algorithm. </p></td>
+ <td><p>the description of the semantic type, it can be empty. </p></td>
</tr>
<tr>
- <td>category</td>
+ <td>partial_mask_algorithm_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>Category is the category for masking algorithm. Currently, it accepts 2 categories only: MASK and HASH.
-The range of accepted Payload is decided by the category.
-MASK: FullMask, RangeMask
-HASH: MD5Mask </p></td>
- </tr>
-
- <tr>
- <td>full_mask</td>
- <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.FullMask">MaskingAlgorithmSetting.Algorithm.FullMask</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>range_mask</td>
- <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask">MaskingAlgorithmSetting.Algorithm.RangeMask</a></td>
- <td></td>
- <td><p> </p></td>
+ <td><p>the partial mask algorithm id for the semantic type, if it is empty, should use the default partial mask algorithm. </p></td>
</tr>
<tr>
- <td>md5_mask</td>
- <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.MD5Mask">MaskingAlgorithmSetting.Algorithm.MD5Mask</a></td>
+ <td>full_mask_algorithm_id</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>the full mask algorithm id for the semantic type, if it is empty, should use the default full mask algorithm. </p></td>
</tr>
</tbody>
@@ -24069,8 +23719,8 @@ HASH: MD5Mask </p></td>
- <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.FullMask">MaskingAlgorithmSetting.Algorithm.FullMask</h3>
- <p></p>
+ <h3 id="bytebase.v1.Setting">Setting</h3>
+ <p>The schema of setting.</p>
<table class="field-table">
@@ -24080,11 +23730,20 @@ HASH: MD5Mask </p></td>
<tbody>
<tr>
- <td>substitution</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>substitution is the string used to replace the original value, the
-max length of the string is 16 bytes. </p></td>
+ <td><p>The resource name of the setting. Must be one of the following forms:
+
+- `setting/{setting_name}`
+For example, &#34;settings/bb.branding.logo&#34; </p></td>
+ </tr>
+
+ <tr>
+ <td>value</td>
+ <td><a href="#bytebase.v1.Value">Value</a></td>
+ <td></td>
+ <td><p>The value of the setting. </p></td>
</tr>
</tbody>
@@ -24094,8 +23753,8 @@ max length of the string is 16 bytes. </p></td>
- <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.MD5Mask">MaskingAlgorithmSetting.Algorithm.MD5Mask</h3>
- <p></p>
+ <h3 id="bytebase.v1.UpdateSettingRequest">UpdateSettingRequest</h3>
+ <p>The request message for updating or creating a setting.</p>
<table class="field-table">
@@ -24105,10 +23764,25 @@ max length of the string is 16 bytes. </p></td>
<tbody>
<tr>
- <td>salt</td>
- <td><a href="#string">string</a></td>
+ <td>setting</td>
+ <td><a href="#bytebase.v1.Setting">Setting</a></td>
<td></td>
- <td><p>salt is the salt value to generate a different hash that with the word alone. </p></td>
+ <td><p>The setting to update. </p></td>
+ </tr>
+
+ <tr>
+ <td>validate_only</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>validate_only is a flag to indicate whether to validate the setting value,
+server would not persist the setting value if it is true. </p></td>
+ </tr>
+
+ <tr>
+ <td>allow_missing</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -24118,8 +23792,8 @@ max length of the string is 16 bytes. </p></td>
- <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask">MaskingAlgorithmSetting.Algorithm.RangeMask</h3>
- <p></p>
+ <h3 id="bytebase.v1.Value">Value</h3>
+ <p>The data in setting value.</p>
<table class="field-table">
@@ -24129,11 +23803,87 @@ max length of the string is 16 bytes. </p></td>
<tbody>
<tr>
- <td>slices</td>
- <td><a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice">MaskingAlgorithmSetting.Algorithm.RangeMask.Slice</a></td>
- <td>repeated</td>
- <td><p>We store it as a repeated field to face the fact that the original value may have multiple parts should be masked.
-But frontend can be started with a single rule easily. </p></td>
+ <td>string_value</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Defines this value as being a string value. </p></td>
+ </tr>
+
+ <tr>
+ <td>smtp_mail_delivery_setting_value</td>
+ <td><a href="#bytebase.v1.SMTPMailDeliverySettingValue">SMTPMailDeliverySettingValue</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>app_im_setting_value</td>
+ <td><a href="#bytebase.v1.AppIMSetting">AppIMSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>agent_plugin_setting_value</td>
+ <td><a href="#bytebase.v1.AgentPluginSetting">AgentPluginSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>workspace_profile_setting_value</td>
+ <td><a href="#bytebase.v1.WorkspaceProfileSetting">WorkspaceProfileSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>workspace_approval_setting_value</td>
+ <td><a href="#bytebase.v1.WorkspaceApprovalSetting">WorkspaceApprovalSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>workspace_trial_setting_value</td>
+ <td><a href="#bytebase.v1.WorkspaceTrialSetting">WorkspaceTrialSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>external_approval_setting_value</td>
+ <td><a href="#bytebase.v1.ExternalApprovalSetting">ExternalApprovalSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>schema_template_setting_value</td>
+ <td><a href="#bytebase.v1.SchemaTemplateSetting">SchemaTemplateSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>data_classification_setting_value</td>
+ <td><a href="#bytebase.v1.DataClassificationSetting">DataClassificationSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>semantic_type_setting_value</td>
+ <td><a href="#bytebase.v1.SemanticTypeSetting">SemanticTypeSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>masking_algorithm_setting_value</td>
+ <td><a href="#bytebase.v1.MaskingAlgorithmSetting">MaskingAlgorithmSetting</a></td>
+ <td></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -24143,7 +23893,7 @@ But frontend can be started with a single rule easily. </p></td>
- <h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice">MaskingAlgorithmSetting.Algorithm.RangeMask.Slice</h3>
+ <h3 id="bytebase.v1.WorkspaceApprovalSetting">WorkspaceApprovalSetting</h3>
<p></p>
@@ -24154,24 +23904,10 @@ But frontend can be started with a single rule easily. </p></td>
<tbody>
<tr>
- <td>start</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>start is the start index of the original value, start from 0 and should be less than stop. </p></td>
- </tr>
-
- <tr>
- <td>end</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>stop is the stop index of the original value, should be less than the length of the original value. </p></td>
- </tr>
-
- <tr>
- <td>substitution</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>substitution is the string used to replace the OriginalValue[start:end). </p></td>
+ <td>rules</td>
+ <td><a href="#bytebase.v1.WorkspaceApprovalSetting.Rule">WorkspaceApprovalSetting.Rule</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -24181,7 +23917,7 @@ But frontend can be started with a single rule easily. </p></td>
- <h3 id="bytebase.v1.SMTPMailDeliverySettingValue">SMTPMailDeliverySettingValue</h3>
+ <h3 id="bytebase.v1.WorkspaceApprovalSetting.Rule">WorkspaceApprovalSetting.Rule</h3>
<p></p>
@@ -24192,81 +23928,87 @@ But frontend can be started with a single rule easily. </p></td>
<tbody>
<tr>
- <td>server</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The SMTP server address. </p></td>
- </tr>
-
- <tr>
- <td>port</td>
- <td><a href="#int32">int32</a></td>
+ <td>template</td>
+ <td><a href="#bytebase.v1.ApprovalTemplate">ApprovalTemplate</a></td>
<td></td>
- <td><p>The SMTP server port. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>encryption</td>
- <td><a href="#bytebase.v1.SMTPMailDeliverySettingValue.Encryption">SMTPMailDeliverySettingValue.Encryption</a></td>
+ <td>condition</td>
+ <td><a href="#google.type.Expr">google.type.Expr</a></td>
<td></td>
- <td><p>The SMTP server encryption. </p></td>
- </tr>
-
- <tr>
- <td>ca</td>
- <td><a href="#string">string</a></td>
- <td>optional</td>
- <td><p>The CA, KEY, and CERT for the SMTP server.
-Not used. </p></td>
+ <td><p> </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.WorkspaceProfileSetting">WorkspaceProfileSetting</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>key</td>
+ <td>external_url</td>
<td><a href="#string">string</a></td>
- <td>optional</td>
- <td><p> </p></td>
+ <td></td>
+ <td><p>The URL user visits Bytebase.
+
+The external URL is used for:
+1. Constructing the correct callback URL when configuring the VCS provider. The callback URL points to the frontend.
+2. Creating the correct webhook endpoint when configuring the project GitOps workflow. The webhook endpoint points to the backend. </p></td>
</tr>
<tr>
- <td>cert</td>
- <td><a href="#string">string</a></td>
- <td>optional</td>
- <td><p> </p></td>
+ <td>disallow_signup</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>Disallow self-service signup, users can only be invited by the owner. </p></td>
</tr>
<tr>
- <td>authentication</td>
- <td><a href="#bytebase.v1.SMTPMailDeliverySettingValue.Authentication">SMTPMailDeliverySettingValue.Authentication</a></td>
+ <td>require_2fa</td>
+ <td><a href="#bool">bool</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>Require 2FA for all users. </p></td>
</tr>
<tr>
- <td>username</td>
+ <td>outbound_ip_list</td>
<td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
+ <td>repeated</td>
+ <td><p>outbound_ip_list is the outbound IP for Bytebase instance in SaaS mode. </p></td>
</tr>
<tr>
- <td>password</td>
+ <td>gitops_webhook_url</td>
<td><a href="#string">string</a></td>
- <td>optional</td>
- <td><p>If not specified, server will use the existed password. </p></td>
+ <td></td>
+ <td><p>The webhook URL for the GitOps workflow. </p></td>
</tr>
<tr>
- <td>from</td>
- <td><a href="#string">string</a></td>
+ <td>token_duration</td>
+ <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
<td></td>
- <td><p>The sender email address. </p></td>
+ <td><p>The duration for token. </p></td>
</tr>
<tr>
- <td>to</td>
- <td><a href="#string">string</a></td>
+ <td>announcement</td>
+ <td><a href="#bytebase.v1.Announcement">Announcement</a></td>
<td></td>
- <td><p>The recipient email address, used with validate_only to send test email. </p></td>
+ <td><p>The setting of custom announcement </p></td>
</tr>
</tbody>
@@ -24276,7 +24018,7 @@ Not used. </p></td>
- <h3 id="bytebase.v1.SchemaTemplateSetting">SchemaTemplateSetting</h3>
+ <h3 id="bytebase.v1.WorkspaceTrialSetting">WorkspaceTrialSetting</h3>
<p></p>
@@ -24287,61 +24029,44 @@ Not used. </p></td>
<tbody>
<tr>
- <td>field_templates</td>
- <td><a href="#bytebase.v1.SchemaTemplateSetting.FieldTemplate">SchemaTemplateSetting.FieldTemplate</a></td>
- <td>repeated</td>
+ <td>instance_count</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>column_types</td>
- <td><a href="#bytebase.v1.SchemaTemplateSetting.ColumnType">SchemaTemplateSetting.ColumnType</a></td>
- <td>repeated</td>
+ <td>expire_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>table_templates</td>
- <td><a href="#bytebase.v1.SchemaTemplateSetting.TableTemplate">SchemaTemplateSetting.TableTemplate</a></td>
- <td>repeated</td>
+ <td>issued_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
<td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SchemaTemplateSetting.ColumnType">SchemaTemplateSetting.ColumnType</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
<tr>
- <td>engine</td>
- <td><a href="#bytebase.v1.Engine">Engine</a></td>
+ <td>subject</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>enabled</td>
- <td><a href="#bool">bool</a></td>
+ <td>org_name</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>types</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
+ <td>plan</td>
+ <td><a href="#bytebase.v1.PlanType">PlanType</a></td>
+ <td></td>
<td><p> </p></td>
</tr>
@@ -24350,137 +24075,238 @@ Not used. </p></td>
-
+
+
+
+
+ <h3 id="bytebase.v1.Announcement.AlertLevel">Announcement.AlertLevel</h3>
+ <p>We support three levels of AlertLevel: INFO, WARNING, and ERROR.</p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>ALERT_LEVEL_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ALERT_LEVEL_INFO</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ALERT_LEVEL_WARNING</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ALERT_LEVEL_CRITICAL</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.AppIMSetting.IMType">AppIMSetting.IMType</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>IM_TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>FEISHU</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.SMTPMailDeliverySettingValue.Authentication">SMTPMailDeliverySettingValue.Authentication</h3>
+ <p>We support four types of SMTP authentication: NONE, PLAIN, LOGIN, and CRAM-MD5.</p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>AUTHENTICATION_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>AUTHENTICATION_NONE</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>AUTHENTICATION_PLAIN</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>AUTHENTICATION_LOGIN</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>AUTHENTICATION_CRAM_MD5</td>
+ <td>4</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.SMTPMailDeliverySettingValue.Encryption">SMTPMailDeliverySettingValue.Encryption</h3>
+ <p>We support three types of SMTP encryption: NONE, STARTTLS, and SSL/TLS.</p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>ENCRYPTION_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ENCRYPTION_NONE</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ENCRYPTION_STARTTLS</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ENCRYPTION_SSL_TLS</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
- <h3 id="bytebase.v1.SchemaTemplateSetting.FieldTemplate">SchemaTemplateSetting.FieldTemplate</h3>
+ <h3 id="bytebase.v1.SettingService">SettingService</h3>
<p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>ListSettings</td>
+ <td><a href="#bytebase.v1.ListSettingsRequest">ListSettingsRequest</a></td>
+ <td><a href="#bytebase.v1.ListSettingsResponse">ListSettingsResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>GetSetting</td>
+ <td><a href="#bytebase.v1.GetSettingRequest">GetSettingRequest</a></td>
+ <td><a href="#bytebase.v1.Setting">Setting</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>UpdateSetting</td>
+ <td><a href="#bytebase.v1.UpdateSettingRequest">UpdateSettingRequest</a></td>
+ <td><a href="#bytebase.v1.Setting">Setting</a></td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
- <table class="field-table">
+
+
+ <h4>Methods with HTTP bindings</h4>
+ <table>
<thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ <tr>
+ <td>Method Name</td>
+ <td>Method</td>
+ <td>Pattern</td>
+ <td>Body</td>
+ </tr>
</thead>
<tbody>
+
- <tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>engine</td>
- <td><a href="#bytebase.v1.Engine">Engine</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>category</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>column</td>
- <td><a href="#bytebase.v1.ColumnMetadata">ColumnMetadata</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
- <tr>
- <td>config</td>
- <td><a href="#bytebase.v1.ColumnConfig">ColumnConfig</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+ <tr>
+ <td>ListSettings</td>
+ <td>GET</td>
+ <td>/v1/settings</td>
+ <td></td>
+ </tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SchemaTemplateSetting.TableTemplate">SchemaTemplateSetting.TableTemplate</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+
- <tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
- <tr>
- <td>engine</td>
- <td><a href="#bytebase.v1.Engine">Engine</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+ <tr>
+ <td>GetSetting</td>
+ <td>GET</td>
+ <td>/v1/{name=settings/*}</td>
+ <td></td>
+ </tr>
- <tr>
- <td>category</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+
- <tr>
- <td>table</td>
- <td><a href="#bytebase.v1.TableMetadata">TableMetadata</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
- <tr>
- <td>config</td>
- <td><a href="#bytebase.v1.TableConfig">TableConfig</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+ <tr>
+ <td>UpdateSetting</td>
+ <td>PATCH</td>
+ <td>/v1/{setting.name=settings/*}</td>
+ <td>setting</td>
+ </tr>
+
</tbody>
</table>
-
-
+
- <h3 id="bytebase.v1.SemanticTypeSetting">SemanticTypeSetting</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>types</td>
- <td><a href="#bytebase.v1.SemanticTypeSetting.SemanticType">SemanticTypeSetting.SemanticType</a></td>
- <td>repeated</td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
+ <div class="file-heading">
+ <h2 id="v1/sheet_service.proto">v1/sheet_service.proto</h2><a href="#title">Top</a>
+ </div>
+ <p></p>
-
- <h3 id="bytebase.v1.SemanticTypeSetting.SemanticType">SemanticTypeSetting.SemanticType</h3>
+ <h3 id="bytebase.v1.CreateSheetRequest">CreateSheetRequest</h3>
<p></p>
@@ -24491,38 +24317,18 @@ Not used. </p></td>
<tbody>
<tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>id is the uuid for semantic type. </p></td>
- </tr>
-
- <tr>
- <td>title</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>the title of the semantic type, it should not be empty. </p></td>
- </tr>
-
- <tr>
- <td>description</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>the description of the semantic type, it can be empty. </p></td>
- </tr>
-
- <tr>
- <td>partial_mask_algorithm_id</td>
+ <td>parent</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>the partial mask algorithm id for the semantic type, if it is empty, should use the default partial mask algorithm. </p></td>
+ <td><p>The parent resource where this sheet will be created.
+Format: projects/{project} </p></td>
</tr>
<tr>
- <td>full_mask_algorithm_id</td>
- <td><a href="#string">string</a></td>
+ <td>sheet</td>
+ <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
<td></td>
- <td><p>the full mask algorithm id for the semantic type, if it is empty, should use the default full mask algorithm. </p></td>
+ <td><p>The sheet to create. </p></td>
</tr>
</tbody>
@@ -24532,8 +24338,8 @@ Not used. </p></td>
- <h3 id="bytebase.v1.Setting">Setting</h3>
- <p>The schema of setting.</p>
+ <h3 id="bytebase.v1.GetSheetRequest">GetSheetRequest</h3>
+ <p></p>
<table class="field-table">
@@ -24546,56 +24352,15 @@ Not used. </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The resource name of the setting. Must be one of the following forms:
-
-- `setting/{setting_name}`
-For example, &#34;settings/bb.branding.logo&#34; </p></td>
- </tr>
-
- <tr>
- <td>value</td>
- <td><a href="#bytebase.v1.Value">Value</a></td>
- <td></td>
- <td><p>The value of the setting. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.UpdateSettingRequest">UpdateSettingRequest</h3>
- <p>The request message for updating or creating a setting.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>setting</td>
- <td><a href="#bytebase.v1.Setting">Setting</a></td>
- <td></td>
- <td><p>The setting to update. </p></td>
- </tr>
-
- <tr>
- <td>validate_only</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>validate_only is a flag to indicate whether to validate the setting value,
-server would not persist the setting value if it is true. </p></td>
+ <td><p>The name of the sheet to retrieve.
+Format: projects/{project}/sheets/{sheet} </p></td>
</tr>
<tr>
- <td>allow_missing</td>
+ <td>raw</td>
<td><a href="#bool">bool</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>By default, the content of the sheet is cut off, set the `raw` to true to retrieve the full content. </p></td>
</tr>
</tbody>
@@ -24605,8 +24370,8 @@ server would not persist the setting value if it is true. </p></td>
- <h3 id="bytebase.v1.Value">Value</h3>
- <p>The data in setting value.</p>
+ <h3 id="bytebase.v1.Sheet">Sheet</h3>
+ <p></p>
<table class="field-table">
@@ -24616,85 +24381,78 @@ server would not persist the setting value if it is true. </p></td>
<tbody>
<tr>
- <td>string_value</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>Defines this value as being a string value. </p></td>
- </tr>
-
- <tr>
- <td>smtp_mail_delivery_setting_value</td>
- <td><a href="#bytebase.v1.SMTPMailDeliverySettingValue">SMTPMailDeliverySettingValue</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>app_im_setting_value</td>
- <td><a href="#bytebase.v1.AppIMSetting">AppIMSetting</a></td>
- <td></td>
- <td><p> </p></td>
+ <td><p>The name of the sheet resource, generated by the server.
+Canonical parent is project.
+Format: projects/{project}/sheets/{sheet} </p></td>
</tr>
<tr>
- <td>agent_plugin_setting_value</td>
- <td><a href="#bytebase.v1.AgentPluginSetting">AgentPluginSetting</a></td>
+ <td>database</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The database resource name.
+Format: instances/{instance}/databases/{database}
+If the database parent doesn&#39;t exist, the database field is empty. </p></td>
</tr>
<tr>
- <td>workspace_profile_setting_value</td>
- <td><a href="#bytebase.v1.WorkspaceProfileSetting">WorkspaceProfileSetting</a></td>
+ <td>title</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The title of the sheet. </p></td>
</tr>
<tr>
- <td>workspace_approval_setting_value</td>
- <td><a href="#bytebase.v1.WorkspaceApprovalSetting">WorkspaceApprovalSetting</a></td>
+ <td>creator</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The creator of the Sheet.
+Format: users/{email} </p></td>
</tr>
<tr>
- <td>workspace_trial_setting_value</td>
- <td><a href="#bytebase.v1.WorkspaceTrialSetting">WorkspaceTrialSetting</a></td>
+ <td>create_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The create time of the sheet. </p></td>
</tr>
<tr>
- <td>external_approval_setting_value</td>
- <td><a href="#bytebase.v1.ExternalApprovalSetting">ExternalApprovalSetting</a></td>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The last update time of the sheet. </p></td>
</tr>
<tr>
- <td>schema_template_setting_value</td>
- <td><a href="#bytebase.v1.SchemaTemplateSetting">SchemaTemplateSetting</a></td>
+ <td>content</td>
+ <td><a href="#bytes">bytes</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The content of the sheet.
+By default, it will be cut off, if it doesn&#39;t match the `content_size`, you can
+set the `raw` to true in GetSheet request to retrieve the full content. </p></td>
</tr>
<tr>
- <td>data_classification_setting_value</td>
- <td><a href="#bytebase.v1.DataClassificationSetting">DataClassificationSetting</a></td>
+ <td>content_size</td>
+ <td><a href="#int64">int64</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>content_size is the full size of the content, may not match the size of the `content` field. </p></td>
</tr>
<tr>
- <td>semantic_type_setting_value</td>
- <td><a href="#bytebase.v1.SemanticTypeSetting">SemanticTypeSetting</a></td>
+ <td>payload</td>
+ <td><a href="#bytebase.v1.SheetPayload">SheetPayload</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>masking_algorithm_setting_value</td>
- <td><a href="#bytebase.v1.MaskingAlgorithmSetting">MaskingAlgorithmSetting</a></td>
+ <td>push_event</td>
+ <td><a href="#bytebase.v1.PushEvent">PushEvent</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -24706,7 +24464,7 @@ server would not persist the setting value if it is true. </p></td>
- <h3 id="bytebase.v1.WorkspaceApprovalSetting">WorkspaceApprovalSetting</h3>
+ <h3 id="bytebase.v1.SheetPayload">SheetPayload</h3>
<p></p>
@@ -24717,12 +24475,26 @@ server would not persist the setting value if it is true. </p></td>
<tbody>
<tr>
- <td>rules</td>
- <td><a href="#bytebase.v1.WorkspaceApprovalSetting.Rule">WorkspaceApprovalSetting.Rule</a></td>
- <td>repeated</td>
+ <td>type</td>
+ <td><a href="#bytebase.v1.SheetPayload.Type">SheetPayload.Type</a></td>
+ <td></td>
<td><p> </p></td>
</tr>
+ <tr>
+ <td>database_config</td>
+ <td><a href="#bytebase.v1.DatabaseConfig">DatabaseConfig</a></td>
+ <td></td>
+ <td><p>The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. </p></td>
+ </tr>
+
+ <tr>
+ <td>baseline_database_config</td>
+ <td><a href="#bytebase.v1.DatabaseConfig">DatabaseConfig</a></td>
+ <td></td>
+ <td><p>The snapshot of the baseline database config when creating the sheet. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -24730,7 +24502,7 @@ server would not persist the setting value if it is true. </p></td>
- <h3 id="bytebase.v1.WorkspaceApprovalSetting.Rule">WorkspaceApprovalSetting.Rule</h3>
+ <h3 id="bytebase.v1.UpdateSheetRequest">UpdateSheetRequest</h3>
<p></p>
@@ -24741,17 +24513,25 @@ server would not persist the setting value if it is true. </p></td>
<tbody>
<tr>
- <td>template</td>
- <td><a href="#bytebase.v1.ApprovalTemplate">ApprovalTemplate</a></td>
+ <td>sheet</td>
+ <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The sheet to update.
+
+The sheet&#39;s `name` field is used to identify the sheet to update.
+Format: projects/{project}/sheets/{sheet} </p></td>
</tr>
<tr>
- <td>condition</td>
- <td><a href="#google.type.Expr">google.type.Expr</a></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The list of fields to be updated.
+Fields are specified relative to the sheet.
+(e.g. `title`, `statement`; *not* `sheet.title` or `sheet.statement`)
+Only support update the following fields for now:
+- `title`
+- `statement` </p></td>
</tr>
</tbody>
@@ -24761,7 +24541,125 @@ server would not persist the setting value if it is true. </p></td>
- <h3 id="bytebase.v1.WorkspaceProfileSetting">WorkspaceProfileSetting</h3>
+
+
+ <h3 id="bytebase.v1.SheetPayload.Type">SheetPayload.Type</h3>
+ <p>Type of the SheetPayload.</p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>SCHEMA_DESIGN</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.SheetService">SheetService</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>CreateSheet</td>
+ <td><a href="#bytebase.v1.CreateSheetRequest">CreateSheetRequest</a></td>
+ <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>GetSheet</td>
+ <td><a href="#bytebase.v1.GetSheetRequest">GetSheetRequest</a></td>
+ <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>UpdateSheet</td>
+ <td><a href="#bytebase.v1.UpdateSheetRequest">UpdateSheetRequest</a></td>
+ <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+ <h4>Methods with HTTP bindings</h4>
+ <table>
+ <thead>
+ <tr>
+ <td>Method Name</td>
+ <td>Method</td>
+ <td>Pattern</td>
+ <td>Body</td>
+ </tr>
+ </thead>
+ <tbody>
+
+
+
+ <tr>
+ <td>CreateSheet</td>
+ <td>POST</td>
+ <td>/v1/{parent=projects/*}/sheets</td>
+ <td>sheet</td>
+ </tr>
+
+
+
+
+ <tr>
+ <td>GetSheet</td>
+ <td>GET</td>
+ <td>/v1/{name=projects/*/sheets/*}</td>
+ <td></td>
+ </tr>
+
+
+
+
+ <tr>
+ <td>UpdateSheet</td>
+ <td>PATCH</td>
+ <td>/v1/{sheet.name=projects/*/sheets/*}</td>
+ <td>sheet</td>
+ </tr>
+
+
+ </tbody>
+ </table>
+
+
+
+
+ <div class="file-heading">
+ <h2 id="v1/sql_service.proto">v1/sql_service.proto</h2><a href="#title">Top</a>
+ </div>
+ <p></p>
+
+
+ <h3 id="bytebase.v1.AdminExecuteRequest">AdminExecuteRequest</h3>
<p></p>
@@ -24772,56 +24670,84 @@ server would not persist the setting value if it is true. </p></td>
<tbody>
<tr>
- <td>external_url</td>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name is the instance name to execute the query against.
+Format: instances/{instance}/databases/{databaseName} </p></td>
+ </tr>
+
+ <tr>
+ <td>connection_database</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The URL user visits Bytebase.
-
-The external URL is used for:
-1. Constructing the correct callback URL when configuring the VCS provider. The callback URL points to the frontend.
-2. Creating the correct webhook endpoint when configuring the project GitOps workflow. The webhook endpoint points to the backend. </p></td>
+ <td><p><strong>Deprecated.</strong> </p></td>
</tr>
<tr>
- <td>disallow_signup</td>
- <td><a href="#bool">bool</a></td>
+ <td>statement</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>Disallow self-service signup, users can only be invited by the owner. </p></td>
+ <td><p>The SQL statement to execute. </p></td>
</tr>
<tr>
- <td>require_2fa</td>
- <td><a href="#bool">bool</a></td>
+ <td>limit</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p>Require 2FA for all users. </p></td>
+ <td><p>The maximum number of rows to return. </p></td>
</tr>
<tr>
- <td>outbound_ip_list</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>outbound_ip_list is the outbound IP for Bytebase instance in SaaS mode. </p></td>
+ <td>timeout</td>
+ <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
+ <td></td>
+ <td><p>The timeout for the request. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+ <h4>Fields with deprecated option</h4>
+ <table>
+ <thead>
<tr>
- <td>gitops_webhook_url</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The webhook URL for the GitOps workflow. </p></td>
+ <td>Name</td>
+ <td>Option</td>
</tr>
+ </thead>
+ <tbody>
<tr>
- <td>token_duration</td>
- <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
- <td></td>
- <td><p>The duration for token. </p></td>
+ <td>connection_database</td>
+ <td><p>true</p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.AdminExecuteResponse">AdminExecuteResponse</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>announcement</td>
- <td><a href="#bytebase.v1.Announcement">Announcement</a></td>
- <td></td>
- <td><p>The setting of custom announcement </p></td>
+ <td>results</td>
+ <td><a href="#bytebase.v1.QueryResult">QueryResult</a></td>
+ <td>repeated</td>
+ <td><p>The query results. </p></td>
</tr>
</tbody>
@@ -24831,7 +24757,7 @@ The external URL is used for:
- <h3 id="bytebase.v1.WorkspaceTrialSetting">WorkspaceTrialSetting</h3>
+ <h3 id="bytebase.v1.Advice">Advice</h3>
<p></p>
@@ -24842,284 +24768,133 @@ The external URL is used for:
<tbody>
<tr>
- <td>instance_count</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>expire_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>status</td>
+ <td><a href="#bytebase.v1.Advice.Status">Advice.Status</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The advice status. </p></td>
</tr>
<tr>
- <td>issued_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>code</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The advice code. </p></td>
</tr>
<tr>
- <td>subject</td>
+ <td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The advice title. </p></td>
</tr>
<tr>
- <td>org_name</td>
+ <td>content</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The advice content. </p></td>
</tr>
<tr>
- <td>plan</td>
- <td><a href="#bytebase.v1.PlanType">PlanType</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
-
-
- <h3 id="bytebase.v1.Announcement.AlertLevel">Announcement.AlertLevel</h3>
- <p>We support three levels of AlertLevel: INFO, WARNING, and ERROR.</p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>ALERT_LEVEL_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ALERT_LEVEL_INFO</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ALERT_LEVEL_WARNING</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ALERT_LEVEL_CRITICAL</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.AppIMSetting.IMType">AppIMSetting.IMType</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>IM_TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>FEISHU</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.SMTPMailDeliverySettingValue.Authentication">SMTPMailDeliverySettingValue.Authentication</h3>
- <p>We support four types of SMTP authentication: NONE, PLAIN, LOGIN, and CRAM-MD5.</p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>AUTHENTICATION_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>AUTHENTICATION_NONE</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>AUTHENTICATION_PLAIN</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>AUTHENTICATION_LOGIN</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>AUTHENTICATION_CRAM_MD5</td>
- <td>4</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.SMTPMailDeliverySettingValue.Encryption">SMTPMailDeliverySettingValue.Encryption</h3>
- <p>We support three types of SMTP encryption: NONE, STARTTLS, and SSL/TLS.</p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>ENCRYPTION_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ENCRYPTION_NONE</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ENCRYPTION_STARTTLS</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ENCRYPTION_SSL_TLS</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
+ <td>line</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p>The advice line number in the SQL statement. </p></td>
+ </tr>
+
+ <tr>
+ <td>column</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p>The advice column number in the SQL statement. </p></td>
+ </tr>
+
+ <tr>
+ <td>detail</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The advice detail. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
-
+
+
- <h3 id="bytebase.v1.SettingService">SettingService</h3>
+ <h3 id="bytebase.v1.CheckRequest">CheckRequest</h3>
<p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>ListSettings</td>
- <td><a href="#bytebase.v1.ListSettingsRequest">ListSettingsRequest</a></td>
- <td><a href="#bytebase.v1.ListSettingsResponse">ListSettingsResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>GetSetting</td>
- <td><a href="#bytebase.v1.GetSettingRequest">GetSettingRequest</a></td>
- <td><a href="#bytebase.v1.Setting">Setting</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>UpdateSetting</td>
- <td><a href="#bytebase.v1.UpdateSettingRequest">UpdateSettingRequest</a></td>
- <td><a href="#bytebase.v1.Setting">Setting</a></td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <h4>Methods with HTTP bindings</h4>
- <table>
+ <table class="field-table">
<thead>
- <tr>
- <td>Method Name</td>
- <td>Method</td>
- <td>Pattern</td>
- <td>Body</td>
- </tr>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>
-
-
-
- <tr>
- <td>ListSettings</td>
- <td>GET</td>
- <td>/v1/settings</td>
- <td></td>
- </tr>
-
-
-
- <tr>
- <td>GetSetting</td>
- <td>GET</td>
- <td>/v1/{name=settings/*}</td>
- <td></td>
- </tr>
+ <tr>
+ <td>statement</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
-
+ <tr>
+ <td>database</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The database name to check against.
+Format: instances/{instance}/databases/{databaseName} </p></td>
+ </tr>
+ <tr>
+ <td>metadata</td>
+ <td><a href="#bytebase.v1.DatabaseMetadata">DatabaseMetadata</a></td>
+ <td></td>
+ <td><p>The database metadata to check against. It can be used to check against an uncommitted metadata.
+If not provided, the database metadata will be fetched from the database. </p></td>
+ </tr>
- <tr>
- <td>UpdateSetting</td>
- <td>PATCH</td>
- <td>/v1/{setting.name=settings/*}</td>
- <td>setting</td>
- </tr>
+ <tr>
+ <td>change_type</td>
+ <td><a href="#bytebase.v1.CheckRequest.ChangeType">CheckRequest.ChangeType</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
-
</tbody>
</table>
+
+
-
- <div class="file-heading">
- <h2 id="v1/sheet_service.proto">v1/sheet_service.proto</h2><a href="#title">Top</a>
- </div>
- <p></p>
+ <h3 id="bytebase.v1.CheckResponse">CheckResponse</h3>
+ <p></p>
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>advices</td>
+ <td><a href="#bytebase.v1.Advice">Advice</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
- <h3 id="bytebase.v1.CreateSheetRequest">CreateSheetRequest</h3>
+ <h3 id="bytebase.v1.DifferPreviewRequest">DifferPreviewRequest</h3>
<p></p>
@@ -25130,18 +24905,24 @@ The external URL is used for:
<tbody>
<tr>
- <td>parent</td>
+ <td>engine</td>
+ <td><a href="#bytebase.v1.Engine">Engine</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>old_schema</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The parent resource where this sheet will be created.
-Format: projects/{project} </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>sheet</td>
- <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
+ <td>new_metadata</td>
+ <td><a href="#bytebase.v1.DatabaseMetadata">DatabaseMetadata</a></td>
<td></td>
- <td><p>The sheet to create. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -25151,7 +24932,7 @@ Format: projects/{project} </p></td>
- <h3 id="bytebase.v1.GetSheetRequest">GetSheetRequest</h3>
+ <h3 id="bytebase.v1.DifferPreviewResponse">DifferPreviewResponse</h3>
<p></p>
@@ -25162,18 +24943,10 @@ Format: projects/{project} </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>schema</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the sheet to retrieve.
-Format: projects/{project}/sheets/{sheet} </p></td>
- </tr>
-
- <tr>
- <td>raw</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>By default, the content of the sheet is cut off, set the `raw` to true to retrieve the full content. </p></td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -25183,7 +24956,7 @@ Format: projects/{project}/sheets/{sheet} </p></td>
- <h3 id="bytebase.v1.Sheet">Sheet</h3>
+ <h3 id="bytebase.v1.ExportRequest">ExportRequest</h3>
<p></p>
@@ -25197,76 +24970,143 @@ Format: projects/{project}/sheets/{sheet} </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the sheet resource, generated by the server.
-Canonical parent is project.
-Format: projects/{project}/sheets/{sheet} </p></td>
+ <td><p>The name is the instance name to execute the query against.
+Format: instances/{instance}/databases/{databaseName} </p></td>
</tr>
<tr>
- <td>database</td>
+ <td>connection_database</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The database resource name.
-Format: instances/{instance}/databases/{database}
-If the database parent doesn&#39;t exist, the database field is empty. </p></td>
+ <td><p><strong>Deprecated.</strong> </p></td>
</tr>
<tr>
- <td>title</td>
+ <td>statement</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The title of the sheet. </p></td>
+ <td><p>The SQL statement to execute. </p></td>
</tr>
<tr>
- <td>creator</td>
- <td><a href="#string">string</a></td>
+ <td>limit</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p>The creator of the Sheet.
-Format: users/{email} </p></td>
+ <td><p>The maximum number of rows to return. </p></td>
</tr>
<tr>
- <td>create_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>format</td>
+ <td><a href="#bytebase.v1.ExportFormat">ExportFormat</a></td>
<td></td>
- <td><p>The create time of the sheet. </p></td>
+ <td><p>The export format. </p></td>
</tr>
<tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>admin</td>
+ <td><a href="#bool">bool</a></td>
<td></td>
- <td><p>The last update time of the sheet. </p></td>
+ <td><p>The admin is used for workspace owner and DBA for exporting data from SQL Editor Admin mode.
+The exported data is not masked. </p></td>
+ </tr>
+
+ <tr>
+ <td>password</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The zip password provide by users. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+ <h4>Fields with deprecated option</h4>
+ <table>
+ <thead>
+ <tr>
+ <td>Name</td>
+ <td>Option</td>
</tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>connection_database</td>
+ <td><p>true</p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ExportResponse">ExportResponse</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
<tr>
<td>content</td>
<td><a href="#bytes">bytes</a></td>
<td></td>
- <td><p>The content of the sheet.
-By default, it will be cut off, if it doesn&#39;t match the `content_size`, you can
-set the `raw` to true in GetSheet request to retrieve the full content. </p></td>
+ <td><p>The export file content. </p></td>
</tr>
- <tr>
- <td>content_size</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>content_size is the full size of the content, may not match the size of the `content` field. </p></td>
- </tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ParseMyBatisMapperRequest">ParseMyBatisMapperRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
<tr>
- <td>payload</td>
- <td><a href="#bytebase.v1.SheetPayload">SheetPayload</a></td>
+ <td>content</td>
+ <td><a href="#bytes">bytes</a></td>
<td></td>
<td><p> </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ParseMyBatisMapperResponse">ParseMyBatisMapperResponse</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>push_event</td>
- <td><a href="#bytebase.v1.PushEvent">PushEvent</a></td>
- <td></td>
+ <td>statements</td>
+ <td><a href="#string">string</a></td>
+ <td>repeated</td>
<td><p> </p></td>
</tr>
@@ -25277,7 +25117,7 @@ set the `raw` to true in GetSheet request to retrieve the full content. </p></td
- <h3 id="bytebase.v1.SheetPayload">SheetPayload</h3>
+ <h3 id="bytebase.v1.PrettyRequest">PrettyRequest</h3>
<p></p>
@@ -25288,24 +25128,25 @@ set the `raw` to true in GetSheet request to retrieve the full content. </p></td
<tbody>
<tr>
- <td>type</td>
- <td><a href="#bytebase.v1.SheetPayload.Type">SheetPayload.Type</a></td>
+ <td>engine</td>
+ <td><a href="#bytebase.v1.Engine">Engine</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>database_config</td>
- <td><a href="#bytebase.v1.DatabaseConfig">DatabaseConfig</a></td>
+ <td>current_schema</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. </p></td>
+ <td><p>The SDL format SQL schema information that was dumped from a database engine.
+This information will be sorted to match the order of statements in the userSchema. </p></td>
</tr>
<tr>
- <td>baseline_database_config</td>
- <td><a href="#bytebase.v1.DatabaseConfig">DatabaseConfig</a></td>
+ <td>expected_schema</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The snapshot of the baseline database config when creating the sheet. </p></td>
+ <td><p>The expected SDL schema. This schema will be checked for correctness and normalized. </p></td>
</tr>
</tbody>
@@ -25315,7 +25156,7 @@ set the `raw` to true in GetSheet request to retrieve the full content. </p></td
- <h3 id="bytebase.v1.UpdateSheetRequest">UpdateSheetRequest</h3>
+ <h3 id="bytebase.v1.PrettyResponse">PrettyResponse</h3>
<p></p>
@@ -25326,25 +25167,17 @@ set the `raw` to true in GetSheet request to retrieve the full content. </p></td
<tbody>
<tr>
- <td>sheet</td>
- <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
+ <td>current_schema</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The sheet to update.
-
-The sheet&#39;s `name` field is used to identify the sheet to update.
-Format: projects/{project}/sheets/{sheet} </p></td>
+ <td><p>The pretty-formatted version of current schema. </p></td>
</tr>
<tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
+ <td>expected_schema</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The list of fields to be updated.
-Fields are specified relative to the sheet.
-(e.g. `title`, `statement`; *not* `sheet.title` or `sheet.statement`)
-Only support update the following fields for now:
-- `title`
-- `statement` </p></td>
+ <td><p>The expected SDL schema after normalizing. </p></td>
</tr>
</tbody>
@@ -25354,125 +25187,82 @@ Only support update the following fields for now:
-
-
- <h3 id="bytebase.v1.SheetPayload.Type">SheetPayload.Type</h3>
- <p>Type of the SheetPayload.</p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>SCHEMA_DESIGN</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SheetService">SheetService</h3>
+ <h3 id="bytebase.v1.QueryHistory">QueryHistory</h3>
<p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>CreateSheet</td>
- <td><a href="#bytebase.v1.CreateSheetRequest">CreateSheetRequest</a></td>
- <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>GetSheet</td>
- <td><a href="#bytebase.v1.GetSheetRequest">GetSheetRequest</a></td>
- <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>UpdateSheet</td>
- <td><a href="#bytebase.v1.UpdateSheetRequest">UpdateSheetRequest</a></td>
- <td><a href="#bytebase.v1.Sheet">Sheet</a></td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <h4>Methods with HTTP bindings</h4>
- <table>
+ <table class="field-table">
<thead>
- <tr>
- <td>Method Name</td>
- <td>Method</td>
- <td>Pattern</td>
- <td>Body</td>
- </tr>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>
-
-
- <tr>
- <td>CreateSheet</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*}/sheets</td>
- <td>sheet</td>
- </tr>
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name for the query history.
+Format: queryHistories/{uid} </p></td>
+ </tr>
-
+ <tr>
+ <td>database</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The database name to execute the query.
+Format: instances/{instance}/databases/{databaseName} </p></td>
+ </tr>
+ <tr>
+ <td>creator</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
- <tr>
- <td>GetSheet</td>
- <td>GET</td>
- <td>/v1/{name=projects/*/sheets/*}</td>
- <td></td>
- </tr>
+ <tr>
+ <td>create_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
-
+ <tr>
+ <td>statement</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+ <tr>
+ <td>error</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
- <tr>
- <td>UpdateSheet</td>
- <td>PATCH</td>
- <td>/v1/{sheet.name=projects/*/sheets/*}</td>
- <td>sheet</td>
- </tr>
+ <tr>
+ <td>duration</td>
+ <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
-
- </tbody>
- </table>
-
-
-
-
- <div class="file-heading">
- <h2 id="v1/sql_service.proto">v1/sql_service.proto</h2><a href="#title">Top</a>
- </div>
- <p></p>
+ <tr>
+ <td>type</td>
+ <td><a href="#bytebase.v1.QueryHistory.Type">QueryHistory.Type</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
- <h3 id="bytebase.v1.AdminExecuteRequest">AdminExecuteRequest</h3>
+ <h3 id="bytebase.v1.QueryRequest">QueryRequest</h3>
<p></p>
@@ -25514,10 +25304,19 @@ Format: instances/{instance}/databases/{databaseName} </p></td>
<tr>
<td>timeout</td>
<td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
- <td></td>
+ <td>optional</td>
<td><p>The timeout for the request. </p></td>
</tr>
+ <tr>
+ <td>data_source_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The id of data source.
+It is used for querying admin data source even if the instance has read-only data sources.
+Or it can be used to query a specific read-only data source. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -25546,7 +25345,7 @@ Format: instances/{instance}/databases/{databaseName} </p></td>
- <h3 id="bytebase.v1.AdminExecuteResponse">AdminExecuteResponse</h3>
+ <h3 id="bytebase.v1.QueryResponse">QueryResponse</h3>
<p></p>
@@ -25563,6 +25362,20 @@ Format: instances/{instance}/databases/{databaseName} </p></td>
<td><p>The query results. </p></td>
</tr>
+ <tr>
+ <td>advices</td>
+ <td><a href="#bytebase.v1.Advice">Advice</a></td>
+ <td>repeated</td>
+ <td><p>The query advices. </p></td>
+ </tr>
+
+ <tr>
+ <td>allow_export</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>The query is allowed to be exported or not. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -25570,7 +25383,7 @@ Format: instances/{instance}/databases/{databaseName} </p></td>
- <h3 id="bytebase.v1.Advice">Advice</h3>
+ <h3 id="bytebase.v1.QueryResult">QueryResult</h3>
<p></p>
@@ -25581,99 +25394,60 @@ Format: instances/{instance}/databases/{databaseName} </p></td>
<tbody>
<tr>
- <td>status</td>
- <td><a href="#bytebase.v1.Advice.Status">Advice.Status</a></td>
- <td></td>
- <td><p>The advice status. </p></td>
- </tr>
-
- <tr>
- <td>code</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The advice code. </p></td>
- </tr>
-
- <tr>
- <td>title</td>
+ <td>column_names</td>
<td><a href="#string">string</a></td>
- <td></td>
- <td><p>The advice title. </p></td>
+ <td>repeated</td>
+ <td><p>Column names of the query result. </p></td>
</tr>
<tr>
- <td>content</td>
+ <td>column_type_names</td>
<td><a href="#string">string</a></td>
- <td></td>
- <td><p>The advice content. </p></td>
- </tr>
-
- <tr>
- <td>line</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The advice line number in the SQL statement. </p></td>
+ <td>repeated</td>
+ <td><p>Column types of the query result.
+The types come from the Golang SQL driver. </p></td>
</tr>
<tr>
- <td>column</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The advice column number in the SQL statement. </p></td>
+ <td>rows</td>
+ <td><a href="#bytebase.v1.QueryRow">QueryRow</a></td>
+ <td>repeated</td>
+ <td><p>Rows of the query result. </p></td>
</tr>
<tr>
- <td>detail</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The advice detail. </p></td>
+ <td>masked</td>
+ <td><a href="#bool">bool</a></td>
+ <td>repeated</td>
+ <td><p>Columns are masked or not. </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.CheckRequest">CheckRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
<tr>
- <td>statement</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
+ <td>sensitive</td>
+ <td><a href="#bool">bool</a></td>
+ <td>repeated</td>
+ <td><p>Columns are sensitive or not. </p></td>
</tr>
<tr>
- <td>database</td>
+ <td>error</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The database name to check against.
-Format: instances/{instance}/databases/{databaseName} </p></td>
+ <td><p>The error message if the query failed. </p></td>
</tr>
<tr>
- <td>metadata</td>
- <td><a href="#bytebase.v1.DatabaseMetadata">DatabaseMetadata</a></td>
+ <td>latency</td>
+ <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
<td></td>
- <td><p>The database metadata to check against. It can be used to check against an uncommitted metadata.
-If not provided, the database metadata will be fetched from the database. </p></td>
+ <td><p>The time it takes to execute the query. </p></td>
</tr>
<tr>
- <td>change_type</td>
- <td><a href="#bytebase.v1.CheckRequest.ChangeType">CheckRequest.ChangeType</a></td>
+ <td>statement</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The query statement for the result. </p></td>
</tr>
</tbody>
@@ -25683,7 +25457,7 @@ If not provided, the database metadata will be fetched from the database. </p></
- <h3 id="bytebase.v1.CheckResponse">CheckResponse</h3>
+ <h3 id="bytebase.v1.QueryRow">QueryRow</h3>
<p></p>
@@ -25694,10 +25468,10 @@ If not provided, the database metadata will be fetched from the database. </p></
<tbody>
<tr>
- <td>advices</td>
- <td><a href="#bytebase.v1.Advice">Advice</a></td>
+ <td>values</td>
+ <td><a href="#bytebase.v1.RowValue">RowValue</a></td>
<td>repeated</td>
- <td><p> </p></td>
+ <td><p>Row values of the query result. </p></td>
</tr>
</tbody>
@@ -25707,7 +25481,7 @@ If not provided, the database metadata will be fetched from the database. </p></
- <h3 id="bytebase.v1.DifferPreviewRequest">DifferPreviewRequest</h3>
+ <h3 id="bytebase.v1.RowValue">RowValue</h3>
<p></p>
@@ -25718,147 +25492,140 @@ If not provided, the database metadata will be fetched from the database. </p></
<tbody>
<tr>
- <td>engine</td>
- <td><a href="#bytebase.v1.Engine">Engine</a></td>
+ <td>null_value</td>
+ <td><a href="#google.protobuf.NullValue">google.protobuf.NullValue</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>old_schema</td>
- <td><a href="#string">string</a></td>
+ <td>bool_value</td>
+ <td><a href="#bool">bool</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>new_metadata</td>
- <td><a href="#bytebase.v1.DatabaseMetadata">DatabaseMetadata</a></td>
+ <td>bytes_value</td>
+ <td><a href="#bytes">bytes</a></td>
<td></td>
<td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.DifferPreviewResponse">DifferPreviewResponse</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>double_value</td>
+ <td><a href="#double">double</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
<tr>
- <td>schema</td>
- <td><a href="#string">string</a></td>
+ <td>float_value</td>
+ <td><a href="#float">float</a></td>
<td></td>
<td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ExportRequest">ExportRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>int32_value</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
<tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
+ <td>int64_value</td>
+ <td><a href="#int64">int64</a></td>
<td></td>
- <td><p>The name is the instance name to execute the query against.
-Format: instances/{instance}/databases/{databaseName} </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>connection_database</td>
+ <td>string_value</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p><strong>Deprecated.</strong> </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>statement</td>
- <td><a href="#string">string</a></td>
+ <td>uint32_value</td>
+ <td><a href="#uint32">uint32</a></td>
<td></td>
- <td><p>The SQL statement to execute. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>limit</td>
- <td><a href="#int32">int32</a></td>
+ <td>uint64_value</td>
+ <td><a href="#uint64">uint64</a></td>
<td></td>
- <td><p>The maximum number of rows to return. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>format</td>
- <td><a href="#bytebase.v1.ExportFormat">ExportFormat</a></td>
+ <td>value_value</td>
+ <td><a href="#google.protobuf.Value">google.protobuf.Value</a></td>
<td></td>
- <td><p>The export format. </p></td>
+ <td><p>value_value is used for Spanner and TUPLE ARRAY MAP in Clickhouse only. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.SearchQueryHistoriesRequest">SearchQueryHistoriesRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>page_size</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p>Not used. The maximum number of histories to return.
+The service may return fewer than this value.
+If unspecified, at most 100 history entries will be returned.
+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
</tr>
<tr>
- <td>admin</td>
- <td><a href="#bool">bool</a></td>
+ <td>page_token</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The admin is used for workspace owner and DBA for exporting data from SQL Editor Admin mode.
-The exported data is not masked. </p></td>
+ <td><p>Not used. A page token, received from a previous `ListQueryHistory` call.
+Provide this to retrieve the subsequent page. </p></td>
</tr>
<tr>
- <td>password</td>
+ <td>filter</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The zip password provide by users. </p></td>
+ <td><p>filter is the filter to apply on the search query history,
+follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.
+Support filter by:
+- database, for example:
+ database = &#34;instances/{instance}/databases/{database}&#34;
+- instance, for example:
+ instance = &#34;instance/{instance}&#34;
+- type, for example:
+ type = &#34;QUERY&#34; </p></td>
</tr>
</tbody>
</table>
-
-
- <h4>Fields with deprecated option</h4>
- <table>
- <thead>
- <tr>
- <td>Name</td>
- <td>Option</td>
- </tr>
- </thead>
- <tbody>
-
- <tr>
- <td>connection_database</td>
- <td><p>true</p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <h3 id="bytebase.v1.ExportResponse">ExportResponse</h3>
+ <h3 id="bytebase.v1.SearchQueryHistoriesResponse">SearchQueryHistoriesResponse</h3>
<p></p>
@@ -25869,10 +25636,19 @@ The exported data is not masked. </p></td>
<tbody>
<tr>
- <td>content</td>
- <td><a href="#bytes">bytes</a></td>
+ <td>query_histories</td>
+ <td><a href="#bytebase.v1.QueryHistory">QueryHistory</a></td>
+ <td>repeated</td>
+ <td><p>The list of history. </p></td>
+ </tr>
+
+ <tr>
+ <td>next_page_token</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The export file content. </p></td>
+ <td><p>A token to retrieve next page of history.
+Pass this value in the page_token field in the subsequent call to `ListQueryHistory` method
+to retrieve the next page of history. </p></td>
</tr>
</tbody>
@@ -25882,7 +25658,7 @@ The exported data is not masked. </p></td>
- <h3 id="bytebase.v1.ParseMyBatisMapperRequest">ParseMyBatisMapperRequest</h3>
+ <h3 id="bytebase.v1.StringifyMetadataRequest">StringifyMetadataRequest</h3>
<p></p>
@@ -25893,12 +25669,19 @@ The exported data is not masked. </p></td>
<tbody>
<tr>
- <td>content</td>
- <td><a href="#bytes">bytes</a></td>
+ <td>metadata</td>
+ <td><a href="#bytebase.v1.DatabaseMetadata">DatabaseMetadata</a></td>
<td></td>
<td><p> </p></td>
</tr>
+ <tr>
+ <td>engine</td>
+ <td><a href="#bytebase.v1.Engine">Engine</a></td>
+ <td></td>
+ <td><p>The database engine of the schema string. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -25906,7 +25689,7 @@ The exported data is not masked. </p></td>
- <h3 id="bytebase.v1.ParseMyBatisMapperResponse">ParseMyBatisMapperResponse</h3>
+ <h3 id="bytebase.v1.StringifyMetadataResponse">StringifyMetadataResponse</h3>
<p></p>
@@ -25917,9 +25700,9 @@ The exported data is not masked. </p></td>
<tbody>
<tr>
- <td>statements</td>
+ <td>schema</td>
<td><a href="#string">string</a></td>
- <td>repeated</td>
+ <td></td>
<td><p> </p></td>
</tr>
@@ -25930,273 +25713,317 @@ The exported data is not masked. </p></td>
- <h3 id="bytebase.v1.PrettyRequest">PrettyRequest</h3>
+
+
+ <h3 id="bytebase.v1.Advice.Status">Advice.Status</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>STATUS_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p>Unspecified.</p></td>
+ </tr>
+
+ <tr>
+ <td>SUCCESS</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>WARNING</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ERROR</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.CheckRequest.ChangeType">CheckRequest.ChangeType</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>CHANGE_TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DDL</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DDL_GHOST</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DML</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.QueryHistory.Type">QueryHistory.Type</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>QUERY</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>EXPORT</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.SQLService">SQLService</h3>
<p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>Query</td>
+ <td><a href="#bytebase.v1.QueryRequest">QueryRequest</a></td>
+ <td><a href="#bytebase.v1.QueryResponse">QueryResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>SearchQueryHistories</td>
+ <td><a href="#bytebase.v1.SearchQueryHistoriesRequest">SearchQueryHistoriesRequest</a></td>
+ <td><a href="#bytebase.v1.SearchQueryHistoriesResponse">SearchQueryHistoriesResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>Export</td>
+ <td><a href="#bytebase.v1.ExportRequest">ExportRequest</a></td>
+ <td><a href="#bytebase.v1.ExportResponse">ExportResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>AdminExecute</td>
+ <td><a href="#bytebase.v1.AdminExecuteRequest">AdminExecuteRequest</a> stream</td>
+ <td><a href="#bytebase.v1.AdminExecuteResponse">AdminExecuteResponse</a> stream</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DifferPreview</td>
+ <td><a href="#bytebase.v1.DifferPreviewRequest">DifferPreviewRequest</a></td>
+ <td><a href="#bytebase.v1.DifferPreviewResponse">DifferPreviewResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>Check</td>
+ <td><a href="#bytebase.v1.CheckRequest">CheckRequest</a></td>
+ <td><a href="#bytebase.v1.CheckResponse">CheckResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ParseMyBatisMapper</td>
+ <td><a href="#bytebase.v1.ParseMyBatisMapperRequest">ParseMyBatisMapperRequest</a></td>
+ <td><a href="#bytebase.v1.ParseMyBatisMapperResponse">ParseMyBatisMapperResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>Pretty</td>
+ <td><a href="#bytebase.v1.PrettyRequest">PrettyRequest</a></td>
+ <td><a href="#bytebase.v1.PrettyResponse">PrettyResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>StringifyMetadata</td>
+ <td><a href="#bytebase.v1.StringifyMetadataRequest">StringifyMetadataRequest</a></td>
+ <td><a href="#bytebase.v1.StringifyMetadataResponse">StringifyMetadataResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>engine</td>
- <td><a href="#bytebase.v1.Engine">Engine</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>current_schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The SDL format SQL schema information that was dumped from a database engine.
-This information will be sorted to match the order of statements in the userSchema. </p></td>
- </tr>
-
- <tr>
- <td>expected_schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The expected SDL schema. This schema will be checked for correctness and normalized. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
- <h3 id="bytebase.v1.PrettyResponse">PrettyResponse</h3>
- <p></p>
-
-
- <table class="field-table">
+
+ <h4>Methods with HTTP bindings</h4>
+ <table>
<thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ <tr>
+ <td>Method Name</td>
+ <td>Method</td>
+ <td>Pattern</td>
+ <td>Body</td>
+ </tr>
</thead>
<tbody>
+
- <tr>
- <td>current_schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The pretty-formatted version of current schema. </p></td>
- </tr>
- <tr>
- <td>expected_schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The expected SDL schema after normalizing. </p></td>
- </tr>
+ <tr>
+ <td>Query</td>
+ <td>POST</td>
+ <td>/v1/{name=instances/*/databases/*}:query</td>
+ <td>*</td>
+ </tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.QueryHistory">QueryHistory</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
+ <tr>
+ <td>Query</td>
+ <td>POST</td>
+ <td>/v1/{name=instances/*}:query</td>
+ <td></td>
+ </tr>
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name for the query history.
-Format: queryHistories/{uid} </p></td>
- </tr>
+
- <tr>
- <td>database</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The database name to execute the query.
-Format: instances/{instance}/databases/{databaseName} </p></td>
- </tr>
- <tr>
- <td>creator</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+ <tr>
+ <td>SearchQueryHistories</td>
+ <td>GET</td>
+ <td>/v1/queryHistories:search</td>
+ <td></td>
+ </tr>
- <tr>
- <td>create_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+
- <tr>
- <td>statement</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
- <tr>
- <td>error</td>
- <td><a href="#string">string</a></td>
- <td>optional</td>
- <td><p> </p></td>
- </tr>
+ <tr>
+ <td>Export</td>
+ <td>POST</td>
+ <td>/v1/{name=instances/*/databases/*}:export</td>
+ <td>*</td>
+ </tr>
- <tr>
- <td>duration</td>
- <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+ <tr>
+ <td>Export</td>
+ <td>POST</td>
+ <td>/v1/{name=instances/*}:export</td>
+ <td></td>
+ </tr>
- <tr>
- <td>type</td>
- <td><a href="#bytebase.v1.QueryHistory.Type">QueryHistory.Type</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
+
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.QueryRequest">QueryRequest</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name is the instance name to execute the query against.
-Format: instances/{instance}/databases/{databaseName} </p></td>
- </tr>
+ <tr>
+ <td>AdminExecute</td>
+ <td>GET</td>
+ <td>/v1:adminExecute</td>
+ <td></td>
+ </tr>
- <tr>
- <td>connection_database</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p><strong>Deprecated.</strong> </p></td>
- </tr>
+
- <tr>
- <td>statement</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The SQL statement to execute. </p></td>
- </tr>
- <tr>
- <td>limit</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The maximum number of rows to return. </p></td>
- </tr>
+ <tr>
+ <td>DifferPreview</td>
+ <td>POST</td>
+ <td>/v1/sql/differPreview</td>
+ <td>*</td>
+ </tr>
- <tr>
- <td>timeout</td>
- <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
- <td>optional</td>
- <td><p>The timeout for the request. </p></td>
- </tr>
+
- <tr>
- <td>data_source_id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The id of data source.
-It is used for querying admin data source even if the instance has read-only data sources.
-Or it can be used to query a specific read-only data source. </p></td>
- </tr>
- </tbody>
- </table>
-
-
-
-
- <h4>Fields with deprecated option</h4>
- <table>
- <thead>
- <tr>
- <td>Name</td>
- <td>Option</td>
- </tr>
- </thead>
- <tbody>
+ <tr>
+ <td>Check</td>
+ <td>POST</td>
+ <td>/v1/sql/check</td>
+ <td>*</td>
+ </tr>
- <tr>
- <td>connection_database</td>
- <td><p>true</p></td>
- </tr>
+
+
+
+ <tr>
+ <td>ParseMyBatisMapper</td>
+ <td>POST</td>
+ <td>/v1/sql/parseMyBatisMapper</td>
+ <td>*</td>
+ </tr>
- </tbody>
- </table>
-
-
-
-
- <h3 id="bytebase.v1.QueryResponse">QueryResponse</h3>
- <p></p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
- <tr>
- <td>results</td>
- <td><a href="#bytebase.v1.QueryResult">QueryResult</a></td>
- <td>repeated</td>
- <td><p>The query results. </p></td>
- </tr>
- <tr>
- <td>advices</td>
- <td><a href="#bytebase.v1.Advice">Advice</a></td>
- <td>repeated</td>
- <td><p>The query advices. </p></td>
- </tr>
+ <tr>
+ <td>Pretty</td>
+ <td>POST</td>
+ <td>/v1/sql/pretty</td>
+ <td>*</td>
+ </tr>
- <tr>
- <td>allow_export</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The query is allowed to be exported or not. </p></td>
- </tr>
+
+
+ <tr>
+ <td>StringifyMetadata</td>
+ <td>POST</td>
+ <td>/v1/schemaDesign:stringifyMetadata</td>
+ <td>*</td>
+ </tr>
+
+
</tbody>
</table>
-
-
+
- <h3 id="bytebase.v1.QueryResult">QueryResult</h3>
+ <div class="file-heading">
+ <h2 id="v1/vcs_connector_service.proto">v1/vcs_connector_service.proto</h2><a href="#title">Top</a>
+ </div>
+ <p></p>
+
+
+ <h3 id="bytebase.v1.CreateVCSConnectorRequest">CreateVCSConnectorRequest</h3>
<p></p>
@@ -26207,60 +26034,29 @@ Or it can be used to query a specific read-only data source. </p></td>
<tbody>
<tr>
- <td>column_names</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>Column names of the query result. </p></td>
- </tr>
-
- <tr>
- <td>column_type_names</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>Column types of the query result.
-The types come from the Golang SQL driver. </p></td>
- </tr>
-
- <tr>
- <td>rows</td>
- <td><a href="#bytebase.v1.QueryRow">QueryRow</a></td>
- <td>repeated</td>
- <td><p>Rows of the query result. </p></td>
- </tr>
-
- <tr>
- <td>masked</td>
- <td><a href="#bool">bool</a></td>
- <td>repeated</td>
- <td><p>Columns are masked or not. </p></td>
- </tr>
-
- <tr>
- <td>sensitive</td>
- <td><a href="#bool">bool</a></td>
- <td>repeated</td>
- <td><p>Columns are sensitive or not. </p></td>
- </tr>
-
- <tr>
- <td>error</td>
+ <td>parent</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The error message if the query failed. </p></td>
+ <td><p>The parent resource where this vcsConnector will be created.
+Format: projects/{project} </p></td>
</tr>
<tr>
- <td>latency</td>
- <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
+ <td>vcs_connector</td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
<td></td>
- <td><p>The time it takes to execute the query. </p></td>
+ <td><p>The vcsConnector to create. </p></td>
</tr>
<tr>
- <td>statement</td>
+ <td>vcs_connector_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The query statement for the result. </p></td>
+ <td><p>The ID to use for the vcsConnector, which will become the final component of
+the vcsConnector&#39;s resource name.
+
+This value should be 4-63 characters, and valid characters
+are /[a-z][0-9]-/. </p></td>
</tr>
</tbody>
@@ -26270,7 +26066,7 @@ The types come from the Golang SQL driver. </p></td>
- <h3 id="bytebase.v1.QueryRow">QueryRow</h3>
+ <h3 id="bytebase.v1.DeleteVCSConnectorRequest">DeleteVCSConnectorRequest</h3>
<p></p>
@@ -26281,10 +26077,11 @@ The types come from the Golang SQL driver. </p></td>
<tbody>
<tr>
- <td>values</td>
- <td><a href="#bytebase.v1.RowValue">RowValue</a></td>
- <td>repeated</td>
- <td><p>Row values of the query result. </p></td>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the vcsConnector to delete.
+Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
</tr>
</tbody>
@@ -26294,7 +26091,7 @@ The types come from the Golang SQL driver. </p></td>
- <h3 id="bytebase.v1.RowValue">RowValue</h3>
+ <h3 id="bytebase.v1.GetVCSConnectorRequest">GetVCSConnectorRequest</h3>
<p></p>
@@ -26305,80 +26102,11 @@ The types come from the Golang SQL driver. </p></td>
<tbody>
<tr>
- <td>null_value</td>
- <td><a href="#google.protobuf.NullValue">google.protobuf.NullValue</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>bool_value</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>bytes_value</td>
- <td><a href="#bytes">bytes</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>double_value</td>
- <td><a href="#double">double</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>float_value</td>
- <td><a href="#float">float</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>int32_value</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>int64_value</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>string_value</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>uint32_value</td>
- <td><a href="#uint32">uint32</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>uint64_value</td>
- <td><a href="#uint64">uint64</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>value_value</td>
- <td><a href="#google.protobuf.Value">google.protobuf.Value</a></td>
- <td></td>
- <td><p>value_value is used for Spanner and TUPLE ARRAY MAP in Clickhouse only. </p></td>
+ <td><p>The name of the vcsConnector to retrieve.
+Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
</tr>
</tbody>
@@ -26388,7 +26116,7 @@ The types come from the Golang SQL driver. </p></td>
- <h3 id="bytebase.v1.SearchQueryHistoriesRequest">SearchQueryHistoriesRequest</h3>
+ <h3 id="bytebase.v1.ListVCSConnectorsRequest">ListVCSConnectorsRequest</h3>
<p></p>
@@ -26399,36 +26127,33 @@ The types come from the Golang SQL driver. </p></td>
<tbody>
<tr>
- <td>page_size</td>
- <td><a href="#int32">int32</a></td>
+ <td>parent</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>Not used. The maximum number of histories to return.
-The service may return fewer than this value.
-If unspecified, at most 100 history entries will be returned.
-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
+ <td><p>The parent, which owns this collection of vcsConnectors.
+Format: projects/{project}
+Use &#34;projects/-&#34; to list all vcsConnectors. </p></td>
</tr>
<tr>
- <td>page_token</td>
- <td><a href="#string">string</a></td>
+ <td>page_size</td>
+ <td><a href="#int32">int32</a></td>
<td></td>
- <td><p>Not used. A page token, received from a previous `ListQueryHistory` call.
-Provide this to retrieve the subsequent page. </p></td>
+ <td><p>The maximum number of databases to return. The service may return fewer than
+this value.
+If unspecified, at most 50 databases will be returned.
+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
</tr>
<tr>
- <td>filter</td>
+ <td>page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>filter is the filter to apply on the search query history,
-follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.
-Support filter by:
-- database, for example:
- database = &#34;instances/{instance}/databases/{database}&#34;
-- instance, for example:
- instance = &#34;instance/{instance}&#34;
-- type, for example:
- type = &#34;QUERY&#34; </p></td>
+ <td><p>A page token, received from a previous `ListDatabases` call.
+Provide this to retrieve the subsequent page.
+
+When paginating, all other parameters provided to `ListDatabases` must match
+the call that provided the page token. </p></td>
</tr>
</tbody>
@@ -26438,7 +26163,7 @@ Support filter by:
- <h3 id="bytebase.v1.SearchQueryHistoriesResponse">SearchQueryHistoriesResponse</h3>
+ <h3 id="bytebase.v1.ListVCSConnectorsResponse">ListVCSConnectorsResponse</h3>
<p></p>
@@ -26449,19 +26174,18 @@ Support filter by:
<tbody>
<tr>
- <td>query_histories</td>
- <td><a href="#bytebase.v1.QueryHistory">QueryHistory</a></td>
+ <td>vcs_connectors</td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
<td>repeated</td>
- <td><p>The list of history. </p></td>
+ <td><p>The vcsConnectors from the specified request. </p></td>
</tr>
<tr>
<td>next_page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>A token to retrieve next page of history.
-Pass this value in the page_token field in the subsequent call to `ListQueryHistory` method
-to retrieve the next page of history. </p></td>
+ <td><p>A token, which can be sent as `page_token` to retrieve the next page.
+If this field is omitted, there are no subsequent pages. </p></td>
</tr>
</tbody>
@@ -26471,7 +26195,7 @@ to retrieve the next page of history. </p></td>
- <h3 id="bytebase.v1.StringifyMetadataRequest">StringifyMetadataRequest</h3>
+ <h3 id="bytebase.v1.UpdateVCSConnectorRequest">UpdateVCSConnectorRequest</h3>
<p></p>
@@ -26482,17 +26206,20 @@ to retrieve the next page of history. </p></td>
<tbody>
<tr>
- <td>metadata</td>
- <td><a href="#bytebase.v1.DatabaseMetadata">DatabaseMetadata</a></td>
+ <td>vcs_connector</td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The vcsConnector to update.
+
+The vcsConnector&#39;s `name` field is used to identify the vcsConnector to update.
+Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
</tr>
<tr>
- <td>engine</td>
- <td><a href="#bytebase.v1.Engine">Engine</a></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
- <td><p>The database engine of the schema string. </p></td>
+ <td><p>The list of fields to be updated. </p></td>
</tr>
</tbody>
@@ -26502,7 +26229,7 @@ to retrieve the next page of history. </p></td>
- <h3 id="bytebase.v1.StringifyMetadataResponse">StringifyMetadataResponse</h3>
+ <h3 id="bytebase.v1.VCSConnector">VCSConnector</h3>
<p></p>
@@ -26513,192 +26240,148 @@ to retrieve the next page of history. </p></td>
<tbody>
<tr>
- <td>schema</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The name of the vcsConnector resource.
+Canonical parent is project.
+Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
+ </tr>
+
+ <tr>
+ <td>title</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The title of the vcs connector. </p></td>
+ </tr>
+
+ <tr>
+ <td>creator</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The creator of the vcsConnector.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The updater of the vcsConnector.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>create_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The create time of the vcsConnector. </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The last update time of the vcsConnector. </p></td>
+ </tr>
+
+ <tr>
+ <td>vcs_provider</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the VCS.
+Format: vcsProviders/{vcsProvider} </p></td>
+ </tr>
+
+ <tr>
+ <td>external_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The reposition external id in target VCS. </p></td>
+ </tr>
+
+ <tr>
+ <td>base_directory</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. </p></td>
+ </tr>
+
+ <tr>
+ <td>branch</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The branch Bytebase listens to for changes. For example: main. </p></td>
+ </tr>
+
+ <tr>
+ <td>full_path</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>TODO(d): move these to create VCS connector API.
+The full_path of the repository. For example: bytebase/sample. </p></td>
+ </tr>
+
+ <tr>
+ <td>web_url</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample. </p></td>
</tr>
</tbody>
</table>
-
-
-
-
-
- <h3 id="bytebase.v1.Advice.Status">Advice.Status</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>STATUS_UNSPECIFIED</td>
- <td>0</td>
- <td><p>Unspecified.</p></td>
- </tr>
-
- <tr>
- <td>SUCCESS</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>WARNING</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ERROR</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.CheckRequest.ChangeType">CheckRequest.ChangeType</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>CHANGE_TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>DDL</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>DDL_GHOST</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>DML</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.QueryHistory.Type">QueryHistory.Type</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>QUERY</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>EXPORT</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.SQLService">SQLService</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>Query</td>
- <td><a href="#bytebase.v1.QueryRequest">QueryRequest</a></td>
- <td><a href="#bytebase.v1.QueryResponse">QueryResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>SearchQueryHistories</td>
- <td><a href="#bytebase.v1.SearchQueryHistoriesRequest">SearchQueryHistoriesRequest</a></td>
- <td><a href="#bytebase.v1.SearchQueryHistoriesResponse">SearchQueryHistoriesResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>Export</td>
- <td><a href="#bytebase.v1.ExportRequest">ExportRequest</a></td>
- <td><a href="#bytebase.v1.ExportResponse">ExportResponse</a></td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>AdminExecute</td>
- <td><a href="#bytebase.v1.AdminExecuteRequest">AdminExecuteRequest</a> stream</td>
- <td><a href="#bytebase.v1.AdminExecuteResponse">AdminExecuteResponse</a> stream</td>
- <td><p></p></td>
- </tr>
+
+
+
+
+
+
+
+
+
+ <h3 id="bytebase.v1.VCSConnectorService">VCSConnectorService</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
+ </thead>
+ <tbody>
<tr>
- <td>DifferPreview</td>
- <td><a href="#bytebase.v1.DifferPreviewRequest">DifferPreviewRequest</a></td>
- <td><a href="#bytebase.v1.DifferPreviewResponse">DifferPreviewResponse</a></td>
+ <td>CreateVCSConnector</td>
+ <td><a href="#bytebase.v1.CreateVCSConnectorRequest">CreateVCSConnectorRequest</a></td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>Check</td>
- <td><a href="#bytebase.v1.CheckRequest">CheckRequest</a></td>
- <td><a href="#bytebase.v1.CheckResponse">CheckResponse</a></td>
+ <td>GetVCSConnector</td>
+ <td><a href="#bytebase.v1.GetVCSConnectorRequest">GetVCSConnectorRequest</a></td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>ParseMyBatisMapper</td>
- <td><a href="#bytebase.v1.ParseMyBatisMapperRequest">ParseMyBatisMapperRequest</a></td>
- <td><a href="#bytebase.v1.ParseMyBatisMapperResponse">ParseMyBatisMapperResponse</a></td>
+ <td>ListVCSConnectors</td>
+ <td><a href="#bytebase.v1.ListVCSConnectorsRequest">ListVCSConnectorsRequest</a></td>
+ <td><a href="#bytebase.v1.ListVCSConnectorsResponse">ListVCSConnectorsResponse</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>Pretty</td>
- <td><a href="#bytebase.v1.PrettyRequest">PrettyRequest</a></td>
- <td><a href="#bytebase.v1.PrettyResponse">PrettyResponse</a></td>
+ <td>UpdateVCSConnector</td>
+ <td><a href="#bytebase.v1.UpdateVCSConnectorRequest">UpdateVCSConnectorRequest</a></td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>StringifyMetadata</td>
- <td><a href="#bytebase.v1.StringifyMetadataRequest">StringifyMetadataRequest</a></td>
- <td><a href="#bytebase.v1.StringifyMetadataResponse">StringifyMetadataResponse</a></td>
+ <td>DeleteVCSConnector</td>
+ <td><a href="#bytebase.v1.DeleteVCSConnectorRequest">DeleteVCSConnectorRequest</a></td>
+ <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
<td><p></p></td>
</tr>
@@ -26723,43 +26406,19 @@ to retrieve the next page of history. </p></td>
<tr>
- <td>Query</td>
- <td>POST</td>
- <td>/v1/{name=instances/*/databases/*}:query</td>
- <td>*</td>
- </tr>
-
- <tr>
- <td>Query</td>
+ <td>CreateVCSConnector</td>
<td>POST</td>
- <td>/v1/{name=instances/*}:query</td>
- <td></td>
+ <td>/v1/{parent=projects/*}/vcsConnectors</td>
+ <td>vcs_connector</td>
</tr>
<tr>
- <td>SearchQueryHistories</td>
+ <td>GetVCSConnector</td>
<td>GET</td>
- <td>/v1/queryHistories:search</td>
- <td></td>
- </tr>
-
-
-
-
- <tr>
- <td>Export</td>
- <td>POST</td>
- <td>/v1/{name=instances/*/databases/*}:export</td>
- <td>*</td>
- </tr>
-
- <tr>
- <td>Export</td>
- <td>POST</td>
- <td>/v1/{name=instances/*}:export</td>
+ <td>/v1/{name=projects/*/vcsConnectors/*}</td>
<td></td>
</tr>
@@ -26767,9 +26426,9 @@ to retrieve the next page of history. </p></td>
<tr>
- <td>AdminExecute</td>
+ <td>ListVCSConnectors</td>
<td>GET</td>
- <td>/v1:adminExecute</td>
+ <td>/v1/{parent=projects/*}/vcsConnectors</td>
<td></td>
</tr>
@@ -26777,50 +26436,20 @@ to retrieve the next page of history. </p></td>
<tr>
- <td>DifferPreview</td>
- <td>POST</td>
- <td>/v1/sql/differPreview</td>
- <td>*</td>
- </tr>
-
-
-
-
- <tr>
- <td>Check</td>
- <td>POST</td>
- <td>/v1/sql/check</td>
- <td>*</td>
- </tr>
-
-
-
-
- <tr>
- <td>ParseMyBatisMapper</td>
- <td>POST</td>
- <td>/v1/sql/parseMyBatisMapper</td>
- <td>*</td>
- </tr>
-
-
-
-
- <tr>
- <td>Pretty</td>
- <td>POST</td>
- <td>/v1/sql/pretty</td>
- <td>*</td>
+ <td>UpdateVCSConnector</td>
+ <td>PATCH</td>
+ <td>/v1/{vcs_connector.name=projects/*/vcsConnectors/*}</td>
+ <td>vcs_connector</td>
</tr>
<tr>
- <td>StringifyMetadata</td>
- <td>POST</td>
- <td>/v1/schemaDesign:stringifyMetadata</td>
- <td>*</td>
+ <td>DeleteVCSConnector</td>
+ <td>DELETE</td>
+ <td>/v1/{name=projects/*/vcsConnectors/*}</td>
+ <td></td>
</tr>
@@ -26831,12 +26460,12 @@ to retrieve the next page of history. </p></td>
<div class="file-heading">
- <h2 id="v1/vcs_connector_service.proto">v1/vcs_connector_service.proto</h2><a href="#title">Top</a>
+ <h2 id="v1/vcs_provider_service.proto">v1/vcs_provider_service.proto</h2><a href="#title">Top</a>
</div>
<p></p>
- <h3 id="bytebase.v1.CreateVCSConnectorRequest">CreateVCSConnectorRequest</h3>
+ <h3 id="bytebase.v1.CreateVCSProviderRequest">CreateVCSProviderRequest</h3>
<p></p>
@@ -26847,26 +26476,18 @@ to retrieve the next page of history. </p></td>
<tbody>
<tr>
- <td>parent</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The parent resource where this vcsConnector will be created.
-Format: projects/{project} </p></td>
- </tr>
-
- <tr>
- <td>vcs_connector</td>
- <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
+ <td>vcs_provider</td>
+ <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
<td></td>
- <td><p>The vcsConnector to create. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>vcs_connector_id</td>
+ <td>vcs_provider_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The ID to use for the vcsConnector, which will become the final component of
-the vcsConnector&#39;s resource name.
+ <td><p>The ID to use for the VCS provider, which will become the final component of
+the VCS provider&#39;s name.
This value should be 4-63 characters, and valid characters
are /[a-z][0-9]-/. </p></td>
@@ -26879,7 +26500,7 @@ are /[a-z][0-9]-/. </p></td>
- <h3 id="bytebase.v1.DeleteVCSConnectorRequest">DeleteVCSConnectorRequest</h3>
+ <h3 id="bytebase.v1.DeleteVCSProviderRequest">DeleteVCSProviderRequest</h3>
<p></p>
@@ -26893,8 +26514,8 @@ are /[a-z][0-9]-/. </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcsConnector to delete.
-Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
+ <td><p>The name of the vcs provider to delete.
+Format: vcsProviders/{vcsProvider} </p></td>
</tr>
</tbody>
@@ -26904,7 +26525,7 @@ Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
- <h3 id="bytebase.v1.GetVCSConnectorRequest">GetVCSConnectorRequest</h3>
+ <h3 id="bytebase.v1.GetVCSProviderRequest">GetVCSProviderRequest</h3>
<p></p>
@@ -26918,8 +26539,8 @@ Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcsConnector to retrieve.
-Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
+ <td><p>The name of the vcs provider to retrieve.
+Format: vcsProviders/{vcsProvider} </p></td>
</tr>
</tbody>
@@ -26929,7 +26550,7 @@ Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
- <h3 id="bytebase.v1.ListVCSConnectorsRequest">ListVCSConnectorsRequest</h3>
+ <h3 id="bytebase.v1.ListVCSConnectorsInProviderRequest">ListVCSConnectorsInProviderRequest</h3>
<p></p>
@@ -26940,21 +26561,60 @@ Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
<tbody>
<tr>
- <td>parent</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The parent, which owns this collection of vcsConnectors.
-Format: projects/{project}
-Use &#34;projects/-&#34; to list all vcsConnectors. </p></td>
+ <td><p>The name of the vcs provider to retrieve the linked projects.
+Format: vcsProviders/{vcsProvider} </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ListVCSConnectorsInProviderResponse">ListVCSConnectorsInProviderResponse</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>vcs_connectors</td>
+ <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
+ <td>repeated</td>
+ <td><p>The vcsConnectors from the specified request. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ListVCSProvidersRequest">ListVCSProvidersRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
<td>page_size</td>
<td><a href="#int32">int32</a></td>
<td></td>
- <td><p>The maximum number of databases to return. The service may return fewer than
-this value.
-If unspecified, at most 50 databases will be returned.
+ <td><p>Not used. The maximum number of vcs provider to return. The service may return fewer than this value.
+If unspecified, at most 100 vcs provider will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
</tr>
@@ -26962,11 +26622,8 @@ The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>
<td>page_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>A page token, received from a previous `ListDatabases` call.
-Provide this to retrieve the subsequent page.
-
-When paginating, all other parameters provided to `ListDatabases` must match
-the call that provided the page token. </p></td>
+ <td><p>Not used. A page token, received from a previous `ListVCSProviders` call.
+Provide this to retrieve the subsequent page. </p></td>
</tr>
</tbody>
@@ -26976,7 +26633,7 @@ the call that provided the page token. </p></td>
- <h3 id="bytebase.v1.ListVCSConnectorsResponse">ListVCSConnectorsResponse</h3>
+ <h3 id="bytebase.v1.ListVCSProvidersResponse">ListVCSProvidersResponse</h3>
<p></p>
@@ -26987,18 +26644,43 @@ the call that provided the page token. </p></td>
<tbody>
<tr>
- <td>vcs_connectors</td>
- <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
+ <td>vcs_providers</td>
+ <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
<td>repeated</td>
- <td><p>The vcsConnectors from the specified request. </p></td>
+ <td><p>The list of vcs providers. </p></td>
+ </tr>
+
+ <tr>
+ <td>next_page_token</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.
+If this field is omitted, there are no subsequent pages. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.SearchVCSProviderProjectsRequest">SearchVCSProviderProjectsRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>next_page_token</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>A token, which can be sent as `page_token` to retrieve the next page.
-If this field is omitted, there are no subsequent pages. </p></td>
+ <td><p>The name of the vcs provider to retrieve the vcs provider repositories.
+Format: vcsProviders/{vcsProvider} </p></td>
</tr>
</tbody>
@@ -27008,7 +26690,7 @@ If this field is omitted, there are no subsequent pages. </p></td>
- <h3 id="bytebase.v1.UpdateVCSConnectorRequest">UpdateVCSConnectorRequest</h3>
+ <h3 id="bytebase.v1.SearchVCSProviderProjectsResponse">SearchVCSProviderProjectsResponse</h3>
<p></p>
@@ -27019,20 +26701,10 @@ If this field is omitted, there are no subsequent pages. </p></td>
<tbody>
<tr>
- <td>vcs_connector</td>
- <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
- <td></td>
- <td><p>The vcsConnector to update.
-
-The vcsConnector&#39;s `name` field is used to identify the vcsConnector to update.
-Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
- </tr>
-
- <tr>
- <td>update_mask</td>
- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
- <td></td>
- <td><p>The list of fields to be updated. </p></td>
+ <td>projects</td>
+ <td><a href="#bytebase.v1.SearchVCSProviderProjectsResponse.Project">SearchVCSProviderProjectsResponse.Project</a></td>
+ <td>repeated</td>
+ <td><p>The list of project in vcs provider. </p></td>
</tr>
</tbody>
@@ -27042,7 +26714,7 @@ Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
- <h3 id="bytebase.v1.VCSConnector">VCSConnector</h3>
+ <h3 id="bytebase.v1.SearchVCSProviderProjectsResponse.Project">SearchVCSProviderProjectsResponse.Project</h3>
<p></p>
@@ -27053,93 +26725,116 @@ Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the vcsConnector resource.
-Canonical parent is project.
-Format: projects/{project}/vcsConnectors/{vcsConnector} </p></td>
+ <td><p>The id of the project in vcs provider. </p></td>
</tr>
<tr>
<td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The title of the vcs connector. </p></td>
+ <td><p>The title of the project in vcs provider. </p></td>
</tr>
<tr>
- <td>creator</td>
+ <td>fullpath</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The creator of the vcsConnector.
-Format: users/{email} </p></td>
+ <td><p>The fullpath of the project in vcs provider. </p></td>
</tr>
<tr>
- <td>updater</td>
+ <td>web_url</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The updater of the vcsConnector.
-Format: users/{email} </p></td>
+ <td><p>Web url of the project in vcs provider. </p></td>
</tr>
- <tr>
- <td>create_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The create time of the vcsConnector. </p></td>
- </tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.UpdateVCSProviderRequest">UpdateVCSProviderRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
<tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>vcs_provider</td>
+ <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
<td></td>
- <td><p>The last update time of the vcsConnector. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>vcs_provider</td>
- <td><a href="#string">string</a></td>
+ <td>update_mask</td>
+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>
<td></td>
- <td><p>The name of the VCS.
-Format: vcsProviders/{vcsProvider} </p></td>
+ <td><p>The list of fields to be updated. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.VCSProvider">VCSProvider</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
<tr>
- <td>external_id</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The reposition external id in target VCS. </p></td>
+ <td><p>The name of the vcs provider.
+Format: vcsProviders/{vcsProvider} </p></td>
</tr>
<tr>
- <td>base_directory</td>
+ <td>title</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The root directory where Bytebase observes the file change. If empty, then it observes the entire repository. </p></td>
+ <td><p>The title of the vcs provider. It is used to display in the UI. Specified by the client. </p></td>
</tr>
<tr>
- <td>branch</td>
- <td><a href="#string">string</a></td>
+ <td>type</td>
+ <td><a href="#bytebase.v1.VCSProvider.Type">VCSProvider.Type</a></td>
<td></td>
- <td><p>The branch Bytebase listens to for changes. For example: main. </p></td>
+ <td><p> </p></td>
</tr>
<tr>
- <td>full_path</td>
+ <td>url</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>TODO(d): move these to create VCS connector API.
-The full_path of the repository. For example: bytebase/sample. </p></td>
+ <td><p>The url of the vcs provider. Specified by the client.
+For example: github.com, gitlab.com, gitlab.bytebase.com. </p></td>
</tr>
<tr>
- <td>web_url</td>
+ <td>access_token</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample. </p></td>
+ <td><p>The access token of the vcs provider. </p></td>
</tr>
</tbody>
@@ -27151,11 +26846,52 @@ The full_path of the repository. For example: bytebase/sample. </p></td>
+ <h3 id="bytebase.v1.VCSProvider.Type">VCSProvider.Type</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>GITHUB</td>
+ <td>1</td>
+ <td><p>GitHub type. Using for GitHub community edition(ce).</p></td>
+ </tr>
+
+ <tr>
+ <td>GITLAB</td>
+ <td>2</td>
+ <td><p>GitLab type. Using for GitLab community edition(ce) and enterprise edition(ee).</p></td>
+ </tr>
+
+ <tr>
+ <td>BITBUCKET</td>
+ <td>3</td>
+ <td><p>BitBucket type. Using for BitBucket cloud or BitBucket server.</p></td>
+ </tr>
+
+ <tr>
+ <td>AZURE_DEVOPS</td>
+ <td>4</td>
+ <td><p>Azure DevOps. Using for Azure DevOps GitOps workflow.</p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
- <h3 id="bytebase.v1.VCSConnectorService">VCSConnectorService</h3>
+ <h3 id="bytebase.v1.VCSProviderService">VCSProviderService</h3>
<p></p>
<table class="enum-table">
<thead>
@@ -27164,40 +26900,54 @@ The full_path of the repository. For example: bytebase/sample. </p></td>
<tbody>
<tr>
- <td>CreateVCSConnector</td>
- <td><a href="#bytebase.v1.CreateVCSConnectorRequest">CreateVCSConnectorRequest</a></td>
- <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
+ <td>GetVCSProvider</td>
+ <td><a href="#bytebase.v1.GetVCSProviderRequest">GetVCSProviderRequest</a></td>
+ <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>GetVCSConnector</td>
- <td><a href="#bytebase.v1.GetVCSConnectorRequest">GetVCSConnectorRequest</a></td>
- <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
+ <td>ListVCSProviders</td>
+ <td><a href="#bytebase.v1.ListVCSProvidersRequest">ListVCSProvidersRequest</a></td>
+ <td><a href="#bytebase.v1.ListVCSProvidersResponse">ListVCSProvidersResponse</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>ListVCSConnectors</td>
- <td><a href="#bytebase.v1.ListVCSConnectorsRequest">ListVCSConnectorsRequest</a></td>
- <td><a href="#bytebase.v1.ListVCSConnectorsResponse">ListVCSConnectorsResponse</a></td>
+ <td>CreateVCSProvider</td>
+ <td><a href="#bytebase.v1.CreateVCSProviderRequest">CreateVCSProviderRequest</a></td>
+ <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>UpdateVCSConnector</td>
- <td><a href="#bytebase.v1.UpdateVCSConnectorRequest">UpdateVCSConnectorRequest</a></td>
- <td><a href="#bytebase.v1.VCSConnector">VCSConnector</a></td>
+ <td>UpdateVCSProvider</td>
+ <td><a href="#bytebase.v1.UpdateVCSProviderRequest">UpdateVCSProviderRequest</a></td>
+ <td><a href="#bytebase.v1.VCSProvider">VCSProvider</a></td>
<td><p></p></td>
</tr>
<tr>
- <td>DeleteVCSConnector</td>
- <td><a href="#bytebase.v1.DeleteVCSConnectorRequest">DeleteVCSConnectorRequest</a></td>
+ <td>DeleteVCSProvider</td>
+ <td><a href="#bytebase.v1.DeleteVCSProviderRequest">DeleteVCSProviderRequest</a></td>
<td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
<td><p></p></td>
</tr>
+ <tr>
+ <td>SearchVCSProviderProjects</td>
+ <td><a href="#bytebase.v1.SearchVCSProviderProjectsRequest">SearchVCSProviderProjectsRequest</a></td>
+ <td><a href="#bytebase.v1.SearchVCSProviderProjectsResponse">SearchVCSProviderProjectsResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ListVCSConnectorsInProvider</td>
+ <td><a href="#bytebase.v1.ListVCSConnectorsInProviderRequest">ListVCSConnectorsInProviderRequest</a></td>
+ <td><a href="#bytebase.v1.ListVCSConnectorsInProviderResponse">ListVCSConnectorsInProviderResponse</a></td>
+ <td><p></p></td>
+ </tr>
+
</tbody>
</table>
@@ -27219,19 +26969,19 @@ The full_path of the repository. For example: bytebase/sample. </p></td>
<tr>
- <td>CreateVCSConnector</td>
- <td>POST</td>
- <td>/v1/{parent=projects/*}/vcsConnectors</td>
- <td>vcs_connector</td>
+ <td>GetVCSProvider</td>
+ <td>GET</td>
+ <td>/v1/{name=vcsProviders/*}</td>
+ <td></td>
</tr>
<tr>
- <td>GetVCSConnector</td>
+ <td>ListVCSProviders</td>
<td>GET</td>
- <td>/v1/{name=projects/*/vcsConnectors/*}</td>
+ <td>/v1/vcsProviders</td>
<td></td>
</tr>
@@ -27239,29 +26989,49 @@ The full_path of the repository. For example: bytebase/sample. </p></td>
<tr>
- <td>ListVCSConnectors</td>
- <td>GET</td>
- <td>/v1/{parent=projects/*}/vcsConnectors</td>
- <td></td>
+ <td>CreateVCSProvider</td>
+ <td>POST</td>
+ <td>/v1/vcsProviders</td>
+ <td>vcs_provider</td>
</tr>
<tr>
- <td>UpdateVCSConnector</td>
+ <td>UpdateVCSProvider</td>
<td>PATCH</td>
- <td>/v1/{vcs_connector.name=projects/*/vcsConnectors/*}</td>
- <td>vcs_connector</td>
+ <td>/v1/{vcs_provider.name=vcsProviders/*}</td>
+ <td>vcs_provider</td>
</tr>
<tr>
- <td>DeleteVCSConnector</td>
+ <td>DeleteVCSProvider</td>
<td>DELETE</td>
- <td>/v1/{name=projects/*/vcsConnectors/*}</td>
+ <td>/v1/{name=vcsProviders/*}</td>
+ <td></td>
+ </tr>
+
+
+
+
+ <tr>
+ <td>SearchVCSProviderProjects</td>
+ <td>POST</td>
+ <td>/v1/{name=vcsProviders/*}:searchProjects</td>
+ <td>*</td>
+ </tr>
+
+
+
+
+ <tr>
+ <td>ListVCSConnectorsInProvider</td>
+ <td>GET</td>
+ <td>/v1/{name=vcsProviders/*}/vcsConnectors</td>
<td></td>
</tr>
diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.go
index 753313c46e..59621db98a 100644
--- a/proto/generated-go/v1/project_service.pb.go
+++ b/proto/generated-go/v1/project_service.pb.go
@@ -341,7 +341,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{24, 0}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{21, 0}
}
type Activity_Type int32
@@ -481,7 +481,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{31, 0}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{28, 0}
}
// The type of target.
@@ -531,7 +531,7 @@ func (x ProtectionRule_Target) Number() protoreflect.EnumNumber {
// Deprecated: Use ProtectionRule_Target.Descriptor instead.
func (ProtectionRule_Target) EnumDescriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{49, 0}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{46, 0}
}
type ProtectionRule_BranchSource int32
@@ -577,7 +577,7 @@ func (x ProtectionRule_BranchSource) Number() protoreflect.EnumNumber {
// Deprecated: Use ProtectionRule_BranchSource.Descriptor instead.
func (ProtectionRule_BranchSource) EnumDescriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{49, 1}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{46, 1}
}
type GetProjectRequest struct {
@@ -1389,170 +1389,6 @@ func (x *UpdateDeploymentConfigRequest) GetConfig() *DeploymentConfig {
return nil
}
-type UpdateProjectGitOpsInfoRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The binding for the project and vcs provider.
- ProjectGitopsInfo *ProjectGitOpsInfo `protobuf:"bytes,2,opt,name=project_gitops_info,json=projectGitopsInfo,proto3" json:"project_gitops_info,omitempty"`
- // The mask of the fields to be updated.
- UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
- // If true, the gitops will be created if it does not exist.
- AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
-}
-
-func (x *UpdateProjectGitOpsInfoRequest) Reset() {
- *x = UpdateProjectGitOpsInfoRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *UpdateProjectGitOpsInfoRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateProjectGitOpsInfoRequest) ProtoMessage() {}
-
-func (x *UpdateProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[15]
- 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 UpdateProjectGitOpsInfoRequest.ProtoReflect.Descriptor instead.
-func (*UpdateProjectGitOpsInfoRequest) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *UpdateProjectGitOpsInfoRequest) GetProjectGitopsInfo() *ProjectGitOpsInfo {
- if x != nil {
- return x.ProjectGitopsInfo
- }
- return nil
-}
-
-func (x *UpdateProjectGitOpsInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
- if x != nil {
- return x.UpdateMask
- }
- return nil
-}
-
-func (x *UpdateProjectGitOpsInfoRequest) GetAllowMissing() bool {
- if x != nil {
- return x.AllowMissing
- }
- return false
-}
-
-type UnsetProjectGitOpsInfoRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the GitOps info.
- // Format: projects/{project}/gitOpsInfo
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
-}
-
-func (x *UnsetProjectGitOpsInfoRequest) Reset() {
- *x = UnsetProjectGitOpsInfoRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *UnsetProjectGitOpsInfoRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UnsetProjectGitOpsInfoRequest) ProtoMessage() {}
-
-func (x *UnsetProjectGitOpsInfoRequest) 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 UnsetProjectGitOpsInfoRequest.ProtoReflect.Descriptor instead.
-func (*UnsetProjectGitOpsInfoRequest) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{16}
-}
-
-func (x *UnsetProjectGitOpsInfoRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-type GetProjectGitOpsInfoRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the GitOps info.
- // Format: projects/{project}/gitOpsInfo
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
-}
-
-func (x *GetProjectGitOpsInfoRequest) Reset() {
- *x = GetProjectGitOpsInfoRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GetProjectGitOpsInfoRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetProjectGitOpsInfoRequest) ProtoMessage() {}
-
-func (x *GetProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[17]
- 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 GetProjectGitOpsInfoRequest.ProtoReflect.Descriptor instead.
-func (*GetProjectGitOpsInfoRequest) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{17}
-}
-
-func (x *GetProjectGitOpsInfoRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
type Project struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1577,7 +1413,7 @@ type Project struct {
func (x *Project) Reset() {
*x = Project{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[18]
+ mi := &file_v1_project_service_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1590,7 +1426,7 @@ func (x *Project) String() string {
func (*Project) ProtoMessage() {}
func (x *Project) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[18]
+ mi := &file_v1_project_service_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1603,7 +1439,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{18}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{15}
}
func (x *Project) GetName() string {
@@ -1684,7 +1520,7 @@ type AddWebhookRequest struct {
func (x *AddWebhookRequest) Reset() {
*x = AddWebhookRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[19]
+ mi := &file_v1_project_service_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1697,7 +1533,7 @@ func (x *AddWebhookRequest) String() string {
func (*AddWebhookRequest) ProtoMessage() {}
func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[19]
+ mi := &file_v1_project_service_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1710,7 +1546,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{19}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{16}
}
func (x *AddWebhookRequest) GetProject() string {
@@ -1741,7 +1577,7 @@ type UpdateWebhookRequest struct {
func (x *UpdateWebhookRequest) Reset() {
*x = UpdateWebhookRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[20]
+ mi := &file_v1_project_service_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1754,7 +1590,7 @@ func (x *UpdateWebhookRequest) String() string {
func (*UpdateWebhookRequest) ProtoMessage() {}
func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[20]
+ mi := &file_v1_project_service_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1767,7 +1603,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{20}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{17}
}
func (x *UpdateWebhookRequest) GetWebhook() *Webhook {
@@ -1796,7 +1632,7 @@ type RemoveWebhookRequest struct {
func (x *RemoveWebhookRequest) Reset() {
*x = RemoveWebhookRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[21]
+ mi := &file_v1_project_service_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1809,7 +1645,7 @@ func (x *RemoveWebhookRequest) String() string {
func (*RemoveWebhookRequest) ProtoMessage() {}
func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[21]
+ mi := &file_v1_project_service_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1822,7 +1658,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{21}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{18}
}
func (x *RemoveWebhookRequest) GetWebhook() *Webhook {
@@ -1847,7 +1683,7 @@ type TestWebhookRequest struct {
func (x *TestWebhookRequest) Reset() {
*x = TestWebhookRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[22]
+ mi := &file_v1_project_service_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1860,7 +1696,7 @@ func (x *TestWebhookRequest) String() string {
func (*TestWebhookRequest) ProtoMessage() {}
func (x *TestWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[22]
+ mi := &file_v1_project_service_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1873,7 +1709,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{22}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{19}
}
func (x *TestWebhookRequest) GetProject() string {
@@ -1902,7 +1738,7 @@ type TestWebhookResponse struct {
func (x *TestWebhookResponse) Reset() {
*x = TestWebhookResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[23]
+ mi := &file_v1_project_service_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1915,7 +1751,7 @@ func (x *TestWebhookResponse) String() string {
func (*TestWebhookResponse) ProtoMessage() {}
func (x *TestWebhookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[23]
+ mi := &file_v1_project_service_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1928,7 +1764,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{23}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{20}
}
func (x *TestWebhookResponse) GetError() string {
@@ -1967,7 +1803,7 @@ type Webhook struct {
func (x *Webhook) Reset() {
*x = Webhook{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[24]
+ mi := &file_v1_project_service_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1980,7 +1816,7 @@ func (x *Webhook) String() string {
func (*Webhook) ProtoMessage() {}
func (x *Webhook) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[24]
+ mi := &file_v1_project_service_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1993,7 +1829,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{24}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{21}
}
func (x *Webhook) GetName() string {
@@ -2047,7 +1883,7 @@ type DeploymentConfig struct {
func (x *DeploymentConfig) Reset() {
*x = DeploymentConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[25]
+ mi := &file_v1_project_service_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2060,7 +1896,7 @@ func (x *DeploymentConfig) String() string {
func (*DeploymentConfig) ProtoMessage() {}
func (x *DeploymentConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[25]
+ mi := &file_v1_project_service_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2073,7 +1909,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{25}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{22}
}
func (x *DeploymentConfig) GetName() string {
@@ -2108,7 +1944,7 @@ type Schedule struct {
func (x *Schedule) Reset() {
*x = Schedule{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[26]
+ mi := &file_v1_project_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2121,7 +1957,7 @@ func (x *Schedule) String() string {
func (*Schedule) ProtoMessage() {}
func (x *Schedule) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[26]
+ mi := &file_v1_project_service_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2134,7 +1970,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{26}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{23}
}
func (x *Schedule) GetDeployments() []*ScheduleDeployment {
@@ -2157,7 +1993,7 @@ type ScheduleDeployment struct {
func (x *ScheduleDeployment) Reset() {
*x = ScheduleDeployment{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[27]
+ mi := &file_v1_project_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2170,7 +2006,7 @@ func (x *ScheduleDeployment) String() string {
func (*ScheduleDeployment) ProtoMessage() {}
func (x *ScheduleDeployment) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[27]
+ mi := &file_v1_project_service_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2183,7 +2019,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{27}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{24}
}
func (x *ScheduleDeployment) GetTitle() string {
@@ -2211,7 +2047,7 @@ type DeploymentSpec struct {
func (x *DeploymentSpec) Reset() {
*x = DeploymentSpec{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[28]
+ mi := &file_v1_project_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2224,7 +2060,7 @@ func (x *DeploymentSpec) String() string {
func (*DeploymentSpec) ProtoMessage() {}
func (x *DeploymentSpec) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[28]
+ mi := &file_v1_project_service_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2237,7 +2073,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{28}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{25}
}
func (x *DeploymentSpec) GetLabelSelector() *LabelSelector {
@@ -2258,7 +2094,7 @@ type LabelSelector struct {
func (x *LabelSelector) Reset() {
*x = LabelSelector{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[29]
+ mi := &file_v1_project_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2271,7 +2107,7 @@ func (x *LabelSelector) String() string {
func (*LabelSelector) ProtoMessage() {}
func (x *LabelSelector) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[29]
+ mi := &file_v1_project_service_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2284,7 +2120,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{29}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{26}
}
func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement {
@@ -2307,7 +2143,7 @@ type LabelSelectorRequirement struct {
func (x *LabelSelectorRequirement) Reset() {
*x = LabelSelectorRequirement{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[30]
+ mi := &file_v1_project_service_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2320,7 +2156,7 @@ func (x *LabelSelectorRequirement) String() string {
func (*LabelSelectorRequirement) ProtoMessage() {}
func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[30]
+ mi := &file_v1_project_service_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2333,7 +2169,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{30}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{27}
}
func (x *LabelSelectorRequirement) GetKey() string {
@@ -2367,7 +2203,7 @@ type Activity struct {
func (x *Activity) Reset() {
*x = Activity{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[31]
+ mi := &file_v1_project_service_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2380,7 +2216,7 @@ func (x *Activity) String() string {
func (*Activity) ProtoMessage() {}
func (x *Activity) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[31]
+ mi := &file_v1_project_service_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2393,7 +2229,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{31}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{28}
}
type ListDatabaseGroupsRequest struct {
@@ -2421,7 +2257,7 @@ type ListDatabaseGroupsRequest struct {
func (x *ListDatabaseGroupsRequest) Reset() {
*x = ListDatabaseGroupsRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[32]
+ mi := &file_v1_project_service_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2434,7 +2270,7 @@ func (x *ListDatabaseGroupsRequest) String() string {
func (*ListDatabaseGroupsRequest) ProtoMessage() {}
func (x *ListDatabaseGroupsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[32]
+ mi := &file_v1_project_service_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2447,7 +2283,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{32}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{29}
}
func (x *ListDatabaseGroupsRequest) GetParent() string {
@@ -2486,7 +2322,7 @@ type ListDatabaseGroupsResponse struct {
func (x *ListDatabaseGroupsResponse) Reset() {
*x = ListDatabaseGroupsResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[33]
+ mi := &file_v1_project_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2499,7 +2335,7 @@ func (x *ListDatabaseGroupsResponse) String() string {
func (*ListDatabaseGroupsResponse) ProtoMessage() {}
func (x *ListDatabaseGroupsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[33]
+ mi := &file_v1_project_service_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2512,7 +2348,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{33}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{30}
}
func (x *ListDatabaseGroupsResponse) GetDatabaseGroups() []*DatabaseGroup {
@@ -2544,7 +2380,7 @@ type GetDatabaseGroupRequest struct {
func (x *GetDatabaseGroupRequest) Reset() {
*x = GetDatabaseGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[34]
+ mi := &file_v1_project_service_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2557,7 +2393,7 @@ func (x *GetDatabaseGroupRequest) String() string {
func (*GetDatabaseGroupRequest) ProtoMessage() {}
func (x *GetDatabaseGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[34]
+ mi := &file_v1_project_service_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2570,7 +2406,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{34}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{31}
}
func (x *GetDatabaseGroupRequest) GetName() string {
@@ -2610,7 +2446,7 @@ type CreateDatabaseGroupRequest struct {
func (x *CreateDatabaseGroupRequest) Reset() {
*x = CreateDatabaseGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[35]
+ mi := &file_v1_project_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2623,7 +2459,7 @@ func (x *CreateDatabaseGroupRequest) String() string {
func (*CreateDatabaseGroupRequest) ProtoMessage() {}
func (x *CreateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[35]
+ mi := &file_v1_project_service_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2636,7 +2472,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{35}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{32}
}
func (x *CreateDatabaseGroupRequest) GetParent() string {
@@ -2684,7 +2520,7 @@ type UpdateDatabaseGroupRequest struct {
func (x *UpdateDatabaseGroupRequest) Reset() {
*x = UpdateDatabaseGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[36]
+ mi := &file_v1_project_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2697,7 +2533,7 @@ func (x *UpdateDatabaseGroupRequest) String() string {
func (*UpdateDatabaseGroupRequest) ProtoMessage() {}
func (x *UpdateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[36]
+ mi := &file_v1_project_service_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2710,7 +2546,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{36}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{33}
}
func (x *UpdateDatabaseGroupRequest) GetDatabaseGroup() *DatabaseGroup {
@@ -2740,7 +2576,7 @@ type DeleteDatabaseGroupRequest struct {
func (x *DeleteDatabaseGroupRequest) Reset() {
*x = DeleteDatabaseGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[37]
+ mi := &file_v1_project_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2753,7 +2589,7 @@ func (x *DeleteDatabaseGroupRequest) String() string {
func (*DeleteDatabaseGroupRequest) ProtoMessage() {}
func (x *DeleteDatabaseGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[37]
+ mi := &file_v1_project_service_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2766,7 +2602,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{37}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{34}
}
func (x *DeleteDatabaseGroupRequest) GetName() string {
@@ -2798,7 +2634,7 @@ type DatabaseGroup struct {
func (x *DatabaseGroup) Reset() {
*x = DatabaseGroup{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[38]
+ mi := &file_v1_project_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2811,7 +2647,7 @@ func (x *DatabaseGroup) String() string {
func (*DatabaseGroup) ProtoMessage() {}
func (x *DatabaseGroup) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[38]
+ mi := &file_v1_project_service_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2824,7 +2660,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{38}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{35}
}
func (x *DatabaseGroup) GetName() string {
@@ -2885,7 +2721,7 @@ type CreateSchemaGroupRequest struct {
func (x *CreateSchemaGroupRequest) Reset() {
*x = CreateSchemaGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[39]
+ mi := &file_v1_project_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2898,7 +2734,7 @@ func (x *CreateSchemaGroupRequest) String() string {
func (*CreateSchemaGroupRequest) ProtoMessage() {}
func (x *CreateSchemaGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[39]
+ mi := &file_v1_project_service_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2911,7 +2747,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{39}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{36}
}
func (x *CreateSchemaGroupRequest) GetParent() string {
@@ -2959,7 +2795,7 @@ type UpdateSchemaGroupRequest struct {
func (x *UpdateSchemaGroupRequest) Reset() {
*x = UpdateSchemaGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[40]
+ mi := &file_v1_project_service_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2972,7 +2808,7 @@ func (x *UpdateSchemaGroupRequest) String() string {
func (*UpdateSchemaGroupRequest) ProtoMessage() {}
func (x *UpdateSchemaGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[40]
+ mi := &file_v1_project_service_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2985,7 +2821,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{40}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{37}
}
func (x *UpdateSchemaGroupRequest) GetSchemaGroup() *SchemaGroup {
@@ -3015,7 +2851,7 @@ type DeleteSchemaGroupRequest struct {
func (x *DeleteSchemaGroupRequest) Reset() {
*x = DeleteSchemaGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[41]
+ mi := &file_v1_project_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3028,7 +2864,7 @@ func (x *DeleteSchemaGroupRequest) String() string {
func (*DeleteSchemaGroupRequest) ProtoMessage() {}
func (x *DeleteSchemaGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[41]
+ mi := &file_v1_project_service_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3041,7 +2877,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{41}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{38}
}
func (x *DeleteSchemaGroupRequest) GetName() string {
@@ -3075,7 +2911,7 @@ type ListSchemaGroupsRequest struct {
func (x *ListSchemaGroupsRequest) Reset() {
*x = ListSchemaGroupsRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[42]
+ mi := &file_v1_project_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3088,7 +2924,7 @@ func (x *ListSchemaGroupsRequest) String() string {
func (*ListSchemaGroupsRequest) ProtoMessage() {}
func (x *ListSchemaGroupsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[42]
+ mi := &file_v1_project_service_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3101,7 +2937,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{42}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{39}
}
func (x *ListSchemaGroupsRequest) GetParent() string {
@@ -3140,7 +2976,7 @@ type ListSchemaGroupsResponse struct {
func (x *ListSchemaGroupsResponse) Reset() {
*x = ListSchemaGroupsResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[43]
+ mi := &file_v1_project_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3153,7 +2989,7 @@ func (x *ListSchemaGroupsResponse) String() string {
func (*ListSchemaGroupsResponse) ProtoMessage() {}
func (x *ListSchemaGroupsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[43]
+ mi := &file_v1_project_service_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3166,7 +3002,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{43}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{40}
}
func (x *ListSchemaGroupsResponse) GetSchemaGroups() []*SchemaGroup {
@@ -3198,7 +3034,7 @@ type GetSchemaGroupRequest struct {
func (x *GetSchemaGroupRequest) Reset() {
*x = GetSchemaGroupRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[44]
+ mi := &file_v1_project_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3211,7 +3047,7 @@ func (x *GetSchemaGroupRequest) String() string {
func (*GetSchemaGroupRequest) ProtoMessage() {}
func (x *GetSchemaGroupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[44]
+ mi := &file_v1_project_service_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3224,7 +3060,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{44}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{41}
}
func (x *GetSchemaGroupRequest) GetName() string {
@@ -3264,7 +3100,7 @@ type SchemaGroup struct {
func (x *SchemaGroup) Reset() {
*x = SchemaGroup{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[45]
+ mi := &file_v1_project_service_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3277,7 +3113,7 @@ func (x *SchemaGroup) String() string {
func (*SchemaGroup) ProtoMessage() {}
func (x *SchemaGroup) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[45]
+ mi := &file_v1_project_service_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3290,7 +3126,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{45}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{42}
}
func (x *SchemaGroup) GetName() string {
@@ -3341,7 +3177,7 @@ type GetProjectProtectionRulesRequest struct {
func (x *GetProjectProtectionRulesRequest) Reset() {
*x = GetProjectProtectionRulesRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[46]
+ mi := &file_v1_project_service_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3354,7 +3190,7 @@ func (x *GetProjectProtectionRulesRequest) String() string {
func (*GetProjectProtectionRulesRequest) ProtoMessage() {}
func (x *GetProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[46]
+ mi := &file_v1_project_service_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3367,7 +3203,7 @@ func (x *GetProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetProjectProtectionRulesRequest.ProtoReflect.Descriptor instead.
func (*GetProjectProtectionRulesRequest) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{46}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{43}
}
func (x *GetProjectProtectionRulesRequest) GetName() string {
@@ -3388,7 +3224,7 @@ type UpdateProjectProtectionRulesRequest struct {
func (x *UpdateProjectProtectionRulesRequest) Reset() {
*x = UpdateProjectProtectionRulesRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[47]
+ mi := &file_v1_project_service_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3401,7 +3237,7 @@ func (x *UpdateProjectProtectionRulesRequest) String() string {
func (*UpdateProjectProtectionRulesRequest) ProtoMessage() {}
func (x *UpdateProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[47]
+ mi := &file_v1_project_service_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3414,7 +3250,7 @@ func (x *UpdateProjectProtectionRulesRequest) ProtoReflect() protoreflect.Messag
// Deprecated: Use UpdateProjectProtectionRulesRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectProtectionRulesRequest) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{47}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{44}
}
func (x *UpdateProjectProtectionRulesRequest) GetProtectionRules() *ProtectionRules {
@@ -3438,7 +3274,7 @@ type ProtectionRules struct {
func (x *ProtectionRules) Reset() {
*x = ProtectionRules{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[48]
+ mi := &file_v1_project_service_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3451,7 +3287,7 @@ func (x *ProtectionRules) String() string {
func (*ProtectionRules) ProtoMessage() {}
func (x *ProtectionRules) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[48]
+ mi := &file_v1_project_service_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3464,7 +3300,7 @@ func (x *ProtectionRules) ProtoReflect() protoreflect.Message {
// Deprecated: Use ProtectionRules.ProtoReflect.Descriptor instead.
func (*ProtectionRules) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{48}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{45}
}
func (x *ProtectionRules) GetName() string {
@@ -3500,7 +3336,7 @@ type ProtectionRule struct {
func (x *ProtectionRule) Reset() {
*x = ProtectionRule{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[49]
+ mi := &file_v1_project_service_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3513,7 +3349,7 @@ func (x *ProtectionRule) String() string {
func (*ProtectionRule) ProtoMessage() {}
func (x *ProtectionRule) ProtoReflect() protoreflect.Message {
- mi := &file_v1_project_service_proto_msgTypes[49]
+ mi := &file_v1_project_service_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3526,7 +3362,7 @@ func (x *ProtectionRule) ProtoReflect() protoreflect.Message {
// Deprecated: Use ProtectionRule.ProtoReflect.Descriptor instead.
func (*ProtectionRule) Descriptor() ([]byte, []int) {
- return file_v1_project_service_proto_rawDescGZIP(), []int{49}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{46}
}
func (x *ProtectionRule) GetId() string {
@@ -3576,7 +3412,7 @@ type BatchGetIamPolicyResponse_PolicyResult struct {
func (x *BatchGetIamPolicyResponse_PolicyResult) Reset() {
*x = BatchGetIamPolicyResponse_PolicyResult{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[50]
+ mi := &file_v1_project_service_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3589,7 +3425,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[50]
+ mi := &file_v1_project_service_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3632,7 +3468,7 @@ type DatabaseGroup_Database struct {
func (x *DatabaseGroup_Database) Reset() {
*x = DatabaseGroup_Database{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[51]
+ mi := &file_v1_project_service_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3645,7 +3481,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[51]
+ mi := &file_v1_project_service_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3658,7 +3494,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{38, 0}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{35, 0}
}
func (x *DatabaseGroup_Database) GetName() string {
@@ -3686,7 +3522,7 @@ type SchemaGroup_Table struct {
func (x *SchemaGroup_Table) Reset() {
*x = SchemaGroup_Table{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_project_service_proto_msgTypes[52]
+ mi := &file_v1_project_service_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3699,7 +3535,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[52]
+ mi := &file_v1_project_service_proto_msgTypes[49]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3712,7 +3548,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{45, 0}
+ return file_v1_project_service_proto_rawDescGZIP(), []int{42, 0}
}
func (x *SchemaGroup_Table) GetDatabase() string {
@@ -3754,780 +3590,729 @@ var file_v1_project_service_proto_rawDesc = []byte{
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78, 0x70, 0x72,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f,
- 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x76, 0x31,
- 0x2f, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x11, 0x47,
- 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x74, 0x0a, 0x13, 0x4c, 0x69, 0x73,
- 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c,
- 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22,
- 0x70, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,
- 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,
- 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
- 0x6e, 0x22, 0x3a, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68,
- 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x4a, 0x0a,
- 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,
- 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x6a, 0x0a, 0x14, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33,
- 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
- 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b,
- 0x22, 0x45, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x31, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x11,
+ 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x34, 0x0a, 0x13, 0x47, 0x65,
- 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x74, 0x0a, 0x13, 0x4c, 0x69,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,
+ 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a,
+ 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64,
+ 0x22, 0x70, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,
+ 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x22, 0x3a, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73,
+ 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x4a,
+ 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x6a, 0x0a, 0x14, 0x43, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,
+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x33, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,
+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
+ 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
+ 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
+ 0x6b, 0x22, 0x45, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x31, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65,
+ 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 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, 0x34, 0x0a, 0x13, 0x47,
+ 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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, 0x4b, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a,
+ 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
+ 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65,
+ 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xd1,
+ 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0e,
+ 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63,
+ 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x58, 0x0a, 0x0c, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x22, 0x69, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 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, 0x33, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x35, 0x0a,
+ 0x1a, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x5b, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65,
+ 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x22, 0xe8, 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
+ 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x08, 0x77, 0x6f,
+ 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66,
+ 0x6c, 0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x38, 0x0a,
+ 0x0b, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01,
+ 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x74, 0x65, 0x6e,
+ 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f,
+ 0x6f, 0x6b, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52,
+ 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x64, 0x61, 0x74,
+ 0x61, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x1a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x11,
+ 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 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, 0x4b, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x05,
- 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
- 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xd1, 0x01,
- 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
- 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0e, 0x70,
- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
- 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x6c, 0x69,
- 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x58, 0x0a, 0x0c, 0x50, 0x6f, 0x6c, 0x69, 0x63,
- 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63,
- 0x79, 0x22, 0x69, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
- 0x79, 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, 0x33, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63,
- 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42,
- 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x35, 0x0a, 0x1a,
- 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x5b, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70,
- 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x22, 0xd7, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 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, 0x53, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x67,
- 0x69, 0x74, 0x6f, 0x70, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 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,
- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69,
- 0x74, 0x6f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d,
- 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c,
- 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x38, 0x0a, 0x1d, 0x55, 0x6e,
- 0x73, 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, 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, 0x36, 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, 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, 0xe8, 0x02, 0x0a,
- 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03,
- 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03,
- 0x75, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a,
- 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
- 0x74, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f,
- 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x08,
- 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x38, 0x0a, 0x0b, 0x74, 0x65, 0x6e, 0x61,
- 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x6e, 0x61,
- 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f,
- 0x64, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x0b,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6c, 0x61,
- 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x64, 0x61, 0x74,
- 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65,
- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x07, 0x77,
- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f,
- 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x22, 0x88, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f,
- 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x77, 0x65, 0x62,
- 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3b,
- 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x4b, 0x0a, 0x14, 0x52,
- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
- 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x68, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74,
- 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a,
- 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62,
- 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f,
- 0x6f, 0x6b, 0x22, 0x2b, 0x0a, 0x13, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
- 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
- 0xe9, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74,
- 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 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, 0x4e, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
- 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0,
- 0x41, 0x06, 0x52, 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
- 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x4c, 0x41,
- 0x43, 0x4b, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49, 0x53,
- 0x43, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54,
- 0x45, 0x41, 0x4d, 0x53, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44,
- 0x49, 0x4e, 0x47, 0x54, 0x41, 0x4c, 0x4b, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x46, 0x45, 0x49, 0x53, 0x48, 0x55, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x57, 0x45, 0x43, 0x4f, 0x4d, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x07, 0x22, 0x6f, 0x0a, 0x10, 0x44,
- 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x73, 0x63, 0x68,
- 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,
- 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x4d, 0x0a, 0x08,
- 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c,
- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65,
- 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b,
- 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x5b, 0x0a, 0x12, 0x53,
- 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,
- 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70,
- 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x53, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c,
- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x41, 0x0a, 0x0e, 0x6c, 0x61,
- 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d,
- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x63, 0x0a,
- 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x52,
- 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c,
- 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
- 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63,
- 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10,
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
- 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22,
- 0xa5, 0x06, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x98, 0x06, 0x0a,
- 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
- 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x54,
- 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45,
- 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x17, 0x12, 0x20, 0x0a, 0x1c, 0x54,
- 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c,
- 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x4f, 0x55, 0x54, 0x10, 0x18, 0x12, 0x15, 0x0a,
- 0x11, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41,
- 0x54, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53,
- 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54,
- 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55,
- 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03,
- 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x53,
- 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x1e,
- 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50,
- 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10, 0x15, 0x12, 0x2b,
- 0x0a, 0x27, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50,
- 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54,
- 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x05, 0x12, 0x2a, 0x0a, 0x26, 0x54,
- 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49,
- 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55,
- 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x2e, 0x0a, 0x2a, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54,
- 0x41, 0x53, 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55,
- 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x16, 0x12, 0x28, 0x0a, 0x24, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54,
- 0x41, 0x53, 0x4b, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10,
- 0x07, 0x12, 0x2d, 0x0a, 0x29, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f,
- 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54,
- 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08,
- 0x12, 0x39, 0x0a, 0x35, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50,
- 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x45, 0x41, 0x52,
- 0x4c, 0x49, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x5f, 0x54, 0x49,
- 0x4d, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x09, 0x12, 0x16, 0x0a, 0x12, 0x54,
- 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54,
- 0x45, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42,
- 0x45, 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0b,
- 0x12, 0x18, 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f,
- 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x0c, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49,
- 0x56, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50,
- 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52,
- 0x59, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x10, 0x0e, 0x12, 0x22, 0x0a, 0x1e, 0x54, 0x59, 0x50, 0x45,
- 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53,
- 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x0f, 0x12, 0x1e, 0x0a, 0x1a,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d,
- 0x42, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x10, 0x12, 0x1e, 0x0a, 0x1a,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d,
- 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x5f,
- 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x13, 0x22, 0x74, 0x0a, 0x19, 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, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,
- 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x89, 0x01,
- 0x0a, 0x1a, 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, 0x12, 0x43, 0x0a, 0x0f,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 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, 0x66, 0x0a, 0x17, 0x47, 0x65, 0x74,
- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x32, 0x0a,
- 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65,
- 0x77, 0x22, 0xd2, 0x01, 0x0a, 0x1a, 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,
- 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a,
- 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,
- 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e,
- 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xa1, 0x01, 0x0a, 0x1a, 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, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3b, 0x0a,
- 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x35, 0x0a, 0x1a, 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, 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, 0xe0, 0x02, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x50,
- 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x0d, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x45, 0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78,
- 0x70, 0x72, 0x12, 0x55, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 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, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x13, 0x75, 0x6e, 0x6d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 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, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03,
- 0x52, 0x12, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x73, 0x1a, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x12, 0x33, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65,
+ 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x88, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33,
+ 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,
+ 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68,
+ 0x6f, 0x6f, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
+ 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
+ 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b,
+ 0x22, 0x4b, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,
+ 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68,
+ 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42,
+ 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x68, 0x0a,
+ 0x12, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,
+ 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x2b, 0x0a, 0x13, 0x54, 0x65, 0x73, 0x74, 0x57,
+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
+ 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
+ 0x72, 0x72, 0x6f, 0x72, 0x22, 0xe9, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x40,
- 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x03,
- 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x99, 0x01,
- 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x63,
- 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
- 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3b, 0x0a, 0x0b,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x33, 0x0a, 0x18, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x72,
- 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75,
+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0,
+ 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x74, 0x69,
+ 0x74, 0x6c, 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, 0x4e, 0x0a, 0x12, 0x6e, 0x6f,
+ 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
+ 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79,
+ 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x06, 0x52, 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x04, 0x54,
+ 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x53, 0x4c, 0x41, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x53, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49, 0x4e, 0x47, 0x54, 0x41, 0x4c, 0x4b, 0x10, 0x04, 0x12, 0x0f,
+ 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x45, 0x49, 0x53, 0x48, 0x55, 0x10, 0x05, 0x12,
+ 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x43, 0x4f, 0x4d, 0x10, 0x06, 0x12,
+ 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x07,
+ 0x22, 0x6f, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x31,
+ 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
+ 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
+ 0x65, 0x22, 0x4d, 0x0a, 0x08, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x41, 0x0a,
+ 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
+ 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73,
+ 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c,
+ 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04,
+ 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
+ 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x53, 0x0a,
+ 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12,
+ 0x41, 0x0a, 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,
+ 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63,
+ 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
+ 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63,
+ 0x74, 0x6f, 0x72, 0x12, 0x52, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70,
+ 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62,
+ 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72,
+ 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c,
+ 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d,
+ 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79,
+ 0x70, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x73, 0x22, 0xa5, 0x06, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
+ 0x79, 0x22, 0x98, 0x06, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
+ 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f,
+ 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x17,
+ 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f,
+ 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x4f, 0x55, 0x54,
+ 0x10, 0x18, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45,
+ 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x54, 0x5f,
+ 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x50, 0x44,
+ 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53,
+ 0x53, 0x55, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,
+ 0x45, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55,
+ 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46,
+ 0x59, 0x10, 0x15, 0x12, 0x2b, 0x0a, 0x27, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55,
+ 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45,
+ 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x05,
+ 0x12, 0x2a, 0x0a, 0x26, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50,
+ 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41,
+ 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x2e, 0x0a, 0x2a,
+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c,
+ 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41,
+ 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x16, 0x12, 0x28, 0x0a, 0x24,
+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c,
+ 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x43, 0x4f,
+ 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x07, 0x12, 0x2d, 0x0a, 0x29, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49,
+ 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41,
+ 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x50, 0x44,
+ 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x39, 0x0a, 0x35, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53,
+ 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53,
+ 0x4b, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x49, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57,
+ 0x45, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x09,
+ 0x12, 0x16, 0x0a, 0x12, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f,
+ 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x50, 0x44,
+ 0x41, 0x54, 0x45, 0x10, 0x0b, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45,
+ 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x0c, 0x12,
+ 0x1a, 0x0a, 0x16, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44,
+ 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x20, 0x0a, 0x1c, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f,
+ 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x10, 0x0e, 0x12, 0x22, 0x0a,
+ 0x1e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x41,
+ 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10,
+ 0x0f, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43,
+ 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10,
+ 0x10, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43,
+ 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10,
+ 0x11, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x45, 0x44,
+ 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x13, 0x22, 0x74, 0x0a, 0x19,
+ 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, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72,
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06,
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
- 0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x3d, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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,
- 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x62, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68,
+ 0x65, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x1a, 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, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72,
+ 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x66,
+ 0x0a, 0x17, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 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, 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77,
+ 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0xd2, 0x01, 0x0a, 0x1a, 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, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
+ 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x64, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
+ 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76,
+ 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xa1, 0x01, 0x0a, 0x1a,
+ 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, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 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, 0x42, 0x03,
+ 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
+ 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
+ 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22,
+ 0x35, 0x0a, 0x1a, 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, 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, 0xe0, 0x02, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f,
+ 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12,
+ 0x36, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x55, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68,
+ 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x23, 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, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6d, 0x61,
+ 0x74, 0x63, 0x68, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x59,
+ 0x0a, 0x13, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 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, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x1a, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x18, 0x43, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72,
+ 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x23, 0x0a,
+ 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e,
+ 0x6c, 0x79, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x68,
0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x30, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0xef, 0x02, 0x0a, 0x0b, 0x53,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30,
- 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65,
- 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72,
- 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68,
- 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x4a, 0x0a,
- 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
- 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e,
- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x10, 0x75, 0x6e, 0x6d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x54, 0x61,
- 0x62, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x51, 0x0a, 0x05, 0x54, 0x61, 0x62,
- 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x16,
- 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3b, 0x0a, 0x20,
- 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 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, 0x73, 0x0a, 0x23, 0x55, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x4c, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
- 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x70,
- 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x58,
- 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,
- 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,
- 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xf7, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f,
- 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x06, 0x74,
- 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52,
- 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f,
- 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61,
- 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f,
- 0x77, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52,
- 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x4d, 0x0a,
- 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,
- 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c,
- 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x47, 0x0a, 0x06,
- 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43,
- 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50,
- 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52, 0x41,
- 0x4e, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c,
- 0x49, 0x53, 0x54, 0x10, 0x02, 0x22, 0x3b, 0x0a, 0x0c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f,
- 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45,
- 0x10, 0x01, 0x2a, 0x35, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x18,
- 0x0a, 0x14, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x55, 0x49, 0x10, 0x01,
- 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02, 0x2a, 0x5c, 0x0a, 0x0a, 0x54, 0x65, 0x6e,
- 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x45, 0x4e, 0x41, 0x4e,
- 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d,
- 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x17,
- 0x0a, 0x13, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x45, 0x4e,
- 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x5d, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x45, 0x52, 0x41,
- 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54,
- 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14,
- 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58,
- 0x49, 0x53, 0x54, 0x53, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77, 0x12, 0x23, 0x0a, 0x1f, 0x44,
- 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49,
- 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
- 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f,
- 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12,
- 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55,
- 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x6d, 0x0a,
- 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77,
- 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
- 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 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, 0xec, 0x23, 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, 0x14, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c, 0x0a, 0x0c, 0x4c, 0x69, 0x73,
- 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17,
- 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x79, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
- 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72,
- 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x1e, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f,
- 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72,
- 0x63, 0x68, 0x12, 0x6a, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x20, 0xda, 0x41,
- 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x8e,
- 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x44, 0xda, 0x41, 0x13, 0x70, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
- 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
- 0x70, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x24, 0xda, 0x41, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x2a, 0x15, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
- 0x7d, 0x12, 0x77, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f,
- 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22,
- 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
- 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x77, 0x0a, 0x0c, 0x47, 0x65,
- 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f,
- 0x6c, 0x69, 0x63, 0x79, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76,
- 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
- 0x69, 0x63, 0x79, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,
- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,
- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,
- 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26,
- 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x2a, 0x2f, 0x2a,
- 0x7d, 0x2f, 0x69, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x62, 0x61,
- 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x7a, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d,
- 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
- 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
- 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
- 0x63, 0x79, 0x12, 0x90, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,
- 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c,
- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
- 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa5, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
+ 0x40, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x42,
+ 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61,
+ 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x33,
+ 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 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, 0x72, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
+ 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
+ 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70,
+ 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
+ 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65,
+ 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61,
+ 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74,
+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 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, 0x62, 0x0a, 0x15, 0x47,
+ 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x30, 0x0a,
+ 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22,
+ 0xef, 0x02, 0x0a, 0x0b, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
+ 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70,
+ 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64,
+ 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x74, 0x61,
+ 0x62, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
+ 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4e,
+ 0x0a, 0x10, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x75,
+ 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x51,
+ 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74,
+ 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x22, 0x3b, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 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, 0x73,
+ 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
+ 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x03, 0xe0,
+ 0x41, 0x02, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
+ 0x6c, 0x65, 0x73, 0x22, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75,
+ 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xf7, 0x02,
+ 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,
+ 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
+ 0x12, 0x3a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,
+ 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x54, 0x61,
+ 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a,
+ 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04,
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x6f, 0x6c,
+ 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63,
+ 0x65, 0x22, 0x47, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x1d, 0x50,
+ 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54,
+ 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a,
+ 0x0a, 0x06, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x48,
+ 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, 0x22, 0x3b, 0x0a, 0x0c, 0x42, 0x72,
+ 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x42, 0x52,
+ 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54,
+ 0x41, 0x42, 0x41, 0x53, 0x45, 0x10, 0x01, 0x2a, 0x35, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66,
+ 0x6c, 0x6f, 0x77, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f,
+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a,
+ 0x02, 0x55, 0x49, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02, 0x2a, 0x5c,
+ 0x0a, 0x0a, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17,
+ 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x45, 0x4e,
+ 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45,
+ 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f,
+ 0x44, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x5d, 0x0a, 0x0c,
+ 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19,
+ 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4f,
+ 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x10,
+ 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x11, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77,
+ 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f,
+ 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
+ 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53,
+ 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53,
+ 0x49, 0x43, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45,
+ 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c,
+ 0x10, 0x02, 0x2a, 0x6d, 0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x56, 0x69, 0x65, 0x77, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f,
+ 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
+ 0x43, 0x49, 0x46, 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, 0xa5, 0x20, 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, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c,
+ 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x20,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
+ 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x17, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c,
+ 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x79, 0x0a, 0x0e,
+ 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,
+ 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x6a, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x22, 0x20, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x07, 0x70, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x73, 0x12, 0x8e, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x44,
+ 0xda, 0x41, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x70, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x70, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
+ 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x2a,
+ 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x77, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65,
+ 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22,
+ 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12,
+ 0x77, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
+ 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+ 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d,
+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49,
+ 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74,
+ 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,
+ 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x6f, 0x70,
+ 0x65, 0x3d, 0x2a, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
+ 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x7a, 0x0a, 0x0c, 0x53,
+ 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50,
+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a,
+ 0x22, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70,
+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61,
+ 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x90, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44,
+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
+ 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
+ 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,
+ 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12,
+ 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa5, 0x01, 0x0a, 0x16, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f,
- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x40, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x3a, 0x3a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x30, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x72, 0x0a,
- 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,
+ 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x32, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65,
+ 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f,
+ 0x2a, 0x7d, 0x12, 0x72, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
+ 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
+ 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,
+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01,
+ 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d,
+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x57,
+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xa1, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62,
0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79,
0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76,
- 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x12, 0xa1, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x57, 0xda, 0x41,
- 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
- 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f,
- 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65,
- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x8b, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
- 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x12, 0x81, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01,
- 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74,
- 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xa7, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61,
- 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, 0x55, 0x70, 0x64, 0x61, 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, 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, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x32, 0x34, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73,
- 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f,
- 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x16, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 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, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
- 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x2a,
- 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f,
- 0x7d, 0x12, 0x8a, 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, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73,
- 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76,
- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
- 0x2f, 0x2a, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x7d, 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,
+ 0x74, 0x22, 0x57, 0xda, 0x41, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a,
+ 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
+ 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
+ 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x8b, 0x01, 0x0a, 0x0d, 0x52,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76,
+ 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a,
+ 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77,
+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76,
+ 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x81, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73,
+ 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,
+ 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68,
+ 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
+ 0x3a, 0x74, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 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,
- 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,
+ 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, 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,
+ 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, 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,
+ 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, 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,
+ 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, 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,
- 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, 0x12, 0x97, 0x01,
- 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f,
- 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
- 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27,
- 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x7d, 0x12, 0xb1, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
- 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
- 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b,
- 0x3a, 0x01, 0x2a, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 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,
+ 0x6d, 0x61, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x19,
+ 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
+ 0x75, 0x6c, 0x65, 0x73, 0x7d, 0x12, 0xb1, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01,
+ 0x2a, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 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 (
@@ -4543,7 +4328,7 @@ func file_v1_project_service_proto_rawDescGZIP() []byte {
}
var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
-var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 53)
+var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 50)
var file_v1_project_service_proto_goTypes = []interface{}{
(Workflow)(0), // 0: bytebase.v1.Workflow
(TenantMode)(0), // 1: bytebase.v1.TenantMode
@@ -4569,167 +4354,155 @@ var file_v1_project_service_proto_goTypes = []interface{}{
(*SetIamPolicyRequest)(nil), // 21: bytebase.v1.SetIamPolicyRequest
(*GetDeploymentConfigRequest)(nil), // 22: bytebase.v1.GetDeploymentConfigRequest
(*UpdateDeploymentConfigRequest)(nil), // 23: bytebase.v1.UpdateDeploymentConfigRequest
- (*UpdateProjectGitOpsInfoRequest)(nil), // 24: bytebase.v1.UpdateProjectGitOpsInfoRequest
- (*UnsetProjectGitOpsInfoRequest)(nil), // 25: bytebase.v1.UnsetProjectGitOpsInfoRequest
- (*GetProjectGitOpsInfoRequest)(nil), // 26: bytebase.v1.GetProjectGitOpsInfoRequest
- (*Project)(nil), // 27: bytebase.v1.Project
- (*AddWebhookRequest)(nil), // 28: bytebase.v1.AddWebhookRequest
- (*UpdateWebhookRequest)(nil), // 29: bytebase.v1.UpdateWebhookRequest
- (*RemoveWebhookRequest)(nil), // 30: bytebase.v1.RemoveWebhookRequest
- (*TestWebhookRequest)(nil), // 31: bytebase.v1.TestWebhookRequest
- (*TestWebhookResponse)(nil), // 32: bytebase.v1.TestWebhookResponse
- (*Webhook)(nil), // 33: bytebase.v1.Webhook
- (*DeploymentConfig)(nil), // 34: bytebase.v1.DeploymentConfig
- (*Schedule)(nil), // 35: bytebase.v1.Schedule
- (*ScheduleDeployment)(nil), // 36: bytebase.v1.ScheduleDeployment
- (*DeploymentSpec)(nil), // 37: bytebase.v1.DeploymentSpec
- (*LabelSelector)(nil), // 38: bytebase.v1.LabelSelector
- (*LabelSelectorRequirement)(nil), // 39: bytebase.v1.LabelSelectorRequirement
- (*Activity)(nil), // 40: bytebase.v1.Activity
- (*ListDatabaseGroupsRequest)(nil), // 41: bytebase.v1.ListDatabaseGroupsRequest
- (*ListDatabaseGroupsResponse)(nil), // 42: bytebase.v1.ListDatabaseGroupsResponse
- (*GetDatabaseGroupRequest)(nil), // 43: bytebase.v1.GetDatabaseGroupRequest
- (*CreateDatabaseGroupRequest)(nil), // 44: bytebase.v1.CreateDatabaseGroupRequest
- (*UpdateDatabaseGroupRequest)(nil), // 45: bytebase.v1.UpdateDatabaseGroupRequest
- (*DeleteDatabaseGroupRequest)(nil), // 46: bytebase.v1.DeleteDatabaseGroupRequest
- (*DatabaseGroup)(nil), // 47: bytebase.v1.DatabaseGroup
- (*CreateSchemaGroupRequest)(nil), // 48: bytebase.v1.CreateSchemaGroupRequest
- (*UpdateSchemaGroupRequest)(nil), // 49: bytebase.v1.UpdateSchemaGroupRequest
- (*DeleteSchemaGroupRequest)(nil), // 50: bytebase.v1.DeleteSchemaGroupRequest
- (*ListSchemaGroupsRequest)(nil), // 51: bytebase.v1.ListSchemaGroupsRequest
- (*ListSchemaGroupsResponse)(nil), // 52: bytebase.v1.ListSchemaGroupsResponse
- (*GetSchemaGroupRequest)(nil), // 53: bytebase.v1.GetSchemaGroupRequest
- (*SchemaGroup)(nil), // 54: bytebase.v1.SchemaGroup
- (*GetProjectProtectionRulesRequest)(nil), // 55: bytebase.v1.GetProjectProtectionRulesRequest
- (*UpdateProjectProtectionRulesRequest)(nil), // 56: bytebase.v1.UpdateProjectProtectionRulesRequest
- (*ProtectionRules)(nil), // 57: bytebase.v1.ProtectionRules
- (*ProtectionRule)(nil), // 58: bytebase.v1.ProtectionRule
- (*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
- (*IamPolicy)(nil), // 63: bytebase.v1.IamPolicy
- (*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
+ (*Project)(nil), // 24: bytebase.v1.Project
+ (*AddWebhookRequest)(nil), // 25: bytebase.v1.AddWebhookRequest
+ (*UpdateWebhookRequest)(nil), // 26: bytebase.v1.UpdateWebhookRequest
+ (*RemoveWebhookRequest)(nil), // 27: bytebase.v1.RemoveWebhookRequest
+ (*TestWebhookRequest)(nil), // 28: bytebase.v1.TestWebhookRequest
+ (*TestWebhookResponse)(nil), // 29: bytebase.v1.TestWebhookResponse
+ (*Webhook)(nil), // 30: bytebase.v1.Webhook
+ (*DeploymentConfig)(nil), // 31: bytebase.v1.DeploymentConfig
+ (*Schedule)(nil), // 32: bytebase.v1.Schedule
+ (*ScheduleDeployment)(nil), // 33: bytebase.v1.ScheduleDeployment
+ (*DeploymentSpec)(nil), // 34: bytebase.v1.DeploymentSpec
+ (*LabelSelector)(nil), // 35: bytebase.v1.LabelSelector
+ (*LabelSelectorRequirement)(nil), // 36: bytebase.v1.LabelSelectorRequirement
+ (*Activity)(nil), // 37: bytebase.v1.Activity
+ (*ListDatabaseGroupsRequest)(nil), // 38: bytebase.v1.ListDatabaseGroupsRequest
+ (*ListDatabaseGroupsResponse)(nil), // 39: bytebase.v1.ListDatabaseGroupsResponse
+ (*GetDatabaseGroupRequest)(nil), // 40: bytebase.v1.GetDatabaseGroupRequest
+ (*CreateDatabaseGroupRequest)(nil), // 41: bytebase.v1.CreateDatabaseGroupRequest
+ (*UpdateDatabaseGroupRequest)(nil), // 42: bytebase.v1.UpdateDatabaseGroupRequest
+ (*DeleteDatabaseGroupRequest)(nil), // 43: bytebase.v1.DeleteDatabaseGroupRequest
+ (*DatabaseGroup)(nil), // 44: bytebase.v1.DatabaseGroup
+ (*CreateSchemaGroupRequest)(nil), // 45: bytebase.v1.CreateSchemaGroupRequest
+ (*UpdateSchemaGroupRequest)(nil), // 46: bytebase.v1.UpdateSchemaGroupRequest
+ (*DeleteSchemaGroupRequest)(nil), // 47: bytebase.v1.DeleteSchemaGroupRequest
+ (*ListSchemaGroupsRequest)(nil), // 48: bytebase.v1.ListSchemaGroupsRequest
+ (*ListSchemaGroupsResponse)(nil), // 49: bytebase.v1.ListSchemaGroupsResponse
+ (*GetSchemaGroupRequest)(nil), // 50: bytebase.v1.GetSchemaGroupRequest
+ (*SchemaGroup)(nil), // 51: bytebase.v1.SchemaGroup
+ (*GetProjectProtectionRulesRequest)(nil), // 52: bytebase.v1.GetProjectProtectionRulesRequest
+ (*UpdateProjectProtectionRulesRequest)(nil), // 53: bytebase.v1.UpdateProjectProtectionRulesRequest
+ (*ProtectionRules)(nil), // 54: bytebase.v1.ProtectionRules
+ (*ProtectionRule)(nil), // 55: bytebase.v1.ProtectionRule
+ (*BatchGetIamPolicyResponse_PolicyResult)(nil), // 56: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult
+ (*DatabaseGroup_Database)(nil), // 57: bytebase.v1.DatabaseGroup.Database
+ (*SchemaGroup_Table)(nil), // 58: bytebase.v1.SchemaGroup.Table
+ (*fieldmaskpb.FieldMask)(nil), // 59: google.protobuf.FieldMask
+ (*IamPolicy)(nil), // 60: bytebase.v1.IamPolicy
+ (State)(0), // 61: bytebase.v1.State
+ (*expr.Expr)(nil), // 62: google.type.Expr
+ (*emptypb.Empty)(nil), // 63: google.protobuf.Empty
}
var file_v1_project_service_proto_depIdxs = []int32{
- 27, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project
- 27, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project
- 27, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project
- 27, // 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
- 63, // 6: bytebase.v1.SetIamPolicyRequest.policy:type_name -> bytebase.v1.IamPolicy
- 34, // 7: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig
- 64, // 8: bytebase.v1.UpdateProjectGitOpsInfoRequest.project_gitops_info:type_name -> bytebase.v1.ProjectGitOpsInfo
- 62, // 9: bytebase.v1.UpdateProjectGitOpsInfoRequest.update_mask:type_name -> google.protobuf.FieldMask
- 65, // 10: bytebase.v1.Project.state:type_name -> bytebase.v1.State
- 0, // 11: bytebase.v1.Project.workflow:type_name -> bytebase.v1.Workflow
- 1, // 12: bytebase.v1.Project.tenant_mode:type_name -> bytebase.v1.TenantMode
- 33, // 13: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook
- 33, // 14: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 33, // 15: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 62, // 16: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask
- 33, // 17: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 33, // 18: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
- 5, // 19: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type
- 6, // 20: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type
- 35, // 21: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule
- 36, // 22: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment
- 37, // 23: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec
- 38, // 24: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector
- 39, // 25: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement
- 2, // 26: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType
- 47, // 27: bytebase.v1.ListDatabaseGroupsResponse.database_groups:type_name -> bytebase.v1.DatabaseGroup
- 3, // 28: bytebase.v1.GetDatabaseGroupRequest.view:type_name -> bytebase.v1.DatabaseGroupView
- 47, // 29: bytebase.v1.CreateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup
- 47, // 30: bytebase.v1.UpdateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup
- 62, // 31: bytebase.v1.UpdateDatabaseGroupRequest.update_mask:type_name -> google.protobuf.FieldMask
- 66, // 32: bytebase.v1.DatabaseGroup.database_expr:type_name -> google.type.Expr
- 60, // 33: bytebase.v1.DatabaseGroup.matched_databases:type_name -> bytebase.v1.DatabaseGroup.Database
- 60, // 34: bytebase.v1.DatabaseGroup.unmatched_databases:type_name -> bytebase.v1.DatabaseGroup.Database
- 54, // 35: bytebase.v1.CreateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup
- 54, // 36: bytebase.v1.UpdateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup
- 62, // 37: bytebase.v1.UpdateSchemaGroupRequest.update_mask:type_name -> google.protobuf.FieldMask
- 54, // 38: bytebase.v1.ListSchemaGroupsResponse.schema_groups:type_name -> bytebase.v1.SchemaGroup
- 4, // 39: bytebase.v1.GetSchemaGroupRequest.view:type_name -> bytebase.v1.SchemaGroupView
- 66, // 40: bytebase.v1.SchemaGroup.table_expr:type_name -> google.type.Expr
- 61, // 41: bytebase.v1.SchemaGroup.matched_tables:type_name -> bytebase.v1.SchemaGroup.Table
- 61, // 42: bytebase.v1.SchemaGroup.unmatched_tables:type_name -> bytebase.v1.SchemaGroup.Table
- 57, // 43: bytebase.v1.UpdateProjectProtectionRulesRequest.protection_rules:type_name -> bytebase.v1.ProtectionRules
- 58, // 44: bytebase.v1.ProtectionRules.rules:type_name -> bytebase.v1.ProtectionRule
- 7, // 45: bytebase.v1.ProtectionRule.target:type_name -> bytebase.v1.ProtectionRule.Target
- 8, // 46: bytebase.v1.ProtectionRule.branch_source:type_name -> bytebase.v1.ProtectionRule.BranchSource
- 63, // 47: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy
- 9, // 48: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest
- 10, // 49: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest
- 12, // 50: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest
- 14, // 51: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest
- 15, // 52: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest
- 16, // 53: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest
- 17, // 54: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest
- 18, // 55: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest
- 19, // 56: bytebase.v1.ProjectService.BatchGetIamPolicy:input_type -> bytebase.v1.BatchGetIamPolicyRequest
- 21, // 57: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest
- 22, // 58: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest
- 23, // 59: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest
- 28, // 60: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest
- 29, // 61: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest
- 30, // 62: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest
- 31, // 63: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest
- 24, // 64: bytebase.v1.ProjectService.UpdateProjectGitOpsInfo:input_type -> bytebase.v1.UpdateProjectGitOpsInfoRequest
- 25, // 65: bytebase.v1.ProjectService.UnsetProjectGitOpsInfo:input_type -> bytebase.v1.UnsetProjectGitOpsInfoRequest
- 26, // 66: bytebase.v1.ProjectService.GetProjectGitOpsInfo:input_type -> bytebase.v1.GetProjectGitOpsInfoRequest
- 41, // 67: bytebase.v1.ProjectService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest
- 43, // 68: bytebase.v1.ProjectService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest
- 44, // 69: bytebase.v1.ProjectService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest
- 45, // 70: bytebase.v1.ProjectService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest
- 46, // 71: bytebase.v1.ProjectService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest
- 51, // 72: bytebase.v1.ProjectService.ListSchemaGroups:input_type -> bytebase.v1.ListSchemaGroupsRequest
- 53, // 73: bytebase.v1.ProjectService.GetSchemaGroup:input_type -> bytebase.v1.GetSchemaGroupRequest
- 48, // 74: bytebase.v1.ProjectService.CreateSchemaGroup:input_type -> bytebase.v1.CreateSchemaGroupRequest
- 49, // 75: bytebase.v1.ProjectService.UpdateSchemaGroup:input_type -> bytebase.v1.UpdateSchemaGroupRequest
- 50, // 76: bytebase.v1.ProjectService.DeleteSchemaGroup:input_type -> bytebase.v1.DeleteSchemaGroupRequest
- 55, // 77: bytebase.v1.ProjectService.GetProjectProtectionRules:input_type -> bytebase.v1.GetProjectProtectionRulesRequest
- 56, // 78: bytebase.v1.ProjectService.UpdateProjectProtectionRules:input_type -> bytebase.v1.UpdateProjectProtectionRulesRequest
- 27, // 79: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project
- 11, // 80: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse
- 13, // 81: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse
- 27, // 82: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project
- 27, // 83: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project
- 67, // 84: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty
- 27, // 85: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project
- 63, // 86: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy
- 20, // 87: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse
- 63, // 88: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy
- 34, // 89: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig
- 34, // 90: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig
- 27, // 91: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project
- 27, // 92: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project
- 27, // 93: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project
- 32, // 94: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse
- 64, // 95: bytebase.v1.ProjectService.UpdateProjectGitOpsInfo:output_type -> bytebase.v1.ProjectGitOpsInfo
- 67, // 96: bytebase.v1.ProjectService.UnsetProjectGitOpsInfo:output_type -> google.protobuf.Empty
- 64, // 97: bytebase.v1.ProjectService.GetProjectGitOpsInfo:output_type -> bytebase.v1.ProjectGitOpsInfo
- 42, // 98: bytebase.v1.ProjectService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse
- 47, // 99: bytebase.v1.ProjectService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup
- 47, // 100: bytebase.v1.ProjectService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup
- 47, // 101: bytebase.v1.ProjectService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup
- 67, // 102: bytebase.v1.ProjectService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty
- 52, // 103: bytebase.v1.ProjectService.ListSchemaGroups:output_type -> bytebase.v1.ListSchemaGroupsResponse
- 54, // 104: bytebase.v1.ProjectService.GetSchemaGroup:output_type -> bytebase.v1.SchemaGroup
- 54, // 105: bytebase.v1.ProjectService.CreateSchemaGroup:output_type -> bytebase.v1.SchemaGroup
- 54, // 106: bytebase.v1.ProjectService.UpdateSchemaGroup:output_type -> bytebase.v1.SchemaGroup
- 67, // 107: bytebase.v1.ProjectService.DeleteSchemaGroup:output_type -> google.protobuf.Empty
- 57, // 108: bytebase.v1.ProjectService.GetProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules
- 57, // 109: bytebase.v1.ProjectService.UpdateProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules
- 79, // [79:110] is the sub-list for method output_type
- 48, // [48:79] is the sub-list for method input_type
- 48, // [48:48] is the sub-list for extension type_name
- 48, // [48:48] is the sub-list for extension extendee
- 0, // [0:48] is the sub-list for field type_name
+ 24, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project
+ 24, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project
+ 24, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project
+ 24, // 3: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project
+ 59, // 4: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 56, // 5: bytebase.v1.BatchGetIamPolicyResponse.policy_results:type_name -> bytebase.v1.BatchGetIamPolicyResponse.PolicyResult
+ 60, // 6: bytebase.v1.SetIamPolicyRequest.policy:type_name -> bytebase.v1.IamPolicy
+ 31, // 7: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig
+ 61, // 8: bytebase.v1.Project.state:type_name -> bytebase.v1.State
+ 0, // 9: bytebase.v1.Project.workflow:type_name -> bytebase.v1.Workflow
+ 1, // 10: bytebase.v1.Project.tenant_mode:type_name -> bytebase.v1.TenantMode
+ 30, // 11: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook
+ 30, // 12: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 30, // 13: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 59, // 14: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 30, // 15: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 30, // 16: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook
+ 5, // 17: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type
+ 6, // 18: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type
+ 32, // 19: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule
+ 33, // 20: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment
+ 34, // 21: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec
+ 35, // 22: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector
+ 36, // 23: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement
+ 2, // 24: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType
+ 44, // 25: bytebase.v1.ListDatabaseGroupsResponse.database_groups:type_name -> bytebase.v1.DatabaseGroup
+ 3, // 26: bytebase.v1.GetDatabaseGroupRequest.view:type_name -> bytebase.v1.DatabaseGroupView
+ 44, // 27: bytebase.v1.CreateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup
+ 44, // 28: bytebase.v1.UpdateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup
+ 59, // 29: bytebase.v1.UpdateDatabaseGroupRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 62, // 30: bytebase.v1.DatabaseGroup.database_expr:type_name -> google.type.Expr
+ 57, // 31: bytebase.v1.DatabaseGroup.matched_databases:type_name -> bytebase.v1.DatabaseGroup.Database
+ 57, // 32: bytebase.v1.DatabaseGroup.unmatched_databases:type_name -> bytebase.v1.DatabaseGroup.Database
+ 51, // 33: bytebase.v1.CreateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup
+ 51, // 34: bytebase.v1.UpdateSchemaGroupRequest.schema_group:type_name -> bytebase.v1.SchemaGroup
+ 59, // 35: bytebase.v1.UpdateSchemaGroupRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 51, // 36: bytebase.v1.ListSchemaGroupsResponse.schema_groups:type_name -> bytebase.v1.SchemaGroup
+ 4, // 37: bytebase.v1.GetSchemaGroupRequest.view:type_name -> bytebase.v1.SchemaGroupView
+ 62, // 38: bytebase.v1.SchemaGroup.table_expr:type_name -> google.type.Expr
+ 58, // 39: bytebase.v1.SchemaGroup.matched_tables:type_name -> bytebase.v1.SchemaGroup.Table
+ 58, // 40: bytebase.v1.SchemaGroup.unmatched_tables:type_name -> bytebase.v1.SchemaGroup.Table
+ 54, // 41: bytebase.v1.UpdateProjectProtectionRulesRequest.protection_rules:type_name -> bytebase.v1.ProtectionRules
+ 55, // 42: bytebase.v1.ProtectionRules.rules:type_name -> bytebase.v1.ProtectionRule
+ 7, // 43: bytebase.v1.ProtectionRule.target:type_name -> bytebase.v1.ProtectionRule.Target
+ 8, // 44: bytebase.v1.ProtectionRule.branch_source:type_name -> bytebase.v1.ProtectionRule.BranchSource
+ 60, // 45: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy
+ 9, // 46: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest
+ 10, // 47: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest
+ 12, // 48: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest
+ 14, // 49: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest
+ 15, // 50: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest
+ 16, // 51: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest
+ 17, // 52: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest
+ 18, // 53: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest
+ 19, // 54: bytebase.v1.ProjectService.BatchGetIamPolicy:input_type -> bytebase.v1.BatchGetIamPolicyRequest
+ 21, // 55: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest
+ 22, // 56: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest
+ 23, // 57: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest
+ 25, // 58: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest
+ 26, // 59: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest
+ 27, // 60: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest
+ 28, // 61: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest
+ 38, // 62: bytebase.v1.ProjectService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest
+ 40, // 63: bytebase.v1.ProjectService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest
+ 41, // 64: bytebase.v1.ProjectService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest
+ 42, // 65: bytebase.v1.ProjectService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest
+ 43, // 66: bytebase.v1.ProjectService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest
+ 48, // 67: bytebase.v1.ProjectService.ListSchemaGroups:input_type -> bytebase.v1.ListSchemaGroupsRequest
+ 50, // 68: bytebase.v1.ProjectService.GetSchemaGroup:input_type -> bytebase.v1.GetSchemaGroupRequest
+ 45, // 69: bytebase.v1.ProjectService.CreateSchemaGroup:input_type -> bytebase.v1.CreateSchemaGroupRequest
+ 46, // 70: bytebase.v1.ProjectService.UpdateSchemaGroup:input_type -> bytebase.v1.UpdateSchemaGroupRequest
+ 47, // 71: bytebase.v1.ProjectService.DeleteSchemaGroup:input_type -> bytebase.v1.DeleteSchemaGroupRequest
+ 52, // 72: bytebase.v1.ProjectService.GetProjectProtectionRules:input_type -> bytebase.v1.GetProjectProtectionRulesRequest
+ 53, // 73: bytebase.v1.ProjectService.UpdateProjectProtectionRules:input_type -> bytebase.v1.UpdateProjectProtectionRulesRequest
+ 24, // 74: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project
+ 11, // 75: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse
+ 13, // 76: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse
+ 24, // 77: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project
+ 24, // 78: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project
+ 63, // 79: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty
+ 24, // 80: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project
+ 60, // 81: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy
+ 20, // 82: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse
+ 60, // 83: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy
+ 31, // 84: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig
+ 31, // 85: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig
+ 24, // 86: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project
+ 24, // 87: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project
+ 24, // 88: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project
+ 29, // 89: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse
+ 39, // 90: bytebase.v1.ProjectService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse
+ 44, // 91: bytebase.v1.ProjectService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup
+ 44, // 92: bytebase.v1.ProjectService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup
+ 44, // 93: bytebase.v1.ProjectService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup
+ 63, // 94: bytebase.v1.ProjectService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty
+ 49, // 95: bytebase.v1.ProjectService.ListSchemaGroups:output_type -> bytebase.v1.ListSchemaGroupsResponse
+ 51, // 96: bytebase.v1.ProjectService.GetSchemaGroup:output_type -> bytebase.v1.SchemaGroup
+ 51, // 97: bytebase.v1.ProjectService.CreateSchemaGroup:output_type -> bytebase.v1.SchemaGroup
+ 51, // 98: bytebase.v1.ProjectService.UpdateSchemaGroup:output_type -> bytebase.v1.SchemaGroup
+ 63, // 99: bytebase.v1.ProjectService.DeleteSchemaGroup:output_type -> google.protobuf.Empty
+ 54, // 100: bytebase.v1.ProjectService.GetProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules
+ 54, // 101: bytebase.v1.ProjectService.UpdateProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules
+ 74, // [74:102] is the sub-list for method output_type
+ 46, // [46:74] is the sub-list for method input_type
+ 46, // [46:46] is the sub-list for extension type_name
+ 46, // [46:46] is the sub-list for extension extendee
+ 0, // [0:46] is the sub-list for field type_name
}
func init() { file_v1_project_service_proto_init() }
@@ -4739,7 +4512,6 @@ func file_v1_project_service_proto_init() {
}
file_v1_common_proto_init()
file_v1_iam_policy_proto_init()
- file_v1_vcs_provider_service_proto_init()
if !protoimpl.UnsafeEnabled {
file_v1_project_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetProjectRequest); i {
@@ -4922,42 +4694,6 @@ func file_v1_project_service_proto_init() {
}
}
file_v1_project_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateProjectGitOpsInfoRequest); 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[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UnsetProjectGitOpsInfoRequest); 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[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetProjectGitOpsInfoRequest); 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[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Project); i {
case 0:
return &v.state
@@ -4969,7 +4705,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddWebhookRequest); i {
case 0:
return &v.state
@@ -4981,7 +4717,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateWebhookRequest); i {
case 0:
return &v.state
@@ -4993,7 +4729,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoveWebhookRequest); i {
case 0:
return &v.state
@@ -5005,7 +4741,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TestWebhookRequest); i {
case 0:
return &v.state
@@ -5017,7 +4753,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TestWebhookResponse); i {
case 0:
return &v.state
@@ -5029,7 +4765,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Webhook); i {
case 0:
return &v.state
@@ -5041,7 +4777,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeploymentConfig); i {
case 0:
return &v.state
@@ -5053,7 +4789,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Schedule); i {
case 0:
return &v.state
@@ -5065,7 +4801,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ScheduleDeployment); i {
case 0:
return &v.state
@@ -5077,7 +4813,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeploymentSpec); i {
case 0:
return &v.state
@@ -5089,7 +4825,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LabelSelector); i {
case 0:
return &v.state
@@ -5101,7 +4837,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LabelSelectorRequirement); i {
case 0:
return &v.state
@@ -5113,7 +4849,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Activity); i {
case 0:
return &v.state
@@ -5125,7 +4861,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListDatabaseGroupsRequest); i {
case 0:
return &v.state
@@ -5137,7 +4873,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListDatabaseGroupsResponse); i {
case 0:
return &v.state
@@ -5149,7 +4885,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetDatabaseGroupRequest); i {
case 0:
return &v.state
@@ -5161,7 +4897,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateDatabaseGroupRequest); i {
case 0:
return &v.state
@@ -5173,7 +4909,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateDatabaseGroupRequest); i {
case 0:
return &v.state
@@ -5185,7 +4921,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteDatabaseGroupRequest); i {
case 0:
return &v.state
@@ -5197,7 +4933,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DatabaseGroup); i {
case 0:
return &v.state
@@ -5209,7 +4945,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateSchemaGroupRequest); i {
case 0:
return &v.state
@@ -5221,7 +4957,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateSchemaGroupRequest); i {
case 0:
return &v.state
@@ -5233,7 +4969,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteSchemaGroupRequest); i {
case 0:
return &v.state
@@ -5245,7 +4981,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListSchemaGroupsRequest); i {
case 0:
return &v.state
@@ -5257,7 +4993,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListSchemaGroupsResponse); i {
case 0:
return &v.state
@@ -5269,7 +5005,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetSchemaGroupRequest); i {
case 0:
return &v.state
@@ -5281,7 +5017,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SchemaGroup); i {
case 0:
return &v.state
@@ -5293,7 +5029,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetProjectProtectionRulesRequest); i {
case 0:
return &v.state
@@ -5305,7 +5041,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateProjectProtectionRulesRequest); i {
case 0:
return &v.state
@@ -5317,7 +5053,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProtectionRules); i {
case 0:
return &v.state
@@ -5329,7 +5065,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProtectionRule); i {
case 0:
return &v.state
@@ -5341,7 +5077,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchGetIamPolicyResponse_PolicyResult); i {
case 0:
return &v.state
@@ -5353,7 +5089,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DatabaseGroup_Database); i {
case 0:
return &v.state
@@ -5365,7 +5101,7 @@ func file_v1_project_service_proto_init() {
return nil
}
}
- file_v1_project_service_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_project_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SchemaGroup_Table); i {
case 0:
return &v.state
@@ -5384,7 +5120,7 @@ func file_v1_project_service_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_project_service_proto_rawDesc,
NumEnums: 9,
- NumMessages: 53,
+ NumMessages: 50,
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.go
index 4db85dab66..51c5c1a3b3 100644
--- a/proto/generated-go/v1/project_service.pb.gw.go
+++ b/proto/generated-go/v1/project_service.pb.gw.go
@@ -963,170 +963,6 @@ func local_request_ProjectService_TestWebhook_0(ctx context.Context, marshaler r
}
-func request_ProjectService_UpdateProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UpdateProjectGitOpsInfoRequest
- var metadata runtime.ServerMetadata
-
- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- var (
- val string
- ok bool
- err error
- _ = err
- )
-
- val, ok = pathParams["project_gitops_info.name"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project_gitops_info.name")
- }
-
- err = runtime.PopulateFieldFromPath(&protoReq, "project_gitops_info.name", val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project_gitops_info.name", err)
- }
-
- msg, err := client.UpdateProjectGitOpsInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_ProjectService_UpdateProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UpdateProjectGitOpsInfoRequest
- var metadata runtime.ServerMetadata
-
- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- var (
- val string
- ok bool
- err error
- _ = err
- )
-
- val, ok = pathParams["project_gitops_info.name"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project_gitops_info.name")
- }
-
- err = runtime.PopulateFieldFromPath(&protoReq, "project_gitops_info.name", val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project_gitops_info.name", err)
- }
-
- msg, err := server.UpdateProjectGitOpsInfo(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
-func request_ProjectService_UnsetProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UnsetProjectGitOpsInfoRequest
- var metadata runtime.ServerMetadata
-
- var (
- val string
- ok bool
- err error
- _ = err
- )
-
- val, ok = pathParams["name"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
- }
-
- protoReq.Name, err = runtime.String(val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
- }
-
- msg, err := client.UnsetProjectGitOpsInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_ProjectService_UnsetProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UnsetProjectGitOpsInfoRequest
- var metadata runtime.ServerMetadata
-
- var (
- val string
- ok bool
- err error
- _ = err
- )
-
- val, ok = pathParams["name"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
- }
-
- protoReq.Name, err = runtime.String(val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
- }
-
- msg, err := server.UnsetProjectGitOpsInfo(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
-func request_ProjectService_GetProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq GetProjectGitOpsInfoRequest
- var metadata runtime.ServerMetadata
-
- var (
- val string
- ok bool
- err error
- _ = err
- )
-
- val, ok = pathParams["name"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
- }
-
- protoReq.Name, err = runtime.String(val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
- }
-
- msg, err := client.GetProjectGitOpsInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_ProjectService_GetProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq GetProjectGitOpsInfoRequest
- var metadata runtime.ServerMetadata
-
- var (
- val string
- ok bool
- err error
- _ = err
- )
-
- val, ok = pathParams["name"]
- if !ok {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
- }
-
- protoReq.Name, err = runtime.String(val)
- if err != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
- }
-
- msg, err := server.GetProjectGitOpsInfo(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
var (
filter_ProjectService_ListDatabaseGroups_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}
)
@@ -2385,81 +2221,6 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve
})
- mux.Handle("PATCH", pattern_ProjectService_UpdateProjectGitOpsInfo_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/UpdateProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{project_gitops_info.name=projects/*/gitOpsInfo}"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_ProjectService_UpdateProjectGitOpsInfo_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_UpdateProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
- mux.Handle("DELETE", pattern_ProjectService_UnsetProjectGitOpsInfo_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/UnsetProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{name=projects/*/gitOpsInfo}"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_ProjectService_UnsetProjectGitOpsInfo_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_UnsetProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
- mux.Handle("GET", pattern_ProjectService_GetProjectGitOpsInfo_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/GetProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{name=projects/*/gitOpsInfo}"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_ProjectService_GetProjectGitOpsInfo_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_GetProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
mux.Handle("GET", pattern_ProjectService_ListDatabaseGroups_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -3153,72 +2914,6 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve
})
- mux.Handle("PATCH", pattern_ProjectService_UpdateProjectGitOpsInfo_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/UpdateProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{project_gitops_info.name=projects/*/gitOpsInfo}"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := request_ProjectService_UpdateProjectGitOpsInfo_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_UpdateProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
- mux.Handle("DELETE", pattern_ProjectService_UnsetProjectGitOpsInfo_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/UnsetProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{name=projects/*/gitOpsInfo}"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := request_ProjectService_UnsetProjectGitOpsInfo_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_UnsetProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
- mux.Handle("GET", pattern_ProjectService_GetProjectGitOpsInfo_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/GetProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{name=projects/*/gitOpsInfo}"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := request_ProjectService_GetProjectGitOpsInfo_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_GetProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
mux.Handle("GET", pattern_ProjectService_ListDatabaseGroups_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -3519,12 +3214,6 @@ var (
pattern_ProjectService_TestWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "testWebhook"))
- pattern_ProjectService_UpdateProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "gitOpsInfo", "project_gitops_info.name"}, ""))
-
- pattern_ProjectService_UnsetProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "gitOpsInfo", "name"}, ""))
-
- pattern_ProjectService_GetProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "gitOpsInfo", "name"}, ""))
-
pattern_ProjectService_ListDatabaseGroups_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "databaseGroups"}, ""))
pattern_ProjectService_GetDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "name"}, ""))
@@ -3583,12 +3272,6 @@ var (
forward_ProjectService_TestWebhook_0 = runtime.ForwardResponseMessage
- forward_ProjectService_UpdateProjectGitOpsInfo_0 = runtime.ForwardResponseMessage
-
- forward_ProjectService_UnsetProjectGitOpsInfo_0 = runtime.ForwardResponseMessage
-
- forward_ProjectService_GetProjectGitOpsInfo_0 = runtime.ForwardResponseMessage
-
forward_ProjectService_ListDatabaseGroups_0 = runtime.ForwardResponseMessage
forward_ProjectService_GetDatabaseGroup_0 = runtime.ForwardResponseMessage
diff --git a/proto/generated-go/v1/project_service_grpc.pb.go b/proto/generated-go/v1/project_service_grpc.pb.go
index 5ce9f90e40..a31f71aaea 100644
--- a/proto/generated-go/v1/project_service_grpc.pb.go
+++ b/proto/generated-go/v1/project_service_grpc.pb.go
@@ -36,9 +36,6 @@ const (
ProjectService_UpdateWebhook_FullMethodName = "/bytebase.v1.ProjectService/UpdateWebhook"
ProjectService_RemoveWebhook_FullMethodName = "/bytebase.v1.ProjectService/RemoveWebhook"
ProjectService_TestWebhook_FullMethodName = "/bytebase.v1.ProjectService/TestWebhook"
- ProjectService_UpdateProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/UpdateProjectGitOpsInfo"
- ProjectService_UnsetProjectGitOpsInfo_FullMethodName = "/bytebase.v1.ProjectService/UnsetProjectGitOpsInfo"
- 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"
@@ -73,9 +70,6 @@ type ProjectServiceClient interface {
UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Project, error)
RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*Project, error)
TestWebhook(ctx context.Context, in *TestWebhookRequest, opts ...grpc.CallOption) (*TestWebhookResponse, error)
- UpdateProjectGitOpsInfo(ctx context.Context, in *UpdateProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ProjectGitOpsInfo, error)
- UnsetProjectGitOpsInfo(ctx context.Context, in *UnsetProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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)
CreateDatabaseGroup(ctx context.Context, in *CreateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)
@@ -242,33 +236,6 @@ func (c *projectServiceClient) TestWebhook(ctx context.Context, in *TestWebhookR
return out, nil
}
-func (c *projectServiceClient) UpdateProjectGitOpsInfo(ctx context.Context, in *UpdateProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ProjectGitOpsInfo, error) {
- out := new(ProjectGitOpsInfo)
- err := c.cc.Invoke(ctx, ProjectService_UpdateProjectGitOpsInfo_FullMethodName, in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *projectServiceClient) UnsetProjectGitOpsInfo(ctx context.Context, in *UnsetProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
- out := new(emptypb.Empty)
- err := c.cc.Invoke(ctx, ProjectService_UnsetProjectGitOpsInfo_FullMethodName, in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *projectServiceClient) GetProjectGitOpsInfo(ctx context.Context, in *GetProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ProjectGitOpsInfo, error) {
- out := new(ProjectGitOpsInfo)
- err := c.cc.Invoke(ctx, ProjectService_GetProjectGitOpsInfo_FullMethodName, in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *projectServiceClient) ListDatabaseGroups(ctx context.Context, in *ListDatabaseGroupsRequest, opts ...grpc.CallOption) (*ListDatabaseGroupsResponse, error) {
out := new(ListDatabaseGroupsResponse)
err := c.cc.Invoke(ctx, ProjectService_ListDatabaseGroups_FullMethodName, in, out, opts...)
@@ -397,9 +364,6 @@ type ProjectServiceServer interface {
UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Project, error)
RemoveWebhook(context.Context, *RemoveWebhookRequest) (*Project, error)
TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error)
- UpdateProjectGitOpsInfo(context.Context, *UpdateProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error)
- UnsetProjectGitOpsInfo(context.Context, *UnsetProjectGitOpsInfoRequest) (*emptypb.Empty, error)
- GetProjectGitOpsInfo(context.Context, *GetProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error)
ListDatabaseGroups(context.Context, *ListDatabaseGroupsRequest) (*ListDatabaseGroupsResponse, error)
GetDatabaseGroup(context.Context, *GetDatabaseGroupRequest) (*DatabaseGroup, error)
CreateDatabaseGroup(context.Context, *CreateDatabaseGroupRequest) (*DatabaseGroup, error)
@@ -467,15 +431,6 @@ func (UnimplementedProjectServiceServer) RemoveWebhook(context.Context, *RemoveW
func (UnimplementedProjectServiceServer) TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestWebhook not implemented")
}
-func (UnimplementedProjectServiceServer) UpdateProjectGitOpsInfo(context.Context, *UpdateProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectGitOpsInfo not implemented")
-}
-func (UnimplementedProjectServiceServer) UnsetProjectGitOpsInfo(context.Context, *UnsetProjectGitOpsInfoRequest) (*emptypb.Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnsetProjectGitOpsInfo not implemented")
-}
-func (UnimplementedProjectServiceServer) GetProjectGitOpsInfo(context.Context, *GetProjectGitOpsInfoRequest) (*ProjectGitOpsInfo, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetProjectGitOpsInfo not implemented")
-}
func (UnimplementedProjectServiceServer) ListDatabaseGroups(context.Context, *ListDatabaseGroupsRequest) (*ListDatabaseGroupsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListDatabaseGroups not implemented")
}
@@ -813,60 +768,6 @@ func _ProjectService_TestWebhook_Handler(srv interface{}, ctx context.Context, d
return interceptor(ctx, in, info, handler)
}
-func _ProjectService_UpdateProjectGitOpsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateProjectGitOpsInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ProjectServiceServer).UpdateProjectGitOpsInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: ProjectService_UpdateProjectGitOpsInfo_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ProjectServiceServer).UpdateProjectGitOpsInfo(ctx, req.(*UpdateProjectGitOpsInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ProjectService_UnsetProjectGitOpsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UnsetProjectGitOpsInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ProjectServiceServer).UnsetProjectGitOpsInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: ProjectService_UnsetProjectGitOpsInfo_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ProjectServiceServer).UnsetProjectGitOpsInfo(ctx, req.(*UnsetProjectGitOpsInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ProjectService_GetProjectGitOpsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetProjectGitOpsInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ProjectServiceServer).GetProjectGitOpsInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: ProjectService_GetProjectGitOpsInfo_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ProjectServiceServer).GetProjectGitOpsInfo(ctx, req.(*GetProjectGitOpsInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _ProjectService_ListDatabaseGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListDatabaseGroupsRequest)
if err := dec(in); err != nil {
@@ -1154,18 +1055,6 @@ var ProjectService_ServiceDesc = grpc.ServiceDesc{
MethodName: "TestWebhook",
Handler: _ProjectService_TestWebhook_Handler,
},
- {
- MethodName: "UpdateProjectGitOpsInfo",
- Handler: _ProjectService_UpdateProjectGitOpsInfo_Handler,
- },
- {
- MethodName: "UnsetProjectGitOpsInfo",
- Handler: _ProjectService_UnsetProjectGitOpsInfo_Handler,
- },
- {
- MethodName: "GetProjectGitOpsInfo",
- Handler: _ProjectService_GetProjectGitOpsInfo_Handler,
- },
{
MethodName: "ListDatabaseGroups",
Handler: _ProjectService_ListDatabaseGroups_Handler,
diff --git a/proto/generated-go/v1/vcs_provider_service.pb.go b/proto/generated-go/v1/vcs_provider_service.pb.go
index fd99f8cff1..30e2c782dd 100644
--- a/proto/generated-go/v1/vcs_provider_service.pb.go
+++ b/proto/generated-go/v1/vcs_provider_service.pb.go
@@ -511,7 +511,7 @@ func (x *SearchVCSProviderProjectsResponse) GetProjects() []*SearchVCSProviderPr
return nil
}
-type ListProjectGitOpsInfoRequest struct {
+type ListVCSConnectorsInProviderRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -521,8 +521,8 @@ type ListProjectGitOpsInfoRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
-func (x *ListProjectGitOpsInfoRequest) Reset() {
- *x = ListProjectGitOpsInfoRequest{}
+func (x *ListVCSConnectorsInProviderRequest) Reset() {
+ *x = ListVCSConnectorsInProviderRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_vcs_provider_service_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -530,13 +530,13 @@ func (x *ListProjectGitOpsInfoRequest) Reset() {
}
}
-func (x *ListProjectGitOpsInfoRequest) String() string {
+func (x *ListVCSConnectorsInProviderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ListProjectGitOpsInfoRequest) ProtoMessage() {}
+func (*ListVCSConnectorsInProviderRequest) ProtoMessage() {}
-func (x *ListProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {
+func (x *ListVCSConnectorsInProviderRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_vcs_provider_service_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -548,29 +548,29 @@ func (x *ListProjectGitOpsInfoRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ListProjectGitOpsInfoRequest.ProtoReflect.Descriptor instead.
-func (*ListProjectGitOpsInfoRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use ListVCSConnectorsInProviderRequest.ProtoReflect.Descriptor instead.
+func (*ListVCSConnectorsInProviderRequest) Descriptor() ([]byte, []int) {
return file_v1_vcs_provider_service_proto_rawDescGZIP(), []int{8}
}
-func (x *ListProjectGitOpsInfoRequest) GetName() string {
+func (x *ListVCSConnectorsInProviderRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
-type ListProjectGitOpsInfoResponse struct {
+type ListVCSConnectorsInProviderResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The binding between vcs provider and project.
- ProjectGitopsInfo []*ProjectGitOpsInfo `protobuf:"bytes,1,rep,name=project_gitops_info,json=projectGitopsInfo,proto3" json:"project_gitops_info,omitempty"`
+ // The vcsConnectors from the specified request.
+ VcsConnectors []*VCSConnector `protobuf:"bytes,1,rep,name=vcs_connectors,json=vcsConnectors,proto3" json:"vcs_connectors,omitempty"`
}
-func (x *ListProjectGitOpsInfoResponse) Reset() {
- *x = ListProjectGitOpsInfoResponse{}
+func (x *ListVCSConnectorsInProviderResponse) Reset() {
+ *x = ListVCSConnectorsInProviderResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_vcs_provider_service_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -578,13 +578,13 @@ func (x *ListProjectGitOpsInfoResponse) Reset() {
}
}
-func (x *ListProjectGitOpsInfoResponse) String() string {
+func (x *ListVCSConnectorsInProviderResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ListProjectGitOpsInfoResponse) ProtoMessage() {}
+func (*ListVCSConnectorsInProviderResponse) ProtoMessage() {}
-func (x *ListProjectGitOpsInfoResponse) ProtoReflect() protoreflect.Message {
+func (x *ListVCSConnectorsInProviderResponse) ProtoReflect() protoreflect.Message {
mi := &file_v1_vcs_provider_service_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -596,14 +596,14 @@ func (x *ListProjectGitOpsInfoResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ListProjectGitOpsInfoResponse.ProtoReflect.Descriptor instead.
-func (*ListProjectGitOpsInfoResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use ListVCSConnectorsInProviderResponse.ProtoReflect.Descriptor instead.
+func (*ListVCSConnectorsInProviderResponse) Descriptor() ([]byte, []int) {
return file_v1_vcs_provider_service_proto_rawDescGZIP(), []int{9}
}
-func (x *ListProjectGitOpsInfoResponse) GetProjectGitopsInfo() []*ProjectGitOpsInfo {
+func (x *ListVCSConnectorsInProviderResponse) GetVcsConnectors() []*VCSConnector {
if x != nil {
- return x.ProjectGitopsInfo
+ return x.VcsConnectors
}
return nil
}
@@ -693,119 +693,6 @@ func (x *VCSProvider) GetAccessToken() string {
return ""
}
-type ProjectGitOpsInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the linked repository, generated by the server, and also is the unique identifier.
- // Format: projects/{project}/gitOpsInfo
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The name of the VCS.
- Vcs string `protobuf:"bytes,2,opt,name=vcs,proto3" json:"vcs,omitempty"`
- // The title of the repository. For axample: sample.
- Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- // The reposition external id in target VCS.
- ExternalId string `protobuf:"bytes,4,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
- // The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.
- BaseDirectory string `protobuf:"bytes,5,opt,name=base_directory,json=baseDirectory,proto3" json:"base_directory,omitempty"`
- // The branch Bytebase listens to for changes. For example: main.
- Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"`
- // TODO(d): move these to create VCS connector API.
- // The full_path of the repository. For example: bytebase/sample.
- FullPath string `protobuf:"bytes,8,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,9,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`
-}
-
-func (x *ProjectGitOpsInfo) Reset() {
- *x = ProjectGitOpsInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_vcs_provider_service_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ProjectGitOpsInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ProjectGitOpsInfo) ProtoMessage() {}
-
-func (x *ProjectGitOpsInfo) ProtoReflect() protoreflect.Message {
- mi := &file_v1_vcs_provider_service_proto_msgTypes[11]
- 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 ProjectGitOpsInfo.ProtoReflect.Descriptor instead.
-func (*ProjectGitOpsInfo) Descriptor() ([]byte, []int) {
- return file_v1_vcs_provider_service_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *ProjectGitOpsInfo) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetVcs() string {
- if x != nil {
- return x.Vcs
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetExternalId() string {
- if x != nil {
- return x.ExternalId
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetBaseDirectory() string {
- if x != nil {
- return x.BaseDirectory
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetBranch() string {
- if x != nil {
- return x.Branch
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetFullPath() string {
- if x != nil {
- return x.FullPath
- }
- return ""
-}
-
-func (x *ProjectGitOpsInfo) GetWebUrl() string {
- if x != nil {
- return x.WebUrl
- }
- return ""
-}
-
type SearchVCSProviderProjectsResponse_Project struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -824,7 +711,7 @@ type SearchVCSProviderProjectsResponse_Project struct {
func (x *SearchVCSProviderProjectsResponse_Project) Reset() {
*x = SearchVCSProviderProjectsResponse_Project{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_vcs_provider_service_proto_msgTypes[12]
+ mi := &file_v1_vcs_provider_service_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -837,7 +724,7 @@ func (x *SearchVCSProviderProjectsResponse_Project) String() string {
func (*SearchVCSProviderProjectsResponse_Project) ProtoMessage() {}
func (x *SearchVCSProviderProjectsResponse_Project) ProtoReflect() protoreflect.Message {
- mi := &file_v1_vcs_provider_service_proto_msgTypes[12]
+ mi := &file_v1_vcs_provider_service_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -896,6 +783,8 @@ var file_v1_vcs_provider_service_proto_rawDesc = []byte{
0x74, 0x6f, 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, 0x1a, 0x1e, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43,
0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x40, 0x0a, 0x0c, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
@@ -952,116 +841,102 @@ var file_v1_vcs_provider_service_proto_rawDesc = []byte{
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, 0x8f, 0x02, 0x0a, 0x0b, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76,
- 0x69, 0x64, 0x65, 0x72, 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, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
- 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, 0x26, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73,
- 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
- 0x41, 0x04, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
- 0x55, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a,
- 0x06, 0x47, 0x49, 0x54, 0x48, 0x55, 0x42, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x49, 0x54,
- 0x4c, 0x41, 0x42, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x49, 0x54, 0x42, 0x55, 0x43, 0x4b,
- 0x45, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x44, 0x45,
- 0x56, 0x4f, 0x50, 0x53, 0x10, 0x04, 0x22, 0xea, 0x01, 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, 0x10, 0x0a, 0x03, 0x76, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x76, 0x63, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1f, 0x0a,
- 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x25,
- 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1b, 0x0a,
- 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 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, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x65, 0x62,
- 0x55, 0x72, 0x6c, 0x32, 0x83, 0x08, 0x0a, 0x12, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69,
- 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0e, 0x47, 0x65,
- 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x43,
- 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,
- 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x28, 0xda, 0x41, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x28, 0x09, 0x52, 0x06, 0x77, 0x65, 0x62, 0x55, 0x72, 0x6c, 0x22, 0x3d, 0x0a, 0x22, 0x4c, 0x69,
+ 0x73, 0x74, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x49,
+ 0x6e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x67, 0x0a, 0x23, 0x4c, 0x69, 0x73,
+ 0x74, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x49, 0x6e,
+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x40, 0x0a, 0x0e, 0x76, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
+ 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,
+ 0x72, 0x73, 0x22, 0x8f, 0x02, 0x0a, 0x0b, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
+ 0x65, 0x72, 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, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x26, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f,
+ 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x04,
+ 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x55, 0x0a,
+ 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x47,
+ 0x49, 0x54, 0x48, 0x55, 0x42, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x49, 0x54, 0x4c, 0x41,
+ 0x42, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x49, 0x54, 0x42, 0x55, 0x43, 0x4b, 0x45, 0x54,
+ 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x44, 0x45, 0x56, 0x4f,
+ 0x50, 0x53, 0x10, 0x04, 0x32, 0x9a, 0x08, 0x0a, 0x12, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76,
+ 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0e, 0x47,
+ 0x65, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56,
+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x28, 0xda, 0x41, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f,
+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
+ 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53,
+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x50,
+ 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+ 0x12, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
+ 0x65, 0x72, 0x73, 0x12, 0x7f, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43, 0x53,
+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43, 0x53,
+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43,
+ 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x29, 0xda, 0x41, 0x00, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x0c, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
+ 0x65, 0x72, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
+ 0x64, 0x65, 0x72, 0x73, 0x12, 0xad, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56,
+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56,
+ 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x57, 0xda, 0x41, 0x18,
+ 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x0c,
+ 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x32, 0x26, 0x2f, 0x76,
+ 0x31, 0x2f, 0x7b, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
- 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x50,
- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x50, 0x72,
- 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12,
- 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
- 0x72, 0x73, 0x12, 0x7f, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50,
- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x43, 0x53, 0x50,
- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53,
- 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x29, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x20, 0x3a, 0x0c, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
- 0x72, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
- 0x65, 0x72, 0x73, 0x12, 0xad, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x43,
+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x75, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x43,
0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x43,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x43,
0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,
- 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x57, 0xda, 0x41, 0x18, 0x76,
- 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x0c, 0x76,
- 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x32, 0x26, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x76, 0x63, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73,
- 0x2f, 0x2a, 0x7d, 0x12, 0x75, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x43, 0x53,
- 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x43, 0x53,
- 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x2a,
- 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72,
- 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x19, 0x53,
- 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b,
+ 0x2a, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50,
+ 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x19,
+ 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
+ 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43,
+ 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53,
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x43, 0x53, 0x50,
- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a,
- 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63,
- 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65,
- 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x9a, 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, 0x2a, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d,
+ 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x76,
+ 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73,
+ 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0xb1, 0x01,
+ 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x6f, 0x72, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
+ 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x49, 0x6e, 0x50,
+ 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x49, 0x6e,
+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x76, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x2f, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
+ 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 (
@@ -1077,7 +952,7 @@ func file_v1_vcs_provider_service_proto_rawDescGZIP() []byte {
}
var file_v1_vcs_provider_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_v1_vcs_provider_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
+var file_v1_vcs_provider_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_v1_vcs_provider_service_proto_goTypes = []interface{}{
(VCSProvider_Type)(0), // 0: bytebase.v1.VCSProvider.Type
(*CreateVCSProviderRequest)(nil), // 1: bytebase.v1.CreateVCSProviderRequest
@@ -1088,21 +963,21 @@ var file_v1_vcs_provider_service_proto_goTypes = []interface{}{
(*DeleteVCSProviderRequest)(nil), // 6: bytebase.v1.DeleteVCSProviderRequest
(*SearchVCSProviderProjectsRequest)(nil), // 7: bytebase.v1.SearchVCSProviderProjectsRequest
(*SearchVCSProviderProjectsResponse)(nil), // 8: bytebase.v1.SearchVCSProviderProjectsResponse
- (*ListProjectGitOpsInfoRequest)(nil), // 9: bytebase.v1.ListProjectGitOpsInfoRequest
- (*ListProjectGitOpsInfoResponse)(nil), // 10: bytebase.v1.ListProjectGitOpsInfoResponse
+ (*ListVCSConnectorsInProviderRequest)(nil), // 9: bytebase.v1.ListVCSConnectorsInProviderRequest
+ (*ListVCSConnectorsInProviderResponse)(nil), // 10: bytebase.v1.ListVCSConnectorsInProviderResponse
(*VCSProvider)(nil), // 11: bytebase.v1.VCSProvider
- (*ProjectGitOpsInfo)(nil), // 12: bytebase.v1.ProjectGitOpsInfo
- (*SearchVCSProviderProjectsResponse_Project)(nil), // 13: bytebase.v1.SearchVCSProviderProjectsResponse.Project
- (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask
+ (*SearchVCSProviderProjectsResponse_Project)(nil), // 12: bytebase.v1.SearchVCSProviderProjectsResponse.Project
+ (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
+ (*VCSConnector)(nil), // 14: bytebase.v1.VCSConnector
(*emptypb.Empty)(nil), // 15: google.protobuf.Empty
}
var file_v1_vcs_provider_service_proto_depIdxs = []int32{
11, // 0: bytebase.v1.CreateVCSProviderRequest.vcs_provider:type_name -> bytebase.v1.VCSProvider
11, // 1: bytebase.v1.ListVCSProvidersResponse.vcs_providers:type_name -> bytebase.v1.VCSProvider
11, // 2: bytebase.v1.UpdateVCSProviderRequest.vcs_provider:type_name -> bytebase.v1.VCSProvider
- 14, // 3: bytebase.v1.UpdateVCSProviderRequest.update_mask:type_name -> google.protobuf.FieldMask
- 13, // 4: bytebase.v1.SearchVCSProviderProjectsResponse.projects:type_name -> bytebase.v1.SearchVCSProviderProjectsResponse.Project
- 12, // 5: bytebase.v1.ListProjectGitOpsInfoResponse.project_gitops_info:type_name -> bytebase.v1.ProjectGitOpsInfo
+ 13, // 3: bytebase.v1.UpdateVCSProviderRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 12, // 4: bytebase.v1.SearchVCSProviderProjectsResponse.projects:type_name -> bytebase.v1.SearchVCSProviderProjectsResponse.Project
+ 14, // 5: bytebase.v1.ListVCSConnectorsInProviderResponse.vcs_connectors:type_name -> bytebase.v1.VCSConnector
0, // 6: bytebase.v1.VCSProvider.type:type_name -> bytebase.v1.VCSProvider.Type
2, // 7: bytebase.v1.VCSProviderService.GetVCSProvider:input_type -> bytebase.v1.GetVCSProviderRequest
3, // 8: bytebase.v1.VCSProviderService.ListVCSProviders:input_type -> bytebase.v1.ListVCSProvidersRequest
@@ -1110,14 +985,14 @@ var file_v1_vcs_provider_service_proto_depIdxs = []int32{
5, // 10: bytebase.v1.VCSProviderService.UpdateVCSProvider:input_type -> bytebase.v1.UpdateVCSProviderRequest
6, // 11: bytebase.v1.VCSProviderService.DeleteVCSProvider:input_type -> bytebase.v1.DeleteVCSProviderRequest
7, // 12: bytebase.v1.VCSProviderService.SearchVCSProviderProjects:input_type -> bytebase.v1.SearchVCSProviderProjectsRequest
- 9, // 13: bytebase.v1.VCSProviderService.ListProjectGitOpsInfo:input_type -> bytebase.v1.ListProjectGitOpsInfoRequest
+ 9, // 13: bytebase.v1.VCSProviderService.ListVCSConnectorsInProvider:input_type -> bytebase.v1.ListVCSConnectorsInProviderRequest
11, // 14: bytebase.v1.VCSProviderService.GetVCSProvider:output_type -> bytebase.v1.VCSProvider
4, // 15: bytebase.v1.VCSProviderService.ListVCSProviders:output_type -> bytebase.v1.ListVCSProvidersResponse
11, // 16: bytebase.v1.VCSProviderService.CreateVCSProvider:output_type -> bytebase.v1.VCSProvider
11, // 17: bytebase.v1.VCSProviderService.UpdateVCSProvider:output_type -> bytebase.v1.VCSProvider
15, // 18: bytebase.v1.VCSProviderService.DeleteVCSProvider:output_type -> google.protobuf.Empty
8, // 19: bytebase.v1.VCSProviderService.SearchVCSProviderProjects:output_type -> bytebase.v1.SearchVCSProviderProjectsResponse
- 10, // 20: bytebase.v1.VCSProviderService.ListProjectGitOpsInfo:output_type -> bytebase.v1.ListProjectGitOpsInfoResponse
+ 10, // 20: bytebase.v1.VCSProviderService.ListVCSConnectorsInProvider:output_type -> bytebase.v1.ListVCSConnectorsInProviderResponse
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
@@ -1130,6 +1005,7 @@ func file_v1_vcs_provider_service_proto_init() {
if File_v1_vcs_provider_service_proto != nil {
return
}
+ file_v1_vcs_connector_service_proto_init()
if !protoimpl.UnsafeEnabled {
file_v1_vcs_provider_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateVCSProviderRequest); i {
@@ -1228,7 +1104,7 @@ func file_v1_vcs_provider_service_proto_init() {
}
}
file_v1_vcs_provider_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListProjectGitOpsInfoRequest); i {
+ switch v := v.(*ListVCSConnectorsInProviderRequest); i {
case 0:
return &v.state
case 1:
@@ -1240,7 +1116,7 @@ func file_v1_vcs_provider_service_proto_init() {
}
}
file_v1_vcs_provider_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListProjectGitOpsInfoResponse); i {
+ switch v := v.(*ListVCSConnectorsInProviderResponse); i {
case 0:
return &v.state
case 1:
@@ -1264,18 +1140,6 @@ func file_v1_vcs_provider_service_proto_init() {
}
}
file_v1_vcs_provider_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ProjectGitOpsInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_vcs_provider_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SearchVCSProviderProjectsResponse_Project); i {
case 0:
return &v.state
@@ -1294,7 +1158,7 @@ func file_v1_vcs_provider_service_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_vcs_provider_service_proto_rawDesc,
NumEnums: 1,
- NumMessages: 13,
+ NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/generated-go/v1/vcs_provider_service.pb.gw.go b/proto/generated-go/v1/vcs_provider_service.pb.gw.go
index 02be6eb7f8..10db3968cd 100644
--- a/proto/generated-go/v1/vcs_provider_service.pb.gw.go
+++ b/proto/generated-go/v1/vcs_provider_service.pb.gw.go
@@ -375,8 +375,8 @@ func local_request_VCSProviderService_SearchVCSProviderProjects_0(ctx context.Co
}
-func request_VCSProviderService_ListProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, client VCSProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq ListProjectGitOpsInfoRequest
+func request_VCSProviderService_ListVCSConnectorsInProvider_0(ctx context.Context, marshaler runtime.Marshaler, client VCSProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq ListVCSConnectorsInProviderRequest
var metadata runtime.ServerMetadata
var (
@@ -396,13 +396,13 @@ func request_VCSProviderService_ListProjectGitOpsInfo_0(ctx context.Context, mar
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
- msg, err := client.ListProjectGitOpsInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.ListVCSConnectorsInProvider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_VCSProviderService_ListProjectGitOpsInfo_0(ctx context.Context, marshaler runtime.Marshaler, server VCSProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq ListProjectGitOpsInfoRequest
+func local_request_VCSProviderService_ListVCSConnectorsInProvider_0(ctx context.Context, marshaler runtime.Marshaler, server VCSProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq ListVCSConnectorsInProviderRequest
var metadata runtime.ServerMetadata
var (
@@ -422,7 +422,7 @@ func local_request_VCSProviderService_ListProjectGitOpsInfo_0(ctx context.Contex
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
- msg, err := server.ListProjectGitOpsInfo(ctx, &protoReq)
+ msg, err := server.ListVCSConnectorsInProvider(ctx, &protoReq)
return msg, metadata, err
}
@@ -583,7 +583,7 @@ func RegisterVCSProviderServiceHandlerServer(ctx context.Context, mux *runtime.S
})
- mux.Handle("GET", pattern_VCSProviderService_ListProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("GET", pattern_VCSProviderService_ListVCSConnectorsInProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -591,12 +591,12 @@ func RegisterVCSProviderServiceHandlerServer(ctx context.Context, mux *runtime.S
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.VCSProviderService/ListProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{name=vcsProviders/*}/projects"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.VCSProviderService/ListVCSConnectorsInProvider", runtime.WithHTTPPathPattern("/v1/{name=vcsProviders/*}/vcsConnectors"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_VCSProviderService_ListProjectGitOpsInfo_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_VCSProviderService_ListVCSConnectorsInProvider_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 {
@@ -604,7 +604,7 @@ func RegisterVCSProviderServiceHandlerServer(ctx context.Context, mux *runtime.S
return
}
- forward_VCSProviderService_ListProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_VCSProviderService_ListVCSConnectorsInProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -781,25 +781,25 @@ func RegisterVCSProviderServiceHandlerClient(ctx context.Context, mux *runtime.S
})
- mux.Handle("GET", pattern_VCSProviderService_ListProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("GET", pattern_VCSProviderService_ListVCSConnectorsInProvider_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.VCSProviderService/ListProjectGitOpsInfo", runtime.WithHTTPPathPattern("/v1/{name=vcsProviders/*}/projects"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.VCSProviderService/ListVCSConnectorsInProvider", runtime.WithHTTPPathPattern("/v1/{name=vcsProviders/*}/vcsConnectors"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_VCSProviderService_ListProjectGitOpsInfo_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_VCSProviderService_ListVCSConnectorsInProvider_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_VCSProviderService_ListProjectGitOpsInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_VCSProviderService_ListVCSConnectorsInProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -819,7 +819,7 @@ var (
pattern_VCSProviderService_SearchVCSProviderProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "vcsProviders", "name"}, "searchProjects"))
- pattern_VCSProviderService_ListProjectGitOpsInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "vcsProviders", "name", "projects"}, ""))
+ pattern_VCSProviderService_ListVCSConnectorsInProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "vcsProviders", "name", "vcsConnectors"}, ""))
)
var (
@@ -835,5 +835,5 @@ var (
forward_VCSProviderService_SearchVCSProviderProjects_0 = runtime.ForwardResponseMessage
- forward_VCSProviderService_ListProjectGitOpsInfo_0 = runtime.ForwardResponseMessage
+ forward_VCSProviderService_ListVCSConnectorsInProvider_0 = runtime.ForwardResponseMessage
)
diff --git a/proto/generated-go/v1/vcs_provider_service_grpc.pb.go b/proto/generated-go/v1/vcs_provider_service_grpc.pb.go
index 0a2894f022..1ebcf8b9e4 100644
--- a/proto/generated-go/v1/vcs_provider_service_grpc.pb.go
+++ b/proto/generated-go/v1/vcs_provider_service_grpc.pb.go
@@ -20,13 +20,13 @@ import (
const _ = grpc.SupportPackageIsVersion7
const (
- VCSProviderService_GetVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/GetVCSProvider"
- VCSProviderService_ListVCSProviders_FullMethodName = "/bytebase.v1.VCSProviderService/ListVCSProviders"
- VCSProviderService_CreateVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/CreateVCSProvider"
- VCSProviderService_UpdateVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/UpdateVCSProvider"
- VCSProviderService_DeleteVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/DeleteVCSProvider"
- VCSProviderService_SearchVCSProviderProjects_FullMethodName = "/bytebase.v1.VCSProviderService/SearchVCSProviderProjects"
- VCSProviderService_ListProjectGitOpsInfo_FullMethodName = "/bytebase.v1.VCSProviderService/ListProjectGitOpsInfo"
+ VCSProviderService_GetVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/GetVCSProvider"
+ VCSProviderService_ListVCSProviders_FullMethodName = "/bytebase.v1.VCSProviderService/ListVCSProviders"
+ VCSProviderService_CreateVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/CreateVCSProvider"
+ VCSProviderService_UpdateVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/UpdateVCSProvider"
+ VCSProviderService_DeleteVCSProvider_FullMethodName = "/bytebase.v1.VCSProviderService/DeleteVCSProvider"
+ VCSProviderService_SearchVCSProviderProjects_FullMethodName = "/bytebase.v1.VCSProviderService/SearchVCSProviderProjects"
+ VCSProviderService_ListVCSConnectorsInProvider_FullMethodName = "/bytebase.v1.VCSProviderService/ListVCSConnectorsInProvider"
)
// VCSProviderServiceClient is the client API for VCSProviderService service.
@@ -39,7 +39,7 @@ type VCSProviderServiceClient interface {
UpdateVCSProvider(ctx context.Context, in *UpdateVCSProviderRequest, opts ...grpc.CallOption) (*VCSProvider, error)
DeleteVCSProvider(ctx context.Context, in *DeleteVCSProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SearchVCSProviderProjects(ctx context.Context, in *SearchVCSProviderProjectsRequest, opts ...grpc.CallOption) (*SearchVCSProviderProjectsResponse, error)
- ListProjectGitOpsInfo(ctx context.Context, in *ListProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ListProjectGitOpsInfoResponse, error)
+ ListVCSConnectorsInProvider(ctx context.Context, in *ListVCSConnectorsInProviderRequest, opts ...grpc.CallOption) (*ListVCSConnectorsInProviderResponse, error)
}
type vCSProviderServiceClient struct {
@@ -104,9 +104,9 @@ func (c *vCSProviderServiceClient) SearchVCSProviderProjects(ctx context.Context
return out, nil
}
-func (c *vCSProviderServiceClient) ListProjectGitOpsInfo(ctx context.Context, in *ListProjectGitOpsInfoRequest, opts ...grpc.CallOption) (*ListProjectGitOpsInfoResponse, error) {
- out := new(ListProjectGitOpsInfoResponse)
- err := c.cc.Invoke(ctx, VCSProviderService_ListProjectGitOpsInfo_FullMethodName, in, out, opts...)
+func (c *vCSProviderServiceClient) ListVCSConnectorsInProvider(ctx context.Context, in *ListVCSConnectorsInProviderRequest, opts ...grpc.CallOption) (*ListVCSConnectorsInProviderResponse, error) {
+ out := new(ListVCSConnectorsInProviderResponse)
+ err := c.cc.Invoke(ctx, VCSProviderService_ListVCSConnectorsInProvider_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -123,7 +123,7 @@ type VCSProviderServiceServer interface {
UpdateVCSProvider(context.Context, *UpdateVCSProviderRequest) (*VCSProvider, error)
DeleteVCSProvider(context.Context, *DeleteVCSProviderRequest) (*emptypb.Empty, error)
SearchVCSProviderProjects(context.Context, *SearchVCSProviderProjectsRequest) (*SearchVCSProviderProjectsResponse, error)
- ListProjectGitOpsInfo(context.Context, *ListProjectGitOpsInfoRequest) (*ListProjectGitOpsInfoResponse, error)
+ ListVCSConnectorsInProvider(context.Context, *ListVCSConnectorsInProviderRequest) (*ListVCSConnectorsInProviderResponse, error)
mustEmbedUnimplementedVCSProviderServiceServer()
}
@@ -149,8 +149,8 @@ func (UnimplementedVCSProviderServiceServer) DeleteVCSProvider(context.Context,
func (UnimplementedVCSProviderServiceServer) SearchVCSProviderProjects(context.Context, *SearchVCSProviderProjectsRequest) (*SearchVCSProviderProjectsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SearchVCSProviderProjects not implemented")
}
-func (UnimplementedVCSProviderServiceServer) ListProjectGitOpsInfo(context.Context, *ListProjectGitOpsInfoRequest) (*ListProjectGitOpsInfoResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ListProjectGitOpsInfo not implemented")
+func (UnimplementedVCSProviderServiceServer) ListVCSConnectorsInProvider(context.Context, *ListVCSConnectorsInProviderRequest) (*ListVCSConnectorsInProviderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method ListVCSConnectorsInProvider not implemented")
}
func (UnimplementedVCSProviderServiceServer) mustEmbedUnimplementedVCSProviderServiceServer() {}
@@ -273,20 +273,20 @@ func _VCSProviderService_SearchVCSProviderProjects_Handler(srv interface{}, ctx
return interceptor(ctx, in, info, handler)
}
-func _VCSProviderService_ListProjectGitOpsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListProjectGitOpsInfoRequest)
+func _VCSProviderService_ListVCSConnectorsInProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(ListVCSConnectorsInProviderRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(VCSProviderServiceServer).ListProjectGitOpsInfo(ctx, in)
+ return srv.(VCSProviderServiceServer).ListVCSConnectorsInProvider(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: VCSProviderService_ListProjectGitOpsInfo_FullMethodName,
+ FullMethod: VCSProviderService_ListVCSConnectorsInProvider_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(VCSProviderServiceServer).ListProjectGitOpsInfo(ctx, req.(*ListProjectGitOpsInfoRequest))
+ return srv.(VCSProviderServiceServer).ListVCSConnectorsInProvider(ctx, req.(*ListVCSConnectorsInProviderRequest))
}
return interceptor(ctx, in, info, handler)
}
@@ -323,8 +323,8 @@ var VCSProviderService_ServiceDesc = grpc.ServiceDesc{
Handler: _VCSProviderService_SearchVCSProviderProjects_Handler,
},
{
- MethodName: "ListProjectGitOpsInfo",
- Handler: _VCSProviderService_ListProjectGitOpsInfo_Handler,
+ MethodName: "ListVCSConnectorsInProvider",
+ Handler: _VCSProviderService_ListVCSConnectorsInProvider_Handler,
},
},
Streams: []grpc.StreamDesc{},
diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.proto
index 799f53b70d..c7944233e5 100644
--- a/proto/v1/project_service.proto
+++ b/proto/v1/project_service.proto
@@ -10,7 +10,6 @@ import "google/protobuf/field_mask.proto";
import "google/type/expr.proto";
import "v1/common.proto";
import "v1/iam_policy.proto";
-import "v1/vcs_provider_service.proto";
option go_package = "generated-go/v1";
@@ -113,22 +112,6 @@ service ProjectService {
};
}
- rpc UpdateProjectGitOpsInfo(UpdateProjectGitOpsInfoRequest) returns (ProjectGitOpsInfo) {
- option (google.api.http) = {
- patch: "/v1/{project_gitops_info.name=projects/*/gitOpsInfo}"
- body: "*"
- };
- }
-
- rpc UnsetProjectGitOpsInfo(UnsetProjectGitOpsInfoRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {delete: "/v1/{name=projects/*/gitOpsInfo}"};
- option (google.api.method_signature) = "name";
- }
-
- rpc GetProjectGitOpsInfo(GetProjectGitOpsInfoRequest) returns (ProjectGitOpsInfo) {
- option (google.api.http) = {get: "/v1/{name=projects/*/gitOpsInfo}"};
- }
-
rpc ListDatabaseGroups(ListDatabaseGroupsRequest) returns (ListDatabaseGroupsResponse) {
option (google.api.http) = {get: "/v1/{parent=projects/*}/databaseGroups"};
option (google.api.method_signature) = "parent";
@@ -324,29 +307,6 @@ message UpdateDeploymentConfigRequest {
DeploymentConfig config = 1 [(google.api.field_behavior) = REQUIRED];
}
-message UpdateProjectGitOpsInfoRequest {
- // The binding for the project and vcs provider.
- ProjectGitOpsInfo project_gitops_info = 2 [(google.api.field_behavior) = REQUIRED];
-
- // The mask of the fields to be updated.
- google.protobuf.FieldMask update_mask = 3;
-
- // If true, the gitops will be created if it does not exist.
- bool allow_missing = 4;
-}
-
-message UnsetProjectGitOpsInfoRequest {
- // The name of the GitOps info.
- // Format: projects/{project}/gitOpsInfo
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-}
-
-message GetProjectGitOpsInfoRequest {
- // The name of the GitOps info.
- // Format: projects/{project}/gitOpsInfo
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-}
-
message Project {
// The name of the project.
// Format: projects/{project}
diff --git a/proto/v1/vcs_provider_service.proto b/proto/v1/vcs_provider_service.proto
index 9ab0d678e1..8d481c8533 100644
--- a/proto/v1/vcs_provider_service.proto
+++ b/proto/v1/vcs_provider_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 "v1/vcs_connector_service.proto";
option go_package = "generated-go/v1";
@@ -48,8 +49,8 @@ service VCSProviderService {
};
}
- rpc ListProjectGitOpsInfo(ListProjectGitOpsInfoRequest) returns (ListProjectGitOpsInfoResponse) {
- option (google.api.http) = {get: "/v1/{name=vcsProviders/*}/projects"};
+ rpc ListVCSConnectorsInProvider(ListVCSConnectorsInProviderRequest) returns (ListVCSConnectorsInProviderResponse) {
+ option (google.api.http) = {get: "/v1/{name=vcsProviders/*}/vcsConnectors"};
}
}
@@ -124,15 +125,15 @@ message SearchVCSProviderProjectsResponse {
repeated Project projects = 1;
}
-message ListProjectGitOpsInfoRequest {
+message ListVCSConnectorsInProviderRequest {
// The name of the vcs provider to retrieve the linked projects.
// Format: vcsProviders/{vcsProvider}
string name = 1 [(google.api.field_behavior) = REQUIRED];
}
-message ListProjectGitOpsInfoResponse {
- // The binding between vcs provider and project.
- repeated ProjectGitOpsInfo project_gitops_info = 1;
+message ListVCSConnectorsInProviderResponse {
+ // The vcsConnectors from the specified request.
+ repeated VCSConnector vcs_connectors = 1;
}
message VCSProvider {
@@ -164,31 +165,3 @@ message VCSProvider {
// The access token of the vcs provider.
string access_token = 5 [(google.api.field_behavior) = INPUT_ONLY];
}
-
-message ProjectGitOpsInfo {
- // The name of the linked repository, generated by the server, and also is the unique identifier.
- // Format: projects/{project}/gitOpsInfo
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The name of the VCS.
- string vcs = 2;
-
- // The title of the repository. For axample: sample.
- string title = 3;
-
- // The reposition external id in target VCS.
- string external_id = 4;
-
- // The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.
- string base_directory = 5;
-
- // The branch Bytebase listens to for changes. For example: main.
- string branch = 6;
-
- // TODO(d): move these to create VCS connector API.
- // The full_path of the repository. For example: bytebase/sample.
- string full_path = 8;
-
- // The web url of the repository. For axample: https://gitlab.bytebase.com/bytebase/sample.
- string web_url = 9;
-}