Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: v1 api return deployment config snapshot (#14680)
p0nya025739feabe
diff --git a/backend/api/v1/plan_service.go b/backend/api/v1/plan_service.goindex dd8d98c79e..54650e947c 100644--- a/backend/api/v1/plan_service.go+++ b/backend/api/v1/plan_service.go@@ -348,9 +348,7 @@ func (s *PlanService) UpdatePlan(ctx context.Context, request *v1pb.UpdatePlanReplanUpdate.Description = &descriptioncase "steps":convertedRequestSteps := convertPlanSteps(request.GetPlan().GetSteps())- planUpdate.Config = &storepb.PlanConfig{- Steps: convertedRequestSteps,- }+ planUpdate.Steps = &convertedRequestStepsserializeTasks := oldPlan.Config.GetVcsSource() != nil@@ -1376,7 +1374,11 @@ func getPlanSnapshot(ctx context.Context, s *store.Store, steps []*storepb.PlanCif err := utils.ValidateDeploymentSchedule(deploymentConfig.Config.GetSchedule()); err != nil {return nil, errors.Wrapf(err, "failed to validate and get deployment schedule")}- snapshot.DeploymentConfig = deploymentConfig.Config+ snapshot.DeploymentConfigSnapshot = &storepb.PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot{+ Name: common.FormatDeploymentConfig(project.ResourceID),+ Title: deploymentConfig.Name,+ DeploymentConfig: deploymentConfig.Config,+ }databaseGroups := getPlanSpecDatabaseGroups(steps)diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.goindex 1fd94c204b..6b7efc7584 100644--- a/backend/api/v1/rollout_service.go+++ b/backend/api/v1/rollout_service.go@@ -986,7 +986,7 @@ func GetPipelineCreate(ctx context.Context, s *store.Store, sheetManager *sheet.// For ChangeDatabase specs, we will try to rebuild the steps based on the deployment config.if filterByDeploymentConfig {- deploymentConfig := snapshot.GetDeploymentConfig()+ deploymentConfig := snapshot.GetDeploymentConfigSnapshot().GetDeploymentConfig()if deploymentConfig == nil {deploymentConfigMessage, err := s.GetDeploymentConfigV2(ctx, project.UID)if err != nil {diff --git a/backend/api/v1/rollout_service_converter.go b/backend/api/v1/rollout_service_converter.goindex 0805d881ad..9b718913f5 100644--- a/backend/api/v1/rollout_service_converter.go+++ b/backend/api/v1/rollout_service_converter.go@@ -47,9 +47,10 @@ func convertToPlan(ctx context.Context, s *store.Store, plan *store.PlanMessage)ReleaseSource: &v1pb.Plan_ReleaseSource{Release: plan.Config.GetReleaseSource().GetRelease(),},- CreateTime: timestamppb.New(time.Unix(plan.CreatedTs, 0)),- UpdateTime: timestamppb.New(time.Unix(plan.UpdatedTs, 0)),- PlanCheckRunStatusCount: plan.PlanCheckRunStatusCount,+ CreateTime: timestamppb.New(time.Unix(plan.CreatedTs, 0)),+ UpdateTime: timestamppb.New(time.Unix(plan.UpdatedTs, 0)),+ PlanCheckRunStatusCount: plan.PlanCheckRunStatusCount,+ DeploymentConfigSnapshot: convertToDeploymentConfigSnapshot(plan.Config.GetDeploymentSnapshot().GetDeploymentConfigSnapshot()),}creator, err := s.GetUserByID(ctx, plan.CreatorUID)@@ -209,6 +210,16 @@ func convertPlanReleaseSource(s *v1pb.Plan_ReleaseSource) *storepb.PlanConfig_Re}}+func convertToDeploymentConfigSnapshot(s *storepb.PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) *v1pb.DeploymentConfig {+ if s == nil {+ return nil+ }+ return &v1pb.DeploymentConfig{+ Name: s.Name,+ Title: s.Title,+ Schedule: convertToSchedule(s.DeploymentConfig.GetSchedule()),+ }+}func convertPlanSteps(steps []*v1pb.Plan_Step) []*storepb.PlanConfig_Step {storeSteps := make([]*storepb.PlanConfig_Step, len(steps))for i := range steps {diff --git a/backend/store/deploy.go b/backend/store/deploy.goindex b1f8f23ef2..e85036d104 100644--- a/backend/store/deploy.go+++ b/backend/store/deploy.go@@ -7,7 +7,6 @@ import ("strings""time"- "github.com/google/uuid""github.com/pkg/errors""google.golang.org/protobuf/encoding/protojson"@@ -139,10 +138,11 @@ func (s *Store) getDefaultDeploymentConfigV2(ctx context.Context) (*DeploymentCoreturn nil, err}var deployments []*storepb.ScheduleDeployment- for _, environment := range environmentList {+ for i, environment := range environmentList {deployments = append(deployments, &storepb.ScheduleDeployment{Title: fmt.Sprintf("%s Stage", environment.Title),- Id: uuid.NewString(),+ // Use index rather than uuid to ensure consistent Id for the default deployment config.+ Id: fmt.Sprintf("%d", i),Spec: &storepb.DeploymentSpec{Selector: &storepb.LabelSelector{MatchExpressions: []*storepb.LabelSelectorRequirement{diff --git a/backend/store/plan.go b/backend/store/plan.goindex 9b7312f891..d76c4e770a 100644--- a/backend/store/plan.go+++ b/backend/store/plan.go@@ -55,7 +55,7 @@ type UpdatePlanMessage struct {PipelineUID *intName *stringDescription *string- Config *storepb.PlanConfig+ Steps *[]*storepb.PlanConfig_StepUpdaterID int}@@ -266,12 +266,14 @@ func (s *Store) UpdatePlan(ctx context.Context, patch *UpdatePlanMessage) errorif v := patch.Description; v != nil {set, args = append(set, fmt.Sprintf("description = $%d", len(args)+1)), append(args, *v)}- if v := patch.Config; v != nil {- config, err := protojson.Marshal(v)+ if v := patch.Steps; v != nil {+ config, err := protojson.Marshal(&storepb.PlanConfig{+ Steps: *v,+ })if err != nil {return errors.Wrapf(err, "failed to marshal plan config")}- set, args = append(set, fmt.Sprintf("config = $%d", len(args)+1)), append(args, config)+ set, args = append(set, fmt.Sprintf("config = jsonb_set(config, '{steps}', ($%d)::JSONB->'steps')", len(args)+1)), append(args, config)}if v := patch.PipelineUID; v != nil {set, args = append(set, fmt.Sprintf("pipeline_id = $%d", len(args)+1)), append(args, v)diff --git a/frontend/src/types/proto/store/plan.ts b/frontend/src/types/proto/store/plan.tsindex 2ee967dfb0..02aa6523a0 100644--- a/frontend/src/types/proto/store/plan.ts+++ b/frontend/src/types/proto/store/plan.ts@@ -266,11 +266,17 @@ export interface PlanConfig_SpecReleaseSource {}export interface PlanConfig_DeploymentSnapshot {- /** The snapshot of the project deployment config at the time of creation. */- deploymentConfig: DeploymentConfig | undefined;+ deploymentConfigSnapshot: PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot | undefined;databaseGroupSnapshots: PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot[];}+/** The snapshot of the project deployment config at the time of creation. */+export interface PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {+ name: string;+ title: string;+ deploymentConfig: DeploymentConfig | undefined;+}+/** The snapshot of the database group at the time of creation. */export interface PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot {/** Format: projects/{project}/databaseGroups/{databaseGroup}. */@@ -1551,13 +1557,16 @@ export const PlanConfig_SpecReleaseSource: MessageFns<PlanConfig_SpecReleaseSour};function createBasePlanConfig_DeploymentSnapshot(): PlanConfig_DeploymentSnapshot {- return { deploymentConfig: undefined, databaseGroupSnapshots: [] };+ return { deploymentConfigSnapshot: undefined, databaseGroupSnapshots: [] };}export const PlanConfig_DeploymentSnapshot: MessageFns<PlanConfig_DeploymentSnapshot> = {encode(message: PlanConfig_DeploymentSnapshot, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.deploymentConfig !== undefined) {- DeploymentConfig.encode(message.deploymentConfig, writer.uint32(10).fork()).join();+ if (message.deploymentConfigSnapshot !== undefined) {+ PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.encode(+ message.deploymentConfigSnapshot,+ writer.uint32(10).fork(),+ ).join();}for (const v of message.databaseGroupSnapshots) {PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot.encode(v!, writer.uint32(18).fork()).join();@@ -1577,7 +1586,10 @@ export const PlanConfig_DeploymentSnapshot: MessageFns<PlanConfig_DeploymentSnapbreak;}- message.deploymentConfig = DeploymentConfig.decode(reader, reader.uint32());+ message.deploymentConfigSnapshot = PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.decode(+ reader,+ reader.uint32(),+ );continue;}case 2: {@@ -1601,7 +1613,9 @@ export const PlanConfig_DeploymentSnapshot: MessageFns<PlanConfig_DeploymentSnapfromJSON(object: any): PlanConfig_DeploymentSnapshot {return {- deploymentConfig: isSet(object.deploymentConfig) ? DeploymentConfig.fromJSON(object.deploymentConfig) : undefined,+ deploymentConfigSnapshot: isSet(object.deploymentConfigSnapshot)+ ? PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.fromJSON(object.deploymentConfigSnapshot)+ : undefined,databaseGroupSnapshots: globalThis.Array.isArray(object?.databaseGroupSnapshots)? object.databaseGroupSnapshots.map((e: any) => PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot.fromJSON(e)): [],@@ -1610,8 +1624,10 @@ export const PlanConfig_DeploymentSnapshot: MessageFns<PlanConfig_DeploymentSnaptoJSON(message: PlanConfig_DeploymentSnapshot): unknown {const obj: any = {};- if (message.deploymentConfig !== undefined) {- obj.deploymentConfig = DeploymentConfig.toJSON(message.deploymentConfig);+ if (message.deploymentConfigSnapshot !== undefined) {+ obj.deploymentConfigSnapshot = PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.toJSON(+ message.deploymentConfigSnapshot,+ );}if (message.databaseGroupSnapshots?.length) {obj.databaseGroupSnapshots = message.databaseGroupSnapshots.map((e) =>@@ -1626,9 +1642,10 @@ export const PlanConfig_DeploymentSnapshot: MessageFns<PlanConfig_DeploymentSnap},fromPartial(object: DeepPartial<PlanConfig_DeploymentSnapshot>): PlanConfig_DeploymentSnapshot {const message = createBasePlanConfig_DeploymentSnapshot();- message.deploymentConfig = (object.deploymentConfig !== undefined && object.deploymentConfig !== null)- ? DeploymentConfig.fromPartial(object.deploymentConfig)- : undefined;+ message.deploymentConfigSnapshot =+ (object.deploymentConfigSnapshot !== undefined && object.deploymentConfigSnapshot !== null)+ ? PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.fromPartial(object.deploymentConfigSnapshot)+ : undefined;message.databaseGroupSnapshots =object.databaseGroupSnapshots?.map((e) => PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot.fromPartial(e)) ||[];@@ -1636,6 +1653,109 @@ export const PlanConfig_DeploymentSnapshot: MessageFns<PlanConfig_DeploymentSnap},};+function createBasePlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot(): PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {+ return { name: "", title: "", deploymentConfig: undefined };+}++export const PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot: MessageFns<+ PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot+> = {+ encode(+ message: PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot,+ writer: BinaryWriter = new BinaryWriter(),+ ): BinaryWriter {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ if (message.title !== "") {+ writer.uint32(18).string(message.title);+ }+ if (message.deploymentConfig !== undefined) {+ DeploymentConfig.encode(message.deploymentConfig, writer.uint32(26).fork()).join();+ }+ return writer;+ },++ decode(input: BinaryReader | Uint8Array, length?: number): PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBasePlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot();+ 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.title = reader.string();+ continue;+ }+ case 3: {+ if (tag !== 26) {+ break;+ }++ message.deploymentConfig = DeploymentConfig.decode(reader, reader.uint32());+ continue;+ }+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skip(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {+ return {+ name: isSet(object.name) ? globalThis.String(object.name) : "",+ title: isSet(object.title) ? globalThis.String(object.title) : "",+ deploymentConfig: isSet(object.deploymentConfig) ? DeploymentConfig.fromJSON(object.deploymentConfig) : undefined,+ };+ },++ toJSON(message: PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ if (message.title !== "") {+ obj.title = message.title;+ }+ if (message.deploymentConfig !== undefined) {+ obj.deploymentConfig = DeploymentConfig.toJSON(message.deploymentConfig);+ }+ return obj;+ },++ create(+ base?: DeepPartial<PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot>,+ ): PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {+ return PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.fromPartial(base ?? {});+ },+ fromPartial(+ object: DeepPartial<PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot>,+ ): PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {+ const message = createBasePlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot();+ message.name = object.name ?? "";+ message.title = object.title ?? "";+ message.deploymentConfig = (object.deploymentConfig !== undefined && object.deploymentConfig !== null)+ ? DeploymentConfig.fromPartial(object.deploymentConfig)+ : undefined;+ return message;+ },+};+function createBasePlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot(): PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot {return { databaseGroup: "", databases: [] };}diff --git a/frontend/src/types/proto/v1/plan_service.ts b/frontend/src/types/proto/v1/plan_service.tsindex 6c7abaf304..747400e3e2 100644--- a/frontend/src/types/proto/v1/plan_service.ts+++ b/frontend/src/types/proto/v1/plan_service.ts@@ -21,6 +21,7 @@ import {vCSTypeToNumber,} from "./common";import { ChangedResources } from "./database_service";+import { DeploymentConfig } from "./project_service";export const protobufPackage = "bytebase.v1";@@ -158,7 +159,14 @@ export interface Plan {* - ERROR*/planCheckRunStatusCount: { [key: string]: number };- releaseSource: Plan_ReleaseSource | undefined;+ releaseSource:+ | Plan_ReleaseSource+ | undefined;+ /**+ * The deployment config snapshot taken at the time of plan creation.+ * This is to ensure that we get consistent rollout for the plan.+ */+ deploymentConfigSnapshot: DeploymentConfig | undefined;}export interface Plan_Step {@@ -1322,6 +1330,7 @@ function createBasePlan(): Plan {updateTime: undefined,planCheckRunStatusCount: {},releaseSource: undefined,+ deploymentConfigSnapshot: undefined,};}@@ -1360,6 +1369,9 @@ export const Plan: MessageFns<Plan> = {if (message.releaseSource !== undefined) {Plan_ReleaseSource.encode(message.releaseSource, writer.uint32(98).fork()).join();}+ if (message.deploymentConfigSnapshot !== undefined) {+ DeploymentConfig.encode(message.deploymentConfigSnapshot, writer.uint32(106).fork()).join();+ }return writer;},@@ -1461,6 +1473,14 @@ export const Plan: MessageFns<Plan> = {message.releaseSource = Plan_ReleaseSource.decode(reader, reader.uint32());continue;}+ case 13: {+ if (tag !== 106) {+ break;+ }++ message.deploymentConfigSnapshot = DeploymentConfig.decode(reader, reader.uint32());+ continue;+ }}if ((tag & 7) === 4 || tag === 0) {break;@@ -1488,6 +1508,9 @@ export const Plan: MessageFns<Plan> = {}, {}): {},releaseSource: isSet(object.releaseSource) ? Plan_ReleaseSource.fromJSON(object.releaseSource) : undefined,+ deploymentConfigSnapshot: isSet(object.deploymentConfigSnapshot)+ ? DeploymentConfig.fromJSON(object.deploymentConfigSnapshot)+ : undefined,};},@@ -1532,6 +1555,9 @@ export const Plan: MessageFns<Plan> = {if (message.releaseSource !== undefined) {obj.releaseSource = Plan_ReleaseSource.toJSON(message.releaseSource);}+ if (message.deploymentConfigSnapshot !== undefined) {+ obj.deploymentConfigSnapshot = DeploymentConfig.toJSON(message.deploymentConfigSnapshot);+ }return obj;},@@ -1566,6 +1592,10 @@ export const Plan: MessageFns<Plan> = {message.releaseSource = (object.releaseSource !== undefined && object.releaseSource !== null)? Plan_ReleaseSource.fromPartial(object.releaseSource): undefined;+ message.deploymentConfigSnapshot =+ (object.deploymentConfigSnapshot !== undefined && object.deploymentConfigSnapshot !== null)+ ? DeploymentConfig.fromPartial(object.deploymentConfigSnapshot)+ : undefined;return message;},};diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 55983cb05e..69e9276a10 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -12059,6 +12059,13 @@ components:- ERRORreleaseSource:$ref: '#/components/schemas/Plan_ReleaseSource'+ deploymentConfigSnapshot:+ readOnly: true+ allOf:+ - $ref: '#/components/schemas/DeploymentConfig'+ description: |-+ The deployment config snapshot taken at the time of plan creation.+ This is to ensure that we get consistent rollout for the plan.PlanCheckRun:type: objectproperties:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex a680fead7a..53cdfa2e86 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -207,6 +207,7 @@- [PlanConfig.CreateDatabaseConfig.LabelsEntry](#bytebase-store-PlanConfig-CreateDatabaseConfig-LabelsEntry)- [PlanConfig.DeploymentSnapshot](#bytebase-store-PlanConfig-DeploymentSnapshot)- [PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot](#bytebase-store-PlanConfig-DeploymentSnapshot-DatabaseGroupSnapshot)+ - [PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot](#bytebase-store-PlanConfig-DeploymentSnapshot-DeploymentConfigSnapshot)- [PlanConfig.ExportDataConfig](#bytebase-store-PlanConfig-ExportDataConfig)- [PlanConfig.ReleaseSource](#bytebase-store-PlanConfig-ReleaseSource)- [PlanConfig.Spec](#bytebase-store-PlanConfig-Spec)@@ -3364,7 +3365,7 @@ InstanceRole is the API message for instance role.| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| deployment_config | [DeploymentConfig](#bytebase-store-DeploymentConfig) | | The snapshot of the project deployment config at the time of creation. |+| deployment_config_snapshot | [PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot](#bytebase-store-PlanConfig-DeploymentSnapshot-DeploymentConfigSnapshot) | | || database_group_snapshots | [PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot](#bytebase-store-PlanConfig-DeploymentSnapshot-DatabaseGroupSnapshot) | repeated | |@@ -3388,6 +3389,23 @@ The snapshot of the database group at the time of creation.+<a name="bytebase-store-PlanConfig-DeploymentSnapshot-DeploymentConfigSnapshot"></a>++### PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot+The snapshot of the project deployment config at the time of creation.+++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | |+| title | [string](#string) | | |+| deployment_config | [DeploymentConfig](#bytebase-store-DeploymentConfig) | | |++++++<a name="bytebase-store-PlanConfig-ExportDataConfig"></a>### PlanConfig.ExportDataConfigdiff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 7d80f1ade4..5e5686eadc 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -1002,6 +1002,10 @@<a href="#bytebase.store.PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot"><span class="badge">M</span>PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot</a></li>+ <li>+ <a href="#bytebase.store.PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot"><span class="badge">M</span>PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot</a>+ </li>+<li><a href="#bytebase.store.PlanConfig.ExportDataConfig"><span class="badge">M</span>PlanConfig.ExportDataConfig</a></li>@@ -9007,10 +9011,10 @@ Format: environments/prod where prod is the environment resource ID. </p></td><tbody><tr>- <td>deployment_config</td>- <td><a href="#bytebase.store.DeploymentConfig">DeploymentConfig</a></td>+ <td>deployment_config_snapshot</td>+ <td><a href="#bytebase.store.PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot">PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot</a></td><td></td>- <td><p>The snapshot of the project deployment config at the time of creation. </p></td>+ <td><p> </p></td></tr><tr>@@ -9058,6 +9062,44 @@ Format: environments/prod where prod is the environment resource ID. </p></td>+ <h3 id="bytebase.store.PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot">PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot</h3>+ <p>The snapshot of the project deployment config at the time of creation.</p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>title</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>deployment_config</td>+ <td><a href="#bytebase.store.DeploymentConfig">DeploymentConfig</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.store.PlanConfig.ExportDataConfig">PlanConfig.ExportDataConfig</h3><p></p>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex ba42652c05..b1a4f0ac25 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -475,6 +475,44 @@- [OrgPolicyService](#bytebase-v1-OrgPolicyService)+- [v1/project_service.proto](#v1_project_service-proto)+ - [Activity](#bytebase-v1-Activity)+ - [AddWebhookRequest](#bytebase-v1-AddWebhookRequest)+ - [BatchGetIamPolicyRequest](#bytebase-v1-BatchGetIamPolicyRequest)+ - [BatchGetIamPolicyResponse](#bytebase-v1-BatchGetIamPolicyResponse)+ - [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult)+ - [CreateProjectRequest](#bytebase-v1-CreateProjectRequest)+ - [DeleteProjectRequest](#bytebase-v1-DeleteProjectRequest)+ - [DeploymentConfig](#bytebase-v1-DeploymentConfig)+ - [DeploymentSpec](#bytebase-v1-DeploymentSpec)+ - [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest)+ - [GetProjectRequest](#bytebase-v1-GetProjectRequest)+ - [Label](#bytebase-v1-Label)+ - [LabelSelector](#bytebase-v1-LabelSelector)+ - [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement)+ - [ListProjectsRequest](#bytebase-v1-ListProjectsRequest)+ - [ListProjectsResponse](#bytebase-v1-ListProjectsResponse)+ - [Project](#bytebase-v1-Project)+ - [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest)+ - [Schedule](#bytebase-v1-Schedule)+ - [ScheduleDeployment](#bytebase-v1-ScheduleDeployment)+ - [SearchProjectsRequest](#bytebase-v1-SearchProjectsRequest)+ - [SearchProjectsResponse](#bytebase-v1-SearchProjectsResponse)+ - [TestWebhookRequest](#bytebase-v1-TestWebhookRequest)+ - [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)+ - [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)+ - [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest)+ - [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest)+ - [UpdateWebhookRequest](#bytebase-v1-UpdateWebhookRequest)+ - [Webhook](#bytebase-v1-Webhook)++ - [Activity.Type](#bytebase-v1-Activity-Type)+ - [OperatorType](#bytebase-v1-OperatorType)+ - [Webhook.Type](#bytebase-v1-Webhook-Type)+ - [Workflow](#bytebase-v1-Workflow)++ - [ProjectService](#bytebase-v1-ProjectService)+- [v1/plan_service.proto](#v1_plan_service-proto)- [BatchCancelPlanCheckRunsRequest](#bytebase-v1-BatchCancelPlanCheckRunsRequest)- [BatchCancelPlanCheckRunsResponse](#bytebase-v1-BatchCancelPlanCheckRunsResponse)@@ -517,44 +555,6 @@- [PlanService](#bytebase-v1-PlanService)-- [v1/project_service.proto](#v1_project_service-proto)- - [Activity](#bytebase-v1-Activity)- - [AddWebhookRequest](#bytebase-v1-AddWebhookRequest)- - [BatchGetIamPolicyRequest](#bytebase-v1-BatchGetIamPolicyRequest)- - [BatchGetIamPolicyResponse](#bytebase-v1-BatchGetIamPolicyResponse)- - [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult)- - [CreateProjectRequest](#bytebase-v1-CreateProjectRequest)- - [DeleteProjectRequest](#bytebase-v1-DeleteProjectRequest)- - [DeploymentConfig](#bytebase-v1-DeploymentConfig)- - [DeploymentSpec](#bytebase-v1-DeploymentSpec)- - [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest)- - [GetProjectRequest](#bytebase-v1-GetProjectRequest)- - [Label](#bytebase-v1-Label)- - [LabelSelector](#bytebase-v1-LabelSelector)- - [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement)- - [ListProjectsRequest](#bytebase-v1-ListProjectsRequest)- - [ListProjectsResponse](#bytebase-v1-ListProjectsResponse)- - [Project](#bytebase-v1-Project)- - [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest)- - [Schedule](#bytebase-v1-Schedule)- - [ScheduleDeployment](#bytebase-v1-ScheduleDeployment)- - [SearchProjectsRequest](#bytebase-v1-SearchProjectsRequest)- - [SearchProjectsResponse](#bytebase-v1-SearchProjectsResponse)- - [TestWebhookRequest](#bytebase-v1-TestWebhookRequest)- - [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)- - [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)- - [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest)- - [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest)- - [UpdateWebhookRequest](#bytebase-v1-UpdateWebhookRequest)- - [Webhook](#bytebase-v1-Webhook)-- - [Activity.Type](#bytebase-v1-Activity-Type)- - [OperatorType](#bytebase-v1-OperatorType)- - [Webhook.Type](#bytebase-v1-Webhook-Type)- - [Workflow](#bytebase-v1-Workflow)-- - [ProjectService](#bytebase-v1-ProjectService)-- [v1/sql_service.proto](#v1_sql_service-proto)- [AdminExecuteRequest](#bytebase-v1-AdminExecuteRequest)- [AdminExecuteResponse](#bytebase-v1-AdminExecuteResponse)@@ -7877,1238 +7877,1246 @@ The policy's `name` field is used to identify the instance to update. Format-<a name="v1_plan_service-proto"></a>+<a name="v1_project_service-proto"></a><p align="right"><a href="#top">Top</a></p>-## v1/plan_service.proto----<a name="bytebase-v1-BatchCancelPlanCheckRunsRequest"></a>--### BatchCancelPlanCheckRunsRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The name of the parent of the planChecks. Format: projects/{project}/plans/{plan} |-| plan_check_runs | [string](#string) | repeated | TODO(d): update this API. The planCheckRuns to cancel. Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} |----+## v1/project_service.proto-<a name="bytebase-v1-BatchCancelPlanCheckRunsResponse"></a>-### BatchCancelPlanCheckRunsResponse+<a name="bytebase-v1-Activity"></a>+### Activity+TODO(zp): move to activity later.-<a name="bytebase-v1-CreatePlanRequest"></a>+<a name="bytebase-v1-AddWebhookRequest"></a>-### CreatePlanRequest+### AddWebhookRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent project where this plan will be created. Format: projects/{project} |-| plan | [Plan](#bytebase-v1-Plan) | | The plan to create. |+| 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-GetPlanRequest"></a>+<a name="bytebase-v1-BatchGetIamPolicyRequest"></a>-### GetPlanRequest+### BatchGetIamPolicyRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the plan to retrieve. Format: projects/{project}/plans/{plan} |+| scope | [string](#string) | | The scope of the batch get. Typically it's "projects/-". |+| names | [string](#string) | repeated | |-<a name="bytebase-v1-ListPlanCheckRunsRequest"></a>+<a name="bytebase-v1-BatchGetIamPolicyResponse"></a>-### ListPlanCheckRunsRequest+### BatchGetIamPolicyResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent, which owns this collection of plan check runs. Format: projects/{project}/plans/{plan} |-| page_size | [int32](#int32) | | Not used. The maximum number of plan check runs to return. The service may return fewer than this value. If unspecified, at most 10 plan check runs 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 `ListPlanCheckRuns` call. Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `ListPlanCheckRuns` must match the call that provided the page token. |-| latest_only | [bool](#bool) | | If set to true, only the latest plan check run will be returned. |+| policy_results | [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult) | repeated | |-<a name="bytebase-v1-ListPlanCheckRunsResponse"></a>+<a name="bytebase-v1-BatchGetIamPolicyResponse-PolicyResult"></a>-### ListPlanCheckRunsResponse+### BatchGetIamPolicyResponse.PolicyResult| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| plan_check_runs | [PlanCheckRun](#bytebase-v1-PlanCheckRun) | repeated | The plan check runs from the specified request. |-| next_page_token | [string](#string) | | 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 | [string](#string) | | |+| policy | [IamPolicy](#bytebase-v1-IamPolicy) | | |-<a name="bytebase-v1-ListPlansRequest"></a>+<a name="bytebase-v1-CreateProjectRequest"></a>-### ListPlansRequest+### CreateProjectRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent, which owns this collection of plans. Format: projects/{project} Use "projects/-" to list all plans from all projects. |-| page_size | [int32](#int32) | | The maximum number of plans to return. The service may return fewer than this value. If unspecified, at most 10 plans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |-| page_token | [string](#string) | | A page token, received from a previous `ListPlans` call. Provide this to retrieve the subsequent page.+| 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's resource name.-When paginating, all other parameters provided to `ListPlans` must match the call that provided the page token. |+This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |-<a name="bytebase-v1-ListPlansResponse"></a>+<a name="bytebase-v1-DeleteProjectRequest"></a>-### ListPlansResponse+### DeleteProjectRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| plans | [Plan](#bytebase-v1-Plan) | repeated | The plans from the specified request. |-| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |+| 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-Plan"></a>+<a name="bytebase-v1-DeploymentConfig"></a>-### Plan+### DeploymentConfig| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the plan. `plan` is a system generated ID. Format: projects/{project}/plans/{plan} |-| issue | [string](#string) | | The resource name of the issue associated with this plan. Format: projects/{project}/issues/{issue} |-| title | [string](#string) | | |-| description | [string](#string) | | |-| steps | [Plan.Step](#bytebase-v1-Plan-Step) | repeated | |-| vcs_source | [Plan.VCSSource](#bytebase-v1-Plan-VCSSource) | | |-| creator | [string](#string) | | Format: users/[email protected] |-| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |-| plan_check_run_status_count | [Plan.PlanCheckRunStatusCountEntry](#bytebase-v1-Plan-PlanCheckRunStatusCountEntry) | repeated | The status count of the latest plan check runs. Keys are: - SUCCESS - WARNING - ERROR |-| release_source | [Plan.ReleaseSource](#bytebase-v1-Plan-ReleaseSource) | | |+| 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-Plan-ChangeDatabaseConfig"></a>+<a name="bytebase-v1-DeploymentSpec"></a>-### Plan.ChangeDatabaseConfig+### DeploymentSpec| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| target | [string](#string) | | The resource name of the target. Format: instances/{instance-id}/databases/{database-name}. Format: projects/{project}/databaseGroups/{databaseGroup}. |-| sheet | [string](#string) | | The resource name of the sheet. Format: projects/{project}/sheets/{sheet} |-| type | [Plan.ChangeDatabaseConfig.Type](#bytebase-v1-Plan-ChangeDatabaseConfig-Type) | | |-| schema_version | [string](#string) | | schema_version is parsed from VCS file name. It is automatically generated in the UI workflow. |-| ghost_flags | [Plan.ChangeDatabaseConfig.GhostFlagsEntry](#bytebase-v1-Plan-ChangeDatabaseConfig-GhostFlagsEntry) | repeated | |-| pre_update_backup_detail | [Plan.ChangeDatabaseConfig.PreUpdateBackupDetail](#bytebase-v1-Plan-ChangeDatabaseConfig-PreUpdateBackupDetail) | optional | If set, a backup of the modified data will be created automatically before any changes are applied. |+| label_selector | [LabelSelector](#bytebase-v1-LabelSelector) | | |-<a name="bytebase-v1-Plan-ChangeDatabaseConfig-GhostFlagsEntry"></a>+<a name="bytebase-v1-GetDeploymentConfigRequest"></a>-### Plan.ChangeDatabaseConfig.GhostFlagsEntry+### GetDeploymentConfigRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| key | [string](#string) | | |-| value | [string](#string) | | |+| name | [string](#string) | | The name of the resource. Format: projects/{project}/deploymentConfigs/default. |-<a name="bytebase-v1-Plan-ChangeDatabaseConfig-PreUpdateBackupDetail"></a>+<a name="bytebase-v1-GetProjectRequest"></a>-### Plan.ChangeDatabaseConfig.PreUpdateBackupDetail+### GetProjectRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| database | [string](#string) | | The database for keeping the backup data. Format: instances/{instance}/databases/{database} |+| name | [string](#string) | | The name of the project to retrieve. Format: projects/{project} |-<a name="bytebase-v1-Plan-CreateDatabaseConfig"></a>+<a name="bytebase-v1-Label"></a>-### Plan.CreateDatabaseConfig+### Label| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| target | [string](#string) | | The resource name of the instance on which the database is created. Format: instances/{instance} |-| database | [string](#string) | | The name of the database to create. |-| table | [string](#string) | | table is the name of the table, if it is not empty, Bytebase should create a table after creating the database. For example, in MongoDB, it only creates the database when we first store data in that database. |-| character_set | [string](#string) | | character_set is the character set of the database. |-| collation | [string](#string) | | collation is the collation of the database. |-| cluster | [string](#string) | | cluster is the cluster of the database. This is only applicable to ClickHouse for "ON CLUSTER <<cluster>>". |-| owner | [string](#string) | | owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". |-| environment | [string](#string) | | The environment resource. Format: environments/prod where prod is the environment resource ID. |-| labels | [Plan.CreateDatabaseConfig.LabelsEntry](#bytebase-v1-Plan-CreateDatabaseConfig-LabelsEntry) | repeated | labels of the database. |+| value | [string](#string) | | |+| color | [string](#string) | | |+| group | [string](#string) | | |-<a name="bytebase-v1-Plan-CreateDatabaseConfig-LabelsEntry"></a>+<a name="bytebase-v1-LabelSelector"></a>-### Plan.CreateDatabaseConfig.LabelsEntry+### LabelSelector| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| key | [string](#string) | | |-| value | [string](#string) | | |+| match_expressions | [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement) | repeated | |-<a name="bytebase-v1-Plan-ExportDataConfig"></a>+<a name="bytebase-v1-LabelSelectorRequirement"></a>-### Plan.ExportDataConfig+### LabelSelectorRequirement| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| target | [string](#string) | | The resource name of the target. Format: instances/{instance-id}/databases/{database-name} |-| sheet | [string](#string) | | The resource name of the sheet. Format: projects/{project}/sheets/{sheet} |-| format | [ExportFormat](#bytebase-v1-ExportFormat) | | The format of the exported file. |-| password | [string](#string) | optional | The zip password provide by users. Leave it empty if no needs to encrypt the zip file. |+| key | [string](#string) | | |+| operator | [OperatorType](#bytebase-v1-OperatorType) | | |+| values | [string](#string) | repeated | |-<a name="bytebase-v1-Plan-PlanCheckRunStatusCountEntry"></a>+<a name="bytebase-v1-ListProjectsRequest"></a>-### Plan.PlanCheckRunStatusCountEntry+### ListProjectsRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| key | [string](#string) | | |-| value | [int32](#int32) | | |+| page_size | [int32](#int32) | | Not used. The maximum number of projects to return. The service may return fewer than this value. If unspecified, at most 10 projects will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | Not used. A page token, received from a previous `ListProjects` call. Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListProjects` must match the call that provided the page token. |+| show_deleted | [bool](#bool) | | Show deleted projects if specified. |-<a name="bytebase-v1-Plan-ReleaseSource"></a>+<a name="bytebase-v1-ListProjectsResponse"></a>-### Plan.ReleaseSource+### ListProjectsResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| release | [string](#string) | | The release. Format: projects/{project}/releases/{release} |+| projects | [Project](#bytebase-v1-Project) | repeated | The projects from the specified request. |+| next_page_token | [string](#string) | | 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-Plan-Spec"></a>+<a name="bytebase-v1-Project"></a>-### Plan.Spec+### Project| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| earliest_allowed_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | earliest_allowed_time the earliest execution time of the change. |-| id | [string](#string) | | A UUID4 string that uniquely identifies the Spec. |-| depends_on_specs | [string](#string) | repeated | IDs of the specs that this spec depends on. Must be a subset of the specs in the same step. |-| spec_release_source | [Plan.SpecReleaseSource](#bytebase-v1-Plan-SpecReleaseSource) | | |-| create_database_config | [Plan.CreateDatabaseConfig](#bytebase-v1-Plan-CreateDatabaseConfig) | | |-| change_database_config | [Plan.ChangeDatabaseConfig](#bytebase-v1-Plan-ChangeDatabaseConfig) | | |-| export_data_config | [Plan.ExportDataConfig](#bytebase-v1-Plan-ExportDataConfig) | | |+| name | [string](#string) | | The name of the project. Format: projects/{project} |+| state | [State](#bytebase-v1-State) | | |+| title | [string](#string) | | The title or name of a project. It's not unique within the workspace. |+| key | [string](#string) | | The key is a short and upper-case identifier for a project. It's unique within the workspace. |+| workflow | [Workflow](#bytebase-v1-Workflow) | | |+| webhooks | [Webhook](#bytebase-v1-Webhook) | repeated | |+| data_classification_config_id | [string](#string) | | |+| issue_labels | [Label](#bytebase-v1-Label) | repeated | |+| force_issue_labels | [bool](#bool) | | Force issue labels to be used when creating an issue. |+| allow_modify_statement | [bool](#bool) | | Allow modifying statement after issue is created. |+| auto_resolve_issue | [bool](#bool) | | Enable auto resolve issue. |+| enforce_issue_title | [bool](#bool) | | Enforce issue title created by user instead of generated by Bytebase. |+| auto_enable_backup | [bool](#bool) | | Whether to automatically enable backup. |+| skip_backup_errors | [bool](#bool) | | Whether to skip backup errors and continue the data migration. |+| postgres_database_tenant_mode | [bool](#bool) | | Whether to enable the database tenant mode for PostgreSQL. If enabled, the issue will be created with the pre-appended "set role <db_owner>" statement. |-<a name="bytebase-v1-Plan-SpecReleaseSource"></a>+<a name="bytebase-v1-RemoveWebhookRequest"></a>-### Plan.SpecReleaseSource+### RemoveWebhookRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| file | [string](#string) | | Format: projects/{project}/releases/{release}/files/{file} {file} is URL path escaped. |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to remove. Identified by its url. |-<a name="bytebase-v1-Plan-Step"></a>+<a name="bytebase-v1-Schedule"></a>-### Plan.Step+### Schedule| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| title | [string](#string) | | |-| specs | [Plan.Spec](#bytebase-v1-Plan-Spec) | repeated | |+| deployments | [ScheduleDeployment](#bytebase-v1-ScheduleDeployment) | repeated | |-<a name="bytebase-v1-Plan-VCSSource"></a>+<a name="bytebase-v1-ScheduleDeployment"></a>-### Plan.VCSSource+### ScheduleDeployment| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| vcs_type | [VCSType](#bytebase-v1-VCSType) | | |-| vcs_connector | [string](#string) | | Optional. If present, we will update the pull request for rollout status. Format: projects/{project-ID}/vcsConnectors/{vcs-connector} |-| pull_request_url | [string](#string) | | |+| title | [string](#string) | | The title of the deployment (stage) in a schedule. |+| id | [string](#string) | | |+| spec | [DeploymentSpec](#bytebase-v1-DeploymentSpec) | | |-<a name="bytebase-v1-PlanCheckRun"></a>+<a name="bytebase-v1-SearchProjectsRequest"></a>-### PlanCheckRun+### SearchProjectsRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} |-| type | [PlanCheckRun.Type](#bytebase-v1-PlanCheckRun-Type) | | |-| status | [PlanCheckRun.Status](#bytebase-v1-PlanCheckRun-Status) | | |-| target | [string](#string) | | Format: instances/{instance}/databases/{database} |-| sheet | [string](#string) | | Format: project/{project}/sheets/{sheet} |-| results | [PlanCheckRun.Result](#bytebase-v1-PlanCheckRun-Result) | repeated | |-| error | [string](#string) | | error is set if the Status is FAILED. |-| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| show_deleted | [bool](#bool) | | Show deleted projects if specified. |-<a name="bytebase-v1-PlanCheckRun-Result"></a>+<a name="bytebase-v1-SearchProjectsResponse"></a>-### PlanCheckRun.Result+### SearchProjectsResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| status | [PlanCheckRun.Result.Status](#bytebase-v1-PlanCheckRun-Result-Status) | | |-| title | [string](#string) | | |-| content | [string](#string) | | |-| code | [int32](#int32) | | |-| sql_summary_report | [PlanCheckRun.Result.SqlSummaryReport](#bytebase-v1-PlanCheckRun-Result-SqlSummaryReport) | | |-| sql_review_report | [PlanCheckRun.Result.SqlReviewReport](#bytebase-v1-PlanCheckRun-Result-SqlReviewReport) | | |+| projects | [Project](#bytebase-v1-Project) | repeated | The projects from the specified request. |-<a name="bytebase-v1-PlanCheckRun-Result-SqlReviewReport"></a>+<a name="bytebase-v1-TestWebhookRequest"></a>-### PlanCheckRun.Result.SqlReviewReport+### TestWebhookRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| line | [int32](#int32) | | |-| column | [int32](#int32) | | |-| detail | [string](#string) | | |-| code | [int32](#int32) | | Code from sql review. |-| start_position | [Position](#bytebase-v1-Position) | | 1-based Position of the SQL statement. To supersede `line` and `column` above. |-| end_position | [Position](#bytebase-v1-Position) | | |+| project | [string](#string) | | The name of the project which owns the webhook to test. Format: projects/{project} |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to test. Identified by its url. |-<a name="bytebase-v1-PlanCheckRun-Result-SqlSummaryReport"></a>+<a name="bytebase-v1-TestWebhookResponse"></a>-### PlanCheckRun.Result.SqlSummaryReport+### TestWebhookResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| code | [int32](#int32) | | |-| statement_types | [string](#string) | repeated | statement_types are the types of statements that are found in the sql. |-| affected_rows | [int32](#int32) | | |-| changed_resources | [ChangedResources](#bytebase-v1-ChangedResources) | | |+| error | [string](#string) | | The result of the test, empty if the test is successful. |-<a name="bytebase-v1-PreviewPlanRequest"></a>+<a name="bytebase-v1-UndeleteProjectRequest"></a>-### PreviewPlanRequest+### UndeleteProjectRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| project | [string](#string) | | The name of the project. Format: projects/{project} |-| release | [string](#string) | | The release used for preview. |-| targets | [string](#string) | repeated | The targets to deploy. Can be database or databaseGroup. Format: projects/{project}/databaseGroups/{databaseGroup} instances/{instance}/databases/{database} |-| allow_out_of_order | [bool](#bool) | | |+| name | [string](#string) | | The name of the deleted project. Format: projects/{project} |-<a name="bytebase-v1-PreviewPlanResponse"></a>+<a name="bytebase-v1-UpdateDeploymentConfigRequest"></a>-### PreviewPlanResponse+### UpdateDeploymentConfigRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| plan | [Plan](#bytebase-v1-Plan) | | |-| out_of_order_files | [PreviewPlanResponse.DatabaseFiles](#bytebase-v1-PreviewPlanResponse-DatabaseFiles) | repeated | The out of order files of each database. |-| applied_but_modified_files | [PreviewPlanResponse.DatabaseFiles](#bytebase-v1-PreviewPlanResponse-DatabaseFiles) | repeated | The applied but modified files of each database. |+| deployment_config | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | | |-<a name="bytebase-v1-PreviewPlanResponse-DatabaseFiles"></a>+<a name="bytebase-v1-UpdateProjectRequest"></a>-### PreviewPlanResponse.DatabaseFiles+### UpdateProjectRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| database | [string](#string) | | |-| files | [string](#string) | repeated | Format: projects/{project}/releases/{release}/files/{file_id} |+| project | [Project](#bytebase-v1-Project) | | The project to update.+The project's `name` field is used to identify the project to update. Format: projects/{project} |+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |-<a name="bytebase-v1-RunPlanChecksRequest"></a>-### RunPlanChecksRequest+<a name="bytebase-v1-UpdateWebhookRequest"></a>++### UpdateWebhookRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The plan to run plan checks. Format: projects/{project}/plans/{plan} |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to modify. |+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |-<a name="bytebase-v1-RunPlanChecksResponse"></a>+<a name="bytebase-v1-Webhook"></a>-### RunPlanChecksResponse+### Webhook+| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | name is the name of the webhook, generated by the server. format: projects/{project}/webhooks/{webhook} |+| type | [Webhook.Type](#bytebase-v1-Webhook-Type) | | type is the type of the webhook. |+| title | [string](#string) | | title is the title of the webhook. |+| url | [string](#string) | | url is the url of the webhook, should be unique within the project. |+| direct_message | [bool](#bool) | | if direct_message is set, the notification is sent directly to the persons and url will be ignored. IM integration setting should be set for this function to work. |+| notification_types | [Activity.Type](#bytebase-v1-Activity-Type) | repeated | 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 should 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_CREATE |-<a name="bytebase-v1-SearchPlansRequest"></a>-### SearchPlansRequest++<a name="bytebase-v1-Activity-Type"></a>-| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent, which owns this collection of plans. Format: projects/{project} Use "projects/-" to list all plans from all projects. |-| page_size | [int32](#int32) | | The maximum number of plans to return. The service may return fewer than this value. If unspecified, at most 10 plans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |-| page_token | [string](#string) | | A page token, received from a previous `SearchPlans` call. Provide this to retrieve the subsequent page.+### Activity.Type-When paginating, all other parameters provided to `SearchPlans` must match the call that provided the page token. |-| filter | [string](#string) | | Filter is used to filter plans returned in the list. |+| Name | Number | Description |+| ---- | ------ | ----------- |+| TYPE_UNSPECIFIED | 0 | |+| TYPE_NOTIFY_ISSUE_APPROVED | 23 | Notifications via webhooks.+TYPE_NOTIFY_ISSUE_APPROVED represents the issue approved notification. |+| TYPE_NOTIFY_PIPELINE_ROLLOUT | 24 | TYPE_NOTIFY_PIPELINE_ROLLOUT represents the pipeline rollout notification. |+| TYPE_ISSUE_CREATE | 1 | Issue related activity types.+TYPE_ISSUE_CREATE represents creating an issue. |+| TYPE_ISSUE_COMMENT_CREATE | 2 | TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue. |+| TYPE_ISSUE_FIELD_UPDATE | 3 | TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, etc. |+| TYPE_ISSUE_STATUS_UPDATE | 4 | TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now. |+| TYPE_ISSUE_APPROVAL_NOTIFY | 21 | TYPE_ISSUE_APPROVAL_NOTIFY is the type for notifying issue approval. |+| TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE | 5 | TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now. |+| TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE | 6 | TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now. |+| TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE | 22 | TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE represents the pipeline task run status change, including PENDING, RUNNING, DONE, FAILED, CANCELED. |+| TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE | 8 | TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement. |+| TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE | 9 | TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time. |+| TYPE_MEMBER_CREATE | 10 | Member related activity types.+TYPE_MEMBER_CREATE represents creating a members. |+| TYPE_MEMBER_ROLE_UPDATE | 11 | TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER. |+| TYPE_MEMBER_ACTIVATE | 12 | TYPE_MEMBER_ACTIVATE represents activating a deactivated member. |+| TYPE_MEMBER_DEACTIVATE | 13 | TYPE_MEMBER_DEACTIVATE represents deactivating an active member. |+| TYPE_PROJECT_REPOSITORY_PUSH | 14 | Project related activity types.+TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository. |+| TYPE_PROJECT_DATABASE_TRANSFER | 15 | TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another. |+| TYPE_PROJECT_MEMBER_CREATE | 16 | TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project. |+| TYPE_PROJECT_MEMBER_DELETE | 17 | TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project. |+| TYPE_SQL_EDITOR_QUERY | 19 | SQL Editor related activity types. TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor. |-<a name="bytebase-v1-SearchPlansResponse"></a>-### SearchPlansResponse+<a name="bytebase-v1-OperatorType"></a>+### OperatorType-| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| plans | [Plan](#bytebase-v1-Plan) | repeated | The plans from the specified request. |-| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |+| Name | Number | Description |+| ---- | ------ | ----------- |+| OPERATOR_TYPE_UNSPECIFIED | 0 | The operator is not specified. |+| OPERATOR_TYPE_IN | 1 | The operator is "In". |+| OPERATOR_TYPE_EXISTS | 2 | The operator is "Exists". |+| OPERATOR_TYPE_NOT_IN | 3 | The operator is "Not In". |+<a name="bytebase-v1-Webhook-Type"></a>+### Webhook.Type-<a name="bytebase-v1-UpdatePlanRequest"></a>-### UpdatePlanRequest+| Name | Number | Description |+| ---- | ------ | ----------- |+| TYPE_UNSPECIFIED | 0 | |+| TYPE_SLACK | 1 | |+| TYPE_DISCORD | 2 | |+| TYPE_TEAMS | 3 | |+| TYPE_DINGTALK | 4 | |+| TYPE_FEISHU | 5 | |+| TYPE_WECOM | 6 | |+| TYPE_CUSTOM | 7 | |+| TYPE_LARK | 8 | |-| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| plan | [Plan](#bytebase-v1-Plan) | | The plan to update.+<a name="bytebase-v1-Workflow"></a>-The plan's `name` field is used to identify the plan to update. Format: projects/{project}/plans/{plan} |-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |+### Workflow+| Name | Number | Description |+| ---- | ------ | ----------- |+| WORKFLOW_UNSPECIFIED | 0 | |+| UI | 1 | |+| VCS | 2 | |+-<a name="bytebase-v1-Plan-ChangeDatabaseConfig-Type"></a>+<a name="bytebase-v1-ProjectService"></a>-### Plan.ChangeDatabaseConfig.Type-Type is the database change type.+### ProjectService-| Name | Number | Description |-| ---- | ------ | ----------- |-| TYPE_UNSPECIFIED | 0 | |-| BASELINE | 1 | Used for establishing schema baseline, this is used when 1. Onboard the database into Bytebase since Bytebase needs to know the current database schema. 2. Had schema drift and need to re-establish the baseline. |-| MIGRATE | 2 | Used for DDL changes including CREATE DATABASE. |-| MIGRATE_SDL | 3 | Used for schema changes via state-based schema migration including CREATE DATABASE. |-| MIGRATE_GHOST | 4 | Used for DDL changes using gh-ost. |-| DATA | 6 | Used for DML change. |+| Method Name | Request Type | Response Type | Description |+| ----------- | ------------ | ------------- | ------------|+| GetProject | [GetProjectRequest](#bytebase-v1-GetProjectRequest) | [Project](#bytebase-v1-Project) | |+| ListProjects | [ListProjectsRequest](#bytebase-v1-ListProjectsRequest) | [ListProjectsResponse](#bytebase-v1-ListProjectsResponse) | |+| SearchProjects | [SearchProjectsRequest](#bytebase-v1-SearchProjectsRequest) | [SearchProjectsResponse](#bytebase-v1-SearchProjectsResponse) | |+| CreateProject | [CreateProjectRequest](#bytebase-v1-CreateProjectRequest) | [Project](#bytebase-v1-Project) | |+| UpdateProject | [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest) | [Project](#bytebase-v1-Project) | |+| DeleteProject | [DeleteProjectRequest](#bytebase-v1-DeleteProjectRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |+| UndeleteProject | [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest) | [Project](#bytebase-v1-Project) | |+| GetIamPolicy | [GetIamPolicyRequest](#bytebase-v1-GetIamPolicyRequest) | [IamPolicy](#bytebase-v1-IamPolicy) | |+| BatchGetIamPolicy | [BatchGetIamPolicyRequest](#bytebase-v1-BatchGetIamPolicyRequest) | [BatchGetIamPolicyResponse](#bytebase-v1-BatchGetIamPolicyResponse) | Deprecated. |+| SetIamPolicy | [SetIamPolicyRequest](#bytebase-v1-SetIamPolicyRequest) | [IamPolicy](#bytebase-v1-IamPolicy) | |+| GetDeploymentConfig | [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest) | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | |+| UpdateDeploymentConfig | [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest) | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | |+| AddWebhook | [AddWebhookRequest](#bytebase-v1-AddWebhookRequest) | [Project](#bytebase-v1-Project) | |+| 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) | |++-<a name="bytebase-v1-PlanCheckRun-Result-Status"></a>-### PlanCheckRun.Result.Status+<a name="v1_plan_service-proto"></a>+<p align="right"><a href="#top">Top</a></p>+## v1/plan_service.proto-| Name | Number | Description |-| ---- | ------ | ----------- |-| STATUS_UNSPECIFIED | 0 | |-| ERROR | 1 | |-| WARNING | 2 | |-| SUCCESS | 3 | |+<a name="bytebase-v1-BatchCancelPlanCheckRunsRequest"></a>-<a name="bytebase-v1-PlanCheckRun-Status"></a>+### BatchCancelPlanCheckRunsRequest-### PlanCheckRun.Status-| Name | Number | Description |-| ---- | ------ | ----------- |-| STATUS_UNSPECIFIED | 0 | |-| RUNNING | 1 | |-| DONE | 2 | |-| FAILED | 3 | |-| CANCELED | 4 | |+| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| parent | [string](#string) | | The name of the parent of the planChecks. Format: projects/{project}/plans/{plan} |+| plan_check_runs | [string](#string) | repeated | TODO(d): update this API. The planCheckRuns to cancel. Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} |-<a name="bytebase-v1-PlanCheckRun-Type"></a>-### PlanCheckRun.Type-| Name | Number | Description |-| ---- | ------ | ----------- |-| TYPE_UNSPECIFIED | 0 | |-| DATABASE_STATEMENT_FAKE_ADVISE | 1 | |-| DATABASE_STATEMENT_ADVISE | 3 | |-| DATABASE_STATEMENT_SUMMARY_REPORT | 5 | |-| DATABASE_CONNECT | 6 | |-| DATABASE_GHOST_SYNC | 7 | |+<a name="bytebase-v1-BatchCancelPlanCheckRunsResponse"></a>+### BatchCancelPlanCheckRunsResponse---<a name="bytebase-v1-PlanService"></a>-### PlanService-| Method Name | Request Type | Response Type | Description |-| ----------- | ------------ | ------------- | ------------|-| GetPlan | [GetPlanRequest](#bytebase-v1-GetPlanRequest) | [Plan](#bytebase-v1-Plan) | |-| ListPlans | [ListPlansRequest](#bytebase-v1-ListPlansRequest) | [ListPlansResponse](#bytebase-v1-ListPlansResponse) | |-| SearchPlans | [SearchPlansRequest](#bytebase-v1-SearchPlansRequest) | [SearchPlansResponse](#bytebase-v1-SearchPlansResponse) | Search for plans that the caller has the bb.plans.get permission on and also satisfy the specified filter & query. |-| CreatePlan | [CreatePlanRequest](#bytebase-v1-CreatePlanRequest) | [Plan](#bytebase-v1-Plan) | |-| UpdatePlan | [UpdatePlanRequest](#bytebase-v1-UpdatePlanRequest) | [Plan](#bytebase-v1-Plan) | UpdatePlan updates the plan. The plan creator and the user with bb.plans.update permission on the project can update the plan. |-| ListPlanCheckRuns | [ListPlanCheckRunsRequest](#bytebase-v1-ListPlanCheckRunsRequest) | [ListPlanCheckRunsResponse](#bytebase-v1-ListPlanCheckRunsResponse) | |-| RunPlanChecks | [RunPlanChecksRequest](#bytebase-v1-RunPlanChecksRequest) | [RunPlanChecksResponse](#bytebase-v1-RunPlanChecksResponse) | |-| BatchCancelPlanCheckRuns | [BatchCancelPlanCheckRunsRequest](#bytebase-v1-BatchCancelPlanCheckRunsRequest) | [BatchCancelPlanCheckRunsResponse](#bytebase-v1-BatchCancelPlanCheckRunsResponse) | |-| PreviewPlan | [PreviewPlanRequest](#bytebase-v1-PreviewPlanRequest) | [PreviewPlanResponse](#bytebase-v1-PreviewPlanResponse) | |+<a name="bytebase-v1-CreatePlanRequest"></a>-+### CreatePlanRequest-<a name="v1_project_service-proto"></a>-<p align="right"><a href="#top">Top</a></p>+| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| parent | [string](#string) | | The parent project where this plan will be created. Format: projects/{project} |+| plan | [Plan](#bytebase-v1-Plan) | | The plan to create. |-## v1/project_service.proto-<a name="bytebase-v1-Activity"></a>-### Activity-TODO(zp): move to activity later.+<a name="bytebase-v1-GetPlanRequest"></a>++### GetPlanRequest+| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | The name of the plan to retrieve. Format: projects/{project}/plans/{plan} |-<a name="bytebase-v1-AddWebhookRequest"></a>-### AddWebhookRequest++++<a name="bytebase-v1-ListPlanCheckRunsRequest"></a>++### ListPlanCheckRunsRequest| 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. |+| parent | [string](#string) | | The parent, which owns this collection of plan check runs. Format: projects/{project}/plans/{plan} |+| page_size | [int32](#int32) | | Not used. The maximum number of plan check runs to return. The service may return fewer than this value. If unspecified, at most 10 plan check runs 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 `ListPlanCheckRuns` call. Provide this to retrieve the subsequent page.+When paginating, all other parameters provided to `ListPlanCheckRuns` must match the call that provided the page token. |+| latest_only | [bool](#bool) | | If set to true, only the latest plan check run will be returned. |-<a name="bytebase-v1-BatchGetIamPolicyRequest"></a>-### BatchGetIamPolicyRequest+<a name="bytebase-v1-ListPlanCheckRunsResponse"></a>++### ListPlanCheckRunsResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| scope | [string](#string) | | The scope of the batch get. Typically it's "projects/-". |-| names | [string](#string) | repeated | |+| plan_check_runs | [PlanCheckRun](#bytebase-v1-PlanCheckRun) | repeated | The plan check runs from the specified request. |+| next_page_token | [string](#string) | | 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-BatchGetIamPolicyResponse"></a>+<a name="bytebase-v1-ListPlansRequest"></a>-### BatchGetIamPolicyResponse+### ListPlansRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| policy_results | [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult) | repeated | |+| parent | [string](#string) | | The parent, which owns this collection of plans. Format: projects/{project} Use "projects/-" to list all plans from all projects. |+| page_size | [int32](#int32) | | The maximum number of plans to return. The service may return fewer than this value. If unspecified, at most 10 plans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | A page token, received from a previous `ListPlans` call. Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListPlans` must match the call that provided the page token. |-<a name="bytebase-v1-BatchGetIamPolicyResponse-PolicyResult"></a>+<a name="bytebase-v1-ListPlansResponse"></a>-### BatchGetIamPolicyResponse.PolicyResult+### ListPlansResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| project | [string](#string) | | |-| policy | [IamPolicy](#bytebase-v1-IamPolicy) | | |+| plans | [Plan](#bytebase-v1-Plan) | repeated | The plans from the specified request. |+| next_page_token | [string](#string) | | 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-CreateProjectRequest"></a>+<a name="bytebase-v1-Plan"></a>-### CreateProjectRequest+### Plan| 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's resource name.--This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |+| name | [string](#string) | | The name of the plan. `plan` is a system generated ID. Format: projects/{project}/plans/{plan} |+| issue | [string](#string) | | The resource name of the issue associated with this plan. Format: projects/{project}/issues/{issue} |+| title | [string](#string) | | |+| description | [string](#string) | | |+| steps | [Plan.Step](#bytebase-v1-Plan-Step) | repeated | |+| vcs_source | [Plan.VCSSource](#bytebase-v1-Plan-VCSSource) | | |+| creator | [string](#string) | | Format: users/[email protected] |+| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| plan_check_run_status_count | [Plan.PlanCheckRunStatusCountEntry](#bytebase-v1-Plan-PlanCheckRunStatusCountEntry) | repeated | The status count of the latest plan check runs. Keys are: - SUCCESS - WARNING - ERROR |+| release_source | [Plan.ReleaseSource](#bytebase-v1-Plan-ReleaseSource) | | |+| deployment_config_snapshot | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | | The deployment config snapshot taken at the time of plan creation. This is to ensure that we get consistent rollout for the plan. |-<a name="bytebase-v1-DeleteProjectRequest"></a>+<a name="bytebase-v1-Plan-ChangeDatabaseConfig"></a>-### DeleteProjectRequest+### Plan.ChangeDatabaseConfig| 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. |+| target | [string](#string) | | The resource name of the target. Format: instances/{instance-id}/databases/{database-name}. Format: projects/{project}/databaseGroups/{databaseGroup}. |+| sheet | [string](#string) | | The resource name of the sheet. Format: projects/{project}/sheets/{sheet} |+| type | [Plan.ChangeDatabaseConfig.Type](#bytebase-v1-Plan-ChangeDatabaseConfig-Type) | | |+| schema_version | [string](#string) | | schema_version is parsed from VCS file name. It is automatically generated in the UI workflow. |+| ghost_flags | [Plan.ChangeDatabaseConfig.GhostFlagsEntry](#bytebase-v1-Plan-ChangeDatabaseConfig-GhostFlagsEntry) | repeated | |+| pre_update_backup_detail | [Plan.ChangeDatabaseConfig.PreUpdateBackupDetail](#bytebase-v1-Plan-ChangeDatabaseConfig-PreUpdateBackupDetail) | optional | If set, a backup of the modified data will be created automatically before any changes are applied. |-<a name="bytebase-v1-DeploymentConfig"></a>+<a name="bytebase-v1-Plan-ChangeDatabaseConfig-GhostFlagsEntry"></a>-### DeploymentConfig+### Plan.ChangeDatabaseConfig.GhostFlagsEntry| 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) | | |+| key | [string](#string) | | |+| value | [string](#string) | | |-<a name="bytebase-v1-DeploymentSpec"></a>+<a name="bytebase-v1-Plan-ChangeDatabaseConfig-PreUpdateBackupDetail"></a>-### DeploymentSpec+### Plan.ChangeDatabaseConfig.PreUpdateBackupDetail| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| label_selector | [LabelSelector](#bytebase-v1-LabelSelector) | | |+| database | [string](#string) | | The database for keeping the backup data. Format: instances/{instance}/databases/{database} |-<a name="bytebase-v1-GetDeploymentConfigRequest"></a>+<a name="bytebase-v1-Plan-CreateDatabaseConfig"></a>-### GetDeploymentConfigRequest+### Plan.CreateDatabaseConfig| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the resource. Format: projects/{project}/deploymentConfigs/default. |+| target | [string](#string) | | The resource name of the instance on which the database is created. Format: instances/{instance} |+| database | [string](#string) | | The name of the database to create. |+| table | [string](#string) | | table is the name of the table, if it is not empty, Bytebase should create a table after creating the database. For example, in MongoDB, it only creates the database when we first store data in that database. |+| character_set | [string](#string) | | character_set is the character set of the database. |+| collation | [string](#string) | | collation is the collation of the database. |+| cluster | [string](#string) | | cluster is the cluster of the database. This is only applicable to ClickHouse for "ON CLUSTER <<cluster>>". |+| owner | [string](#string) | | owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". |+| environment | [string](#string) | | The environment resource. Format: environments/prod where prod is the environment resource ID. |+| labels | [Plan.CreateDatabaseConfig.LabelsEntry](#bytebase-v1-Plan-CreateDatabaseConfig-LabelsEntry) | repeated | labels of the database. |-<a name="bytebase-v1-GetProjectRequest"></a>+<a name="bytebase-v1-Plan-CreateDatabaseConfig-LabelsEntry"></a>-### GetProjectRequest+### Plan.CreateDatabaseConfig.LabelsEntry| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the project to retrieve. Format: projects/{project} |+| key | [string](#string) | | |+| value | [string](#string) | | |-<a name="bytebase-v1-Label"></a>+<a name="bytebase-v1-Plan-ExportDataConfig"></a>-### Label+### Plan.ExportDataConfig| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| value | [string](#string) | | |-| color | [string](#string) | | |-| group | [string](#string) | | |+| target | [string](#string) | | The resource name of the target. Format: instances/{instance-id}/databases/{database-name} |+| sheet | [string](#string) | | The resource name of the sheet. Format: projects/{project}/sheets/{sheet} |+| format | [ExportFormat](#bytebase-v1-ExportFormat) | | The format of the exported file. |+| password | [string](#string) | optional | The zip password provide by users. Leave it empty if no needs to encrypt the zip file. |-<a name="bytebase-v1-LabelSelector"></a>+<a name="bytebase-v1-Plan-PlanCheckRunStatusCountEntry"></a>-### LabelSelector+### Plan.PlanCheckRunStatusCountEntry| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| match_expressions | [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement) | repeated | |+| key | [string](#string) | | |+| value | [int32](#int32) | | |-<a name="bytebase-v1-LabelSelectorRequirement"></a>+<a name="bytebase-v1-Plan-ReleaseSource"></a>-### LabelSelectorRequirement+### Plan.ReleaseSource| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| key | [string](#string) | | |-| operator | [OperatorType](#bytebase-v1-OperatorType) | | |-| values | [string](#string) | repeated | |+| release | [string](#string) | | The release. Format: projects/{project}/releases/{release} |-<a name="bytebase-v1-ListProjectsRequest"></a>+<a name="bytebase-v1-Plan-Spec"></a>-### ListProjectsRequest+### Plan.Spec| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| page_size | [int32](#int32) | | Not used. The maximum number of projects to return. The service may return fewer than this value. If unspecified, at most 10 projects will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |-| page_token | [string](#string) | | Not used. A page token, received from a previous `ListProjects` call. Provide this to retrieve the subsequent page.+| earliest_allowed_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | earliest_allowed_time the earliest execution time of the change. |+| id | [string](#string) | | A UUID4 string that uniquely identifies the Spec. |+| depends_on_specs | [string](#string) | repeated | IDs of the specs that this spec depends on. Must be a subset of the specs in the same step. |+| spec_release_source | [Plan.SpecReleaseSource](#bytebase-v1-Plan-SpecReleaseSource) | | |+| create_database_config | [Plan.CreateDatabaseConfig](#bytebase-v1-Plan-CreateDatabaseConfig) | | |+| change_database_config | [Plan.ChangeDatabaseConfig](#bytebase-v1-Plan-ChangeDatabaseConfig) | | |+| export_data_config | [Plan.ExportDataConfig](#bytebase-v1-Plan-ExportDataConfig) | | |-When paginating, all other parameters provided to `ListProjects` must match the call that provided the page token. |-| show_deleted | [bool](#bool) | | Show deleted projects if specified. |+<a name="bytebase-v1-Plan-SpecReleaseSource"></a>++### Plan.SpecReleaseSource-<a name="bytebase-v1-ListProjectsResponse"></a>-### ListProjectsResponse++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| file | [string](#string) | | Format: projects/{project}/releases/{release}/files/{file} {file} is URL path escaped. |+++++++<a name="bytebase-v1-Plan-Step"></a>++### Plan.Step| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| projects | [Project](#bytebase-v1-Project) | repeated | The projects from the specified request. |-| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |+| title | [string](#string) | | |+| specs | [Plan.Spec](#bytebase-v1-Plan-Spec) | repeated | |-<a name="bytebase-v1-Project"></a>+<a name="bytebase-v1-Plan-VCSSource"></a>-### Project+### Plan.VCSSource| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the project. Format: projects/{project} |-| state | [State](#bytebase-v1-State) | | |-| title | [string](#string) | | The title or name of a project. It's not unique within the workspace. |-| key | [string](#string) | | The key is a short and upper-case identifier for a project. It's unique within the workspace. |-| workflow | [Workflow](#bytebase-v1-Workflow) | | |-| webhooks | [Webhook](#bytebase-v1-Webhook) | repeated | |-| data_classification_config_id | [string](#string) | | |-| issue_labels | [Label](#bytebase-v1-Label) | repeated | |-| force_issue_labels | [bool](#bool) | | Force issue labels to be used when creating an issue. |-| allow_modify_statement | [bool](#bool) | | Allow modifying statement after issue is created. |-| auto_resolve_issue | [bool](#bool) | | Enable auto resolve issue. |-| enforce_issue_title | [bool](#bool) | | Enforce issue title created by user instead of generated by Bytebase. |-| auto_enable_backup | [bool](#bool) | | Whether to automatically enable backup. |-| skip_backup_errors | [bool](#bool) | | Whether to skip backup errors and continue the data migration. |-| postgres_database_tenant_mode | [bool](#bool) | | Whether to enable the database tenant mode for PostgreSQL. If enabled, the issue will be created with the pre-appended "set role <db_owner>" statement. |+| vcs_type | [VCSType](#bytebase-v1-VCSType) | | |+| vcs_connector | [string](#string) | | Optional. If present, we will update the pull request for rollout status. Format: projects/{project-ID}/vcsConnectors/{vcs-connector} |+| pull_request_url | [string](#string) | | |-<a name="bytebase-v1-RemoveWebhookRequest"></a>+<a name="bytebase-v1-PlanCheckRun"></a>-### RemoveWebhookRequest+### PlanCheckRun| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to remove. Identified by its url. |+| name | [string](#string) | | Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} |+| type | [PlanCheckRun.Type](#bytebase-v1-PlanCheckRun-Type) | | |+| status | [PlanCheckRun.Status](#bytebase-v1-PlanCheckRun-Status) | | |+| target | [string](#string) | | Format: instances/{instance}/databases/{database} |+| sheet | [string](#string) | | Format: project/{project}/sheets/{sheet} |+| results | [PlanCheckRun.Result](#bytebase-v1-PlanCheckRun-Result) | repeated | |+| error | [string](#string) | | error is set if the Status is FAILED. |+| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |-<a name="bytebase-v1-Schedule"></a>+<a name="bytebase-v1-PlanCheckRun-Result"></a>-### Schedule+### PlanCheckRun.Result| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| deployments | [ScheduleDeployment](#bytebase-v1-ScheduleDeployment) | repeated | |+| status | [PlanCheckRun.Result.Status](#bytebase-v1-PlanCheckRun-Result-Status) | | |+| title | [string](#string) | | |+| content | [string](#string) | | |+| code | [int32](#int32) | | |+| sql_summary_report | [PlanCheckRun.Result.SqlSummaryReport](#bytebase-v1-PlanCheckRun-Result-SqlSummaryReport) | | |+| sql_review_report | [PlanCheckRun.Result.SqlReviewReport](#bytebase-v1-PlanCheckRun-Result-SqlReviewReport) | | |-<a name="bytebase-v1-ScheduleDeployment"></a>+<a name="bytebase-v1-PlanCheckRun-Result-SqlReviewReport"></a>-### ScheduleDeployment+### PlanCheckRun.Result.SqlReviewReport| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| title | [string](#string) | | The title of the deployment (stage) in a schedule. |-| id | [string](#string) | | |-| spec | [DeploymentSpec](#bytebase-v1-DeploymentSpec) | | |+| line | [int32](#int32) | | |+| column | [int32](#int32) | | |+| detail | [string](#string) | | |+| code | [int32](#int32) | | Code from sql review. |+| start_position | [Position](#bytebase-v1-Position) | | 1-based Position of the SQL statement. To supersede `line` and `column` above. |+| end_position | [Position](#bytebase-v1-Position) | | |-<a name="bytebase-v1-SearchProjectsRequest"></a>+<a name="bytebase-v1-PlanCheckRun-Result-SqlSummaryReport"></a>-### SearchProjectsRequest+### PlanCheckRun.Result.SqlSummaryReport| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| show_deleted | [bool](#bool) | | Show deleted projects if specified. |+| code | [int32](#int32) | | |+| statement_types | [string](#string) | repeated | statement_types are the types of statements that are found in the sql. |+| affected_rows | [int32](#int32) | | |+| changed_resources | [ChangedResources](#bytebase-v1-ChangedResources) | | |-<a name="bytebase-v1-SearchProjectsResponse"></a>+<a name="bytebase-v1-PreviewPlanRequest"></a>-### SearchProjectsResponse+### PreviewPlanRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| projects | [Project](#bytebase-v1-Project) | repeated | The projects from the specified request. |+| project | [string](#string) | | The name of the project. Format: projects/{project} |+| release | [string](#string) | | The release used for preview. |+| targets | [string](#string) | repeated | The targets to deploy. Can be database or databaseGroup. Format: projects/{project}/databaseGroups/{databaseGroup} instances/{instance}/databases/{database} |+| allow_out_of_order | [bool](#bool) | | |-<a name="bytebase-v1-TestWebhookRequest"></a>+<a name="bytebase-v1-PreviewPlanResponse"></a>-### TestWebhookRequest+### PreviewPlanResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| project | [string](#string) | | The name of the project which owns the webhook to test. Format: projects/{project} |-| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to test. Identified by its url. |+| plan | [Plan](#bytebase-v1-Plan) | | |+| out_of_order_files | [PreviewPlanResponse.DatabaseFiles](#bytebase-v1-PreviewPlanResponse-DatabaseFiles) | repeated | The out of order files of each database. |+| applied_but_modified_files | [PreviewPlanResponse.DatabaseFiles](#bytebase-v1-PreviewPlanResponse-DatabaseFiles) | repeated | The applied but modified files of each database. |-<a name="bytebase-v1-TestWebhookResponse"></a>+<a name="bytebase-v1-PreviewPlanResponse-DatabaseFiles"></a>-### TestWebhookResponse+### PreviewPlanResponse.DatabaseFiles| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| error | [string](#string) | | The result of the test, empty if the test is successful. |+| database | [string](#string) | | |+| files | [string](#string) | repeated | Format: projects/{project}/releases/{release}/files/{file_id} |-<a name="bytebase-v1-UndeleteProjectRequest"></a>+<a name="bytebase-v1-RunPlanChecksRequest"></a>-### UndeleteProjectRequest+### RunPlanChecksRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the deleted project. Format: projects/{project} |--+| name | [string](#string) | | The plan to run plan checks. Format: projects/{project}/plans/{plan} |-<a name="bytebase-v1-UpdateDeploymentConfigRequest"></a>-### UpdateDeploymentConfigRequest+<a name="bytebase-v1-RunPlanChecksResponse"></a>+### RunPlanChecksResponse-| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| deployment_config | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | | |-<a name="bytebase-v1-UpdateProjectRequest"></a>+<a name="bytebase-v1-SearchPlansRequest"></a>-### UpdateProjectRequest+### SearchPlansRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| project | [Project](#bytebase-v1-Project) | | The project to update.+| parent | [string](#string) | | The parent, which owns this collection of plans. Format: projects/{project} Use "projects/-" to list all plans from all projects. |+| page_size | [int32](#int32) | | The maximum number of plans to return. The service may return fewer than this value. If unspecified, at most 10 plans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | A page token, received from a previous `SearchPlans` call. Provide this to retrieve the subsequent page.-The project's `name` field is used to identify the project to update. Format: projects/{project} |-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |+When paginating, all other parameters provided to `SearchPlans` must match the call that provided the page token. |+| filter | [string](#string) | | Filter is used to filter plans returned in the list. |-<a name="bytebase-v1-UpdateWebhookRequest"></a>+<a name="bytebase-v1-SearchPlansResponse"></a>-### UpdateWebhookRequest+### SearchPlansResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to modify. |-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |+| plans | [Plan](#bytebase-v1-Plan) | repeated | The plans from the specified request. |+| next_page_token | [string](#string) | | 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-Webhook"></a>+<a name="bytebase-v1-UpdatePlanRequest"></a>-### Webhook+### UpdatePlanRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | name is the name of the webhook, generated by the server. format: projects/{project}/webhooks/{webhook} |-| type | [Webhook.Type](#bytebase-v1-Webhook-Type) | | type is the type of the webhook. |-| title | [string](#string) | | title is the title of the webhook. |-| url | [string](#string) | | url is the url of the webhook, should be unique within the project. |-| direct_message | [bool](#bool) | | if direct_message is set, the notification is sent directly to the persons and url will be ignored. IM integration setting should be set for this function to work. |-| notification_types | [Activity.Type](#bytebase-v1-Activity-Type) | repeated | 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 should 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_CREATE |+| plan | [Plan](#bytebase-v1-Plan) | | The plan to update.+The plan's `name` field is used to identify the plan to update. Format: projects/{project}/plans/{plan} |+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |-+-<a name="bytebase-v1-Activity-Type"></a>-### Activity.Type+<a name="bytebase-v1-Plan-ChangeDatabaseConfig-Type"></a>+### Plan.ChangeDatabaseConfig.Type+Type is the database change type.| Name | Number | Description || ---- | ------ | ----------- || TYPE_UNSPECIFIED | 0 | |-| TYPE_NOTIFY_ISSUE_APPROVED | 23 | Notifications via webhooks.--TYPE_NOTIFY_ISSUE_APPROVED represents the issue approved notification. |-| TYPE_NOTIFY_PIPELINE_ROLLOUT | 24 | TYPE_NOTIFY_PIPELINE_ROLLOUT represents the pipeline rollout notification. |-| TYPE_ISSUE_CREATE | 1 | Issue related activity types.--TYPE_ISSUE_CREATE represents creating an issue. |-| TYPE_ISSUE_COMMENT_CREATE | 2 | TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue. |-| TYPE_ISSUE_FIELD_UPDATE | 3 | TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, etc. |-| TYPE_ISSUE_STATUS_UPDATE | 4 | TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now. |-| TYPE_ISSUE_APPROVAL_NOTIFY | 21 | TYPE_ISSUE_APPROVAL_NOTIFY is the type for notifying issue approval. |-| TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE | 5 | TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now. |-| TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE | 6 | TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now. |-| TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE | 22 | TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE represents the pipeline task run status change, including PENDING, RUNNING, DONE, FAILED, CANCELED. |-| TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE | 8 | TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement. |-| TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE | 9 | TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time. |-| TYPE_MEMBER_CREATE | 10 | Member related activity types.--TYPE_MEMBER_CREATE represents creating a members. |-| TYPE_MEMBER_ROLE_UPDATE | 11 | TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER. |-| TYPE_MEMBER_ACTIVATE | 12 | TYPE_MEMBER_ACTIVATE represents activating a deactivated member. |-| TYPE_MEMBER_DEACTIVATE | 13 | TYPE_MEMBER_DEACTIVATE represents deactivating an active member. |-| TYPE_PROJECT_REPOSITORY_PUSH | 14 | Project related activity types.--TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository. |-| TYPE_PROJECT_DATABASE_TRANSFER | 15 | TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another. |-| TYPE_PROJECT_MEMBER_CREATE | 16 | TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project. |-| TYPE_PROJECT_MEMBER_DELETE | 17 | TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project. |-| TYPE_SQL_EDITOR_QUERY | 19 | SQL Editor related activity types. TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor. |+| BASELINE | 1 | Used for establishing schema baseline, this is used when 1. Onboard the database into Bytebase since Bytebase needs to know the current database schema. 2. Had schema drift and need to re-establish the baseline. |+| MIGRATE | 2 | Used for DDL changes including CREATE DATABASE. |+| MIGRATE_SDL | 3 | Used for schema changes via state-based schema migration including CREATE DATABASE. |+| MIGRATE_GHOST | 4 | Used for DDL changes using gh-ost. |+| DATA | 6 | Used for DML change. |-<a name="bytebase-v1-OperatorType"></a>+<a name="bytebase-v1-PlanCheckRun-Result-Status"></a>-### OperatorType+### PlanCheckRun.Result.Status| Name | Number | Description || ---- | ------ | ----------- |-| OPERATOR_TYPE_UNSPECIFIED | 0 | The operator is not specified. |-| OPERATOR_TYPE_IN | 1 | The operator is "In". |-| OPERATOR_TYPE_EXISTS | 2 | The operator is "Exists". |-| OPERATOR_TYPE_NOT_IN | 3 | The operator is "Not In". |+| STATUS_UNSPECIFIED | 0 | |+| ERROR | 1 | |+| WARNING | 2 | |+| SUCCESS | 3 | |-<a name="bytebase-v1-Webhook-Type"></a>+<a name="bytebase-v1-PlanCheckRun-Status"></a>-### Webhook.Type+### PlanCheckRun.Status| Name | Number | Description || ---- | ------ | ----------- |-| TYPE_UNSPECIFIED | 0 | |-| TYPE_SLACK | 1 | |-| TYPE_DISCORD | 2 | |-| TYPE_TEAMS | 3 | |-| TYPE_DINGTALK | 4 | |-| TYPE_FEISHU | 5 | |-| TYPE_WECOM | 6 | |-| TYPE_CUSTOM | 7 | |-| TYPE_LARK | 8 | |+| STATUS_UNSPECIFIED | 0 | |+| RUNNING | 1 | |+| DONE | 2 | |+| FAILED | 3 | |+| CANCELED | 4 | |-<a name="bytebase-v1-Workflow"></a>+<a name="bytebase-v1-PlanCheckRun-Type"></a>-### Workflow+### PlanCheckRun.Type| Name | Number | Description || ---- | ------ | ----------- |-| WORKFLOW_UNSPECIFIED | 0 | |-| UI | 1 | |-| VCS | 2 | |+| TYPE_UNSPECIFIED | 0 | |+| DATABASE_STATEMENT_FAKE_ADVISE | 1 | |+| DATABASE_STATEMENT_ADVISE | 3 | |+| DATABASE_STATEMENT_SUMMARY_REPORT | 5 | |+| DATABASE_CONNECT | 6 | |+| DATABASE_GHOST_SYNC | 7 | |@@ -9116,29 +9124,22 @@ TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the-<a name="bytebase-v1-ProjectService"></a>+<a name="bytebase-v1-PlanService"></a>-### ProjectService+### PlanService| Method Name | Request Type | Response Type | Description || ----------- | ------------ | ------------- | ------------|-| GetProject | [GetProjectRequest](#bytebase-v1-GetProjectRequest) | [Project](#bytebase-v1-Project) | |-| ListProjects | [ListProjectsRequest](#bytebase-v1-ListProjectsRequest) | [ListProjectsResponse](#bytebase-v1-ListProjectsResponse) | |-| SearchProjects | [SearchProjectsRequest](#bytebase-v1-SearchProjectsRequest) | [SearchProjectsResponse](#bytebase-v1-SearchProjectsResponse) | |-| CreateProject | [CreateProjectRequest](#bytebase-v1-CreateProjectRequest) | [Project](#bytebase-v1-Project) | |-| UpdateProject | [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest) | [Project](#bytebase-v1-Project) | |-| DeleteProject | [DeleteProjectRequest](#bytebase-v1-DeleteProjectRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |-| UndeleteProject | [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest) | [Project](#bytebase-v1-Project) | |-| GetIamPolicy | [GetIamPolicyRequest](#bytebase-v1-GetIamPolicyRequest) | [IamPolicy](#bytebase-v1-IamPolicy) | |-| BatchGetIamPolicy | [BatchGetIamPolicyRequest](#bytebase-v1-BatchGetIamPolicyRequest) | [BatchGetIamPolicyResponse](#bytebase-v1-BatchGetIamPolicyResponse) | Deprecated. |-| SetIamPolicy | [SetIamPolicyRequest](#bytebase-v1-SetIamPolicyRequest) | [IamPolicy](#bytebase-v1-IamPolicy) | |-| GetDeploymentConfig | [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest) | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | |-| UpdateDeploymentConfig | [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest) | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | |-| AddWebhook | [AddWebhookRequest](#bytebase-v1-AddWebhookRequest) | [Project](#bytebase-v1-Project) | |-| 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) | |+| GetPlan | [GetPlanRequest](#bytebase-v1-GetPlanRequest) | [Plan](#bytebase-v1-Plan) | |+| ListPlans | [ListPlansRequest](#bytebase-v1-ListPlansRequest) | [ListPlansResponse](#bytebase-v1-ListPlansResponse) | |+| SearchPlans | [SearchPlansRequest](#bytebase-v1-SearchPlansRequest) | [SearchPlansResponse](#bytebase-v1-SearchPlansResponse) | Search for plans that the caller has the bb.plans.get permission on and also satisfy the specified filter & query. |+| CreatePlan | [CreatePlanRequest](#bytebase-v1-CreatePlanRequest) | [Plan](#bytebase-v1-Plan) | |+| UpdatePlan | [UpdatePlanRequest](#bytebase-v1-UpdatePlanRequest) | [Plan](#bytebase-v1-Plan) | UpdatePlan updates the plan. The plan creator and the user with bb.plans.update permission on the project can update the plan. |+| ListPlanCheckRuns | [ListPlanCheckRunsRequest](#bytebase-v1-ListPlanCheckRunsRequest) | [ListPlanCheckRunsResponse](#bytebase-v1-ListPlanCheckRunsResponse) | |+| RunPlanChecks | [RunPlanChecksRequest](#bytebase-v1-RunPlanChecksRequest) | [RunPlanChecksResponse](#bytebase-v1-RunPlanChecksResponse) | |+| BatchCancelPlanCheckRuns | [BatchCancelPlanCheckRunsRequest](#bytebase-v1-BatchCancelPlanCheckRunsRequest) | [BatchCancelPlanCheckRunsResponse](#bytebase-v1-BatchCancelPlanCheckRunsResponse) | |+| PreviewPlan | [PreviewPlanRequest](#bytebase-v1-PreviewPlanRequest) | [PreviewPlanResponse](#bytebase-v1-PreviewPlanResponse) | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 3a88181b27..96bf5e47fc 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -1986,309 +1986,309 @@<li>- <a href="#v1%2fplan_service.proto">v1/plan_service.proto</a>+ <a href="#v1%2fproject_service.proto">v1/project_service.proto</a><ul><li>- <a href="#bytebase.v1.BatchCancelPlanCheckRunsRequest"><span class="badge">M</span>BatchCancelPlanCheckRunsRequest</a>+ <a href="#bytebase.v1.Activity"><span class="badge">M</span>Activity</a></li><li>- <a href="#bytebase.v1.BatchCancelPlanCheckRunsResponse"><span class="badge">M</span>BatchCancelPlanCheckRunsResponse</a>+ <a href="#bytebase.v1.AddWebhookRequest"><span class="badge">M</span>AddWebhookRequest</a></li><li>- <a href="#bytebase.v1.CreatePlanRequest"><span class="badge">M</span>CreatePlanRequest</a>+ <a href="#bytebase.v1.BatchGetIamPolicyRequest"><span class="badge">M</span>BatchGetIamPolicyRequest</a></li><li>- <a href="#bytebase.v1.GetPlanRequest"><span class="badge">M</span>GetPlanRequest</a>+ <a href="#bytebase.v1.BatchGetIamPolicyResponse"><span class="badge">M</span>BatchGetIamPolicyResponse</a></li><li>- <a href="#bytebase.v1.ListPlanCheckRunsRequest"><span class="badge">M</span>ListPlanCheckRunsRequest</a>+ <a href="#bytebase.v1.BatchGetIamPolicyResponse.PolicyResult"><span class="badge">M</span>BatchGetIamPolicyResponse.PolicyResult</a></li><li>- <a href="#bytebase.v1.ListPlanCheckRunsResponse"><span class="badge">M</span>ListPlanCheckRunsResponse</a>+ <a href="#bytebase.v1.CreateProjectRequest"><span class="badge">M</span>CreateProjectRequest</a></li><li>- <a href="#bytebase.v1.ListPlansRequest"><span class="badge">M</span>ListPlansRequest</a>+ <a href="#bytebase.v1.DeleteProjectRequest"><span class="badge">M</span>DeleteProjectRequest</a></li><li>- <a href="#bytebase.v1.ListPlansResponse"><span class="badge">M</span>ListPlansResponse</a>+ <a href="#bytebase.v1.DeploymentConfig"><span class="badge">M</span>DeploymentConfig</a></li><li>- <a href="#bytebase.v1.Plan"><span class="badge">M</span>Plan</a>+ <a href="#bytebase.v1.DeploymentSpec"><span class="badge">M</span>DeploymentSpec</a></li><li>- <a href="#bytebase.v1.Plan.ChangeDatabaseConfig"><span class="badge">M</span>Plan.ChangeDatabaseConfig</a>+ <a href="#bytebase.v1.GetDeploymentConfigRequest"><span class="badge">M</span>GetDeploymentConfigRequest</a></li><li>- <a href="#bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry"><span class="badge">M</span>Plan.ChangeDatabaseConfig.GhostFlagsEntry</a>+ <a href="#bytebase.v1.GetProjectRequest"><span class="badge">M</span>GetProjectRequest</a></li><li>- <a href="#bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail"><span class="badge">M</span>Plan.ChangeDatabaseConfig.PreUpdateBackupDetail</a>+ <a href="#bytebase.v1.Label"><span class="badge">M</span>Label</a></li><li>- <a href="#bytebase.v1.Plan.CreateDatabaseConfig"><span class="badge">M</span>Plan.CreateDatabaseConfig</a>+ <a href="#bytebase.v1.LabelSelector"><span class="badge">M</span>LabelSelector</a></li><li>- <a href="#bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry"><span class="badge">M</span>Plan.CreateDatabaseConfig.LabelsEntry</a>+ <a href="#bytebase.v1.LabelSelectorRequirement"><span class="badge">M</span>LabelSelectorRequirement</a></li><li>- <a href="#bytebase.v1.Plan.ExportDataConfig"><span class="badge">M</span>Plan.ExportDataConfig</a>+ <a href="#bytebase.v1.ListProjectsRequest"><span class="badge">M</span>ListProjectsRequest</a></li><li>- <a href="#bytebase.v1.Plan.PlanCheckRunStatusCountEntry"><span class="badge">M</span>Plan.PlanCheckRunStatusCountEntry</a>+ <a href="#bytebase.v1.ListProjectsResponse"><span class="badge">M</span>ListProjectsResponse</a></li><li>- <a href="#bytebase.v1.Plan.ReleaseSource"><span class="badge">M</span>Plan.ReleaseSource</a>+ <a href="#bytebase.v1.Project"><span class="badge">M</span>Project</a></li><li>- <a href="#bytebase.v1.Plan.Spec"><span class="badge">M</span>Plan.Spec</a>+ <a href="#bytebase.v1.RemoveWebhookRequest"><span class="badge">M</span>RemoveWebhookRequest</a></li><li>- <a href="#bytebase.v1.Plan.SpecReleaseSource"><span class="badge">M</span>Plan.SpecReleaseSource</a>+ <a href="#bytebase.v1.Schedule"><span class="badge">M</span>Schedule</a></li><li>- <a href="#bytebase.v1.Plan.Step"><span class="badge">M</span>Plan.Step</a>+ <a href="#bytebase.v1.ScheduleDeployment"><span class="badge">M</span>ScheduleDeployment</a></li><li>- <a href="#bytebase.v1.Plan.VCSSource"><span class="badge">M</span>Plan.VCSSource</a>+ <a href="#bytebase.v1.SearchProjectsRequest"><span class="badge">M</span>SearchProjectsRequest</a></li><li>- <a href="#bytebase.v1.PlanCheckRun"><span class="badge">M</span>PlanCheckRun</a>+ <a href="#bytebase.v1.SearchProjectsResponse"><span class="badge">M</span>SearchProjectsResponse</a></li><li>- <a href="#bytebase.v1.PlanCheckRun.Result"><span class="badge">M</span>PlanCheckRun.Result</a>+ <a href="#bytebase.v1.TestWebhookRequest"><span class="badge">M</span>TestWebhookRequest</a></li><li>- <a href="#bytebase.v1.PlanCheckRun.Result.SqlReviewReport"><span class="badge">M</span>PlanCheckRun.Result.SqlReviewReport</a>+ <a href="#bytebase.v1.TestWebhookResponse"><span class="badge">M</span>TestWebhookResponse</a></li><li>- <a href="#bytebase.v1.PlanCheckRun.Result.SqlSummaryReport"><span class="badge">M</span>PlanCheckRun.Result.SqlSummaryReport</a>+ <a href="#bytebase.v1.UndeleteProjectRequest"><span class="badge">M</span>UndeleteProjectRequest</a></li><li>- <a href="#bytebase.v1.PreviewPlanRequest"><span class="badge">M</span>PreviewPlanRequest</a>+ <a href="#bytebase.v1.UpdateDeploymentConfigRequest"><span class="badge">M</span>UpdateDeploymentConfigRequest</a></li><li>- <a href="#bytebase.v1.PreviewPlanResponse"><span class="badge">M</span>PreviewPlanResponse</a>+ <a href="#bytebase.v1.UpdateProjectRequest"><span class="badge">M</span>UpdateProjectRequest</a></li><li>- <a href="#bytebase.v1.PreviewPlanResponse.DatabaseFiles"><span class="badge">M</span>PreviewPlanResponse.DatabaseFiles</a>+ <a href="#bytebase.v1.UpdateWebhookRequest"><span class="badge">M</span>UpdateWebhookRequest</a></li><li>- <a href="#bytebase.v1.RunPlanChecksRequest"><span class="badge">M</span>RunPlanChecksRequest</a>+ <a href="#bytebase.v1.Webhook"><span class="badge">M</span>Webhook</a></li>+<li>- <a href="#bytebase.v1.RunPlanChecksResponse"><span class="badge">M</span>RunPlanChecksResponse</a>+ <a href="#bytebase.v1.Activity.Type"><span class="badge">E</span>Activity.Type</a></li><li>- <a href="#bytebase.v1.SearchPlansRequest"><span class="badge">M</span>SearchPlansRequest</a>+ <a href="#bytebase.v1.OperatorType"><span class="badge">E</span>OperatorType</a></li><li>- <a href="#bytebase.v1.SearchPlansResponse"><span class="badge">M</span>SearchPlansResponse</a>+ <a href="#bytebase.v1.Webhook.Type"><span class="badge">E</span>Webhook.Type</a></li><li>- <a href="#bytebase.v1.UpdatePlanRequest"><span class="badge">M</span>UpdatePlanRequest</a>+ <a href="#bytebase.v1.Workflow"><span class="badge">E</span>Workflow</a></li>+<li>- <a href="#bytebase.v1.Plan.ChangeDatabaseConfig.Type"><span class="badge">E</span>Plan.ChangeDatabaseConfig.Type</a>+ <a href="#bytebase.v1.ProjectService"><span class="badge">S</span>ProjectService</a></li>+ </ul>+ </li>+++ <li>+ <a href="#v1%2fplan_service.proto">v1/plan_service.proto</a>+ <ul>+<li>- <a href="#bytebase.v1.PlanCheckRun.Result.Status"><span class="badge">E</span>PlanCheckRun.Result.Status</a>+ <a href="#bytebase.v1.BatchCancelPlanCheckRunsRequest"><span class="badge">M</span>BatchCancelPlanCheckRunsRequest</a></li><li>- <a href="#bytebase.v1.PlanCheckRun.Status"><span class="badge">E</span>PlanCheckRun.Status</a>+ <a href="#bytebase.v1.BatchCancelPlanCheckRunsResponse"><span class="badge">M</span>BatchCancelPlanCheckRunsResponse</a></li><li>- <a href="#bytebase.v1.PlanCheckRun.Type"><span class="badge">E</span>PlanCheckRun.Type</a>+ <a href="#bytebase.v1.CreatePlanRequest"><span class="badge">M</span>CreatePlanRequest</a></li>--<li>- <a href="#bytebase.v1.PlanService"><span class="badge">S</span>PlanService</a>+ <a href="#bytebase.v1.GetPlanRequest"><span class="badge">M</span>GetPlanRequest</a></li>- </ul>- </li>--- <li>- <a href="#v1%2fproject_service.proto">v1/project_service.proto</a>- <ul>-<li>- <a href="#bytebase.v1.Activity"><span class="badge">M</span>Activity</a>+ <a href="#bytebase.v1.ListPlanCheckRunsRequest"><span class="badge">M</span>ListPlanCheckRunsRequest</a></li><li>- <a href="#bytebase.v1.AddWebhookRequest"><span class="badge">M</span>AddWebhookRequest</a>+ <a href="#bytebase.v1.ListPlanCheckRunsResponse"><span class="badge">M</span>ListPlanCheckRunsResponse</a></li><li>- <a href="#bytebase.v1.BatchGetIamPolicyRequest"><span class="badge">M</span>BatchGetIamPolicyRequest</a>+ <a href="#bytebase.v1.ListPlansRequest"><span class="badge">M</span>ListPlansRequest</a></li><li>- <a href="#bytebase.v1.BatchGetIamPolicyResponse"><span class="badge">M</span>BatchGetIamPolicyResponse</a>+ <a href="#bytebase.v1.ListPlansResponse"><span class="badge">M</span>ListPlansResponse</a></li><li>- <a href="#bytebase.v1.BatchGetIamPolicyResponse.PolicyResult"><span class="badge">M</span>BatchGetIamPolicyResponse.PolicyResult</a>+ <a href="#bytebase.v1.Plan"><span class="badge">M</span>Plan</a></li><li>- <a href="#bytebase.v1.CreateProjectRequest"><span class="badge">M</span>CreateProjectRequest</a>+ <a href="#bytebase.v1.Plan.ChangeDatabaseConfig"><span class="badge">M</span>Plan.ChangeDatabaseConfig</a></li><li>- <a href="#bytebase.v1.DeleteProjectRequest"><span class="badge">M</span>DeleteProjectRequest</a>+ <a href="#bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry"><span class="badge">M</span>Plan.ChangeDatabaseConfig.GhostFlagsEntry</a></li><li>- <a href="#bytebase.v1.DeploymentConfig"><span class="badge">M</span>DeploymentConfig</a>+ <a href="#bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail"><span class="badge">M</span>Plan.ChangeDatabaseConfig.PreUpdateBackupDetail</a></li><li>- <a href="#bytebase.v1.DeploymentSpec"><span class="badge">M</span>DeploymentSpec</a>+ <a href="#bytebase.v1.Plan.CreateDatabaseConfig"><span class="badge">M</span>Plan.CreateDatabaseConfig</a></li><li>- <a href="#bytebase.v1.GetDeploymentConfigRequest"><span class="badge">M</span>GetDeploymentConfigRequest</a>+ <a href="#bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry"><span class="badge">M</span>Plan.CreateDatabaseConfig.LabelsEntry</a></li><li>- <a href="#bytebase.v1.GetProjectRequest"><span class="badge">M</span>GetProjectRequest</a>+ <a href="#bytebase.v1.Plan.ExportDataConfig"><span class="badge">M</span>Plan.ExportDataConfig</a></li><li>- <a href="#bytebase.v1.Label"><span class="badge">M</span>Label</a>+ <a href="#bytebase.v1.Plan.PlanCheckRunStatusCountEntry"><span class="badge">M</span>Plan.PlanCheckRunStatusCountEntry</a></li><li>- <a href="#bytebase.v1.LabelSelector"><span class="badge">M</span>LabelSelector</a>+ <a href="#bytebase.v1.Plan.ReleaseSource"><span class="badge">M</span>Plan.ReleaseSource</a></li><li>- <a href="#bytebase.v1.LabelSelectorRequirement"><span class="badge">M</span>LabelSelectorRequirement</a>+ <a href="#bytebase.v1.Plan.Spec"><span class="badge">M</span>Plan.Spec</a></li><li>- <a href="#bytebase.v1.ListProjectsRequest"><span class="badge">M</span>ListProjectsRequest</a>+ <a href="#bytebase.v1.Plan.SpecReleaseSource"><span class="badge">M</span>Plan.SpecReleaseSource</a></li><li>- <a href="#bytebase.v1.ListProjectsResponse"><span class="badge">M</span>ListProjectsResponse</a>+ <a href="#bytebase.v1.Plan.Step"><span class="badge">M</span>Plan.Step</a></li><li>- <a href="#bytebase.v1.Project"><span class="badge">M</span>Project</a>+ <a href="#bytebase.v1.Plan.VCSSource"><span class="badge">M</span>Plan.VCSSource</a></li><li>- <a href="#bytebase.v1.RemoveWebhookRequest"><span class="badge">M</span>RemoveWebhookRequest</a>+ <a href="#bytebase.v1.PlanCheckRun"><span class="badge">M</span>PlanCheckRun</a></li><li>- <a href="#bytebase.v1.Schedule"><span class="badge">M</span>Schedule</a>+ <a href="#bytebase.v1.PlanCheckRun.Result"><span class="badge">M</span>PlanCheckRun.Result</a></li><li>- <a href="#bytebase.v1.ScheduleDeployment"><span class="badge">M</span>ScheduleDeployment</a>+ <a href="#bytebase.v1.PlanCheckRun.Result.SqlReviewReport"><span class="badge">M</span>PlanCheckRun.Result.SqlReviewReport</a></li><li>- <a href="#bytebase.v1.SearchProjectsRequest"><span class="badge">M</span>SearchProjectsRequest</a>+ <a href="#bytebase.v1.PlanCheckRun.Result.SqlSummaryReport"><span class="badge">M</span>PlanCheckRun.Result.SqlSummaryReport</a></li><li>- <a href="#bytebase.v1.SearchProjectsResponse"><span class="badge">M</span>SearchProjectsResponse</a>+ <a href="#bytebase.v1.PreviewPlanRequest"><span class="badge">M</span>PreviewPlanRequest</a></li><li>- <a href="#bytebase.v1.TestWebhookRequest"><span class="badge">M</span>TestWebhookRequest</a>+ <a href="#bytebase.v1.PreviewPlanResponse"><span class="badge">M</span>PreviewPlanResponse</a></li><li>- <a href="#bytebase.v1.TestWebhookResponse"><span class="badge">M</span>TestWebhookResponse</a>+ <a href="#bytebase.v1.PreviewPlanResponse.DatabaseFiles"><span class="badge">M</span>PreviewPlanResponse.DatabaseFiles</a></li><li>- <a href="#bytebase.v1.UndeleteProjectRequest"><span class="badge">M</span>UndeleteProjectRequest</a>+ <a href="#bytebase.v1.RunPlanChecksRequest"><span class="badge">M</span>RunPlanChecksRequest</a></li><li>- <a href="#bytebase.v1.UpdateDeploymentConfigRequest"><span class="badge">M</span>UpdateDeploymentConfigRequest</a>+ <a href="#bytebase.v1.RunPlanChecksResponse"><span class="badge">M</span>RunPlanChecksResponse</a></li><li>- <a href="#bytebase.v1.UpdateProjectRequest"><span class="badge">M</span>UpdateProjectRequest</a>+ <a href="#bytebase.v1.SearchPlansRequest"><span class="badge">M</span>SearchPlansRequest</a></li><li>- <a href="#bytebase.v1.UpdateWebhookRequest"><span class="badge">M</span>UpdateWebhookRequest</a>+ <a href="#bytebase.v1.SearchPlansResponse"><span class="badge">M</span>SearchPlansResponse</a></li><li>- <a href="#bytebase.v1.Webhook"><span class="badge">M</span>Webhook</a>+ <a href="#bytebase.v1.UpdatePlanRequest"><span class="badge">M</span>UpdatePlanRequest</a></li><li>- <a href="#bytebase.v1.Activity.Type"><span class="badge">E</span>Activity.Type</a>+ <a href="#bytebase.v1.Plan.ChangeDatabaseConfig.Type"><span class="badge">E</span>Plan.ChangeDatabaseConfig.Type</a></li><li>- <a href="#bytebase.v1.OperatorType"><span class="badge">E</span>OperatorType</a>+ <a href="#bytebase.v1.PlanCheckRun.Result.Status"><span class="badge">E</span>PlanCheckRun.Result.Status</a></li><li>- <a href="#bytebase.v1.Webhook.Type"><span class="badge">E</span>Webhook.Type</a>+ <a href="#bytebase.v1.PlanCheckRun.Status"><span class="badge">E</span>PlanCheckRun.Status</a></li><li>- <a href="#bytebase.v1.Workflow"><span class="badge">E</span>Workflow</a>+ <a href="#bytebase.v1.PlanCheckRun.Type"><span class="badge">E</span>PlanCheckRun.Type</a></li><li>- <a href="#bytebase.v1.ProjectService"><span class="badge">S</span>ProjectService</a>+ <a href="#bytebase.v1.PlanService"><span class="badge">S</span>PlanService</a></li></ul>@@ -22264,12 +22264,19 @@ In this situation, `update_mask` is ignored. </p></td><div class="file-heading">- <h2 id="v1/plan_service.proto">v1/plan_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.BatchCancelPlanCheckRunsRequest">BatchCancelPlanCheckRunsRequest</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>@@ -22280,20 +22287,18 @@ In this situation, `update_mask` is ignored. </p></td><tbody><tr>- <td>parent</td>+ <td>project</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the parent of the planChecks.-Format: projects/{project}/plans/{plan} </p></td>+ <td><p>The name of the project to add the webhook to.+Format: projects/{project} </p></td></tr><tr>- <td>plan_check_runs</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>TODO(d): update this API.-The planCheckRuns to cancel.-Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} </p></td>+ <td>webhook</td>+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>+ <td></td>+ <td><p>The webhook to add. </p></td></tr></tbody>@@ -22303,14 +22308,7 @@ Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} </p></td>- <h3 id="bytebase.v1.BatchCancelPlanCheckRunsResponse">BatchCancelPlanCheckRunsResponse</h3>- <p></p>------ <h3 id="bytebase.v1.CreatePlanRequest">CreatePlanRequest</h3>+ <h3 id="bytebase.v1.BatchGetIamPolicyRequest">BatchGetIamPolicyRequest</h3><p></p>@@ -22321,18 +22319,17 @@ Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} </p></td><tbody><tr>- <td>parent</td>+ <td>scope</td><td><a href="#string">string</a></td><td></td>- <td><p>The parent project where this plan will be created.-Format: projects/{project} </p></td>+ <td><p>The scope of the batch get. Typically it's "projects/-". </p></td></tr><tr>- <td>plan</td>- <td><a href="#bytebase.v1.Plan">Plan</a></td>- <td></td>- <td><p>The plan to create. </p></td>+ <td>names</td>+ <td><a href="#string">string</a></td>+ <td>repeated</td>+ <td><p> </p></td></tr></tbody>@@ -22342,7 +22339,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.GetPlanRequest">GetPlanRequest</h3>+ <h3 id="bytebase.v1.BatchGetIamPolicyResponse">BatchGetIamPolicyResponse</h3><p></p>@@ -22353,11 +22350,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 plan to retrieve.-Format: projects/{project}/plans/{plan} </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>@@ -22367,7 +22363,7 @@ Format: projects/{project}/plans/{plan} </p></td>- <h3 id="bytebase.v1.ListPlanCheckRunsRequest">ListPlanCheckRunsRequest</h3>+ <h3 id="bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</h3><p></p>@@ -22378,41 +22374,52 @@ Format: projects/{project}/plans/{plan} </p></td><tbody><tr>- <td>parent</td>+ <td>project</td><td><a href="#string">string</a></td><td></td>- <td><p>The parent, which owns this collection of plan check runs.-Format: projects/{project}/plans/{plan} </p></td>+ <td><p> </p></td></tr><tr>- <td>page_size</td>- <td><a href="#int32">int32</a></td>+ <td>policy</td>+ <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td><td></td>- <td><p>Not used.-The maximum number of plan check runs to return. The service may return fewer than-this value.-If unspecified, at most 10 plan check runs 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></td>- <td><p>Not used.-A page token, received from a previous `ListPlanCheckRuns` call.-Provide this to retrieve the subsequent page.+ </tbody>+ </table>-When paginating, all other parameters provided to `ListPlanCheckRuns` must match-the call that provided the page token. </p></td>- </tr>-+++++ <h3 id="bytebase.v1.CreateProjectRequest">CreateProjectRequest</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>latest_only</td>- <td><a href="#bool">bool</a></td>+ <td>project</td>+ <td><a href="#bytebase.v1.Project">Project</a></td><td></td>- <td><p>If set to true, only the latest plan check run will be returned. </p></td>+ <td><p>The project to create. </p></td>+ </tr>++ <tr>+ <td>project_id</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's resource name.++This value should be 4-63 characters, and valid characters+are /[a-z][0-9]-/. </p></td></tr></tbody>@@ -22422,7 +22429,7 @@ the call that provided the page token. </p></td>- <h3 id="bytebase.v1.ListPlanCheckRunsResponse">ListPlanCheckRunsResponse</h3>+ <h3 id="bytebase.v1.DeleteProjectRequest">DeleteProjectRequest</h3><p></p>@@ -22433,18 +22440,18 @@ the call that provided the page token. </p></td><tbody><tr>- <td>plan_check_runs</td>- <td><a href="#bytebase.v1.PlanCheckRun">PlanCheckRun</a></td>- <td>repeated</td>- <td><p>The plan check runs from the specified request. </p></td>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the project to delete.+Format: projects/{project} </p></td></tr><tr>- <td>next_page_token</td>- <td><a href="#string">string</a></td>+ <td>force</td>+ <td><a href="#bool">bool</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>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>@@ -22454,7 +22461,7 @@ If this field is omitted, there are no subsequent pages. </p></td>- <h3 id="bytebase.v1.ListPlansRequest">ListPlansRequest</h3>+ <h3 id="bytebase.v1.DeploymentConfig">DeploymentConfig</h3><p></p>@@ -22465,33 +22472,25 @@ If this field is omitted, there are no subsequent pages. </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 plans.-Format: projects/{project}-Use "projects/-" to list all plans from all projects. </p></td>+ <td><p>The name of the resource.+Format: projects/{project}/deploymentConfigs/default. </p></td></tr><tr>- <td>page_size</td>- <td><a href="#int32">int32</a></td>+ <td>title</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>The maximum number of plans to return. The service may return fewer than-this value.-If unspecified, at most 10 plans will be returned.-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>+ <td><p>The title of the deployment config. </p></td></tr><tr>- <td>page_token</td>- <td><a href="#string">string</a></td>+ <td>schedule</td>+ <td><a href="#bytebase.v1.Schedule">Schedule</a></td><td></td>- <td><p>A page token, received from a previous `ListPlans` call.-Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `ListPlans` must match-the call that provided the page token. </p></td>+ <td><p> </p></td></tr></tbody>@@ -22501,7 +22500,7 @@ the call that provided the page token. </p></td>- <h3 id="bytebase.v1.ListPlansResponse">ListPlansResponse</h3>+ <h3 id="bytebase.v1.DeploymentSpec">DeploymentSpec</h3><p></p>@@ -22512,18 +22511,10 @@ the call that provided the page token. </p></td><tbody><tr>- <td>plans</td>- <td><a href="#bytebase.v1.Plan">Plan</a></td>- <td>repeated</td>- <td><p>The plans from the specified request. </p></td>- </tr>-- <tr>- <td>next_page_token</td>- <td><a href="#string">string</a></td>+ <td>label_selector</td>+ <td><a href="#bytebase.v1.LabelSelector">LabelSelector</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></tbody>@@ -22533,7 +22524,7 @@ If this field is omitted, there are no subsequent pages. </p></td>- <h3 id="bytebase.v1.Plan">Plan</h3>+ <h3 id="bytebase.v1.GetDeploymentConfigRequest">GetDeploymentConfigRequest</h3><p></p>@@ -22547,84 +22538,8 @@ 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 plan.-`plan` is a system generated ID.-Format: projects/{project}/plans/{plan} </p></td>- </tr>-- <tr>- <td>issue</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The resource name of the issue associated with this plan.-Format: projects/{project}/issues/{issue} </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>steps</td>- <td><a href="#bytebase.v1.Plan.Step">Plan.Step</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>vcs_source</td>- <td><a href="#bytebase.v1.Plan.VCSSource">Plan.VCSSource</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>creator</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Format: users/[email protected] </p></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>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>plan_check_run_status_count</td>- <td><a href="#bytebase.v1.Plan.PlanCheckRunStatusCountEntry">Plan.PlanCheckRunStatusCountEntry</a></td>- <td>repeated</td>- <td><p>The status count of the latest plan check runs.-Keys are:-- SUCCESS-- WARNING-- ERROR </p></td>- </tr>-- <tr>- <td>release_source</td>- <td><a href="#bytebase.v1.Plan.ReleaseSource">Plan.ReleaseSource</a></td>- <td></td>- <td><p> </p></td>+ <td><p>The name of the resource.+Format: projects/{project}/deploymentConfigs/default. </p></td></tr></tbody>@@ -22634,7 +22549,7 @@ Keys are:- <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig">Plan.ChangeDatabaseConfig</h3>+ <h3 id="bytebase.v1.GetProjectRequest">GetProjectRequest</h3><p></p>@@ -22645,49 +22560,11 @@ Keys are:<tbody><tr>- <td>target</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The resource name of the target.-Format: instances/{instance-id}/databases/{database-name}.-Format: projects/{project}/databaseGroups/{databaseGroup}. </p></td>- </tr>-- <tr>- <td>sheet</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The resource name of the sheet.-Format: projects/{project}/sheets/{sheet} </p></td>- </tr>-- <tr>- <td>type</td>- <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.Type">Plan.ChangeDatabaseConfig.Type</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>schema_version</td>+ <td>name</td><td><a href="#string">string</a></td><td></td>- <td><p>schema_version is parsed from VCS file name.-It is automatically generated in the UI workflow. </p></td>- </tr>-- <tr>- <td>ghost_flags</td>- <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry">Plan.ChangeDatabaseConfig.GhostFlagsEntry</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>pre_update_backup_detail</td>- <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail">Plan.ChangeDatabaseConfig.PreUpdateBackupDetail</a></td>- <td>optional</td>- <td><p>If set, a backup of the modified data will be created automatically before any changes are applied. </p></td>+ <td><p>The name of the project to retrieve.+Format: projects/{project} </p></td></tr></tbody>@@ -22697,7 +22574,7 @@ It is automatically generated in the UI workflow. </p></td>- <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry">Plan.ChangeDatabaseConfig.GhostFlagsEntry</h3>+ <h3 id="bytebase.v1.Label">Label</h3><p></p>@@ -22708,14 +22585,21 @@ It is automatically generated in the UI workflow. </p></td><tbody><tr>- <td>key</td>+ <td>value</td><td><a href="#string">string</a></td><td></td><td><p> </p></td></tr><tr>- <td>value</td>+ <td>color</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>group</td><td><a href="#string">string</a></td><td></td><td><p> </p></td>@@ -22728,7 +22612,7 @@ It is automatically generated in the UI workflow. </p></td>- <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail">Plan.ChangeDatabaseConfig.PreUpdateBackupDetail</h3>+ <h3 id="bytebase.v1.LabelSelector">LabelSelector</h3><p></p>@@ -22739,11 +22623,10 @@ It is automatically generated in the UI workflow. </p></td><tbody><tr>- <td>database</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The database for keeping the backup data.-Format: instances/{instance}/databases/{database} </p></td>+ <td>match_expressions</td>+ <td><a href="#bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</a></td>+ <td>repeated</td>+ <td><p> </p></td></tr></tbody>@@ -22753,7 +22636,7 @@ Format: instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.Plan.CreateDatabaseConfig">Plan.CreateDatabaseConfig</h3>+ <h3 id="bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</h3><p></p>@@ -22764,69 +22647,71 @@ Format: instances/{instance}/databases/{database} </p></td><tbody><tr>- <td>target</td>+ <td>key</td><td><a href="#string">string</a></td><td></td>- <td><p>The resource name of the instance on which the database is created.-Format: instances/{instance} </p></td>+ <td><p> </p></td></tr><tr>- <td>database</td>- <td><a href="#string">string</a></td>+ <td>operator</td>+ <td><a href="#bytebase.v1.OperatorType">OperatorType</a></td><td></td>- <td><p>The name of the database to create. </p></td>- </tr>-- <tr>- <td>table</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>table is the name of the table, if it is not empty, Bytebase should create a table after creating the database.-For example, in MongoDB, it only creates the database when we first store data in that database. </p></td>+ <td><p> </p></td></tr><tr>- <td>character_set</td>+ <td>values</td><td><a href="#string">string</a></td>- <td></td>- <td><p>character_set is the character set of the database. </p></td>+ <td>repeated</td>+ <td><p> </p></td></tr>- <tr>- <td>collation</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>collation is the collation of the database. </p></td>- </tr>+ </tbody>+ </table>++++++ <h3 id="bytebase.v1.ListProjectsRequest">ListProjectsRequest</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>cluster</td>- <td><a href="#string">string</a></td>+ <td>page_size</td>+ <td><a href="#int32">int32</a></td><td></td>- <td><p>cluster is the cluster of the database. This is only applicable to ClickHouse for "ON CLUSTER <<cluster>>". </p></td>+ <td><p>Not used.+The maximum number of projects to return. The service may return fewer than+this value.+If unspecified, at most 10 projects will be returned.+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td></tr><tr>- <td>owner</td>+ <td>page_token</td><td><a href="#string">string</a></td><td></td>- <td><p>owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". </p></td>+ <td><p>Not used.+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>environment</td>- <td><a href="#string">string</a></td>+ <td>show_deleted</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p>The environment resource.-Format: environments/prod where prod is the environment resource ID. </p></td>- </tr>-- <tr>- <td>labels</td>- <td><a href="#bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry">Plan.CreateDatabaseConfig.LabelsEntry</a></td>- <td>repeated</td>- <td><p>labels of the database. </p></td>+ <td><p>Show deleted projects if specified. </p></td></tr></tbody>@@ -22836,7 +22721,7 @@ Format: environments/prod where prod is the environment resource ID. </p></td>- <h3 id="bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry">Plan.CreateDatabaseConfig.LabelsEntry</h3>+ <h3 id="bytebase.v1.ListProjectsResponse">ListProjectsResponse</h3><p></p>@@ -22847,17 +22732,18 @@ Format: environments/prod where prod is the environment resource ID. </p></td><tbody><tr>- <td>key</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </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>value</td>+ <td>next_page_token</td><td><a href="#string">string</a></td><td></td>- <td><p> </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>@@ -22867,7 +22753,7 @@ Format: environments/prod where prod is the environment resource ID. </p></td>- <h3 id="bytebase.v1.Plan.ExportDataConfig">Plan.ExportDataConfig</h3>+ <h3 id="bytebase.v1.Project">Project</h3><p></p>@@ -22878,157 +22764,110 @@ Format: environments/prod where prod is the environment resource ID. </p></td><tbody><tr>- <td>target</td>+ <td>name</td><td><a href="#string">string</a></td><td></td>- <td><p>The resource name of the target.-Format: instances/{instance-id}/databases/{database-name} </p></td>+ <td><p>The name of the project.+Format: projects/{project} </p></td></tr><tr>- <td>sheet</td>- <td><a href="#string">string</a></td>+ <td>state</td>+ <td><a href="#bytebase.v1.State">State</a></td><td></td>- <td><p>The resource name of the sheet.-Format: projects/{project}/sheets/{sheet} </p></td>+ <td><p> </p></td></tr><tr>- <td>format</td>- <td><a href="#bytebase.v1.ExportFormat">ExportFormat</a></td>+ <td>title</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>The format of the exported file. </p></td>+ <td><p>The title or name of a project. It's not unique within the workspace. </p></td></tr><tr>- <td>password</td>+ <td>key</td><td><a href="#string">string</a></td>- <td>optional</td>- <td><p>The zip password provide by users.-Leave it empty if no needs to encrypt the zip file. </p></td>+ <td></td>+ <td><p>The key is a short and upper-case identifier for a project. It's unique within the workspace. </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.Plan.PlanCheckRunStatusCountEntry">Plan.PlanCheckRunStatusCountEntry</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>workflow</td>+ <td><a href="#bytebase.v1.Workflow">Workflow</a></td><td></td><td><p> </p></td></tr><tr>- <td>value</td>- <td><a href="#int32">int32</a></td>- <td></td>+ <td>webhooks</td>+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td>+ <td>repeated</td><td><p> </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.Plan.ReleaseSource">Plan.ReleaseSource</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>release</td>+ <td>data_classification_config_id</td><td><a href="#string">string</a></td><td></td>- <td><p>The release.-Format: projects/{project}/releases/{release} </p></td>+ <td><p> </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.Plan.Spec">Plan.Spec</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>issue_labels</td>+ <td><a href="#bytebase.v1.Label">Label</a></td>+ <td>repeated</td>+ <td><p> </p></td>+ </tr><tr>- <td>earliest_allowed_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td>force_issue_labels</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p>earliest_allowed_time the earliest execution time of the change. </p></td>+ <td><p>Force issue labels to be used when creating an issue. </p></td></tr><tr>- <td>id</td>- <td><a href="#string">string</a></td>+ <td>allow_modify_statement</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p>A UUID4 string that uniquely identifies the Spec. </p></td>+ <td><p>Allow modifying statement after issue is created. </p></td></tr><tr>- <td>depends_on_specs</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>IDs of the specs that this spec depends on.-Must be a subset of the specs in the same step. </p></td>+ <td>auto_resolve_issue</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>Enable auto resolve issue. </p></td></tr><tr>- <td>spec_release_source</td>- <td><a href="#bytebase.v1.Plan.SpecReleaseSource">Plan.SpecReleaseSource</a></td>+ <td>enforce_issue_title</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p> </p></td>+ <td><p>Enforce issue title created by user instead of generated by Bytebase. </p></td></tr><tr>- <td>create_database_config</td>- <td><a href="#bytebase.v1.Plan.CreateDatabaseConfig">Plan.CreateDatabaseConfig</a></td>+ <td>auto_enable_backup</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p> </p></td>+ <td><p>Whether to automatically enable backup. </p></td></tr><tr>- <td>change_database_config</td>- <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig">Plan.ChangeDatabaseConfig</a></td>+ <td>skip_backup_errors</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p> </p></td>+ <td><p>Whether to skip backup errors and continue the data migration. </p></td></tr><tr>- <td>export_data_config</td>- <td><a href="#bytebase.v1.Plan.ExportDataConfig">Plan.ExportDataConfig</a></td>+ <td>postgres_database_tenant_mode</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p> </p></td>+ <td><p>Whether to enable the database tenant mode for PostgreSQL.+If enabled, the issue will be created with the pre-appended "set role <db_owner>" statement. </p></td></tr></tbody>@@ -23038,7 +22877,7 @@ Must be a subset of the specs in the same step. </p></td>- <h3 id="bytebase.v1.Plan.SpecReleaseSource">Plan.SpecReleaseSource</h3>+ <h3 id="bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</h3><p></p>@@ -23049,11 +22888,10 @@ Must be a subset of the specs in the same step. </p></td><tbody><tr>- <td>file</td>- <td><a href="#string">string</a></td>+ <td>webhook</td>+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td><td></td>- <td><p>Format: projects/{project}/releases/{release}/files/{file}-{file} is URL path escaped. </p></td>+ <td><p>The webhook to remove. Identified by its url. </p></td></tr></tbody>@@ -23063,7 +22901,7 @@ Must be a subset of the specs in the same step. </p></td>- <h3 id="bytebase.v1.Plan.Step">Plan.Step</h3>+ <h3 id="bytebase.v1.Schedule">Schedule</h3><p></p>@@ -23074,15 +22912,8 @@ Must be a subset of the specs in the same step. </p></td><tbody><tr>- <td>title</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>specs</td>- <td><a href="#bytebase.v1.Plan.Spec">Plan.Spec</a></td>+ <td>deployments</td>+ <td><a href="#bytebase.v1.ScheduleDeployment">ScheduleDeployment</a></td><td>repeated</td><td><p> </p></td></tr>@@ -23094,7 +22925,7 @@ Must be a subset of the specs in the same step. </p></td>- <h3 id="bytebase.v1.Plan.VCSSource">Plan.VCSSource</h3>+ <h3 id="bytebase.v1.ScheduleDeployment">ScheduleDeployment</h3><p></p>@@ -23105,24 +22936,22 @@ Must be a subset of the specs in the same step. </p></td><tbody><tr>- <td>vcs_type</td>- <td><a href="#bytebase.v1.VCSType">VCSType</a></td>+ <td>title</td>+ <td><a href="#string">string</a></td><td></td>- <td><p> </p></td>+ <td><p>The title of the deployment (stage) in a schedule. </p></td></tr><tr>- <td>vcs_connector</td>+ <td>id</td><td><a href="#string">string</a></td><td></td>- <td><p>Optional.-If present, we will update the pull request for rollout status.-Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td>+ <td><p> </p></td></tr><tr>- <td>pull_request_url</td>- <td><a href="#string">string</a></td>+ <td>spec</td>+ <td><a href="#bytebase.v1.DeploymentSpec">DeploymentSpec</a></td><td></td><td><p> </p></td></tr>@@ -23134,7 +22963,7 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td>- <h3 id="bytebase.v1.PlanCheckRun">PlanCheckRun</h3>+ <h3 id="bytebase.v1.SearchProjectsRequest">SearchProjectsRequest</h3><p></p>@@ -23145,59 +22974,10 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td><tbody><tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} </p></td>- </tr>-- <tr>- <td>type</td>- <td><a href="#bytebase.v1.PlanCheckRun.Type">PlanCheckRun.Type</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>status</td>- <td><a href="#bytebase.v1.PlanCheckRun.Status">PlanCheckRun.Status</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>target</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Format: instances/{instance}/databases/{database} </p></td>- </tr>-- <tr>- <td>sheet</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Format: project/{project}/sheets/{sheet} </p></td>- </tr>-- <tr>- <td>results</td>- <td><a href="#bytebase.v1.PlanCheckRun.Result">PlanCheckRun.Result</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>error</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>error is set if the Status is FAILED. </p></td>- </tr>-- <tr>- <td>create_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td>show_deleted</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p> </p></td>+ <td><p>Show deleted projects if specified. </p></td></tr></tbody>@@ -23207,7 +22987,7 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td>- <h3 id="bytebase.v1.PlanCheckRun.Result">PlanCheckRun.Result</h3>+ <h3 id="bytebase.v1.SearchProjectsResponse">SearchProjectsResponse</h3><p></p>@@ -23218,45 +22998,10 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td><tbody><tr>- <td>status</td>- <td><a href="#bytebase.v1.PlanCheckRun.Result.Status">PlanCheckRun.Result.Status</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>title</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>content</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>code</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>sql_summary_report</td>- <td><a href="#bytebase.v1.PlanCheckRun.Result.SqlSummaryReport">PlanCheckRun.Result.SqlSummaryReport</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>sql_review_report</td>- <td><a href="#bytebase.v1.PlanCheckRun.Result.SqlReviewReport">PlanCheckRun.Result.SqlReviewReport</a></td>- <td></td>- <td><p> </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></tbody>@@ -23266,7 +23011,7 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td>- <h3 id="bytebase.v1.PlanCheckRun.Result.SqlReviewReport">PlanCheckRun.Result.SqlReviewReport</h3>+ <h3 id="bytebase.v1.TestWebhookRequest">TestWebhookRequest</h3><p></p>@@ -23277,46 +23022,18 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td><tbody><tr>- <td>line</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>column</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>detail</td>+ <td>project</td><td><a href="#string">string</a></td><td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>code</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p>Code from sql review. </p></td>- </tr>-- <tr>- <td>start_position</td>- <td><a href="#bytebase.v1.Position">Position</a></td>- <td></td>- <td><p>1-based Position of the SQL statement.-To supersede `line` and `column` above. </p></td>+ <td><p>The name of the project which owns the webhook to test.+Format: projects/{project} </p></td></tr><tr>- <td>end_position</td>- <td><a href="#bytebase.v1.Position">Position</a></td>+ <td>webhook</td>+ <td><a href="#bytebase.v1.Webhook">Webhook</a></td><td></td>- <td><p> </p></td>+ <td><p>The webhook to test. Identified by its url. </p></td></tr></tbody>@@ -23326,7 +23043,7 @@ To supersede `line` and `column` above. </p></td>- <h3 id="bytebase.v1.PlanCheckRun.Result.SqlSummaryReport">PlanCheckRun.Result.SqlSummaryReport</h3>+ <h3 id="bytebase.v1.TestWebhookResponse">TestWebhookResponse</h3><p></p>@@ -23337,31 +23054,10 @@ To supersede `line` and `column` above. </p></td><tbody><tr>- <td>code</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>statement_types</td>+ <td>error</td><td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>statement_types are the types of statements that are found in the sql. </p></td>- </tr>-- <tr>- <td>affected_rows</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>changed_resources</td>- <td><a href="#bytebase.v1.ChangedResources">ChangedResources</a></td><td></td>- <td><p> </p></td>+ <td><p>The result of the test, empty if the test is successful. </p></td></tr></tbody>@@ -23371,7 +23067,7 @@ To supersede `line` and `column` above. </p></td>- <h3 id="bytebase.v1.PreviewPlanRequest">PreviewPlanRequest</h3>+ <h3 id="bytebase.v1.UndeleteProjectRequest">UndeleteProjectRequest</h3><p></p>@@ -23382,38 +23078,13 @@ To supersede `line` and `column` above. </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.+ <td><p>The name of the deleted project.Format: projects/{project} </p></td></tr>- <tr>- <td>release</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The release used for preview. </p></td>- </tr>-- <tr>- <td>targets</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>The targets to deploy.-Can be database or databaseGroup.-Format:-projects/{project}/databaseGroups/{databaseGroup}-instances/{instance}/databases/{database} </p></td>- </tr>-- <tr>- <td>allow_out_of_order</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p> </p></td>- </tr>-</tbody></table>@@ -23421,7 +23092,7 @@ instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.PreviewPlanResponse">PreviewPlanResponse</h3>+ <h3 id="bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</h3><p></p>@@ -23432,26 +23103,12 @@ instances/{instance}/databases/{database} </p></td><tbody><tr>- <td>plan</td>- <td><a href="#bytebase.v1.Plan">Plan</a></td>+ <td>deployment_config</td>+ <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td><td></td><td><p> </p></td></tr>- <tr>- <td>out_of_order_files</td>- <td><a href="#bytebase.v1.PreviewPlanResponse.DatabaseFiles">PreviewPlanResponse.DatabaseFiles</a></td>- <td>repeated</td>- <td><p>The out of order files of each database. </p></td>- </tr>-- <tr>- <td>applied_but_modified_files</td>- <td><a href="#bytebase.v1.PreviewPlanResponse.DatabaseFiles">PreviewPlanResponse.DatabaseFiles</a></td>- <td>repeated</td>- <td><p>The applied but modified files of each database. </p></td>- </tr>-</tbody></table>@@ -23459,7 +23116,7 @@ instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.PreviewPlanResponse.DatabaseFiles">PreviewPlanResponse.DatabaseFiles</h3>+ <h3 id="bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</h3><p></p>@@ -23470,17 +23127,20 @@ instances/{instance}/databases/{database} </p></td><tbody><tr>- <td>database</td>- <td><a href="#string">string</a></td>+ <td>project</td>+ <td><a href="#bytebase.v1.Project">Project</a></td><td></td>- <td><p> </p></td>+ <td><p>The project to update.++The project's `name` field is used to identify the project to update.+Format: projects/{project} </p></td></tr><tr>- <td>files</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>Format: projects/{project}/releases/{release}/files/{file_id} </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>@@ -23490,7 +23150,7 @@ instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.RunPlanChecksRequest">RunPlanChecksRequest</h3>+ <h3 id="bytebase.v1.UpdateWebhookRequest">UpdateWebhookRequest</h3><p></p>@@ -23501,11 +23161,17 @@ instances/{instance}/databases/{database} </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 plan to run plan checks.-Format: projects/{project}/plans/{plan} </p></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>@@ -23515,14 +23181,7 @@ Format: projects/{project}/plans/{plan} </p></td>- <h3 id="bytebase.v1.RunPlanChecksResponse">RunPlanChecksResponse</h3>- <p></p>------ <h3 id="bytebase.v1.SearchPlansRequest">SearchPlansRequest</h3>+ <h3 id="bytebase.v1.Webhook">Webhook</h3><p></p>@@ -23533,106 +23192,56 @@ Format: projects/{project}/plans/{plan} </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 plans.-Format: projects/{project}-Use "projects/-" to list all plans from all projects. </p></td>- </tr>-- <tr>- <td>page_size</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p>The maximum number of plans to return. The service may return fewer than-this value.-If unspecified, at most 10 plans will be returned.-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>+ <td><p>name is the name of the webhook, generated by the server.+format: projects/{project}/webhooks/{webhook} </p></td></tr><tr>- <td>page_token</td>- <td><a href="#string">string</a></td>+ <td>type</td>+ <td><a href="#bytebase.v1.Webhook.Type">Webhook.Type</a></td><td></td>- <td><p>A page token, received from a previous `SearchPlans` call.-Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `SearchPlans` must match-the call that provided the page token. </p></td>+ <td><p>type is the type of the webhook. </p></td></tr><tr>- <td>filter</td>+ <td>title</td><td><a href="#string">string</a></td><td></td>- <td><p>Filter is used to filter plans returned in the list. </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.SearchPlansResponse">SearchPlansResponse</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>plans</td>- <td><a href="#bytebase.v1.Plan">Plan</a></td>- <td>repeated</td>- <td><p>The plans from the specified request. </p></td>+ <td><p>title is the title of the webhook. </p></td></tr><tr>- <td>next_page_token</td>+ <td>url</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>url is the url of the webhook, should be unique within the project. </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.UpdatePlanRequest">UpdatePlanRequest</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.Plan">Plan</a></td>+ <td>direct_message</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p>The plan to update.--The plan's `name` field is used to identify the plan to update.-Format: projects/{project}/plans/{plan} </p></td>+ <td><p>if direct_message is set, the notification is sent directly+to the persons and url will be ignored.+IM integration setting should be set for this function to work. </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>+ <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 should 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_CREATE </p></td></tr></tbody>@@ -23644,8 +23253,8 @@ Format: projects/{project}/plans/{plan} </p></td>- <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig.Type">Plan.ChangeDatabaseConfig.Type</h3>- <p>Type is the database change type.</p>+ <h3 id="bytebase.v1.Activity.Type">Activity.Type</h3>+ <p></p><table class="enum-table"><thead><tr><td>Name</td><td>Number</td><td>Description</td></tr>@@ -23659,118 +23268,180 @@ Format: projects/{project}/plans/{plan} </p></td></tr><tr>- <td>BASELINE</td>+ <td>TYPE_NOTIFY_ISSUE_APPROVED</td>+ <td>23</td>+ <td><p>Notifications via webhooks.++TYPE_NOTIFY_ISSUE_APPROVED represents the issue approved notification.</p></td>+ </tr>++ <tr>+ <td>TYPE_NOTIFY_PIPELINE_ROLLOUT</td>+ <td>24</td>+ <td><p>TYPE_NOTIFY_PIPELINE_ROLLOUT represents the pipeline rollout notification.</p></td>+ </tr>++ <tr>+ <td>TYPE_ISSUE_CREATE</td><td>1</td>- <td><p>Used for establishing schema baseline, this is used when-1. Onboard the database into Bytebase since Bytebase needs to know the current database schema.-2. Had schema drift and need to re-establish the baseline.</p></td>+ <td><p>Issue related activity types.++TYPE_ISSUE_CREATE represents creating an issue.</p></td></tr><tr>- <td>MIGRATE</td>+ <td>TYPE_ISSUE_COMMENT_CREATE</td><td>2</td>- <td><p>Used for DDL changes including CREATE DATABASE.</p></td>+ <td><p>TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue.</p></td></tr><tr>- <td>MIGRATE_SDL</td>+ <td>TYPE_ISSUE_FIELD_UPDATE</td><td>3</td>- <td><p>Used for schema changes via state-based schema migration including CREATE DATABASE.</p></td>+ <td><p>TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, etc.</p></td></tr><tr>- <td>MIGRATE_GHOST</td>+ <td>TYPE_ISSUE_STATUS_UPDATE</td><td>4</td>- <td><p>Used for DDL changes using gh-ost.</p></td>+ <td><p>TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now.</p></td></tr><tr>- <td>DATA</td>- <td>6</td>- <td><p>Used for DML change.</p></td>+ <td>TYPE_ISSUE_APPROVAL_NOTIFY</td>+ <td>21</td>+ <td><p>TYPE_ISSUE_APPROVAL_NOTIFY is the type for notifying issue approval.</p></td></tr>- </tbody>- </table>-- <h3 id="bytebase.v1.PlanCheckRun.Result.Status">PlanCheckRun.Result.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>+ <td>TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE</td>+ <td>5</td>+ <td><p>TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now.</p></td></tr><tr>- <td>ERROR</td>- <td>1</td>- <td><p></p></td>+ <td>TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE</td>+ <td>6</td>+ <td><p>TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now.</p></td></tr><tr>- <td>WARNING</td>- <td>2</td>- <td><p></p></td>+ <td>TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE</td>+ <td>22</td>+ <td><p>TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE represents the pipeline task run status change, including PENDING, RUNNING, DONE, FAILED, CANCELED.</p></td></tr><tr>- <td>SUCCESS</td>- <td>3</td>- <td><p></p></td>+ <td>TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE</td>+ <td>8</td>+ <td><p>TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement.</p></td></tr>- </tbody>- </table>-- <h3 id="bytebase.v1.PlanCheckRun.Status">PlanCheckRun.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>+ <td>TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE</td>+ <td>9</td>+ <td><p>TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time.</p></td></tr><tr>- <td>RUNNING</td>- <td>1</td>- <td><p></p></td>+ <td>TYPE_MEMBER_CREATE</td>+ <td>10</td>+ <td><p>Member related activity types.++TYPE_MEMBER_CREATE represents creating a members.</p></td></tr><tr>- <td>DONE</td>- <td>2</td>- <td><p></p></td>+ <td>TYPE_MEMBER_ROLE_UPDATE</td>+ <td>11</td>+ <td><p>TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER.</p></td></tr><tr>- <td>FAILED</td>- <td>3</td>- <td><p></p></td>+ <td>TYPE_MEMBER_ACTIVATE</td>+ <td>12</td>+ <td><p>TYPE_MEMBER_ACTIVATE represents activating a deactivated member.</p></td></tr><tr>- <td>CANCELED</td>- <td>4</td>- <td><p></p></td>+ <td>TYPE_MEMBER_DEACTIVATE</td>+ <td>13</td>+ <td><p>TYPE_MEMBER_DEACTIVATE represents deactivating an active member.</p></td></tr>- </tbody>- </table>-- <h3 id="bytebase.v1.PlanCheckRun.Type">PlanCheckRun.Type</h3>- <p></p>+ <tr>+ <td>TYPE_PROJECT_REPOSITORY_PUSH</td>+ <td>14</td>+ <td><p>Project related activity types.++TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository.</p></td>+ </tr>++ <tr>+ <td>TYPE_PROJECT_DATABASE_TRANSFER</td>+ <td>15</td>+ <td><p>TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another.</p></td>+ </tr>++ <tr>+ <td>TYPE_PROJECT_MEMBER_CREATE</td>+ <td>16</td>+ <td><p>TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project.</p></td>+ </tr>++ <tr>+ <td>TYPE_PROJECT_MEMBER_DELETE</td>+ <td>17</td>+ <td><p>TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project.</p></td>+ </tr>++ <tr>+ <td>TYPE_SQL_EDITOR_QUERY</td>+ <td>19</td>+ <td><p>SQL Editor related activity types.+TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td>+ </tr>++ </tbody>+ </table>++ <h3 id="bytebase.v1.OperatorType">OperatorType</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>OPERATOR_TYPE_UNSPECIFIED</td>+ <td>0</td>+ <td><p>The operator is not specified.</p></td>+ </tr>++ <tr>+ <td>OPERATOR_TYPE_IN</td>+ <td>1</td>+ <td><p>The operator is "In".</p></td>+ </tr>++ <tr>+ <td>OPERATOR_TYPE_EXISTS</td>+ <td>2</td>+ <td><p>The operator is "Exists".</p></td>+ </tr>++ <tr>+ <td>OPERATOR_TYPE_NOT_IN</td>+ <td>3</td>+ <td><p>The operator is "Not In".</p></td>+ </tr>++ </tbody>+ </table>++ <h3 id="bytebase.v1.Webhook.Type">Webhook.Type</h3>+ <p></p><table class="enum-table"><thead><tr><td>Name</td><td>Number</td><td>Description</td></tr>@@ -23784,35 +23455,82 @@ Format: projects/{project}/plans/{plan} </p></td></tr><tr>- <td>DATABASE_STATEMENT_FAKE_ADVISE</td>+ <td>TYPE_SLACK</td><td>1</td><td><p></p></td></tr><tr>- <td>DATABASE_STATEMENT_ADVISE</td>+ <td>TYPE_DISCORD</td>+ <td>2</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>TYPE_TEAMS</td><td>3</td><td><p></p></td></tr><tr>- <td>DATABASE_STATEMENT_SUMMARY_REPORT</td>+ <td>TYPE_DINGTALK</td>+ <td>4</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>TYPE_FEISHU</td><td>5</td><td><p></p></td></tr><tr>- <td>DATABASE_CONNECT</td>+ <td>TYPE_WECOM</td><td>6</td><td><p></p></td></tr><tr>- <td>DATABASE_GHOST_SYNC</td>+ <td>TYPE_CUSTOM</td><td>7</td><td><p></p></td></tr>+ <tr>+ <td>TYPE_LARK</td>+ <td>8</td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>++ <h3 id="bytebase.v1.Workflow">Workflow</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>WORKFLOW_UNSPECIFIED</td>+ <td>0</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>UI</td>+ <td>1</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>VCS</td>+ <td>2</td>+ <td><p></p></td>+ </tr>+</tbody></table>@@ -23820,7 +23538,7 @@ Format: projects/{project}/plans/{plan} </p></td>- <h3 id="bytebase.v1.PlanService">PlanService</h3>+ <h3 id="bytebase.v1.ProjectService">ProjectService</h3><p></p><table class="enum-table"><thead>@@ -23829,66 +23547,114 @@ 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>GetProject</td>+ <td><a href="#bytebase.v1.GetProjectRequest">GetProjectRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</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>ListProjects</td>+ <td><a href="#bytebase.v1.ListProjectsRequest">ListProjectsRequest</a></td>+ <td><a href="#bytebase.v1.ListProjectsResponse">ListProjectsResponse</a></td><td><p></p></td></tr><tr>- <td>SearchPlans</td>- <td><a href="#bytebase.v1.SearchPlansRequest">SearchPlansRequest</a></td>- <td><a href="#bytebase.v1.SearchPlansResponse">SearchPlansResponse</a></td>- <td><p>Search for plans that the caller has the bb.plans.get permission on and also satisfy the specified filter & query.</p></td>+ <td>SearchProjects</td>+ <td><a href="#bytebase.v1.SearchProjectsRequest">SearchProjectsRequest</a></td>+ <td><a href="#bytebase.v1.SearchProjectsResponse">SearchProjectsResponse</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>CreateProject</td>+ <td><a href="#bytebase.v1.CreateProjectRequest">CreateProjectRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</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>UpdatePlan updates the plan.-The plan creator and the user with bb.plans.update permission on the project can update the plan.</p></td>+ <td>UpdateProject</td>+ <td><a href="#bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</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>DeleteProject</td>+ <td><a href="#bytebase.v1.DeleteProjectRequest">DeleteProjectRequest</a></td>+ <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</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>UndeleteProject</td>+ <td><a href="#bytebase.v1.UndeleteProjectRequest">UndeleteProjectRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</a></td><td><p></p></td></tr><tr>- <td>BatchCancelPlanCheckRuns</td>- <td><a href="#bytebase.v1.BatchCancelPlanCheckRunsRequest">BatchCancelPlanCheckRunsRequest</a></td>- <td><a href="#bytebase.v1.BatchCancelPlanCheckRunsResponse">BatchCancelPlanCheckRunsResponse</a></td>+ <td>GetIamPolicy</td>+ <td><a href="#bytebase.v1.GetIamPolicyRequest">GetIamPolicyRequest</a></td>+ <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td><td><p></p></td></tr><tr>- <td>PreviewPlan</td>- <td><a href="#bytebase.v1.PreviewPlanRequest">PreviewPlanRequest</a></td>- <td><a href="#bytebase.v1.PreviewPlanResponse">PreviewPlanResponse</a></td>+ <td>BatchGetIamPolicy</td>+ <td><a href="#bytebase.v1.BatchGetIamPolicyRequest">BatchGetIamPolicyRequest</a></td>+ <td><a href="#bytebase.v1.BatchGetIamPolicyResponse">BatchGetIamPolicyResponse</a></td>+ <td><p>Deprecated.</p></td>+ </tr>++ <tr>+ <td>SetIamPolicy</td>+ <td><a href="#bytebase.v1.SetIamPolicyRequest">SetIamPolicyRequest</a></td>+ <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>GetDeploymentConfig</td>+ <td><a href="#bytebase.v1.GetDeploymentConfigRequest">GetDeploymentConfigRequest</a></td>+ <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>UpdateDeploymentConfig</td>+ <td><a href="#bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</a></td>+ <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>AddWebhook</td>+ <td><a href="#bytebase.v1.AddWebhookRequest">AddWebhookRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>UpdateWebhook</td>+ <td><a href="#bytebase.v1.UpdateWebhookRequest">UpdateWebhookRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>RemoveWebhook</td>+ <td><a href="#bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</a></td>+ <td><a href="#bytebase.v1.Project">Project</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>TestWebhook</td>+ <td><a href="#bytebase.v1.TestWebhookRequest">TestWebhookRequest</a></td>+ <td><a href="#bytebase.v1.TestWebhookResponse">TestWebhookResponse</a></td><td><p></p></td></tr>@@ -23913,9 +23679,9 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>GetPlan</td>+ <td>GetProject</td><td>GET</td>- <td>/v1/{name=projects/*/plans/*}</td>+ <td>/v1/{name=projects/*}</td><td></td></tr>@@ -23923,9 +23689,9 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>ListPlans</td>+ <td>ListProjects</td><td>GET</td>- <td>/v1/{parent=projects/*}/plans</td>+ <td>/v1/projects</td><td></td></tr>@@ -23933,9 +23699,9 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>SearchPlans</td>+ <td>SearchProjects</td><td>POST</td>- <td>/v1/{parent=projects/*}/plans:search</td>+ <td>/v1/projects:search</td><td>*</td></tr>@@ -23943,29 +23709,49 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>CreatePlan</td>+ <td>CreateProject</td><td>POST</td>- <td>/v1/{parent=projects/*}/plans</td>- <td>plan</td>+ <td>/v1/projects</td>+ <td>project</td></tr><tr>- <td>UpdatePlan</td>+ <td>UpdateProject</td><td>PATCH</td>- <td>/v1/{plan.name=projects/*/plans/*}</td>- <td>plan</td>+ <td>/v1/{project.name=projects/*}</td>+ <td>project</td></tr><tr>- <td>ListPlanCheckRuns</td>+ <td>DeleteProject</td>+ <td>DELETE</td>+ <td>/v1/{name=projects/*}</td>+ <td></td>+ </tr>+++++ <tr>+ <td>UndeleteProject</td>+ <td>POST</td>+ <td>/v1/{name=projects/*}:undelete</td>+ <td>*</td>+ </tr>+++++ <tr>+ <td>GetIamPolicy</td><td>GET</td>- <td>/v1/{parent=projects/*/plans/*}/planCheckRuns</td>+ <td>/v1/{resource=projects/*}:getIamPolicy</td><td></td></tr>@@ -23973,9 +23759,19 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>RunPlanChecks</td>+ <td>BatchGetIamPolicy</td>+ <td>GET</td>+ <td>/v1/{scope=*/*}/iamPolicies:batchGet</td>+ <td></td>+ </tr>+++++ <tr>+ <td>SetIamPolicy</td><td>POST</td>- <td>/v1/{name=projects/*/plans/*}:runPlanChecks</td>+ <td>/v1/{resource=projects/*}:setIamPolicy</td><td>*</td></tr>@@ -23983,9 +23779,29 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>BatchCancelPlanCheckRuns</td>+ <td>GetDeploymentConfig</td>+ <td>GET</td>+ <td>/v1/{name=projects/*/deploymentConfigs/*}</td>+ <td></td>+ </tr>+++++ <tr>+ <td>UpdateDeploymentConfig</td>+ <td>PATCH</td>+ <td>/v1/{deployment_config.name=projects/*/deploymentConfigs/*}</td>+ <td>deployment_config</td>+ </tr>+++++ <tr>+ <td>AddWebhook</td><td>POST</td>- <td>/v1/{parent=projects/*/plans/*}/planCheckRuns:batchCancel</td>+ <td>/v1/{project=projects/*}:addWebhook</td><td>*</td></tr>@@ -23993,9 +23809,29 @@ The plan creator and the user with bb.plans.update permission on the project can<tr>- <td>PreviewPlan</td>+ <td>UpdateWebhook</td><td>POST</td>- <td>/v1/{project=projects/*}:previewPlan</td>+ <td>/v1/{webhook.name=projects/*/webhooks/*}:updateWebhook</td>+ <td>*</td>+ </tr>+++++ <tr>+ <td>RemoveWebhook</td>+ <td>POST</td>+ <td>/v1/{webhook.name=projects/*/webhooks/*}:removeWebhook</td>+ <td>*</td>+ </tr>+++++ <tr>+ <td>TestWebhook</td>+ <td>POST</td>+ <td>/v1/{project=projects/*}:testWebhook</td><td>*</td></tr>@@ -24007,19 +23843,12 @@ The plan creator and the user with bb.plans.update permission on the project can<div class="file-heading">- <h2 id="v1/project_service.proto">v1/project_service.proto</h2><a href="#title">Top</a>+ <h2 id="v1/plan_service.proto">v1/plan_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.BatchCancelPlanCheckRunsRequest">BatchCancelPlanCheckRunsRequest</h3><p></p>@@ -24030,18 +23859,20 @@ The plan creator and the user with bb.plans.update permission on the project can<tbody><tr>- <td>project</td>+ <td>parent</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the project to add the webhook to.-Format: projects/{project} </p></td>+ <td><p>The name of the parent of the planChecks.+Format: projects/{project}/plans/{plan} </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>+ <td>plan_check_runs</td>+ <td><a href="#string">string</a></td>+ <td>repeated</td>+ <td><p>TODO(d): update this API.+The planCheckRuns to cancel.+Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} </p></td></tr></tbody>@@ -24051,7 +23882,14 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.BatchGetIamPolicyRequest">BatchGetIamPolicyRequest</h3>+ <h3 id="bytebase.v1.BatchCancelPlanCheckRunsResponse">BatchCancelPlanCheckRunsResponse</h3>+ <p></p>++++++ <h3 id="bytebase.v1.CreatePlanRequest">CreatePlanRequest</h3><p></p>@@ -24062,17 +23900,18 @@ Format: projects/{project} </p></td><tbody><tr>- <td>scope</td>+ <td>parent</td><td><a href="#string">string</a></td><td></td>- <td><p>The scope of the batch get. Typically it's "projects/-". </p></td>+ <td><p>The parent project where this plan will be created.+Format: projects/{project} </p></td></tr><tr>- <td>names</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p> </p></td>+ <td>plan</td>+ <td><a href="#bytebase.v1.Plan">Plan</a></td>+ <td></td>+ <td><p>The plan to create. </p></td></tr></tbody>@@ -24082,7 +23921,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.BatchGetIamPolicyResponse">BatchGetIamPolicyResponse</h3>+ <h3 id="bytebase.v1.GetPlanRequest">GetPlanRequest</h3><p></p>@@ -24093,10 +23932,11 @@ Format: projects/{project} </p></td><tbody><tr>- <td>policy_results</td>- <td><a href="#bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</a></td>- <td>repeated</td>- <td><p> </p></td>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the plan to retrieve.+Format: projects/{project}/plans/{plan} </p></td></tr></tbody>@@ -24106,7 +23946,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.BatchGetIamPolicyResponse.PolicyResult">BatchGetIamPolicyResponse.PolicyResult</h3>+ <h3 id="bytebase.v1.ListPlanCheckRunsRequest">ListPlanCheckRunsRequest</h3><p></p>@@ -24117,17 +23957,41 @@ Format: projects/{project} </p></td><tbody><tr>- <td>project</td>+ <td>parent</td><td><a href="#string">string</a></td><td></td>- <td><p> </p></td>+ <td><p>The parent, which owns this collection of plan check runs.+Format: projects/{project}/plans/{plan} </p></td></tr><tr>- <td>policy</td>- <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>+ <td>page_size</td>+ <td><a href="#int32">int32</a></td><td></td>- <td><p> </p></td>+ <td><p>Not used.+The maximum number of plan check runs to return. The service may return fewer than+this value.+If unspecified, at most 10 plan check runs 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 `ListPlanCheckRuns` call.+Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListPlanCheckRuns` must match+the call that provided the page token. </p></td>+ </tr>++ <tr>+ <td>latest_only</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>If set to true, only the latest plan check run will be returned. </p></td></tr></tbody>@@ -24137,7 +24001,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.CreateProjectRequest">CreateProjectRequest</h3>+ <h3 id="bytebase.v1.ListPlanCheckRunsResponse">ListPlanCheckRunsResponse</h3><p></p>@@ -24148,21 +24012,18 @@ Format: projects/{project} </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>plan_check_runs</td>+ <td><a href="#bytebase.v1.PlanCheckRun">PlanCheckRun</a></td>+ <td>repeated</td>+ <td><p>The plan check runs from the specified request. </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's resource name.--This value should be 4-63 characters, and valid characters-are /[a-z][0-9]-/. </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>@@ -24172,7 +24033,7 @@ are /[a-z][0-9]-/. </p></td>- <h3 id="bytebase.v1.DeleteProjectRequest">DeleteProjectRequest</h3>+ <h3 id="bytebase.v1.ListPlansRequest">ListPlansRequest</h3><p></p>@@ -24183,18 +24044,33 @@ are /[a-z][0-9]-/. </p></td><tbody><tr>- <td>name</td>+ <td>parent</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the project to delete.-Format: projects/{project} </p></td>+ <td><p>The parent, which owns this collection of plans.+Format: projects/{project}+Use "projects/-" to list all plans from all projects. </p></td></tr><tr>- <td>force</td>- <td><a href="#bool">bool</a></td>+ <td>page_size</td>+ <td><a href="#int32">int32</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 maximum number of plans to return. The service may return fewer than+this value.+If unspecified, at most 10 plans 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>A page token, received from a previous `ListPlans` call.+Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListPlans` must match+the call that provided the page token. </p></td></tr></tbody>@@ -24204,7 +24080,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.DeploymentConfig">DeploymentConfig</h3>+ <h3 id="bytebase.v1.ListPlansResponse">ListPlansResponse</h3><p></p>@@ -24215,25 +24091,18 @@ 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 resource.-Format: projects/{project}/deploymentConfigs/default. </p></td>+ <td>plans</td>+ <td><a href="#bytebase.v1.Plan">Plan</a></td>+ <td>repeated</td>+ <td><p>The plans from the specified request. </p></td></tr><tr>- <td>title</td>+ <td>next_page_token</td><td><a href="#string">string</a></td><td></td>- <td><p>The title of the deployment config. </p></td>- </tr>-- <tr>- <td>schedule</td>- <td><a href="#bytebase.v1.Schedule">Schedule</a></td>- <td></td>- <td><p> </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>@@ -24243,7 +24112,7 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>- <h3 id="bytebase.v1.DeploymentSpec">DeploymentSpec</h3>+ <h3 id="bytebase.v1.Plan">Plan</h3><p></p>@@ -24254,124 +24123,97 @@ 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> </p></td>+ <td><p>The name of the plan.+`plan` is a system generated ID.+Format: projects/{project}/plans/{plan} </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>name</td>+ <td>issue</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>The resource name of the issue associated with this plan.+Format: projects/{project}/issues/{issue} </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.GetProjectRequest">GetProjectRequest</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>title</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> </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.Label">Label</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>value</td>+ <td>description</td><td><a href="#string">string</a></td><td></td><td><p> </p></td></tr><tr>- <td>color</td>- <td><a href="#string">string</a></td>+ <td>steps</td>+ <td><a href="#bytebase.v1.Plan.Step">Plan.Step</a></td>+ <td>repeated</td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>vcs_source</td>+ <td><a href="#bytebase.v1.Plan.VCSSource">Plan.VCSSource</a></td><td></td><td><p> </p></td></tr><tr>- <td>group</td>+ <td>creator</td><td><a href="#string">string</a></td><td></td>+ <td><p>Format: users/[email protected] </p></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>- </tbody>- </table>------ <h3 id="bytebase.v1.LabelSelector">LabelSelector</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></td>+ <td><p> </p></td>+ </tr><tr>- <td>match_expressions</td>- <td><a href="#bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</a></td>+ <td>plan_check_run_status_count</td>+ <td><a href="#bytebase.v1.Plan.PlanCheckRunStatusCountEntry">Plan.PlanCheckRunStatusCountEntry</a></td><td>repeated</td>+ <td><p>The status count of the latest plan check runs.+Keys are:+- SUCCESS+- WARNING+- ERROR </p></td>+ </tr>++ <tr>+ <td>release_source</td>+ <td><a href="#bytebase.v1.Plan.ReleaseSource">Plan.ReleaseSource</a></td>+ <td></td><td><p> </p></td></tr>+ <tr>+ <td>deployment_config_snapshot</td>+ <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>+ <td></td>+ <td><p>The deployment config snapshot taken at the time of plan creation.+This is to ensure that we get consistent rollout for the plan. </p></td>+ </tr>+</tbody></table>@@ -24379,7 +24221,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.LabelSelectorRequirement">LabelSelectorRequirement</h3>+ <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig">Plan.ChangeDatabaseConfig</h3><p></p>@@ -24390,26 +24232,51 @@ Format: projects/{project} </p></td><tbody><tr>- <td>key</td>+ <td>target</td><td><a href="#string">string</a></td><td></td>- <td><p> </p></td>+ <td><p>The resource name of the target.+Format: instances/{instance-id}/databases/{database-name}.+Format: projects/{project}/databaseGroups/{databaseGroup}. </p></td></tr><tr>- <td>operator</td>- <td><a href="#bytebase.v1.OperatorType">OperatorType</a></td>+ <td>sheet</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The resource name of the sheet.+Format: projects/{project}/sheets/{sheet} </p></td>+ </tr>++ <tr>+ <td>type</td>+ <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.Type">Plan.ChangeDatabaseConfig.Type</a></td><td></td><td><p> </p></td></tr><tr>- <td>values</td>+ <td>schema_version</td><td><a href="#string">string</a></td>+ <td></td>+ <td><p>schema_version is parsed from VCS file name.+It is automatically generated in the UI workflow. </p></td>+ </tr>++ <tr>+ <td>ghost_flags</td>+ <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry">Plan.ChangeDatabaseConfig.GhostFlagsEntry</a></td><td>repeated</td><td><p> </p></td></tr>+ <tr>+ <td>pre_update_backup_detail</td>+ <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail">Plan.ChangeDatabaseConfig.PreUpdateBackupDetail</a></td>+ <td>optional</td>+ <td><p>If set, a backup of the modified data will be created automatically before any changes are applied. </p></td>+ </tr>+</tbody></table>@@ -24417,7 +24284,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.ListProjectsRequest">ListProjectsRequest</h3>+ <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry">Plan.ChangeDatabaseConfig.GhostFlagsEntry</h3><p></p>@@ -24428,33 +24295,17 @@ Format: projects/{project} </p></td><tbody><tr>- <td>page_size</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p>Not used.-The maximum number of projects to return. The service may return fewer than-this value.-If unspecified, at most 10 projects will be returned.-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>- </tr>-- <tr>- <td>page_token</td>+ <td>key</td><td><a href="#string">string</a></td><td></td>- <td><p>Not used.-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>+ <td><p> </p></td></tr><tr>- <td>show_deleted</td>- <td><a href="#bool">bool</a></td>+ <td>value</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>Show deleted projects if specified. </p></td>+ <td><p> </p></td></tr></tbody>@@ -24464,7 +24315,7 @@ the call that provided the page token. </p></td>- <h3 id="bytebase.v1.ListProjectsResponse">ListProjectsResponse</h3>+ <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail">Plan.ChangeDatabaseConfig.PreUpdateBackupDetail</h3><p></p>@@ -24475,18 +24326,11 @@ 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>- </tr>-- <tr>- <td>next_page_token</td>+ <td>database</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 database for keeping the backup data.+Format: instances/{instance}/databases/{database} </p></td></tr></tbody>@@ -24496,7 +24340,7 @@ If this field is omitted, there are no subsequent pages. </p></td>- <h3 id="bytebase.v1.Project">Project</h3>+ <h3 id="bytebase.v1.Plan.CreateDatabaseConfig">Plan.CreateDatabaseConfig</h3><p></p>@@ -24507,110 +24351,69 @@ If this field is omitted, there are no subsequent pages. </p></td><tbody><tr>- <td>name</td>+ <td>target</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the project.-Format: projects/{project} </p></td>+ <td><p>The resource name of the instance on which the database is created.+Format: instances/{instance} </p></td></tr><tr>- <td>state</td>- <td><a href="#bytebase.v1.State">State</a></td>+ <td>database</td>+ <td><a href="#string">string</a></td><td></td>- <td><p> </p></td>+ <td><p>The name of the database to create. </p></td></tr><tr>- <td>title</td>+ <td>table</td><td><a href="#string">string</a></td><td></td>- <td><p>The title or name of a project. It's not unique within the workspace. </p></td>+ <td><p>table is the name of the table, if it is not empty, Bytebase should create a table after creating the database.+For example, in MongoDB, it only creates the database when we first store data in that database. </p></td></tr><tr>- <td>key</td>+ <td>character_set</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's unique within the workspace. </p></td>+ <td><p>character_set is the character set of the database. </p></td></tr><tr>- <td>workflow</td>- <td><a href="#bytebase.v1.Workflow">Workflow</a></td>+ <td>collation</td>+ <td><a href="#string">string</a></td><td></td>- <td><p> </p></td>+ <td><p>collation is the collation of the database. </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>cluster</td><td><a href="#string">string</a></td><td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>issue_labels</td>- <td><a href="#bytebase.v1.Label">Label</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>force_issue_labels</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>Force issue labels to be used when creating an issue. </p></td>- </tr>-- <tr>- <td>allow_modify_statement</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>Allow modifying statement after issue is created. </p></td>- </tr>-- <tr>- <td>auto_resolve_issue</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>Enable auto resolve issue. </p></td>- </tr>-- <tr>- <td>enforce_issue_title</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>Enforce issue title created by user instead of generated by Bytebase. </p></td>+ <td><p>cluster is the cluster of the database. This is only applicable to ClickHouse for "ON CLUSTER <<cluster>>". </p></td></tr><tr>- <td>auto_enable_backup</td>- <td><a href="#bool">bool</a></td>+ <td>owner</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>Whether to automatically enable backup. </p></td>+ <td><p>owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". </p></td></tr><tr>- <td>skip_backup_errors</td>- <td><a href="#bool">bool</a></td>+ <td>environment</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>Whether to skip backup errors and continue the data migration. </p></td>+ <td><p>The environment resource.+Format: environments/prod where prod is the environment resource ID. </p></td></tr><tr>- <td>postgres_database_tenant_mode</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>Whether to enable the database tenant mode for PostgreSQL.-If enabled, the issue will be created with the pre-appended "set role <db_owner>" statement. </p></td>+ <td>labels</td>+ <td><a href="#bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry">Plan.CreateDatabaseConfig.LabelsEntry</a></td>+ <td>repeated</td>+ <td><p>labels of the database. </p></td></tr></tbody>@@ -24620,7 +24423,7 @@ If enabled, the issue will be created with the pre-appended "set role <db- <h3 id="bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</h3>+ <h3 id="bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry">Plan.CreateDatabaseConfig.LabelsEntry</h3><p></p>@@ -24631,33 +24434,16 @@ If enabled, the issue will be created with the pre-appended "set role <db<tbody><tr>- <td>webhook</td>- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>+ <td>key</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>The webhook to remove. Identified by its url. </p></td>+ <td><p> </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>value</td>+ <td><a href="#string">string</a></td>+ <td></td><td><p> </p></td></tr>@@ -24668,7 +24454,7 @@ If enabled, the issue will be created with the pre-appended "set role <db- <h3 id="bytebase.v1.ScheduleDeployment">ScheduleDeployment</h3>+ <h3 id="bytebase.v1.Plan.ExportDataConfig">Plan.ExportDataConfig</h3><p></p>@@ -24679,24 +24465,34 @@ If enabled, the issue will be created with the pre-appended "set role <db<tbody><tr>- <td>title</td>+ <td>target</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>The resource name of the target.+Format: instances/{instance-id}/databases/{database-name} </p></td></tr><tr>- <td>id</td>+ <td>sheet</td><td><a href="#string">string</a></td><td></td>- <td><p> </p></td>+ <td><p>The resource name of the sheet.+Format: projects/{project}/sheets/{sheet} </p></td></tr><tr>- <td>spec</td>- <td><a href="#bytebase.v1.DeploymentSpec">DeploymentSpec</a></td>+ <td>format</td>+ <td><a href="#bytebase.v1.ExportFormat">ExportFormat</a></td><td></td>- <td><p> </p></td>+ <td><p>The format of the exported file. </p></td>+ </tr>++ <tr>+ <td>password</td>+ <td><a href="#string">string</a></td>+ <td>optional</td>+ <td><p>The zip password provide by users.+Leave it empty if no needs to encrypt the zip file. </p></td></tr></tbody>@@ -24706,7 +24502,7 @@ If enabled, the issue will be created with the pre-appended "set role <db- <h3 id="bytebase.v1.SearchProjectsRequest">SearchProjectsRequest</h3>+ <h3 id="bytebase.v1.Plan.PlanCheckRunStatusCountEntry">Plan.PlanCheckRunStatusCountEntry</h3><p></p>@@ -24717,10 +24513,17 @@ If enabled, the issue will be created with the pre-appended "set role <db<tbody><tr>- <td>show_deleted</td>- <td><a href="#bool">bool</a></td>+ <td>key</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>Show deleted projects if specified. </p></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>value</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td></tr></tbody>@@ -24730,7 +24533,7 @@ If enabled, the issue will be created with the pre-appended "set role <db- <h3 id="bytebase.v1.SearchProjectsResponse">SearchProjectsResponse</h3>+ <h3 id="bytebase.v1.Plan.ReleaseSource">Plan.ReleaseSource</h3><p></p>@@ -24741,10 +24544,11 @@ If enabled, the issue will be created with the pre-appended "set role <db<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>release</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The release.+Format: projects/{project}/releases/{release} </p></td></tr></tbody>@@ -24754,7 +24558,7 @@ If enabled, the issue will be created with the pre-appended "set role <db- <h3 id="bytebase.v1.TestWebhookRequest">TestWebhookRequest</h3>+ <h3 id="bytebase.v1.Plan.Spec">Plan.Spec</h3><p></p>@@ -24765,18 +24569,53 @@ If enabled, the issue will be created with the pre-appended "set role <db<tbody><tr>- <td>project</td>+ <td>earliest_allowed_time</td>+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td></td>+ <td><p>earliest_allowed_time the earliest execution time of the change. </p></td>+ </tr>++ <tr>+ <td>id</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>+ <td><p>A UUID4 string that uniquely identifies the Spec. </p></td></tr><tr>- <td>webhook</td>- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>+ <td>depends_on_specs</td>+ <td><a href="#string">string</a></td>+ <td>repeated</td>+ <td><p>IDs of the specs that this spec depends on.+Must be a subset of the specs in the same step. </p></td>+ </tr>++ <tr>+ <td>spec_release_source</td>+ <td><a href="#bytebase.v1.Plan.SpecReleaseSource">Plan.SpecReleaseSource</a></td><td></td>- <td><p>The webhook to test. Identified by its url. </p></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>create_database_config</td>+ <td><a href="#bytebase.v1.Plan.CreateDatabaseConfig">Plan.CreateDatabaseConfig</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>change_database_config</td>+ <td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig">Plan.ChangeDatabaseConfig</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>export_data_config</td>+ <td><a href="#bytebase.v1.Plan.ExportDataConfig">Plan.ExportDataConfig</a></td>+ <td></td>+ <td><p> </p></td></tr></tbody>@@ -24786,7 +24625,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.TestWebhookResponse">TestWebhookResponse</h3>+ <h3 id="bytebase.v1.Plan.SpecReleaseSource">Plan.SpecReleaseSource</h3><p></p>@@ -24797,10 +24636,11 @@ Format: projects/{project} </p></td><tbody><tr>- <td>error</td>+ <td>file</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>+ <td><p>Format: projects/{project}/releases/{release}/files/{file}+{file} is URL path escaped. </p></td></tr></tbody>@@ -24810,7 +24650,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.UndeleteProjectRequest">UndeleteProjectRequest</h3>+ <h3 id="bytebase.v1.Plan.Step">Plan.Step</h3><p></p>@@ -24821,11 +24661,17 @@ Format: projects/{project} </p></td><tbody><tr>- <td>name</td>+ <td>title</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the deleted project.-Format: projects/{project} </p></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>specs</td>+ <td><a href="#bytebase.v1.Plan.Spec">Plan.Spec</a></td>+ <td>repeated</td>+ <td><p> </p></td></tr></tbody>@@ -24835,7 +24681,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</h3>+ <h3 id="bytebase.v1.Plan.VCSSource">Plan.VCSSource</h3><p></p>@@ -24846,8 +24692,24 @@ Format: projects/{project} </p></td><tbody><tr>- <td>deployment_config</td>- <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>+ <td>vcs_type</td>+ <td><a href="#bytebase.v1.VCSType">VCSType</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>vcs_connector</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Optional.+If present, we will update the pull request for rollout status.+Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td>+ </tr>++ <tr>+ <td>pull_request_url</td>+ <td><a href="#string">string</a></td><td></td><td><p> </p></td></tr>@@ -24859,7 +24721,7 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</h3>+ <h3 id="bytebase.v1.PlanCheckRun">PlanCheckRun</h3><p></p>@@ -24870,30 +24732,69 @@ Format: projects/{project} </p></td><tbody><tr>- <td>project</td>- <td><a href="#bytebase.v1.Project">Project</a></td>+ <td>name</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>The project to update.--The project's `name` field is used to identify the project to update.-Format: projects/{project} </p></td>+ <td><p>Format: projects/{project}/plans/{plan}/planCheckRuns/{planCheckRun} </p></td></tr><tr>- <td>update_mask</td>- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>+ <td>type</td>+ <td><a href="#bytebase.v1.PlanCheckRun.Type">PlanCheckRun.Type</a></td><td></td>- <td><p>The list of fields to update. </p></td>+ <td><p> </p></td></tr>- </tbody>- </table>+ <tr>+ <td>status</td>+ <td><a href="#bytebase.v1.PlanCheckRun.Status">PlanCheckRun.Status</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>target</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Format: instances/{instance}/databases/{database} </p></td>+ </tr>++ <tr>+ <td>sheet</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Format: project/{project}/sheets/{sheet} </p></td>+ </tr>++ <tr>+ <td>results</td>+ <td><a href="#bytebase.v1.PlanCheckRun.Result">PlanCheckRun.Result</a></td>+ <td>repeated</td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>error</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>error is set if the Status is FAILED. </p></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>++ </tbody>+ </table>- <h3 id="bytebase.v1.UpdateWebhookRequest">UpdateWebhookRequest</h3>+ <h3 id="bytebase.v1.PlanCheckRun.Result">PlanCheckRun.Result</h3><p></p>@@ -24904,17 +24805,45 @@ Format: projects/{project} </p></td><tbody><tr>- <td>webhook</td>- <td><a href="#bytebase.v1.Webhook">Webhook</a></td>+ <td>status</td>+ <td><a href="#bytebase.v1.PlanCheckRun.Result.Status">PlanCheckRun.Result.Status</a></td><td></td>- <td><p>The webhook to modify. </p></td>+ <td><p> </p></td></tr><tr>- <td>update_mask</td>- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>+ <td>title</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>The list of fields to update. </p></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>content</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>code</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>sql_summary_report</td>+ <td><a href="#bytebase.v1.PlanCheckRun.Result.SqlSummaryReport">PlanCheckRun.Result.SqlSummaryReport</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>sql_review_report</td>+ <td><a href="#bytebase.v1.PlanCheckRun.Result.SqlReviewReport">PlanCheckRun.Result.SqlReviewReport</a></td>+ <td></td>+ <td><p> </p></td></tr></tbody>@@ -24924,7 +24853,231 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.Webhook">Webhook</h3>+ <h3 id="bytebase.v1.PlanCheckRun.Result.SqlReviewReport">PlanCheckRun.Result.SqlReviewReport</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>line</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>column</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>detail</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>code</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>Code from sql review. </p></td>+ </tr>++ <tr>+ <td>start_position</td>+ <td><a href="#bytebase.v1.Position">Position</a></td>+ <td></td>+ <td><p>1-based Position of the SQL statement.+To supersede `line` and `column` above. </p></td>+ </tr>++ <tr>+ <td>end_position</td>+ <td><a href="#bytebase.v1.Position">Position</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.PlanCheckRun.Result.SqlSummaryReport">PlanCheckRun.Result.SqlSummaryReport</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>code</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>statement_types</td>+ <td><a href="#string">string</a></td>+ <td>repeated</td>+ <td><p>statement_types are the types of statements that are found in the sql. </p></td>+ </tr>++ <tr>+ <td>affected_rows</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>changed_resources</td>+ <td><a href="#bytebase.v1.ChangedResources">ChangedResources</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.PreviewPlanRequest">PreviewPlanRequest</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.+Format: projects/{project} </p></td>+ </tr>++ <tr>+ <td>release</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The release used for preview. </p></td>+ </tr>++ <tr>+ <td>targets</td>+ <td><a href="#string">string</a></td>+ <td>repeated</td>+ <td><p>The targets to deploy.+Can be database or databaseGroup.+Format:+projects/{project}/databaseGroups/{databaseGroup}+instances/{instance}/databases/{database} </p></td>+ </tr>++ <tr>+ <td>allow_out_of_order</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.PreviewPlanResponse">PreviewPlanResponse</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.Plan">Plan</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>out_of_order_files</td>+ <td><a href="#bytebase.v1.PreviewPlanResponse.DatabaseFiles">PreviewPlanResponse.DatabaseFiles</a></td>+ <td>repeated</td>+ <td><p>The out of order files of each database. </p></td>+ </tr>++ <tr>+ <td>applied_but_modified_files</td>+ <td><a href="#bytebase.v1.PreviewPlanResponse.DatabaseFiles">PreviewPlanResponse.DatabaseFiles</a></td>+ <td>repeated</td>+ <td><p>The applied but modified files of each database. </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.PreviewPlanResponse.DatabaseFiles">PreviewPlanResponse.DatabaseFiles</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</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>files</td>+ <td><a href="#string">string</a></td>+ <td>repeated</td>+ <td><p>Format: projects/{project}/releases/{release}/files/{file_id} </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.RunPlanChecksRequest">RunPlanChecksRequest</h3><p></p>@@ -24938,53 +25091,135 @@ Format: projects/{project} </p></td><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>+ <td><p>The plan to run plan checks.+Format: projects/{project}/plans/{plan} </p></td></tr>+ </tbody>+ </table>++++++ <h3 id="bytebase.v1.RunPlanChecksResponse">RunPlanChecksResponse</h3>+ <p></p>++++++ <h3 id="bytebase.v1.SearchPlansRequest">SearchPlansRequest</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>type</td>- <td><a href="#bytebase.v1.Webhook.Type">Webhook.Type</a></td>+ <td>parent</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>type is the type of the webhook. </p></td>+ <td><p>The parent, which owns this collection of plans.+Format: projects/{project}+Use "projects/-" to list all plans from all projects. </p></td></tr><tr>- <td>title</td>+ <td>page_size</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The maximum number of plans to return. The service may return fewer than+this value.+If unspecified, at most 10 plans 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>title is the title of the webhook. </p></td>+ <td><p>A page token, received from a previous `SearchPlans` call.+Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `SearchPlans` must match+the call that provided the page token. </p></td>+ </tr>++ <tr>+ <td>filter</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Filter is used to filter plans returned in the list. </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.SearchPlansResponse">SearchPlansResponse</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>plans</td>+ <td><a href="#bytebase.v1.Plan">Plan</a></td>+ <td>repeated</td>+ <td><p>The plans from the specified request. </p></td></tr><tr>- <td>url</td>+ <td>next_page_token</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>+ <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>+ </table>++++++ <h3 id="bytebase.v1.UpdatePlanRequest">UpdatePlanRequest</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>direct_message</td>- <td><a href="#bool">bool</a></td>+ <td>plan</td>+ <td><a href="#bytebase.v1.Plan">Plan</a></td><td></td>- <td><p>if direct_message is set, the notification is sent directly-to the persons and url will be ignored.-IM integration setting should be set for this function to work. </p></td>+ <td><p>The plan to update.++The plan's `name` field is used to identify the plan to update.+Format: projects/{project}/plans/{plan} </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 should 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_CREATE </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>@@ -24996,8 +25231,8 @@ It should not be empty, and should be a subset of the following:- <h3 id="bytebase.v1.Activity.Type">Activity.Type</h3>- <p></p>+ <h3 id="bytebase.v1.Plan.ChangeDatabaseConfig.Type">Plan.ChangeDatabaseConfig.Type</h3>+ <p>Type is the database change type.</p><table class="enum-table"><thead><tr><td>Name</td><td>Number</td><td>Description</td></tr>@@ -25011,179 +25246,41 @@ It should not be empty, and should be a subset of the following:</tr><tr>- <td>TYPE_NOTIFY_ISSUE_APPROVED</td>- <td>23</td>- <td><p>Notifications via webhooks.--TYPE_NOTIFY_ISSUE_APPROVED represents the issue approved notification.</p></td>- </tr>-- <tr>- <td>TYPE_NOTIFY_PIPELINE_ROLLOUT</td>- <td>24</td>- <td><p>TYPE_NOTIFY_PIPELINE_ROLLOUT represents the pipeline rollout notification.</p></td>- </tr>-- <tr>- <td>TYPE_ISSUE_CREATE</td>+ <td>BASELINE</td><td>1</td>- <td><p>Issue related activity types.--TYPE_ISSUE_CREATE represents creating an issue.</p></td>+ <td><p>Used for establishing schema baseline, this is used when+1. Onboard the database into Bytebase since Bytebase needs to know the current database schema.+2. Had schema drift and need to re-establish the baseline.</p></td></tr><tr>- <td>TYPE_ISSUE_COMMENT_CREATE</td>+ <td>MIGRATE</td><td>2</td>- <td><p>TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue.</p></td>+ <td><p>Used for DDL changes including CREATE DATABASE.</p></td></tr><tr>- <td>TYPE_ISSUE_FIELD_UPDATE</td>+ <td>MIGRATE_SDL</td><td>3</td>- <td><p>TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, etc.</p></td>+ <td><p>Used for schema changes via state-based schema migration including CREATE DATABASE.</p></td></tr><tr>- <td>TYPE_ISSUE_STATUS_UPDATE</td>+ <td>MIGRATE_GHOST</td><td>4</td>- <td><p>TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now.</p></td>- </tr>-- <tr>- <td>TYPE_ISSUE_APPROVAL_NOTIFY</td>- <td>21</td>- <td><p>TYPE_ISSUE_APPROVAL_NOTIFY is the type for notifying issue approval.</p></td>- </tr>-- <tr>- <td>TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE</td>- <td>5</td>- <td><p>TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now.</p></td>+ <td><p>Used for DDL changes using gh-ost.</p></td></tr><tr>- <td>TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE</td>+ <td>DATA</td><td>6</td>- <td><p>TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now.</p></td>- </tr>-- <tr>- <td>TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE</td>- <td>22</td>- <td><p>TYPE_ISSUE_PIPELINE_TASK_RUN_STATUS_UPDATE represents the pipeline task run status change, including PENDING, RUNNING, DONE, FAILED, CANCELED.</p></td>- </tr>-- <tr>- <td>TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE</td>- <td>8</td>- <td><p>TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement.</p></td>- </tr>-- <tr>- <td>TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE</td>- <td>9</td>- <td><p>TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time.</p></td>- </tr>-- <tr>- <td>TYPE_MEMBER_CREATE</td>- <td>10</td>- <td><p>Member related activity types.--TYPE_MEMBER_CREATE represents creating a members.</p></td>- </tr>-- <tr>- <td>TYPE_MEMBER_ROLE_UPDATE</td>- <td>11</td>- <td><p>TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER.</p></td>- </tr>-- <tr>- <td>TYPE_MEMBER_ACTIVATE</td>- <td>12</td>- <td><p>TYPE_MEMBER_ACTIVATE represents activating a deactivated member.</p></td>- </tr>-- <tr>- <td>TYPE_MEMBER_DEACTIVATE</td>- <td>13</td>- <td><p>TYPE_MEMBER_DEACTIVATE represents deactivating an active member.</p></td>- </tr>-- <tr>- <td>TYPE_PROJECT_REPOSITORY_PUSH</td>- <td>14</td>- <td><p>Project related activity types.--TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository.</p></td>- </tr>-- <tr>- <td>TYPE_PROJECT_DATABASE_TRANSFER</td>- <td>15</td>- <td><p>TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another.</p></td>- </tr>-- <tr>- <td>TYPE_PROJECT_MEMBER_CREATE</td>- <td>16</td>- <td><p>TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project.</p></td>- </tr>-- <tr>- <td>TYPE_PROJECT_MEMBER_DELETE</td>- <td>17</td>- <td><p>TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project.</p></td>- </tr>-- <tr>- <td>TYPE_SQL_EDITOR_QUERY</td>- <td>19</td>- <td><p>SQL Editor related activity types.-TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td>- </tr>-- </tbody>- </table>-- <h3 id="bytebase.v1.OperatorType">OperatorType</h3>- <p></p>- <table class="enum-table">- <thead>- <tr><td>Name</td><td>Number</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>OPERATOR_TYPE_UNSPECIFIED</td>- <td>0</td>- <td><p>The operator is not specified.</p></td>- </tr>-- <tr>- <td>OPERATOR_TYPE_IN</td>- <td>1</td>- <td><p>The operator is "In".</p></td>- </tr>-- <tr>- <td>OPERATOR_TYPE_EXISTS</td>- <td>2</td>- <td><p>The operator is "Exists".</p></td>- </tr>-- <tr>- <td>OPERATOR_TYPE_NOT_IN</td>- <td>3</td>- <td><p>The operator is "Not In".</p></td>+ <td><p>Used for DML change.</p></td></tr></tbody></table>- <h3 id="bytebase.v1.Webhook.Type">Webhook.Type</h3>+ <h3 id="bytebase.v1.PlanCheckRun.Result.Status">PlanCheckRun.Result.Status</h3><p></p><table class="enum-table"><thead>@@ -25192,63 +25289,33 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tbody><tr>- <td>TYPE_UNSPECIFIED</td>+ <td>STATUS_UNSPECIFIED</td><td>0</td><td><p></p></td></tr><tr>- <td>TYPE_SLACK</td>+ <td>ERROR</td><td>1</td><td><p></p></td></tr>- <tr>- <td>TYPE_DISCORD</td>- <td>2</td>- <td><p></p></td>- </tr>-- <tr>- <td>TYPE_TEAMS</td>- <td>3</td>- <td><p></p></td>- </tr>-- <tr>- <td>TYPE_DINGTALK</td>- <td>4</td>- <td><p></p></td>- </tr>-- <tr>- <td>TYPE_FEISHU</td>- <td>5</td>- <td><p></p></td>- </tr>-- <tr>- <td>TYPE_WECOM</td>- <td>6</td>- <td><p></p></td>- </tr>-- <tr>- <td>TYPE_CUSTOM</td>- <td>7</td>+ <tr>+ <td>WARNING</td>+ <td>2</td><td><p></p></td></tr><tr>- <td>TYPE_LARK</td>- <td>8</td>+ <td>SUCCESS</td>+ <td>3</td><td><p></p></td></tr></tbody></table>- <h3 id="bytebase.v1.Workflow">Workflow</h3>+ <h3 id="bytebase.v1.PlanCheckRun.Status">PlanCheckRun.Status</h3><p></p><table class="enum-table"><thead>@@ -25257,147 +25324,158 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tbody><tr>- <td>WORKFLOW_UNSPECIFIED</td>+ <td>STATUS_UNSPECIFIED</td><td>0</td><td><p></p></td></tr><tr>- <td>UI</td>+ <td>RUNNING</td><td>1</td><td><p></p></td></tr><tr>- <td>VCS</td>+ <td>DONE</td><td>2</td><td><p></p></td></tr>+ <tr>+ <td>FAILED</td>+ <td>3</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>CANCELED</td>+ <td>4</td>+ <td><p></p></td>+ </tr>+</tbody></table>----- <h3 id="bytebase.v1.ProjectService">ProjectService</h3>+ <h3 id="bytebase.v1.PlanCheckRun.Type">PlanCheckRun.Type</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>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr></thead><tbody><tr>- <td>GetProject</td>- <td><a href="#bytebase.v1.GetProjectRequest">GetProjectRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></td>+ <td>TYPE_UNSPECIFIED</td>+ <td>0</td><td><p></p></td></tr><tr>- <td>ListProjects</td>- <td><a href="#bytebase.v1.ListProjectsRequest">ListProjectsRequest</a></td>- <td><a href="#bytebase.v1.ListProjectsResponse">ListProjectsResponse</a></td>+ <td>DATABASE_STATEMENT_FAKE_ADVISE</td>+ <td>1</td><td><p></p></td></tr><tr>- <td>SearchProjects</td>- <td><a href="#bytebase.v1.SearchProjectsRequest">SearchProjectsRequest</a></td>- <td><a href="#bytebase.v1.SearchProjectsResponse">SearchProjectsResponse</a></td>+ <td>DATABASE_STATEMENT_ADVISE</td>+ <td>3</td><td><p></p></td></tr><tr>- <td>CreateProject</td>- <td><a href="#bytebase.v1.CreateProjectRequest">CreateProjectRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></td>+ <td>DATABASE_STATEMENT_SUMMARY_REPORT</td>+ <td>5</td><td><p></p></td></tr><tr>- <td>UpdateProject</td>- <td><a href="#bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></td>+ <td>DATABASE_CONNECT</td>+ <td>6</td><td><p></p></td></tr><tr>- <td>DeleteProject</td>- <td><a href="#bytebase.v1.DeleteProjectRequest">DeleteProjectRequest</a></td>- <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>+ <td>DATABASE_GHOST_SYNC</td>+ <td>7</td><td><p></p></td></tr>- <tr>- <td>UndeleteProject</td>- <td><a href="#bytebase.v1.UndeleteProjectRequest">UndeleteProjectRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></td>- <td><p></p></td>- </tr>+ </tbody>+ </table>++++++ <h3 id="bytebase.v1.PlanService">PlanService</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>GetIamPolicy</td>- <td><a href="#bytebase.v1.GetIamPolicyRequest">GetIamPolicyRequest</a></td>- <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></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>BatchGetIamPolicy</td>- <td><a href="#bytebase.v1.BatchGetIamPolicyRequest">BatchGetIamPolicyRequest</a></td>- <td><a href="#bytebase.v1.BatchGetIamPolicyResponse">BatchGetIamPolicyResponse</a></td>- <td><p>Deprecated.</p></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>SetIamPolicy</td>- <td><a href="#bytebase.v1.SetIamPolicyRequest">SetIamPolicyRequest</a></td>- <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>- <td><p></p></td>+ <td>SearchPlans</td>+ <td><a href="#bytebase.v1.SearchPlansRequest">SearchPlansRequest</a></td>+ <td><a href="#bytebase.v1.SearchPlansResponse">SearchPlansResponse</a></td>+ <td><p>Search for plans that the caller has the bb.plans.get permission on and also satisfy the specified filter & query.</p></td></tr><tr>- <td>GetDeploymentConfig</td>- <td><a href="#bytebase.v1.GetDeploymentConfigRequest">GetDeploymentConfigRequest</a></td>- <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></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>UpdateDeploymentConfig</td>- <td><a href="#bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</a></td>- <td><a href="#bytebase.v1.DeploymentConfig">DeploymentConfig</a></td>- <td><p></p></td>+ <td>UpdatePlan</td>+ <td><a href="#bytebase.v1.UpdatePlanRequest">UpdatePlanRequest</a></td>+ <td><a href="#bytebase.v1.Plan">Plan</a></td>+ <td><p>UpdatePlan updates the plan.+The plan creator and the user with bb.plans.update permission on the project can update the plan.</p></td></tr><tr>- <td>AddWebhook</td>- <td><a href="#bytebase.v1.AddWebhookRequest">AddWebhookRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></td>+ <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>UpdateWebhook</td>- <td><a href="#bytebase.v1.UpdateWebhookRequest">UpdateWebhookRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></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>RemoveWebhook</td>- <td><a href="#bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</a></td>- <td><a href="#bytebase.v1.Project">Project</a></td>+ <td>BatchCancelPlanCheckRuns</td>+ <td><a href="#bytebase.v1.BatchCancelPlanCheckRunsRequest">BatchCancelPlanCheckRunsRequest</a></td>+ <td><a href="#bytebase.v1.BatchCancelPlanCheckRunsResponse">BatchCancelPlanCheckRunsResponse</a></td><td><p></p></td></tr><tr>- <td>TestWebhook</td>- <td><a href="#bytebase.v1.TestWebhookRequest">TestWebhookRequest</a></td>- <td><a href="#bytebase.v1.TestWebhookResponse">TestWebhookResponse</a></td>+ <td>PreviewPlan</td>+ <td><a href="#bytebase.v1.PreviewPlanRequest">PreviewPlanRequest</a></td>+ <td><a href="#bytebase.v1.PreviewPlanResponse">PreviewPlanResponse</a></td><td><p></p></td></tr>@@ -25422,9 +25500,9 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>GetProject</td>+ <td>GetPlan</td><td>GET</td>- <td>/v1/{name=projects/*}</td>+ <td>/v1/{name=projects/*/plans/*}</td><td></td></tr>@@ -25432,9 +25510,9 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>ListProjects</td>+ <td>ListPlans</td><td>GET</td>- <td>/v1/projects</td>+ <td>/v1/{parent=projects/*}/plans</td><td></td></tr>@@ -25442,9 +25520,9 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>SearchProjects</td>+ <td>SearchPlans</td><td>POST</td>- <td>/v1/projects:search</td>+ <td>/v1/{parent=projects/*}/plans:search</td><td>*</td></tr>@@ -25452,79 +25530,29 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>CreateProject</td>+ <td>CreatePlan</td><td>POST</td>- <td>/v1/projects</td>- <td>project</td>+ <td>/v1/{parent=projects/*}/plans</td>+ <td>plan</td></tr><tr>- <td>UpdateProject</td>+ <td>UpdatePlan</td><td>PATCH</td>- <td>/v1/{project.name=projects/*}</td>- <td>project</td>- </tr>----- <tr>- <td>DeleteProject</td>- <td>DELETE</td>- <td>/v1/{name=projects/*}</td>- <td></td>- </tr>----- <tr>- <td>UndeleteProject</td>- <td>POST</td>- <td>/v1/{name=projects/*}:undelete</td>- <td>*</td>- </tr>----- <tr>- <td>GetIamPolicy</td>- <td>GET</td>- <td>/v1/{resource=projects/*}:getIamPolicy</td>- <td></td>- </tr>----- <tr>- <td>BatchGetIamPolicy</td>- <td>GET</td>- <td>/v1/{scope=*/*}/iamPolicies:batchGet</td>- <td></td>- </tr>----- <tr>- <td>SetIamPolicy</td>- <td>POST</td>- <td>/v1/{resource=projects/*}:setIamPolicy</td>- <td>*</td>+ <td>/v1/{plan.name=projects/*/plans/*}</td>+ <td>plan</td></tr><tr>- <td>GetDeploymentConfig</td>+ <td>ListPlanCheckRuns</td><td>GET</td>- <td>/v1/{name=projects/*/deploymentConfigs/*}</td>+ <td>/v1/{parent=projects/*/plans/*}/planCheckRuns</td><td></td></tr>@@ -25532,29 +25560,9 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>UpdateDeploymentConfig</td>- <td>PATCH</td>- <td>/v1/{deployment_config.name=projects/*/deploymentConfigs/*}</td>- <td>deployment_config</td>- </tr>----- <tr>- <td>AddWebhook</td>- <td>POST</td>- <td>/v1/{project=projects/*}:addWebhook</td>- <td>*</td>- </tr>----- <tr>- <td>UpdateWebhook</td>+ <td>RunPlanChecks</td><td>POST</td>- <td>/v1/{webhook.name=projects/*/webhooks/*}:updateWebhook</td>+ <td>/v1/{name=projects/*/plans/*}:runPlanChecks</td><td>*</td></tr>@@ -25562,9 +25570,9 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>RemoveWebhook</td>+ <td>BatchCancelPlanCheckRuns</td><td>POST</td>- <td>/v1/{webhook.name=projects/*/webhooks/*}:removeWebhook</td>+ <td>/v1/{parent=projects/*/plans/*}/planCheckRuns:batchCancel</td><td>*</td></tr>@@ -25572,9 +25580,9 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><tr>- <td>TestWebhook</td>+ <td>PreviewPlan</td><td>POST</td>- <td>/v1/{project=projects/*}:testWebhook</td>+ <td>/v1/{project=projects/*}:previewPlan</td><td>*</td></tr>diff --git a/proto/generated-go/store/plan.pb.go b/proto/generated-go/store/plan.pb.goindex 257f008af2..e9cc9bb9af 100644--- a/proto/generated-go/store/plan.pb.go+++ b/proto/generated-go/store/plan.pb.go@@ -800,12 +800,11 @@ func (x *PlanConfig_SpecReleaseSource) GetFile() string {}type PlanConfig_DeploymentSnapshot struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The snapshot of the project deployment config at the time of creation.- DeploymentConfig *DeploymentConfig `protobuf:"bytes,1,opt,name=deployment_config,json=deploymentConfig,proto3" json:"deployment_config,omitempty"`- DatabaseGroupSnapshots []*PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot `protobuf:"bytes,2,rep,name=database_group_snapshots,json=databaseGroupSnapshots,proto3" json:"database_group_snapshots,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ state protoimpl.MessageState `protogen:"open.v1"`+ DeploymentConfigSnapshot *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot `protobuf:"bytes,1,opt,name=deployment_config_snapshot,json=deploymentConfigSnapshot,proto3" json:"deployment_config_snapshot,omitempty"`+ DatabaseGroupSnapshots []*PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot `protobuf:"bytes,2,rep,name=database_group_snapshots,json=databaseGroupSnapshots,proto3" json:"database_group_snapshots,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *PlanConfig_DeploymentSnapshot) Reset() {@@ -838,9 +837,9 @@ func (*PlanConfig_DeploymentSnapshot) Descriptor() ([]byte, []int) {return file_store_plan_proto_rawDescGZIP(), []int{0, 8}}-func (x *PlanConfig_DeploymentSnapshot) GetDeploymentConfig() *DeploymentConfig {+func (x *PlanConfig_DeploymentSnapshot) GetDeploymentConfigSnapshot() *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot {if x != nil {- return x.DeploymentConfig+ return x.DeploymentConfigSnapshot}return nil}@@ -852,6 +851,67 @@ func (x *PlanConfig_DeploymentSnapshot) GetDatabaseGroupSnapshots() []*PlanConfireturn nil}+// The snapshot of the project deployment config at the time of creation.+type PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot struct {+ state protoimpl.MessageState `protogen:"open.v1"`+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`+ DeploymentConfig *DeploymentConfig `protobuf:"bytes,3,opt,name=deployment_config,json=deploymentConfig,proto3" json:"deployment_config,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache+}++func (x *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) Reset() {+ *x = PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot{}+ mi := &file_store_plan_proto_msgTypes[12]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) ProtoMessage() {}++func (x *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) ProtoReflect() protoreflect.Message {+ mi := &file_store_plan_proto_msgTypes[12]+ if x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot.ProtoReflect.Descriptor instead.+func (*PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) Descriptor() ([]byte, []int) {+ return file_store_plan_proto_rawDescGZIP(), []int{0, 8, 0}+}++func (x *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++func (x *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) GetTitle() string {+ if x != nil {+ return x.Title+ }+ return ""+}++func (x *PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot) GetDeploymentConfig() *DeploymentConfig {+ if x != nil {+ return x.DeploymentConfig+ }+ return nil+}+// The snapshot of the database group at the time of creation.type PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot struct {state protoimpl.MessageState `protogen:"open.v1"`@@ -865,7 +925,7 @@ type PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot struct {func (x *PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) Reset() {*x = PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot{}- mi := &file_store_plan_proto_msgTypes[12]+ mi := &file_store_plan_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -877,7 +937,7 @@ func (x *PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) String() string {func (*PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) ProtoMessage() {}func (x *PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) ProtoReflect() protoreflect.Message {- mi := &file_store_plan_proto_msgTypes[12]+ mi := &file_store_plan_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -890,7 +950,7 @@ func (x *PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) ProtoReflect() pro// Deprecated: Use PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot.ProtoReflect.Descriptor instead.func (*PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) Descriptor() ([]byte, []int) {- return file_store_plan_proto_rawDescGZIP(), []int{0, 8, 0}+ return file_store_plan_proto_rawDescGZIP(), []int{0, 8, 1}}func (x *PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot) GetDatabaseGroup() string {@@ -922,8 +982,8 @@ var file_store_plan_proto_rawDesc = []byte{0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f,0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63,- 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8,- 0x15, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a,+ 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6,+ 0x17, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a,0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c,0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73,@@ -1076,29 +1136,42 @@ var file_store_plan_proto_rawDesc = []byte{0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x1a, 0x27, 0x0a,0x11, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72,0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0xc0, 0x02, 0x0a, 0x12, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x4d, 0x0a,- 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,- 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x64, 0x65, 0x70, 0x6c,- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7d, 0x0a, 0x18,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73,- 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,- 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x44, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73,- 0x68, 0x6f, 0x74, 0x52, 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x1a, 0x5c, 0x0a, 0x15, 0x44,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70,- 0x73, 0x68, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e,- 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62,- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0x8e, 0x04, 0x0a, 0x12, 0x44, 0x65, 0x70, 0x6c, 0x6f,+ 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x84, 0x01,+ 0x0a, 0x1a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,+ 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,+ 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,+ 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x18, 0x64, 0x65, 0x70, 0x6c,+ 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70,+ 0x73, 0x68, 0x6f, 0x74, 0x12, 0x7d, 0x0a, 0x18, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73,+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66,+ 0x69, 0x67, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61,+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x16, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,+ 0x6f, 0x74, 0x73, 0x1a, 0x93, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,+ 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x11, 0x64, 0x65,+ 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,+ 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,+ 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x5c, 0x0a, 0x15, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,+ 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67,+ 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72,+ 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -1114,7 +1187,7 @@ func file_store_plan_proto_rawDescGZIP() []byte {}var file_store_plan_proto_enumTypes = make([]protoimpl.EnumInfo, 1)-var file_store_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 13)+var file_store_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 14)var file_store_plan_proto_goTypes = []any{(PlanConfig_ChangeDatabaseConfig_Type)(0), // 0: bytebase.store.PlanConfig.ChangeDatabaseConfig.Type(*PlanConfig)(nil), // 1: bytebase.store.PlanConfig@@ -1129,12 +1202,13 @@ var file_store_plan_proto_goTypes = []any{(*PlanConfig_DeploymentSnapshot)(nil), // 10: bytebase.store.PlanConfig.DeploymentSnapshotnil, // 11: bytebase.store.PlanConfig.CreateDatabaseConfig.LabelsEntrynil, // 12: bytebase.store.PlanConfig.ChangeDatabaseConfig.GhostFlagsEntry- (*PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot)(nil), // 13: bytebase.store.PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot- (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp- (*PreUpdateBackupDetail)(nil), // 15: bytebase.store.PreUpdateBackupDetail- (ExportFormat)(0), // 16: bytebase.store.ExportFormat- (VCSType)(0), // 17: bytebase.store.VCSType- (*DeploymentConfig)(nil), // 18: bytebase.store.DeploymentConfig+ (*PlanConfig_DeploymentSnapshot_DeploymentConfigSnapshot)(nil), // 13: bytebase.store.PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot+ (*PlanConfig_DeploymentSnapshot_DatabaseGroupSnapshot)(nil), // 14: bytebase.store.PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot+ (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp+ (*PreUpdateBackupDetail)(nil), // 16: bytebase.store.PreUpdateBackupDetail+ (ExportFormat)(0), // 17: bytebase.store.ExportFormat+ (VCSType)(0), // 18: bytebase.store.VCSType+ (*DeploymentConfig)(nil), // 19: bytebase.store.DeploymentConfig}var file_store_plan_proto_depIdxs = []int32{2, // 0: bytebase.store.PlanConfig.steps:type_name -> bytebase.store.PlanConfig.Step@@ -1142,7 +1216,7 @@ var file_store_plan_proto_depIdxs = []int32{8, // 2: bytebase.store.PlanConfig.release_source:type_name -> bytebase.store.PlanConfig.ReleaseSource10, // 3: bytebase.store.PlanConfig.deployment_snapshot:type_name -> bytebase.store.PlanConfig.DeploymentSnapshot3, // 4: bytebase.store.PlanConfig.Step.specs:type_name -> bytebase.store.PlanConfig.Spec- 14, // 5: bytebase.store.PlanConfig.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp+ 15, // 5: bytebase.store.PlanConfig.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp9, // 6: bytebase.store.PlanConfig.Spec.spec_release_source:type_name -> bytebase.store.PlanConfig.SpecReleaseSource4, // 7: bytebase.store.PlanConfig.Spec.create_database_config:type_name -> bytebase.store.PlanConfig.CreateDatabaseConfig5, // 8: bytebase.store.PlanConfig.Spec.change_database_config:type_name -> bytebase.store.PlanConfig.ChangeDatabaseConfig@@ -1150,16 +1224,17 @@ var file_store_plan_proto_depIdxs = []int32{11, // 10: bytebase.store.PlanConfig.CreateDatabaseConfig.labels:type_name -> bytebase.store.PlanConfig.CreateDatabaseConfig.LabelsEntry0, // 11: bytebase.store.PlanConfig.ChangeDatabaseConfig.type:type_name -> bytebase.store.PlanConfig.ChangeDatabaseConfig.Type12, // 12: bytebase.store.PlanConfig.ChangeDatabaseConfig.ghost_flags:type_name -> bytebase.store.PlanConfig.ChangeDatabaseConfig.GhostFlagsEntry- 15, // 13: bytebase.store.PlanConfig.ChangeDatabaseConfig.pre_update_backup_detail:type_name -> bytebase.store.PreUpdateBackupDetail- 16, // 14: bytebase.store.PlanConfig.ExportDataConfig.format:type_name -> bytebase.store.ExportFormat- 17, // 15: bytebase.store.PlanConfig.VCSSource.vcs_type:type_name -> bytebase.store.VCSType- 18, // 16: bytebase.store.PlanConfig.DeploymentSnapshot.deployment_config:type_name -> bytebase.store.DeploymentConfig- 13, // 17: bytebase.store.PlanConfig.DeploymentSnapshot.database_group_snapshots:type_name -> bytebase.store.PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot- 18, // [18:18] is the sub-list for method output_type- 18, // [18:18] is the sub-list for method input_type- 18, // [18:18] is the sub-list for extension type_name- 18, // [18:18] is the sub-list for extension extendee- 0, // [0:18] is the sub-list for field type_name+ 16, // 13: bytebase.store.PlanConfig.ChangeDatabaseConfig.pre_update_backup_detail:type_name -> bytebase.store.PreUpdateBackupDetail+ 17, // 14: bytebase.store.PlanConfig.ExportDataConfig.format:type_name -> bytebase.store.ExportFormat+ 18, // 15: bytebase.store.PlanConfig.VCSSource.vcs_type:type_name -> bytebase.store.VCSType+ 13, // 16: bytebase.store.PlanConfig.DeploymentSnapshot.deployment_config_snapshot:type_name -> bytebase.store.PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot+ 14, // 17: bytebase.store.PlanConfig.DeploymentSnapshot.database_group_snapshots:type_name -> bytebase.store.PlanConfig.DeploymentSnapshot.DatabaseGroupSnapshot+ 19, // 18: bytebase.store.PlanConfig.DeploymentSnapshot.DeploymentConfigSnapshot.deployment_config:type_name -> bytebase.store.DeploymentConfig+ 19, // [19:19] is the sub-list for method output_type+ 19, // [19:19] is the sub-list for method input_type+ 19, // [19:19] is the sub-list for extension type_name+ 19, // [19:19] is the sub-list for extension extendee+ 0, // [0:19] is the sub-list for field type_name}func init() { file_store_plan_proto_init() }@@ -1183,7 +1258,7 @@ func file_store_plan_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_store_plan_proto_rawDesc,NumEnums: 1,- NumMessages: 13,+ NumMessages: 14,NumExtensions: 0,NumServices: 0,},diff --git a/proto/generated-go/v1/plan_service.pb.go b/proto/generated-go/v1/plan_service.pb.goindex 711778565f..244a218aaa 100644--- a/proto/generated-go/v1/plan_service.pb.go+++ b/proto/generated-go/v1/plan_service.pb.go@@ -699,8 +699,11 @@ type Plan struct {// - ERRORPlanCheckRunStatusCount map[string]int32 `protobuf:"bytes,11,rep,name=plan_check_run_status_count,json=planCheckRunStatusCount,proto3" json:"plan_check_run_status_count,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`ReleaseSource *Plan_ReleaseSource `protobuf:"bytes,12,opt,name=release_source,json=releaseSource,proto3" json:"release_source,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ // The deployment config snapshot taken at the time of plan creation.+ // This is to ensure that we get consistent rollout for the plan.+ DeploymentConfigSnapshot *DeploymentConfig `protobuf:"bytes,13,opt,name=deployment_config_snapshot,json=deploymentConfigSnapshot,proto3" json:"deployment_config_snapshot,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *Plan) Reset() {@@ -810,6 +813,13 @@ func (x *Plan) GetReleaseSource() *Plan_ReleaseSource {return nil}+func (x *Plan) GetDeploymentConfigSnapshot() *DeploymentConfig {+ if x != nil {+ return x.DeploymentConfigSnapshot+ }+ return nil+}+type ListPlanCheckRunsRequest struct {state protoimpl.MessageState `protogen:"open.v1"`// The parent, which owns this collection of plan check runs.@@ -2381,488 +2391,496 @@ var file_v1_plan_service_proto_rawDesc = []byte{0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,0x0f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,0x1a, 0x19, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65,- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x0e, 0x47,- 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01,- 0x02, 0xfa, 0x41, 0x13, 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,- 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x85, 0x01,- 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 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, 0x64, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61,- 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x70, 0x6c,- 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70, 0x6c,- 0x61, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,- 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,- 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x12,- 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 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, 0x12, 0x16, 0x0a, 0x06,- 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69,- 0x6c, 0x74, 0x65, 0x72, 0x22, 0x66, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c,- 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x70,- 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70,- 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67,- 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e,- 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x77, 0x0a, 0x11,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x70,- 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x02, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xef, 0x15, 0x0a, 0x04,- 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75,- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x14,- 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,- 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,- 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18,- 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73,- 0x74, 0x65, 0x70, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x76, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x56, 0x43, 0x53, 0x53,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x76, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,- 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,- 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,- 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,- 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,- 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,- 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x72, 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63,- 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f,- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x50,- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,- 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x03, 0x52, 0x17, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x53,- 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0e, 0x72, 0x65,- 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x1a, 0x4a, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,- 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,- 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x76, 0x31, 0x2f,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x13, 0x0a, 0x11,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61,+ 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74,+ 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41,+ 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x12, 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,+ 0x64, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x26, 0x0a,+ 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,+ 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,+ 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,+ 0x01, 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, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x66,+ 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x26,+ 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,+ 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67,+ 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x77, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,+ 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01,+ 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,+ 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,+ 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,+ 0x6c, 0x61, 0x6e, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22,+ 0x83, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x70, 0x6c,+ 0x61, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,+ 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,+ 0x61, 0x73, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xd2, 0x16, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x12,+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,+ 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20,+ 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,+ 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c,- 0x61, 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x1a, 0x83,- 0x04, 0x0a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4e, 0x0a, 0x15, 0x65, 0x61, 0x72, 0x6c, 0x69,- 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,- 0x6d, 0x70, 0x52, 0x13, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f,- 0x77, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e,- 0x64, 0x73, 0x5f, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,- 0x09, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x4f, 0x6e, 0x53, 0x70, 0x65, 0x63,- 0x73, 0x12, 0x53, 0x0a, 0x13, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,- 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61,- 0x6e, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x52, 0x11, 0x73, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,- 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,- 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00,- 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,- 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x61, 0x6e, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x12, 0x3a,+ 0x0a, 0x0a, 0x76, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x56, 0x43, 0x53, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52,+ 0x09, 0x76, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,+ 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a,+ 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,+ 0x12, 0x72, 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72,+ 0x75, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,+ 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65,+ 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74,+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x17, 0x70, 0x6c, 0x61,+ 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43,+ 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f,+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e,+ 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x72,+ 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x1a,+ 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,+ 0x67, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b,+ 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,+ 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x18, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,+ 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x1a,+ 0x4a, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2c, 0x0a,+ 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e,+ 0x53, 0x70, 0x65, 0x63, 0x52, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x1a, 0x83, 0x04, 0x0a, 0x04,+ 0x53, 0x70, 0x65, 0x63, 0x12, 0x4e, 0x0a, 0x15, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74,+ 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,+ 0x13, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x5f,+ 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e,+ 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x4f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x53,+ 0x0a, 0x13, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x53,+ 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x52, 0x11, 0x73, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x14, 0x63,+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x12, 0x5e, 0x0a, 0x16, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x14, 0x63,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x61,+ 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c,+ 0x61, 0x6e, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x10, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74,+ 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,+ 0x67, 0x1a, 0x4a, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75,+ 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72,+ 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,+ 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xb2, 0x03,+ 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x74, 0x61,+ 0x72, 0x67, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x05, 0x74, 0x61, 0x62,+ 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f,+ 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52,+ 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x22, 0x0a,+ 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01,+ 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,+ 0x72, 0x12, 0x1a, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x26, 0x0a,+ 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01,+ 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f,+ 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,+ 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61,+ 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52,+ 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c,+ 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,+ 0x38, 0x01, 0x1a, 0x85, 0x05, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74,+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72,+ 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70,+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63,+ 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,+ 0x6e, 0x12, 0x57, 0x0a, 0x0b, 0x67, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73,+ 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00,- 0x52, 0x14, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,- 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61,- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x10, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,- 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x4a, 0x0a, 0x1c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,- 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45,- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,- 0x1a, 0xb2, 0x03, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x06, 0x74, 0x61, 0x72,- 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x74, 0x61, 0x62,- 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x05,- 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,- 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x01, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74,- 0x12, 0x22, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18,- 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x07, 0x63, 0x6c, 0x75,- 0x73, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72,- 0x12, 0x26, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18,- 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x0b, 0x65, 0x6e, 0x76,- 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,- 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61,- 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61,- 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47,+ 0x68, 0x6f, 0x73, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a,+ 0x67, 0x68, 0x6f, 0x73, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x7a, 0x0a, 0x18, 0x70, 0x72,+ 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f,+ 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f,+ 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x72, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61,+ 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72,+ 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65, 0x74,+ 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x47, 0x68, 0x6f, 0x73, 0x74, 0x46,+ 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x85, 0x05, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16,- 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x3f, 0x0a, 0x04,- 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a,- 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72,- 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x0b, 0x67, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x66, 0x6c,- 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61,- 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x2e, 0x47, 0x68, 0x6f, 0x73, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72,- 0x79, 0x52, 0x0a, 0x67, 0x68, 0x6f, 0x73, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x7a, 0x0a,- 0x18, 0x70, 0x72, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b,- 0x75, 0x70, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x3c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c,- 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x72, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x48, 0x00, 0x52,- 0x15, 0x70, 0x72, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,- 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x47, 0x68, 0x6f,- 0x73, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x33, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69,- 0x6c, 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, 0x22, 0x65, 0x0a,- 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,- 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42,- 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47,- 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54,- 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41,- 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41,- 0x54, 0x41, 0x10, 0x06, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69,- 0x6c, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x1a, 0xa1, 0x01,- 0x0a, 0x10, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68,- 0x65, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74,- 0x12, 0x31, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45,- 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72,- 0x6d, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,- 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,- 0x64, 0x1a, 0x8b, 0x01, 0x0a, 0x09, 0x56, 0x43, 0x53, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,- 0x2f, 0x0a, 0x08, 0x76, 0x63, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x56, 0x43, 0x53, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x76, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65,- 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,- 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e,- 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0e, 0x70, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x1a,- 0x44, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65,- 0x6c, 0x65, 0x61, 0x73, 0x65, 0x1a, 0x27, 0x0a, 0x11, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c,- 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69,- 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x37,- 0xea, 0x41, 0x34, 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,- 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73,- 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x7d, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xab, 0x01,- 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,- 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02,- 0xfa, 0x41, 0x13, 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,- 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b,- 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70,- 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61,- 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,- 0x0a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x19,- 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e,- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x70, 0x6c, 0x61,- 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x0d, 0x70,- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f,- 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54,- 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x46, 0x0a, 0x14, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43,- 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02,- 0xfa, 0x41, 0x13, 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,- 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15,- 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7d, 0x0a, 0x1f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61,- 0x6e, 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41,- 0x13, 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,- 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f,- 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18,- 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b,- 0x52, 0x75, 0x6e, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e,- 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd3, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x65,- 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,- 0x37, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,- 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65,- 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa,- 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d,- 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,- 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,- 0x73, 0x12, 0x2b, 0x0a, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x6f,- 0x66, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61,- 0x6c, 0x6c, 0x6f, 0x77, 0x4f, 0x75, 0x74, 0x4f, 0x66, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xc9,- 0x02, 0x0a, 0x13, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x5b, 0x0a,- 0x12, 0x6f, 0x75, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x69,- 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50,- 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x4f, 0x66,- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x6b, 0x0a, 0x1a, 0x61, 0x70,- 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69,- 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65,- 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x17,- 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x42, 0x75, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69,- 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x41, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 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, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xaf, 0x0b, 0x0a, 0x0c, 0x50,- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 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, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e,- 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,- 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20,- 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x53,- 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a,- 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74,- 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x06,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x72,- 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43,- 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07,- 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,- 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x41, 0x0a,- 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04,- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,- 0x1a, 0xc8, 0x06, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x73,- 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x79,+ 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x33, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x55, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 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, 0x22, 0x65, 0x0a, 0x04, 0x54, 0x79,+ 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,+ 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x41, 0x53, 0x45,+ 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54,+ 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x53,+ 0x44, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f,+ 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10,+ 0x06, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4a, 0x04,+ 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x1a, 0xa1, 0x01, 0x0a, 0x10, 0x45,+ 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,+ 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x31, 0x0a,+ 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f,+ 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,+ 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01,+ 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x88, 0x01,+ 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x8b,+ 0x01, 0x0a, 0x09, 0x56, 0x43, 0x53, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x08,+ 0x76, 0x63, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x43, 0x53,+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x76, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a,+ 0x0d, 0x76, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,+ 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x75,+ 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x1a, 0x44, 0x0a, 0x0d,+ 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a,+ 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19,+ 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,+ 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61,+ 0x73, 0x65, 0x1a, 0x27, 0x0a, 0x11, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73,+ 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x37, 0xea, 0x41, 0x34,+ 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,+ 0x6c, 0x61, 0x6e, 0x12, 0x1f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x70,+ 0x6c, 0x61, 0x6e, 0x7d, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xab, 0x01, 0x0a, 0x18, 0x4c,+ 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x13,+ 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,+ 0x6c, 0x61, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70,+ 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,+ 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65,+ 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61,+ 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x74, 0x65, 0x73,+ 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6c, 0x61,+ 0x74, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73,+ 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63,+ 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c,+ 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x6e,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,+ 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,+ 0x6e, 0x22, 0x46, 0x0a, 0x14, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,+ 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x13,+ 0x0a, 0x11, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,+ 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x75, 0x6e,+ 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x7d, 0x0a, 0x1f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65,+ 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x13, 0x0a, 0x11,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61,+ 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x6c, 0x61,+ 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03,+ 0x28, 0x09, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e,+ 0x73, 0x22, 0x22, 0x0a, 0x20, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,+ 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd3, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x07,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2,+ 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a,+ 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65,+ 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1e,+ 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42,+ 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x2b,+ 0x0a, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6f,+ 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f,+ 0x77, 0x4f, 0x75, 0x74, 0x4f, 0x66, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xc9, 0x02, 0x0a, 0x13,+ 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x5b, 0x0a, 0x12, 0x6f, 0x75,+ 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73,+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x4f, 0x66, 0x4f, 0x72, 0x64,+ 0x65, 0x72, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x6b, 0x0a, 0x1a, 0x61, 0x70, 0x70, 0x6c, 0x69,+ 0x65, 0x64, 0x5f, 0x62, 0x75, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f,+ 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x17, 0x61, 0x70, 0x70,+ 0x6c, 0x69, 0x65, 0x64, 0x42, 0x75, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x46,+ 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x41, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x46, 0x69, 0x6c, 0x65, 0x73, 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, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,+ 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xaf, 0x0b, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x6e,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 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, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65,+ 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,+ 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,+ 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74,+ 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61,+ 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67,+ 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75,+ 0x6c, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,+ 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73,+ 0x75, 0x6c, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x08, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,+ 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,+ 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0xc8, 0x06,+ 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,+ 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b,+ 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,+ 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74,+ 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12,+ 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,+ 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x61, 0x0a,+ 0x12, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x70,+ 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,+ 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x71, 0x6c, 0x53,+ 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x10,+ 0x73, 0x71, 0x6c, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,+ 0x12, 0x5e, 0x0a, 0x11, 0x73, 0x71, 0x6c, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x72,+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62, 0x79,0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68,- 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x74,- 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05,- 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74,- 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04,- 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,- 0x12, 0x61, 0x0a, 0x12, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x5f,- 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43,- 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53,- 0x71, 0x6c, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48,- 0x00, 0x52, 0x10, 0x73, 0x71, 0x6c, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70,- 0x6f, 0x72, 0x74, 0x12, 0x5e, 0x0a, 0x11, 0x73, 0x71, 0x6c, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65,- 0x77, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61,- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,- 0x2e, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,- 0x48, 0x00, 0x52, 0x0f, 0x73, 0x71, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x70,- 0x6f, 0x72, 0x74, 0x1a, 0xc0, 0x01, 0x0a, 0x10, 0x53, 0x71, 0x6c, 0x53, 0x75, 0x6d, 0x6d, 0x61,- 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f,- 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,- 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,- 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,- 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66,- 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0xe1, 0x01, 0x0a, 0x0f, 0x53, 0x71, 0x6c, 0x52, 0x65,- 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69,- 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16,- 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x12,- 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f,- 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69,- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,- 0x6e, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,- 0x12, 0x38, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,- 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x65,- 0x6e, 0x64, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x06, 0x53, 0x74,- 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55,- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,- 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49,- 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10,- 0x03, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xb5, 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, 0x22, 0x0a, 0x1e, 0x44, 0x41,+ 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x71,+ 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52,+ 0x0f, 0x73, 0x71, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,+ 0x1a, 0xc0, 0x01, 0x0a, 0x10, 0x53, 0x71, 0x6c, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52,+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x61,+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,+ 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,+ 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72,+ 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63,+ 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x73, 0x1a, 0xe1, 0x01, 0x0a, 0x0f, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63,+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x6c,+ 0x75, 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63,+ 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,+ 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d,+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a,+ 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x50,+ 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75,+ 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50,+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52,+ 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10,+ 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x42, 0x08,+ 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xb5, 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, 0x22, 0x0a, 0x1e, 0x44, 0x41, 0x54, 0x41, 0x42,+ 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x41,+ 0x4b, 0x45, 0x5f, 0x41, 0x44, 0x56, 0x49, 0x53, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x44,+ 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e,+ 0x54, 0x5f, 0x41, 0x44, 0x56, 0x49, 0x53, 0x45, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x41,0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54,- 0x5f, 0x46, 0x41, 0x4b, 0x45, 0x5f, 0x41, 0x44, 0x56, 0x49, 0x53, 0x45, 0x10, 0x01, 0x12, 0x1d,- 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,- 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x44, 0x56, 0x49, 0x53, 0x45, 0x10, 0x03, 0x12, 0x25, 0x0a,- 0x21, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d,- 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x4f,- 0x52, 0x54, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45,- 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41,- 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x4e,- 0x43, 0x10, 0x07, 0x22, 0x51, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a,- 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,- 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47,- 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06,- 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43,- 0x45, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x32, 0xd6, 0x0b, 0x0a,- 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x07,- 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x40, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x8a, 0xea, 0x30, 0x0c, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x74,- 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x09, 0x4c, 0x69,- 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x8a, 0xea, 0x30, 0x0d, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x6c, 0x69,- 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x0b,- 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,- 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,- 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c,- 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x0c, 0x62, 0x62, 0x2e,- 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,- 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x95, 0x01, 0x0a,- 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1e, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,- 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x54,- 0xda, 0x41, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x6c, 0x61, 0x6e, 0x8a, 0xea,- 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74,- 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a,- 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70,- 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,- 0x6c, 0x61, 0x6e, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x5e, 0xda, 0x41, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x2c,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x0f, 0x62,- 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea,- 0x30, 0x02, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x04, 0x70, 0x6c,- 0x61, 0x6e, 0x32, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x6e, 0x61,+ 0x5f, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x10,+ 0x05, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x4f,+ 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x42,+ 0x41, 0x53, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x07,+ 0x22, 0x51, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54,+ 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,+ 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,+ 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49,+ 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45,+ 0x44, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x32, 0xd6, 0x0b, 0x0a, 0x0b, 0x50, 0x6c,+ 0x61, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x07, 0x47, 0x65, 0x74,+ 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x40, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,+ 0x0c, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30,+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c,- 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50,- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50,- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,- 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0xda, 0x41, 0x06,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x15, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61,- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90,- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50,+ 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x43, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea,+ 0x30, 0x0d, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x43,- 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0xb1, 0x01, 0x0a, 0x0d, 0x52, 0x75, 0x6e,- 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e,- 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50,- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x22, 0x59, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62,- 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x72,- 0x75, 0x6e, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22,- 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72,- 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 0xe2, 0x01, 0x0a,- 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e,- 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e,- 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65,- 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,- 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x72, 0x75, 0x6e, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x3e, 0x3a, 0x01, 0x2a, 0x22, 0x39, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,+ 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x61,+ 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c, 0x61,+ 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x6c,+ 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0xda, 0x41, 0x06,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x0c, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61,+ 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29,+ 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61,+ 0x6e, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x95, 0x01, 0x0a, 0x0a, 0x43, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61,+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x54, 0xda, 0x41, 0x0b,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x6c, 0x61, 0x6e, 0x8a, 0xea, 0x30, 0x0f, 0x62,+ 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea,+ 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x04, 0x70, 0x6c,+ 0x61, 0x6e, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e,+ 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e,+ 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,+ 0x6c, 0x61, 0x6e, 0x22, 0x5e, 0xda, 0x41, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x2c, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70,+ 0x6c, 0x61, 0x6e, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x02, 0x98,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x32,+ 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73,+ 0x2f, 0x2a, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,+ 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x15, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68,+ 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70,0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,- 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65,- 0x6c, 0x12, 0x81, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61,- 0x6e, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 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, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65,- 0x77, 0x50, 0x6c, 0x61, 0x6e, 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,+ 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0xb1, 0x01, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61,+ 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65,+ 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x59,+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x6c,+ 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x72, 0x75, 0x6e, 0x90,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x50,+ 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 0xe2, 0x01, 0x0a, 0x18, 0x42, 0x61,+ 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65,+ 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,+ 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x50, 0x6c,+ 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x69, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea,+ 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75,+ 0x6e, 0x73, 0x2e, 0x72, 0x75, 0x6e, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e,+ 0x3a, 0x01, 0x2a, 0x22, 0x39, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75,+ 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x81,+ 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1f,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c, 0x61, 0x6e, 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, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6c,+ 0x61, 0x6e, 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 (@@ -2919,10 +2937,11 @@ var file_v1_plan_service_proto_goTypes = []any{(*PlanCheckRun_Result_SqlReviewReport)(nil), // 36: bytebase.v1.PlanCheckRun.Result.SqlReviewReport(*fieldmaskpb.FieldMask)(nil), // 37: google.protobuf.FieldMask(*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp- (ExportFormat)(0), // 39: bytebase.v1.ExportFormat- (VCSType)(0), // 40: bytebase.v1.VCSType- (*ChangedResources)(nil), // 41: bytebase.v1.ChangedResources- (*Position)(nil), // 42: bytebase.v1.Position+ (*DeploymentConfig)(nil), // 39: bytebase.v1.DeploymentConfig+ (ExportFormat)(0), // 40: bytebase.v1.ExportFormat+ (VCSType)(0), // 41: bytebase.v1.VCSType+ (*ChangedResources)(nil), // 42: bytebase.v1.ChangedResources+ (*Position)(nil), // 43: bytebase.v1.Position}var file_v1_plan_service_proto_depIdxs = []int32{11, // 0: bytebase.v1.ListPlansResponse.plans:type_name -> bytebase.v1.Plan@@ -2936,55 +2955,56 @@ var file_v1_plan_service_proto_depIdxs = []int32{38, // 8: bytebase.v1.Plan.update_time:type_name -> google.protobuf.Timestamp23, // 9: bytebase.v1.Plan.plan_check_run_status_count:type_name -> bytebase.v1.Plan.PlanCheckRunStatusCountEntry28, // 10: bytebase.v1.Plan.release_source:type_name -> bytebase.v1.Plan.ReleaseSource- 20, // 11: bytebase.v1.ListPlanCheckRunsResponse.plan_check_runs:type_name -> bytebase.v1.PlanCheckRun- 11, // 12: bytebase.v1.PreviewPlanResponse.plan:type_name -> bytebase.v1.Plan- 33, // 13: bytebase.v1.PreviewPlanResponse.out_of_order_files:type_name -> bytebase.v1.PreviewPlanResponse.DatabaseFiles- 33, // 14: bytebase.v1.PreviewPlanResponse.applied_but_modified_files:type_name -> bytebase.v1.PreviewPlanResponse.DatabaseFiles- 1, // 15: bytebase.v1.PlanCheckRun.type:type_name -> bytebase.v1.PlanCheckRun.Type- 2, // 16: bytebase.v1.PlanCheckRun.status:type_name -> bytebase.v1.PlanCheckRun.Status- 34, // 17: bytebase.v1.PlanCheckRun.results:type_name -> bytebase.v1.PlanCheckRun.Result- 38, // 18: bytebase.v1.PlanCheckRun.create_time:type_name -> google.protobuf.Timestamp- 22, // 19: bytebase.v1.Plan.Step.specs:type_name -> bytebase.v1.Plan.Spec- 38, // 20: bytebase.v1.Plan.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp- 29, // 21: bytebase.v1.Plan.Spec.spec_release_source:type_name -> bytebase.v1.Plan.SpecReleaseSource- 24, // 22: bytebase.v1.Plan.Spec.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig- 25, // 23: bytebase.v1.Plan.Spec.change_database_config:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig- 26, // 24: bytebase.v1.Plan.Spec.export_data_config:type_name -> bytebase.v1.Plan.ExportDataConfig- 30, // 25: bytebase.v1.Plan.CreateDatabaseConfig.labels:type_name -> bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry- 0, // 26: bytebase.v1.Plan.ChangeDatabaseConfig.type:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.Type- 31, // 27: bytebase.v1.Plan.ChangeDatabaseConfig.ghost_flags:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry- 32, // 28: bytebase.v1.Plan.ChangeDatabaseConfig.pre_update_backup_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail- 39, // 29: bytebase.v1.Plan.ExportDataConfig.format:type_name -> bytebase.v1.ExportFormat- 40, // 30: bytebase.v1.Plan.VCSSource.vcs_type:type_name -> bytebase.v1.VCSType- 3, // 31: bytebase.v1.PlanCheckRun.Result.status:type_name -> bytebase.v1.PlanCheckRun.Result.Status- 35, // 32: bytebase.v1.PlanCheckRun.Result.sql_summary_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlSummaryReport- 36, // 33: bytebase.v1.PlanCheckRun.Result.sql_review_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlReviewReport- 41, // 34: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport.changed_resources:type_name -> bytebase.v1.ChangedResources- 42, // 35: bytebase.v1.PlanCheckRun.Result.SqlReviewReport.start_position:type_name -> bytebase.v1.Position- 42, // 36: bytebase.v1.PlanCheckRun.Result.SqlReviewReport.end_position:type_name -> bytebase.v1.Position- 4, // 37: bytebase.v1.PlanService.GetPlan:input_type -> bytebase.v1.GetPlanRequest- 5, // 38: bytebase.v1.PlanService.ListPlans:input_type -> bytebase.v1.ListPlansRequest- 7, // 39: bytebase.v1.PlanService.SearchPlans:input_type -> bytebase.v1.SearchPlansRequest- 9, // 40: bytebase.v1.PlanService.CreatePlan:input_type -> bytebase.v1.CreatePlanRequest- 10, // 41: bytebase.v1.PlanService.UpdatePlan:input_type -> bytebase.v1.UpdatePlanRequest- 12, // 42: bytebase.v1.PlanService.ListPlanCheckRuns:input_type -> bytebase.v1.ListPlanCheckRunsRequest- 14, // 43: bytebase.v1.PlanService.RunPlanChecks:input_type -> bytebase.v1.RunPlanChecksRequest- 16, // 44: bytebase.v1.PlanService.BatchCancelPlanCheckRuns:input_type -> bytebase.v1.BatchCancelPlanCheckRunsRequest- 18, // 45: bytebase.v1.PlanService.PreviewPlan:input_type -> bytebase.v1.PreviewPlanRequest- 11, // 46: bytebase.v1.PlanService.GetPlan:output_type -> bytebase.v1.Plan- 6, // 47: bytebase.v1.PlanService.ListPlans:output_type -> bytebase.v1.ListPlansResponse- 8, // 48: bytebase.v1.PlanService.SearchPlans:output_type -> bytebase.v1.SearchPlansResponse- 11, // 49: bytebase.v1.PlanService.CreatePlan:output_type -> bytebase.v1.Plan- 11, // 50: bytebase.v1.PlanService.UpdatePlan:output_type -> bytebase.v1.Plan- 13, // 51: bytebase.v1.PlanService.ListPlanCheckRuns:output_type -> bytebase.v1.ListPlanCheckRunsResponse- 15, // 52: bytebase.v1.PlanService.RunPlanChecks:output_type -> bytebase.v1.RunPlanChecksResponse- 17, // 53: bytebase.v1.PlanService.BatchCancelPlanCheckRuns:output_type -> bytebase.v1.BatchCancelPlanCheckRunsResponse- 19, // 54: bytebase.v1.PlanService.PreviewPlan:output_type -> bytebase.v1.PreviewPlanResponse- 46, // [46:55] is the sub-list for method output_type- 37, // [37:46] is the sub-list for method input_type- 37, // [37:37] is the sub-list for extension type_name- 37, // [37:37] is the sub-list for extension extendee- 0, // [0:37] is the sub-list for field type_name+ 39, // 11: bytebase.v1.Plan.deployment_config_snapshot:type_name -> bytebase.v1.DeploymentConfig+ 20, // 12: bytebase.v1.ListPlanCheckRunsResponse.plan_check_runs:type_name -> bytebase.v1.PlanCheckRun+ 11, // 13: bytebase.v1.PreviewPlanResponse.plan:type_name -> bytebase.v1.Plan+ 33, // 14: bytebase.v1.PreviewPlanResponse.out_of_order_files:type_name -> bytebase.v1.PreviewPlanResponse.DatabaseFiles+ 33, // 15: bytebase.v1.PreviewPlanResponse.applied_but_modified_files:type_name -> bytebase.v1.PreviewPlanResponse.DatabaseFiles+ 1, // 16: bytebase.v1.PlanCheckRun.type:type_name -> bytebase.v1.PlanCheckRun.Type+ 2, // 17: bytebase.v1.PlanCheckRun.status:type_name -> bytebase.v1.PlanCheckRun.Status+ 34, // 18: bytebase.v1.PlanCheckRun.results:type_name -> bytebase.v1.PlanCheckRun.Result+ 38, // 19: bytebase.v1.PlanCheckRun.create_time:type_name -> google.protobuf.Timestamp+ 22, // 20: bytebase.v1.Plan.Step.specs:type_name -> bytebase.v1.Plan.Spec+ 38, // 21: bytebase.v1.Plan.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp+ 29, // 22: bytebase.v1.Plan.Spec.spec_release_source:type_name -> bytebase.v1.Plan.SpecReleaseSource+ 24, // 23: bytebase.v1.Plan.Spec.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig+ 25, // 24: bytebase.v1.Plan.Spec.change_database_config:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig+ 26, // 25: bytebase.v1.Plan.Spec.export_data_config:type_name -> bytebase.v1.Plan.ExportDataConfig+ 30, // 26: bytebase.v1.Plan.CreateDatabaseConfig.labels:type_name -> bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry+ 0, // 27: bytebase.v1.Plan.ChangeDatabaseConfig.type:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.Type+ 31, // 28: bytebase.v1.Plan.ChangeDatabaseConfig.ghost_flags:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry+ 32, // 29: bytebase.v1.Plan.ChangeDatabaseConfig.pre_update_backup_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail+ 40, // 30: bytebase.v1.Plan.ExportDataConfig.format:type_name -> bytebase.v1.ExportFormat+ 41, // 31: bytebase.v1.Plan.VCSSource.vcs_type:type_name -> bytebase.v1.VCSType+ 3, // 32: bytebase.v1.PlanCheckRun.Result.status:type_name -> bytebase.v1.PlanCheckRun.Result.Status+ 35, // 33: bytebase.v1.PlanCheckRun.Result.sql_summary_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlSummaryReport+ 36, // 34: bytebase.v1.PlanCheckRun.Result.sql_review_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlReviewReport+ 42, // 35: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport.changed_resources:type_name -> bytebase.v1.ChangedResources+ 43, // 36: bytebase.v1.PlanCheckRun.Result.SqlReviewReport.start_position:type_name -> bytebase.v1.Position+ 43, // 37: bytebase.v1.PlanCheckRun.Result.SqlReviewReport.end_position:type_name -> bytebase.v1.Position+ 4, // 38: bytebase.v1.PlanService.GetPlan:input_type -> bytebase.v1.GetPlanRequest+ 5, // 39: bytebase.v1.PlanService.ListPlans:input_type -> bytebase.v1.ListPlansRequest+ 7, // 40: bytebase.v1.PlanService.SearchPlans:input_type -> bytebase.v1.SearchPlansRequest+ 9, // 41: bytebase.v1.PlanService.CreatePlan:input_type -> bytebase.v1.CreatePlanRequest+ 10, // 42: bytebase.v1.PlanService.UpdatePlan:input_type -> bytebase.v1.UpdatePlanRequest+ 12, // 43: bytebase.v1.PlanService.ListPlanCheckRuns:input_type -> bytebase.v1.ListPlanCheckRunsRequest+ 14, // 44: bytebase.v1.PlanService.RunPlanChecks:input_type -> bytebase.v1.RunPlanChecksRequest+ 16, // 45: bytebase.v1.PlanService.BatchCancelPlanCheckRuns:input_type -> bytebase.v1.BatchCancelPlanCheckRunsRequest+ 18, // 46: bytebase.v1.PlanService.PreviewPlan:input_type -> bytebase.v1.PreviewPlanRequest+ 11, // 47: bytebase.v1.PlanService.GetPlan:output_type -> bytebase.v1.Plan+ 6, // 48: bytebase.v1.PlanService.ListPlans:output_type -> bytebase.v1.ListPlansResponse+ 8, // 49: bytebase.v1.PlanService.SearchPlans:output_type -> bytebase.v1.SearchPlansResponse+ 11, // 50: bytebase.v1.PlanService.CreatePlan:output_type -> bytebase.v1.Plan+ 11, // 51: bytebase.v1.PlanService.UpdatePlan:output_type -> bytebase.v1.Plan+ 13, // 52: bytebase.v1.PlanService.ListPlanCheckRuns:output_type -> bytebase.v1.ListPlanCheckRunsResponse+ 15, // 53: bytebase.v1.PlanService.RunPlanChecks:output_type -> bytebase.v1.RunPlanChecksResponse+ 17, // 54: bytebase.v1.PlanService.BatchCancelPlanCheckRuns:output_type -> bytebase.v1.BatchCancelPlanCheckRunsResponse+ 19, // 55: bytebase.v1.PlanService.PreviewPlan:output_type -> bytebase.v1.PreviewPlanResponse+ 47, // [47:56] is the sub-list for method output_type+ 38, // [38:47] is the sub-list for method input_type+ 38, // [38:38] is the sub-list for extension type_name+ 38, // [38:38] is the sub-list for extension extendee+ 0, // [0:38] is the sub-list for field type_name}func init() { file_v1_plan_service_proto_init() }@@ -2995,6 +3015,7 @@ func file_v1_plan_service_proto_init() {file_v1_annotation_proto_init()file_v1_common_proto_init()file_v1_database_service_proto_init()+ file_v1_project_service_proto_init()file_v1_plan_service_proto_msgTypes[18].OneofWrappers = []any{(*Plan_Spec_CreateDatabaseConfig)(nil),(*Plan_Spec_ChangeDatabaseConfig)(nil),diff --git a/proto/store/plan.proto b/proto/store/plan.protoindex 4a5c18b7f0..14a7a456c0 100644--- a/proto/store/plan.proto+++ b/proto/store/plan.proto@@ -145,10 +145,16 @@ message PlanConfig {}message DeploymentSnapshot {- // The snapshot of the project deployment config at the time of creation.- DeploymentConfig deployment_config = 1;+ DeploymentConfigSnapshot deployment_config_snapshot = 1;repeated DatabaseGroupSnapshot database_group_snapshots = 2;+ // The snapshot of the project deployment config at the time of creation.+ message DeploymentConfigSnapshot {+ string name = 1;+ string title = 2;+ DeploymentConfig deployment_config = 3;+ }+// The snapshot of the database group at the time of creation.message DatabaseGroupSnapshot {// Format: projects/{project}/databaseGroups/{databaseGroup}.diff --git a/proto/v1/plan_service.proto b/proto/v1/plan_service.protoindex 0fe77462c2..77dc310297 100644--- a/proto/v1/plan_service.proto+++ b/proto/v1/plan_service.proto@@ -11,6 +11,7 @@ import "google/protobuf/timestamp.proto";import "v1/annotation.proto";import "v1/common.proto";import "v1/database_service.proto";+import "v1/project_service.proto";option go_package = "generated-go/v1";@@ -257,6 +258,10 @@ message Plan {ReleaseSource release_source = 12;+ // The deployment config snapshot taken at the time of plan creation.+ // This is to ensure that we get consistent rollout for the plan.+ DeploymentConfig deployment_config_snapshot = 13 [(google.api.field_behavior) = OUTPUT_ONLY];+message CreateDatabaseConfig {// The resource name of the instance on which the database is created.// Format: instances/{instance}