Skip to content

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

feat: plan check run proto in rollout service (#7176)

p0ny42b1a3278d84
diff --git a/frontend/src/types/proto/store/plan_check_run.ts b/frontend/src/types/proto/store/plan_check_run.ts
index 334504dcfc..999b54cdf0 100644
--- a/frontend/src/types/proto/store/plan_check_run.ts
+++ b/frontend/src/types/proto/store/plan_check_run.ts
@@ -11,27 +11,19 @@ export interface PlanCheckRunConfig {
export interface PlanCheckRunResult {
results: PlanCheckRunResult_Result[];
+ error: string;
}
export interface PlanCheckRunResult_Result {
- success?:
- | PlanCheckRunResultSuccess
- | undefined;
- /** Failure if the PlanCheckRun itself failed to run. */
- failure?: PlanCheckRunResultFailure | undefined;
-}
-
-export interface PlanCheckRunResultSuccess {
- status: PlanCheckRunResultSuccess_Status;
+ status: PlanCheckRunResult_Result_Status;
title: string;
content: string;
- code?: PlanCheckRunResultSuccess_Code | undefined;
- statementTypeReport?: PlanCheckRunResultSuccess_StatementTypeReport | undefined;
- affectedRowsReport?: PlanCheckRunResultSuccess_AffectedRowsReport | undefined;
- sqlReviewReport?: PlanCheckRunResultSuccess_SqlReviewReport | undefined;
+ code: number;
+ sqlSummaryReport?: PlanCheckRunResult_Result_SqlSummaryReport | undefined;
+ sqlReviewReport?: PlanCheckRunResult_Result_SqlReviewReport | undefined;
}
-export enum PlanCheckRunResultSuccess_Status {
+export enum PlanCheckRunResult_Result_Status {
STATUS_UNSPECIFIED = 0,
ERROR = 1,
WARNING = 2,
@@ -39,107 +31,53 @@ export enum PlanCheckRunResultSuccess_Status {
UNRECOGNIZED = -1,
}
-export function planCheckRunResultSuccess_StatusFromJSON(object: any): PlanCheckRunResultSuccess_Status {
+export function planCheckRunResult_Result_StatusFromJSON(object: any): PlanCheckRunResult_Result_Status {
switch (object) {
case 0:
case "STATUS_UNSPECIFIED":
- return PlanCheckRunResultSuccess_Status.STATUS_UNSPECIFIED;
+ return PlanCheckRunResult_Result_Status.STATUS_UNSPECIFIED;
case 1:
case "ERROR":
- return PlanCheckRunResultSuccess_Status.ERROR;
+ return PlanCheckRunResult_Result_Status.ERROR;
case 2:
case "WARNING":
- return PlanCheckRunResultSuccess_Status.WARNING;
+ return PlanCheckRunResult_Result_Status.WARNING;
case 3:
case "SUCCESS":
- return PlanCheckRunResultSuccess_Status.SUCCESS;
+ return PlanCheckRunResult_Result_Status.SUCCESS;
case -1:
case "UNRECOGNIZED":
default:
- return PlanCheckRunResultSuccess_Status.UNRECOGNIZED;
+ return PlanCheckRunResult_Result_Status.UNRECOGNIZED;
}
}
-export function planCheckRunResultSuccess_StatusToJSON(object: PlanCheckRunResultSuccess_Status): string {
+export function planCheckRunResult_Result_StatusToJSON(object: PlanCheckRunResult_Result_Status): string {
switch (object) {
- case PlanCheckRunResultSuccess_Status.STATUS_UNSPECIFIED:
+ case PlanCheckRunResult_Result_Status.STATUS_UNSPECIFIED:
return "STATUS_UNSPECIFIED";
- case PlanCheckRunResultSuccess_Status.ERROR:
+ case PlanCheckRunResult_Result_Status.ERROR:
return "ERROR";
- case PlanCheckRunResultSuccess_Status.WARNING:
+ case PlanCheckRunResult_Result_Status.WARNING:
return "WARNING";
- case PlanCheckRunResultSuccess_Status.SUCCESS:
+ case PlanCheckRunResult_Result_Status.SUCCESS:
return "SUCCESS";
- case PlanCheckRunResultSuccess_Status.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export interface PlanCheckRunResultSuccess_Code {
- code: number;
- namespace: PlanCheckRunResultSuccess_Code_Namespace;
-}
-
-export enum PlanCheckRunResultSuccess_Code_Namespace {
- NAMESPACE_UNSPECIFIED = 0,
- BYTEBASE = 1,
- ADVISOR = 2,
- UNRECOGNIZED = -1,
-}
-
-export function planCheckRunResultSuccess_Code_NamespaceFromJSON(
- object: any,
-): PlanCheckRunResultSuccess_Code_Namespace {
- switch (object) {
- case 0:
- case "NAMESPACE_UNSPECIFIED":
- return PlanCheckRunResultSuccess_Code_Namespace.NAMESPACE_UNSPECIFIED;
- case 1:
- case "BYTEBASE":
- return PlanCheckRunResultSuccess_Code_Namespace.BYTEBASE;
- case 2:
- case "ADVISOR":
- return PlanCheckRunResultSuccess_Code_Namespace.ADVISOR;
- case -1:
- case "UNRECOGNIZED":
- default:
- return PlanCheckRunResultSuccess_Code_Namespace.UNRECOGNIZED;
- }
-}
-
-export function planCheckRunResultSuccess_Code_NamespaceToJSON(
- object: PlanCheckRunResultSuccess_Code_Namespace,
-): string {
- switch (object) {
- case PlanCheckRunResultSuccess_Code_Namespace.NAMESPACE_UNSPECIFIED:
- return "NAMESPACE_UNSPECIFIED";
- case PlanCheckRunResultSuccess_Code_Namespace.BYTEBASE:
- return "BYTEBASE";
- case PlanCheckRunResultSuccess_Code_Namespace.ADVISOR:
- return "ADVISOR";
- case PlanCheckRunResultSuccess_Code_Namespace.UNRECOGNIZED:
+ case PlanCheckRunResult_Result_Status.UNRECOGNIZED:
default:
return "UNRECOGNIZED";
}
}
-export interface PlanCheckRunResultSuccess_StatementTypeReport {
+export interface PlanCheckRunResult_Result_SqlSummaryReport {
statementType: string;
-}
-
-export interface PlanCheckRunResultSuccess_AffectedRowsReport {
affectedRows: number;
}
-export interface PlanCheckRunResultSuccess_SqlReviewReport {
+export interface PlanCheckRunResult_Result_SqlReviewReport {
line: number;
detail: string;
-}
-
-export interface PlanCheckRunResultFailure {
- title: string;
- content: string;
+ /** Code from sql review. */
+ code: number;
}
function createBasePlanCheckRunConfig(): PlanCheckRunConfig {
@@ -214,7 +152,7 @@ export const PlanCheckRunConfig = {
};
function createBasePlanCheckRunResult(): PlanCheckRunResult {
- return { results: [] };
+ return { results: [], error: "" };
}
export const PlanCheckRunResult = {
@@ -222,6 +160,9 @@ export const PlanCheckRunResult = {
for (const v of message.results) {
PlanCheckRunResult_Result.encode(v!, writer.uint32(10).fork()).ldelim();
}
+ if (message.error !== "") {
+ writer.uint32(18).string(message.error);
+ }
return writer;
},
@@ -239,6 +180,13 @@ export const PlanCheckRunResult = {
message.results.push(PlanCheckRunResult_Result.decode(reader, reader.uint32()));
continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.error = reader.string();
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -253,6 +201,7 @@ export const PlanCheckRunResult = {
results: Array.isArray(object?.results)
? object.results.map((e: any) => PlanCheckRunResult_Result.fromJSON(e))
: [],
+ error: isSet(object.error) ? String(object.error) : "",
};
},
@@ -263,6 +212,7 @@ export const PlanCheckRunResult = {
} else {
obj.results = [];
}
+ message.error !== undefined && (obj.error = message.error);
return obj;
},
@@ -273,101 +223,17 @@ export const PlanCheckRunResult = {
fromPartial(object: DeepPartial<PlanCheckRunResult>): PlanCheckRunResult {
const message = createBasePlanCheckRunResult();
message.results = object.results?.map((e) => PlanCheckRunResult_Result.fromPartial(e)) || [];
+ message.error = object.error ?? "";
return message;
},
};
function createBasePlanCheckRunResult_Result(): PlanCheckRunResult_Result {
- return { success: undefined, failure: undefined };
+ return { status: 0, title: "", content: "", code: 0, sqlSummaryReport: undefined, sqlReviewReport: undefined };
}
export const PlanCheckRunResult_Result = {
encode(message: PlanCheckRunResult_Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.success !== undefined) {
- PlanCheckRunResultSuccess.encode(message.success, writer.uint32(10).fork()).ldelim();
- }
- if (message.failure !== undefined) {
- PlanCheckRunResultFailure.encode(message.failure, writer.uint32(18).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResult_Result {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResult_Result();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.success = PlanCheckRunResultSuccess.decode(reader, reader.uint32());
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.failure = PlanCheckRunResultFailure.decode(reader, reader.uint32());
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): PlanCheckRunResult_Result {
- return {
- success: isSet(object.success) ? PlanCheckRunResultSuccess.fromJSON(object.success) : undefined,
- failure: isSet(object.failure) ? PlanCheckRunResultFailure.fromJSON(object.failure) : undefined,
- };
- },
-
- toJSON(message: PlanCheckRunResult_Result): unknown {
- const obj: any = {};
- message.success !== undefined &&
- (obj.success = message.success ? PlanCheckRunResultSuccess.toJSON(message.success) : undefined);
- message.failure !== undefined &&
- (obj.failure = message.failure ? PlanCheckRunResultFailure.toJSON(message.failure) : undefined);
- return obj;
- },
-
- create(base?: DeepPartial<PlanCheckRunResult_Result>): PlanCheckRunResult_Result {
- return PlanCheckRunResult_Result.fromPartial(base ?? {});
- },
-
- fromPartial(object: DeepPartial<PlanCheckRunResult_Result>): PlanCheckRunResult_Result {
- const message = createBasePlanCheckRunResult_Result();
- message.success = (object.success !== undefined && object.success !== null)
- ? PlanCheckRunResultSuccess.fromPartial(object.success)
- : undefined;
- message.failure = (object.failure !== undefined && object.failure !== null)
- ? PlanCheckRunResultFailure.fromPartial(object.failure)
- : undefined;
- return message;
- },
-};
-
-function createBasePlanCheckRunResultSuccess(): PlanCheckRunResultSuccess {
- return {
- status: 0,
- title: "",
- content: "",
- code: undefined,
- statementTypeReport: undefined,
- affectedRowsReport: undefined,
- sqlReviewReport: undefined,
- };
-}
-
-export const PlanCheckRunResultSuccess = {
- encode(message: PlanCheckRunResultSuccess, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.status !== 0) {
writer.uint32(8).int32(message.status);
}
@@ -377,27 +243,22 @@ export const PlanCheckRunResultSuccess = {
if (message.content !== "") {
writer.uint32(26).string(message.content);
}
- if (message.code !== undefined) {
- PlanCheckRunResultSuccess_Code.encode(message.code, writer.uint32(34).fork()).ldelim();
- }
- if (message.statementTypeReport !== undefined) {
- PlanCheckRunResultSuccess_StatementTypeReport.encode(message.statementTypeReport, writer.uint32(42).fork())
- .ldelim();
+ if (message.code !== 0) {
+ writer.uint32(32).int64(message.code);
}
- if (message.affectedRowsReport !== undefined) {
- PlanCheckRunResultSuccess_AffectedRowsReport.encode(message.affectedRowsReport, writer.uint32(50).fork())
- .ldelim();
+ if (message.sqlSummaryReport !== undefined) {
+ PlanCheckRunResult_Result_SqlSummaryReport.encode(message.sqlSummaryReport, writer.uint32(42).fork()).ldelim();
}
if (message.sqlReviewReport !== undefined) {
- PlanCheckRunResultSuccess_SqlReviewReport.encode(message.sqlReviewReport, writer.uint32(58).fork()).ldelim();
+ PlanCheckRunResult_Result_SqlReviewReport.encode(message.sqlReviewReport, writer.uint32(50).fork()).ldelim();
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResultSuccess {
+ decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResult_Result {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResultSuccess();
+ const message = createBasePlanCheckRunResult_Result();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -423,32 +284,25 @@ export const PlanCheckRunResultSuccess = {
message.content = reader.string();
continue;
case 4:
- if (tag !== 34) {
+ if (tag !== 32) {
break;
}
- message.code = PlanCheckRunResultSuccess_Code.decode(reader, reader.uint32());
+ message.code = longToNumber(reader.int64() as Long);
continue;
case 5:
if (tag !== 42) {
break;
}
- message.statementTypeReport = PlanCheckRunResultSuccess_StatementTypeReport.decode(reader, reader.uint32());
+ message.sqlSummaryReport = PlanCheckRunResult_Result_SqlSummaryReport.decode(reader, reader.uint32());
continue;
case 6:
if (tag !== 50) {
break;
}
- message.affectedRowsReport = PlanCheckRunResultSuccess_AffectedRowsReport.decode(reader, reader.uint32());
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.sqlReviewReport = PlanCheckRunResultSuccess_SqlReviewReport.decode(reader, reader.uint32());
+ message.sqlReviewReport = PlanCheckRunResult_Result_SqlReviewReport.decode(reader, reader.uint32());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -459,103 +313,91 @@ export const PlanCheckRunResultSuccess = {
return message;
},
- fromJSON(object: any): PlanCheckRunResultSuccess {
+ fromJSON(object: any): PlanCheckRunResult_Result {
return {
- status: isSet(object.status) ? planCheckRunResultSuccess_StatusFromJSON(object.status) : 0,
+ status: isSet(object.status) ? planCheckRunResult_Result_StatusFromJSON(object.status) : 0,
title: isSet(object.title) ? String(object.title) : "",
content: isSet(object.content) ? String(object.content) : "",
- code: isSet(object.code) ? PlanCheckRunResultSuccess_Code.fromJSON(object.code) : undefined,
- statementTypeReport: isSet(object.statementTypeReport)
- ? PlanCheckRunResultSuccess_StatementTypeReport.fromJSON(object.statementTypeReport)
- : undefined,
- affectedRowsReport: isSet(object.affectedRowsReport)
- ? PlanCheckRunResultSuccess_AffectedRowsReport.fromJSON(object.affectedRowsReport)
+ code: isSet(object.code) ? Number(object.code) : 0,
+ sqlSummaryReport: isSet(object.sqlSummaryReport)
+ ? PlanCheckRunResult_Result_SqlSummaryReport.fromJSON(object.sqlSummaryReport)
: undefined,
sqlReviewReport: isSet(object.sqlReviewReport)
- ? PlanCheckRunResultSuccess_SqlReviewReport.fromJSON(object.sqlReviewReport)
+ ? PlanCheckRunResult_Result_SqlReviewReport.fromJSON(object.sqlReviewReport)
: undefined,
};
},
- toJSON(message: PlanCheckRunResultSuccess): unknown {
+ toJSON(message: PlanCheckRunResult_Result): unknown {
const obj: any = {};
- message.status !== undefined && (obj.status = planCheckRunResultSuccess_StatusToJSON(message.status));
+ message.status !== undefined && (obj.status = planCheckRunResult_Result_StatusToJSON(message.status));
message.title !== undefined && (obj.title = message.title);
message.content !== undefined && (obj.content = message.content);
- message.code !== undefined &&
- (obj.code = message.code ? PlanCheckRunResultSuccess_Code.toJSON(message.code) : undefined);
- message.statementTypeReport !== undefined && (obj.statementTypeReport = message.statementTypeReport
- ? PlanCheckRunResultSuccess_StatementTypeReport.toJSON(message.statementTypeReport)
- : undefined);
- message.affectedRowsReport !== undefined && (obj.affectedRowsReport = message.affectedRowsReport
- ? PlanCheckRunResultSuccess_AffectedRowsReport.toJSON(message.affectedRowsReport)
+ message.code !== undefined && (obj.code = Math.round(message.code));
+ message.sqlSummaryReport !== undefined && (obj.sqlSummaryReport = message.sqlSummaryReport
+ ? PlanCheckRunResult_Result_SqlSummaryReport.toJSON(message.sqlSummaryReport)
: undefined);
message.sqlReviewReport !== undefined && (obj.sqlReviewReport = message.sqlReviewReport
- ? PlanCheckRunResultSuccess_SqlReviewReport.toJSON(message.sqlReviewReport)
+ ? PlanCheckRunResult_Result_SqlReviewReport.toJSON(message.sqlReviewReport)
: undefined);
return obj;
},
- create(base?: DeepPartial<PlanCheckRunResultSuccess>): PlanCheckRunResultSuccess {
- return PlanCheckRunResultSuccess.fromPartial(base ?? {});
+ create(base?: DeepPartial<PlanCheckRunResult_Result>): PlanCheckRunResult_Result {
+ return PlanCheckRunResult_Result.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<PlanCheckRunResultSuccess>): PlanCheckRunResultSuccess {
- const message = createBasePlanCheckRunResultSuccess();
+ fromPartial(object: DeepPartial<PlanCheckRunResult_Result>): PlanCheckRunResult_Result {
+ const message = createBasePlanCheckRunResult_Result();
message.status = object.status ?? 0;
message.title = object.title ?? "";
message.content = object.content ?? "";
- message.code = (object.code !== undefined && object.code !== null)
- ? PlanCheckRunResultSuccess_Code.fromPartial(object.code)
- : undefined;
- message.statementTypeReport = (object.statementTypeReport !== undefined && object.statementTypeReport !== null)
- ? PlanCheckRunResultSuccess_StatementTypeReport.fromPartial(object.statementTypeReport)
- : undefined;
- message.affectedRowsReport = (object.affectedRowsReport !== undefined && object.affectedRowsReport !== null)
- ? PlanCheckRunResultSuccess_AffectedRowsReport.fromPartial(object.affectedRowsReport)
+ message.code = object.code ?? 0;
+ message.sqlSummaryReport = (object.sqlSummaryReport !== undefined && object.sqlSummaryReport !== null)
+ ? PlanCheckRunResult_Result_SqlSummaryReport.fromPartial(object.sqlSummaryReport)
: undefined;
message.sqlReviewReport = (object.sqlReviewReport !== undefined && object.sqlReviewReport !== null)
- ? PlanCheckRunResultSuccess_SqlReviewReport.fromPartial(object.sqlReviewReport)
+ ? PlanCheckRunResult_Result_SqlReviewReport.fromPartial(object.sqlReviewReport)
: undefined;
return message;
},
};
-function createBasePlanCheckRunResultSuccess_Code(): PlanCheckRunResultSuccess_Code {
- return { code: 0, namespace: 0 };
+function createBasePlanCheckRunResult_Result_SqlSummaryReport(): PlanCheckRunResult_Result_SqlSummaryReport {
+ return { statementType: "", affectedRows: 0 };
}
-export const PlanCheckRunResultSuccess_Code = {
- encode(message: PlanCheckRunResultSuccess_Code, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.code !== 0) {
- writer.uint32(8).int64(message.code);
+export const PlanCheckRunResult_Result_SqlSummaryReport = {
+ encode(message: PlanCheckRunResult_Result_SqlSummaryReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.statementType !== "") {
+ writer.uint32(10).string(message.statementType);
}
- if (message.namespace !== 0) {
- writer.uint32(16).int32(message.namespace);
+ if (message.affectedRows !== 0) {
+ writer.uint32(16).int64(message.affectedRows);
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResultSuccess_Code {
+ decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResult_Result_SqlSummaryReport {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResultSuccess_Code();
+ const message = createBasePlanCheckRunResult_Result_SqlSummaryReport();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- if (tag !== 8) {
+ if (tag !== 10) {
break;
}
- message.code = longToNumber(reader.int64() as Long);
+ message.statementType = reader.string();
continue;
case 2:
if (tag !== 16) {
break;
}
- message.namespace = reader.int32() as any;
+ message.affectedRows = longToNumber(reader.int64() as Long);
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -566,172 +408,56 @@ export const PlanCheckRunResultSuccess_Code = {
return message;
},
- fromJSON(object: any): PlanCheckRunResultSuccess_Code {
+ fromJSON(object: any): PlanCheckRunResult_Result_SqlSummaryReport {
return {
- code: isSet(object.code) ? Number(object.code) : 0,
- namespace: isSet(object.namespace) ? planCheckRunResultSuccess_Code_NamespaceFromJSON(object.namespace) : 0,
+ statementType: isSet(object.statementType) ? String(object.statementType) : "",
+ affectedRows: isSet(object.affectedRows) ? Number(object.affectedRows) : 0,
};
},
- toJSON(message: PlanCheckRunResultSuccess_Code): unknown {
- const obj: any = {};
- message.code !== undefined && (obj.code = Math.round(message.code));
- message.namespace !== undefined &&
- (obj.namespace = planCheckRunResultSuccess_Code_NamespaceToJSON(message.namespace));
- return obj;
- },
-
- create(base?: DeepPartial<PlanCheckRunResultSuccess_Code>): PlanCheckRunResultSuccess_Code {
- return PlanCheckRunResultSuccess_Code.fromPartial(base ?? {});
- },
-
- fromPartial(object: DeepPartial<PlanCheckRunResultSuccess_Code>): PlanCheckRunResultSuccess_Code {
- const message = createBasePlanCheckRunResultSuccess_Code();
- message.code = object.code ?? 0;
- message.namespace = object.namespace ?? 0;
- return message;
- },
-};
-
-function createBasePlanCheckRunResultSuccess_StatementTypeReport(): PlanCheckRunResultSuccess_StatementTypeReport {
- return { statementType: "" };
-}
-
-export const PlanCheckRunResultSuccess_StatementTypeReport = {
- encode(message: PlanCheckRunResultSuccess_StatementTypeReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.statementType !== "") {
- writer.uint32(10).string(message.statementType);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResultSuccess_StatementTypeReport {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResultSuccess_StatementTypeReport();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.statementType = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): PlanCheckRunResultSuccess_StatementTypeReport {
- return { statementType: isSet(object.statementType) ? String(object.statementType) : "" };
- },
-
- toJSON(message: PlanCheckRunResultSuccess_StatementTypeReport): unknown {
+ toJSON(message: PlanCheckRunResult_Result_SqlSummaryReport): unknown {
const obj: any = {};
message.statementType !== undefined && (obj.statementType = message.statementType);
- return obj;
- },
-
- create(
- base?: DeepPartial<PlanCheckRunResultSuccess_StatementTypeReport>,
- ): PlanCheckRunResultSuccess_StatementTypeReport {
- return PlanCheckRunResultSuccess_StatementTypeReport.fromPartial(base ?? {});
- },
-
- fromPartial(
- object: DeepPartial<PlanCheckRunResultSuccess_StatementTypeReport>,
- ): PlanCheckRunResultSuccess_StatementTypeReport {
- const message = createBasePlanCheckRunResultSuccess_StatementTypeReport();
- message.statementType = object.statementType ?? "";
- return message;
- },
-};
-
-function createBasePlanCheckRunResultSuccess_AffectedRowsReport(): PlanCheckRunResultSuccess_AffectedRowsReport {
- return { affectedRows: 0 };
-}
-
-export const PlanCheckRunResultSuccess_AffectedRowsReport = {
- encode(message: PlanCheckRunResultSuccess_AffectedRowsReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.affectedRows !== 0) {
- writer.uint32(8).int64(message.affectedRows);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResultSuccess_AffectedRowsReport {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResultSuccess_AffectedRowsReport();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 8) {
- break;
- }
-
- message.affectedRows = longToNumber(reader.int64() as Long);
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): PlanCheckRunResultSuccess_AffectedRowsReport {
- return { affectedRows: isSet(object.affectedRows) ? Number(object.affectedRows) : 0 };
- },
-
- toJSON(message: PlanCheckRunResultSuccess_AffectedRowsReport): unknown {
- const obj: any = {};
message.affectedRows !== undefined && (obj.affectedRows = Math.round(message.affectedRows));
return obj;
},
- create(
- base?: DeepPartial<PlanCheckRunResultSuccess_AffectedRowsReport>,
- ): PlanCheckRunResultSuccess_AffectedRowsReport {
- return PlanCheckRunResultSuccess_AffectedRowsReport.fromPartial(base ?? {});
+ create(base?: DeepPartial<PlanCheckRunResult_Result_SqlSummaryReport>): PlanCheckRunResult_Result_SqlSummaryReport {
+ return PlanCheckRunResult_Result_SqlSummaryReport.fromPartial(base ?? {});
},
fromPartial(
- object: DeepPartial<PlanCheckRunResultSuccess_AffectedRowsReport>,
- ): PlanCheckRunResultSuccess_AffectedRowsReport {
- const message = createBasePlanCheckRunResultSuccess_AffectedRowsReport();
+ object: DeepPartial<PlanCheckRunResult_Result_SqlSummaryReport>,
+ ): PlanCheckRunResult_Result_SqlSummaryReport {
+ const message = createBasePlanCheckRunResult_Result_SqlSummaryReport();
+ message.statementType = object.statementType ?? "";
message.affectedRows = object.affectedRows ?? 0;
return message;
},
};
-function createBasePlanCheckRunResultSuccess_SqlReviewReport(): PlanCheckRunResultSuccess_SqlReviewReport {
- return { line: 0, detail: "" };
+function createBasePlanCheckRunResult_Result_SqlReviewReport(): PlanCheckRunResult_Result_SqlReviewReport {
+ return { line: 0, detail: "", code: 0 };
}
-export const PlanCheckRunResultSuccess_SqlReviewReport = {
- encode(message: PlanCheckRunResultSuccess_SqlReviewReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const PlanCheckRunResult_Result_SqlReviewReport = {
+ encode(message: PlanCheckRunResult_Result_SqlReviewReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.line !== 0) {
writer.uint32(8).int64(message.line);
}
if (message.detail !== "") {
writer.uint32(18).string(message.detail);
}
+ if (message.code !== 0) {
+ writer.uint32(24).int64(message.code);
+ }
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResultSuccess_SqlReviewReport {
+ decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResult_Result_SqlReviewReport {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResultSuccess_SqlReviewReport();
+ const message = createBasePlanCheckRunResult_Result_SqlReviewReport();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -749,6 +475,13 @@ export const PlanCheckRunResultSuccess_SqlReviewReport = {
message.detail = reader.string();
continue;
+ case 3:
+ if (tag !== 24) {
+ break;
+ }
+
+ message.code = longToNumber(reader.int64() as Long);
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -758,101 +491,33 @@ export const PlanCheckRunResultSuccess_SqlReviewReport = {
return message;
},
- fromJSON(object: any): PlanCheckRunResultSuccess_SqlReviewReport {
+ fromJSON(object: any): PlanCheckRunResult_Result_SqlReviewReport {
return {
line: isSet(object.line) ? Number(object.line) : 0,
detail: isSet(object.detail) ? String(object.detail) : "",
+ code: isSet(object.code) ? Number(object.code) : 0,
};
},
- toJSON(message: PlanCheckRunResultSuccess_SqlReviewReport): unknown {
+ toJSON(message: PlanCheckRunResult_Result_SqlReviewReport): unknown {
const obj: any = {};
message.line !== undefined && (obj.line = Math.round(message.line));
message.detail !== undefined && (obj.detail = message.detail);
+ message.code !== undefined && (obj.code = Math.round(message.code));
return obj;
},
- create(base?: DeepPartial<PlanCheckRunResultSuccess_SqlReviewReport>): PlanCheckRunResultSuccess_SqlReviewReport {
- return PlanCheckRunResultSuccess_SqlReviewReport.fromPartial(base ?? {});
+ create(base?: DeepPartial<PlanCheckRunResult_Result_SqlReviewReport>): PlanCheckRunResult_Result_SqlReviewReport {
+ return PlanCheckRunResult_Result_SqlReviewReport.fromPartial(base ?? {});
},
fromPartial(
- object: DeepPartial<PlanCheckRunResultSuccess_SqlReviewReport>,
- ): PlanCheckRunResultSuccess_SqlReviewReport {
- const message = createBasePlanCheckRunResultSuccess_SqlReviewReport();
+ object: DeepPartial<PlanCheckRunResult_Result_SqlReviewReport>,
+ ): PlanCheckRunResult_Result_SqlReviewReport {
+ const message = createBasePlanCheckRunResult_Result_SqlReviewReport();
message.line = object.line ?? 0;
message.detail = object.detail ?? "";
- return message;
- },
-};
-
-function createBasePlanCheckRunResultFailure(): PlanCheckRunResultFailure {
- return { title: "", content: "" };
-}
-
-export const PlanCheckRunResultFailure = {
- encode(message: PlanCheckRunResultFailure, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.title !== "") {
- writer.uint32(10).string(message.title);
- }
- if (message.content !== "") {
- writer.uint32(18).string(message.content);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRunResultFailure {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBasePlanCheckRunResultFailure();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.title = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.content = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): PlanCheckRunResultFailure {
- return {
- title: isSet(object.title) ? String(object.title) : "",
- content: isSet(object.content) ? String(object.content) : "",
- };
- },
-
- toJSON(message: PlanCheckRunResultFailure): unknown {
- const obj: any = {};
- message.title !== undefined && (obj.title = message.title);
- message.content !== undefined && (obj.content = message.content);
- return obj;
- },
-
- create(base?: DeepPartial<PlanCheckRunResultFailure>): PlanCheckRunResultFailure {
- return PlanCheckRunResultFailure.fromPartial(base ?? {});
- },
-
- fromPartial(object: DeepPartial<PlanCheckRunResultFailure>): PlanCheckRunResultFailure {
- const message = createBasePlanCheckRunResultFailure();
- message.title = object.title ?? "";
- message.content = object.content ?? "";
+ message.code = object.code ?? 0;
return message;
},
};
diff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.ts
index 7f7ffa53d2..ed7ad086b3 100644
--- a/frontend/src/types/proto/v1/rollout_service.ts
+++ b/frontend/src/types/proto/v1/rollout_service.ts
@@ -359,8 +359,9 @@ export interface PlanCheckRun {
target: string;
/** Format: projects/{project}/sheets/{sheet} */
sheet: string;
- detail: string;
results: PlanCheckRun_Result[];
+ /** error is set if the Status is FAILED. */
+ error: string;
}
export enum PlanCheckRun_Type {
@@ -502,52 +503,12 @@ export function planCheckRun_StatusToJSON(object: PlanCheckRun_Status): string {
}
export interface PlanCheckRun_Result {
- namespace: PlanCheckRun_Result_Namespace;
- code: number;
status: PlanCheckRun_Result_Status;
title: string;
content: string;
- line: number;
- detail: string;
-}
-
-export enum PlanCheckRun_Result_Namespace {
- NAMESPACE_UNSPECIFIED = 0,
- BYTEBASE = 1,
- ADVISOR = 2,
- UNRECOGNIZED = -1,
-}
-
-export function planCheckRun_Result_NamespaceFromJSON(object: any): PlanCheckRun_Result_Namespace {
- switch (object) {
- case 0:
- case "NAMESPACE_UNSPECIFIED":
- return PlanCheckRun_Result_Namespace.NAMESPACE_UNSPECIFIED;
- case 1:
- case "BYTEBASE":
- return PlanCheckRun_Result_Namespace.BYTEBASE;
- case 2:
- case "ADVISOR":
- return PlanCheckRun_Result_Namespace.ADVISOR;
- case -1:
- case "UNRECOGNIZED":
- default:
- return PlanCheckRun_Result_Namespace.UNRECOGNIZED;
- }
-}
-
-export function planCheckRun_Result_NamespaceToJSON(object: PlanCheckRun_Result_Namespace): string {
- switch (object) {
- case PlanCheckRun_Result_Namespace.NAMESPACE_UNSPECIFIED:
- return "NAMESPACE_UNSPECIFIED";
- case PlanCheckRun_Result_Namespace.BYTEBASE:
- return "BYTEBASE";
- case PlanCheckRun_Result_Namespace.ADVISOR:
- return "ADVISOR";
- case PlanCheckRun_Result_Namespace.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
+ code: number;
+ sqlSummaryReport?: PlanCheckRun_Result_SqlSummaryReport | undefined;
+ sqlReviewReport?: PlanCheckRun_Result_SqlReviewReport | undefined;
}
export enum PlanCheckRun_Result_Status {
@@ -595,6 +556,18 @@ export function planCheckRun_Result_StatusToJSON(object: PlanCheckRun_Result_Sta
}
}
+export interface PlanCheckRun_Result_SqlSummaryReport {
+ statementType: string;
+ affectedRows: number;
+}
+
+export interface PlanCheckRun_Result_SqlReviewReport {
+ line: number;
+ detail: string;
+ /** Code from sql review. */
+ code: number;
+}
+
export interface GetRolloutRequest {
/**
* The name of the rollout to retrieve.
@@ -2875,7 +2848,7 @@ export const BatchCancelTaskRunsResponse = {
};
function createBasePlanCheckRun(): PlanCheckRun {
- return { name: "", uid: "", type: 0, status: 0, target: "", sheet: "", detail: "", results: [] };
+ return { name: "", uid: "", type: 0, status: 0, target: "", sheet: "", results: [], error: "" };
}
export const PlanCheckRun = {
@@ -2898,11 +2871,11 @@ export const PlanCheckRun = {
if (message.sheet !== "") {
writer.uint32(50).string(message.sheet);
}
- if (message.detail !== "") {
- writer.uint32(58).string(message.detail);
- }
for (const v of message.results) {
- PlanCheckRun_Result.encode(v!, writer.uint32(66).fork()).ldelim();
+ PlanCheckRun_Result.encode(v!, writer.uint32(58).fork()).ldelim();
+ }
+ if (message.error !== "") {
+ writer.uint32(66).string(message.error);
}
return writer;
},
@@ -2961,14 +2934,14 @@ export const PlanCheckRun = {
break;
}
- message.detail = reader.string();
+ message.results.push(PlanCheckRun_Result.decode(reader, reader.uint32()));
continue;
case 8:
if (tag !== 66) {
break;
}
- message.results.push(PlanCheckRun_Result.decode(reader, reader.uint32()));
+ message.error = reader.string();
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -2987,8 +2960,8 @@ export const PlanCheckRun = {
status: isSet(object.status) ? planCheckRun_StatusFromJSON(object.status) : 0,
target: isSet(object.target) ? String(object.target) : "",
sheet: isSet(object.sheet) ? String(object.sheet) : "",
- detail: isSet(object.detail) ? String(object.detail) : "",
results: Array.isArray(object?.results) ? object.results.map((e: any) => PlanCheckRun_Result.fromJSON(e)) : [],
+ error: isSet(object.error) ? String(object.error) : "",
};
},
@@ -3000,12 +2973,12 @@ export const PlanCheckRun = {
message.status !== undefined && (obj.status = planCheckRun_StatusToJSON(message.status));
message.target !== undefined && (obj.target = message.target);
message.sheet !== undefined && (obj.sheet = message.sheet);
- message.detail !== undefined && (obj.detail = message.detail);
if (message.results) {
obj.results = message.results.map((e) => e ? PlanCheckRun_Result.toJSON(e) : undefined);
} else {
obj.results = [];
}
+ message.error !== undefined && (obj.error = message.error);
return obj;
},
@@ -3021,38 +2994,35 @@ export const PlanCheckRun = {
message.status = object.status ?? 0;
message.target = object.target ?? "";
message.sheet = object.sheet ?? "";
- message.detail = object.detail ?? "";
message.results = object.results?.map((e) => PlanCheckRun_Result.fromPartial(e)) || [];
+ message.error = object.error ?? "";
return message;
},
};
function createBasePlanCheckRun_Result(): PlanCheckRun_Result {
- return { namespace: 0, code: 0, status: 0, title: "", content: "", line: 0, detail: "" };
+ return { status: 0, title: "", content: "", code: 0, sqlSummaryReport: undefined, sqlReviewReport: undefined };
}
export const PlanCheckRun_Result = {
encode(message: PlanCheckRun_Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.namespace !== 0) {
- writer.uint32(8).int32(message.namespace);
- }
- if (message.code !== 0) {
- writer.uint32(16).int64(message.code);
- }
if (message.status !== 0) {
- writer.uint32(24).int32(message.status);
+ writer.uint32(8).int32(message.status);
}
if (message.title !== "") {
- writer.uint32(34).string(message.title);
+ writer.uint32(18).string(message.title);
}
if (message.content !== "") {
- writer.uint32(42).string(message.content);
+ writer.uint32(26).string(message.content);
}
- if (message.line !== 0) {
- writer.uint32(48).int64(message.line);
+ if (message.code !== 0) {
+ writer.uint32(32).int64(message.code);
}
- if (message.detail !== "") {
- writer.uint32(58).string(message.detail);
+ if (message.sqlSummaryReport !== undefined) {
+ PlanCheckRun_Result_SqlSummaryReport.encode(message.sqlSummaryReport, writer.uint32(42).fork()).ldelim();
+ }
+ if (message.sqlReviewReport !== undefined) {
+ PlanCheckRun_Result_SqlReviewReport.encode(message.sqlReviewReport, writer.uint32(50).fork()).ldelim();
}
return writer;
},
@@ -3069,49 +3039,42 @@ export const PlanCheckRun_Result = {
break;
}
- message.namespace = reader.int32() as any;
+ message.status = reader.int32() as any;
continue;
case 2:
- if (tag !== 16) {
+ if (tag !== 18) {
break;
}
- message.code = longToNumber(reader.int64() as Long);
+ message.title = reader.string();
continue;
case 3:
- if (tag !== 24) {
+ if (tag !== 26) {
break;
}
- message.status = reader.int32() as any;
+ message.content = reader.string();
continue;
case 4:
- if (tag !== 34) {
+ if (tag !== 32) {
break;
}
- message.title = reader.string();
+ message.code = longToNumber(reader.int64() as Long);
continue;
case 5:
if (tag !== 42) {
break;
}
- message.content = reader.string();
+ message.sqlSummaryReport = PlanCheckRun_Result_SqlSummaryReport.decode(reader, reader.uint32());
continue;
case 6:
- if (tag !== 48) {
- break;
- }
-
- message.line = longToNumber(reader.int64() as Long);
- continue;
- case 7:
- if (tag !== 58) {
+ if (tag !== 50) {
break;
}
- message.detail = reader.string();
+ message.sqlReviewReport = PlanCheckRun_Result_SqlReviewReport.decode(reader, reader.uint32());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -3124,25 +3087,31 @@ export const PlanCheckRun_Result = {
fromJSON(object: any): PlanCheckRun_Result {
return {
- namespace: isSet(object.namespace) ? planCheckRun_Result_NamespaceFromJSON(object.namespace) : 0,
- code: isSet(object.code) ? Number(object.code) : 0,
status: isSet(object.status) ? planCheckRun_Result_StatusFromJSON(object.status) : 0,
title: isSet(object.title) ? String(object.title) : "",
content: isSet(object.content) ? String(object.content) : "",
- line: isSet(object.line) ? Number(object.line) : 0,
- detail: isSet(object.detail) ? String(object.detail) : "",
+ code: isSet(object.code) ? Number(object.code) : 0,
+ sqlSummaryReport: isSet(object.sqlSummaryReport)
+ ? PlanCheckRun_Result_SqlSummaryReport.fromJSON(object.sqlSummaryReport)
+ : undefined,
+ sqlReviewReport: isSet(object.sqlReviewReport)
+ ? PlanCheckRun_Result_SqlReviewReport.fromJSON(object.sqlReviewReport)
+ : undefined,
};
},
toJSON(message: PlanCheckRun_Result): unknown {
const obj: any = {};
- message.namespace !== undefined && (obj.namespace = planCheckRun_Result_NamespaceToJSON(message.namespace));
- message.code !== undefined && (obj.code = Math.round(message.code));
message.status !== undefined && (obj.status = planCheckRun_Result_StatusToJSON(message.status));
message.title !== undefined && (obj.title = message.title);
message.content !== undefined && (obj.content = message.content);
- message.line !== undefined && (obj.line = Math.round(message.line));
- message.detail !== undefined && (obj.detail = message.detail);
+ message.code !== undefined && (obj.code = Math.round(message.code));
+ message.sqlSummaryReport !== undefined && (obj.sqlSummaryReport = message.sqlSummaryReport
+ ? PlanCheckRun_Result_SqlSummaryReport.toJSON(message.sqlSummaryReport)
+ : undefined);
+ message.sqlReviewReport !== undefined && (obj.sqlReviewReport = message.sqlReviewReport
+ ? PlanCheckRun_Result_SqlReviewReport.toJSON(message.sqlReviewReport)
+ : undefined);
return obj;
},
@@ -3152,13 +3121,171 @@ export const PlanCheckRun_Result = {
fromPartial(object: DeepPartial<PlanCheckRun_Result>): PlanCheckRun_Result {
const message = createBasePlanCheckRun_Result();
- message.namespace = object.namespace ?? 0;
- message.code = object.code ?? 0;
message.status = object.status ?? 0;
message.title = object.title ?? "";
message.content = object.content ?? "";
+ message.code = object.code ?? 0;
+ message.sqlSummaryReport = (object.sqlSummaryReport !== undefined && object.sqlSummaryReport !== null)
+ ? PlanCheckRun_Result_SqlSummaryReport.fromPartial(object.sqlSummaryReport)
+ : undefined;
+ message.sqlReviewReport = (object.sqlReviewReport !== undefined && object.sqlReviewReport !== null)
+ ? PlanCheckRun_Result_SqlReviewReport.fromPartial(object.sqlReviewReport)
+ : undefined;
+ return message;
+ },
+};
+
+function createBasePlanCheckRun_Result_SqlSummaryReport(): PlanCheckRun_Result_SqlSummaryReport {
+ return { statementType: "", affectedRows: 0 };
+}
+
+export const PlanCheckRun_Result_SqlSummaryReport = {
+ encode(message: PlanCheckRun_Result_SqlSummaryReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.statementType !== "") {
+ writer.uint32(10).string(message.statementType);
+ }
+ if (message.affectedRows !== 0) {
+ writer.uint32(16).int64(message.affectedRows);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRun_Result_SqlSummaryReport {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBasePlanCheckRun_Result_SqlSummaryReport();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.statementType = reader.string();
+ continue;
+ case 2:
+ if (tag !== 16) {
+ break;
+ }
+
+ message.affectedRows = longToNumber(reader.int64() as Long);
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): PlanCheckRun_Result_SqlSummaryReport {
+ return {
+ statementType: isSet(object.statementType) ? String(object.statementType) : "",
+ affectedRows: isSet(object.affectedRows) ? Number(object.affectedRows) : 0,
+ };
+ },
+
+ toJSON(message: PlanCheckRun_Result_SqlSummaryReport): unknown {
+ const obj: any = {};
+ message.statementType !== undefined && (obj.statementType = message.statementType);
+ message.affectedRows !== undefined && (obj.affectedRows = Math.round(message.affectedRows));
+ return obj;
+ },
+
+ create(base?: DeepPartial<PlanCheckRun_Result_SqlSummaryReport>): PlanCheckRun_Result_SqlSummaryReport {
+ return PlanCheckRun_Result_SqlSummaryReport.fromPartial(base ?? {});
+ },
+
+ fromPartial(object: DeepPartial<PlanCheckRun_Result_SqlSummaryReport>): PlanCheckRun_Result_SqlSummaryReport {
+ const message = createBasePlanCheckRun_Result_SqlSummaryReport();
+ message.statementType = object.statementType ?? "";
+ message.affectedRows = object.affectedRows ?? 0;
+ return message;
+ },
+};
+
+function createBasePlanCheckRun_Result_SqlReviewReport(): PlanCheckRun_Result_SqlReviewReport {
+ return { line: 0, detail: "", code: 0 };
+}
+
+export const PlanCheckRun_Result_SqlReviewReport = {
+ encode(message: PlanCheckRun_Result_SqlReviewReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.line !== 0) {
+ writer.uint32(8).int64(message.line);
+ }
+ if (message.detail !== "") {
+ writer.uint32(18).string(message.detail);
+ }
+ if (message.code !== 0) {
+ writer.uint32(24).int64(message.code);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): PlanCheckRun_Result_SqlReviewReport {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBasePlanCheckRun_Result_SqlReviewReport();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 8) {
+ break;
+ }
+
+ message.line = longToNumber(reader.int64() as Long);
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.detail = reader.string();
+ continue;
+ case 3:
+ if (tag !== 24) {
+ break;
+ }
+
+ message.code = longToNumber(reader.int64() as Long);
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): PlanCheckRun_Result_SqlReviewReport {
+ return {
+ line: isSet(object.line) ? Number(object.line) : 0,
+ detail: isSet(object.detail) ? String(object.detail) : "",
+ code: isSet(object.code) ? Number(object.code) : 0,
+ };
+ },
+
+ toJSON(message: PlanCheckRun_Result_SqlReviewReport): unknown {
+ const obj: any = {};
+ message.line !== undefined && (obj.line = Math.round(message.line));
+ message.detail !== undefined && (obj.detail = message.detail);
+ message.code !== undefined && (obj.code = Math.round(message.code));
+ return obj;
+ },
+
+ create(base?: DeepPartial<PlanCheckRun_Result_SqlReviewReport>): PlanCheckRun_Result_SqlReviewReport {
+ return PlanCheckRun_Result_SqlReviewReport.fromPartial(base ?? {});
+ },
+
+ fromPartial(object: DeepPartial<PlanCheckRun_Result_SqlReviewReport>): PlanCheckRun_Result_SqlReviewReport {
+ const message = createBasePlanCheckRun_Result_SqlReviewReport();
message.line = object.line ?? 0;
message.detail = object.detail ?? "";
+ message.code = object.code ?? 0;
return message;
},
};
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.md
index 39a940e4ad..a183133c7f 100644
--- a/proto/gen/grpc-doc/store/README.md
+++ b/proto/gen/grpc-doc/store/README.md
@@ -100,15 +100,10 @@
- [PlanCheckRunConfig](#bytebase-store-PlanCheckRunConfig)
- [PlanCheckRunResult](#bytebase-store-PlanCheckRunResult)
- [PlanCheckRunResult.Result](#bytebase-store-PlanCheckRunResult-Result)
- - [PlanCheckRunResultFailure](#bytebase-store-PlanCheckRunResultFailure)
- - [PlanCheckRunResultSuccess](#bytebase-store-PlanCheckRunResultSuccess)
- - [PlanCheckRunResultSuccess.AffectedRowsReport](#bytebase-store-PlanCheckRunResultSuccess-AffectedRowsReport)
- - [PlanCheckRunResultSuccess.Code](#bytebase-store-PlanCheckRunResultSuccess-Code)
- - [PlanCheckRunResultSuccess.SqlReviewReport](#bytebase-store-PlanCheckRunResultSuccess-SqlReviewReport)
- - [PlanCheckRunResultSuccess.StatementTypeReport](#bytebase-store-PlanCheckRunResultSuccess-StatementTypeReport)
+ - [PlanCheckRunResult.Result.SqlReviewReport](#bytebase-store-PlanCheckRunResult-Result-SqlReviewReport)
+ - [PlanCheckRunResult.Result.SqlSummaryReport](#bytebase-store-PlanCheckRunResult-Result-SqlSummaryReport)
- - [PlanCheckRunResultSuccess.Code.Namespace](#bytebase-store-PlanCheckRunResultSuccess-Code-Namespace)
- - [PlanCheckRunResultSuccess.Status](#bytebase-store-PlanCheckRunResultSuccess-Status)
+ - [PlanCheckRunResult.Result.Status](#bytebase-store-PlanCheckRunResult-Result-Status)
- [store/policy.proto](#store_policy-proto)
- [Binding](#bytebase-store-Binding)
@@ -1503,6 +1498,7 @@ Type is the database change type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| results | [PlanCheckRunResult.Result](#bytebase-store-PlanCheckRunResult-Result) | repeated | |
+| error | [string](#string) | | |
@@ -1517,85 +1513,21 @@ Type is the database change type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| success | [PlanCheckRunResultSuccess](#bytebase-store-PlanCheckRunResultSuccess) | | |
-| failure | [PlanCheckRunResultFailure](#bytebase-store-PlanCheckRunResultFailure) | | Failure if the PlanCheckRun itself failed to run. |
-
-
-
-
-
-
-<a name="bytebase-store-PlanCheckRunResultFailure"></a>
-
-### PlanCheckRunResultFailure
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| title | [string](#string) | | |
-| content | [string](#string) | | |
-
-
-
-
-
-
-<a name="bytebase-store-PlanCheckRunResultSuccess"></a>
-
-### PlanCheckRunResultSuccess
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| status | [PlanCheckRunResultSuccess.Status](#bytebase-store-PlanCheckRunResultSuccess-Status) | | |
+| status | [PlanCheckRunResult.Result.Status](#bytebase-store-PlanCheckRunResult-Result-Status) | | |
| title | [string](#string) | | |
| content | [string](#string) | | |
-| code | [PlanCheckRunResultSuccess.Code](#bytebase-store-PlanCheckRunResultSuccess-Code) | | |
-| statement_type_report | [PlanCheckRunResultSuccess.StatementTypeReport](#bytebase-store-PlanCheckRunResultSuccess-StatementTypeReport) | | |
-| affected_rows_report | [PlanCheckRunResultSuccess.AffectedRowsReport](#bytebase-store-PlanCheckRunResultSuccess-AffectedRowsReport) | | |
-| sql_review_report | [PlanCheckRunResultSuccess.SqlReviewReport](#bytebase-store-PlanCheckRunResultSuccess-SqlReviewReport) | | |
-
-
-
-
-
-
-<a name="bytebase-store-PlanCheckRunResultSuccess-AffectedRowsReport"></a>
-
-### PlanCheckRunResultSuccess.AffectedRowsReport
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| affected_rows | [int64](#int64) | | |
-
-
-
-
-
-
-<a name="bytebase-store-PlanCheckRunResultSuccess-Code"></a>
-
-### PlanCheckRunResultSuccess.Code
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
| code | [int64](#int64) | | |
-| namespace | [PlanCheckRunResultSuccess.Code.Namespace](#bytebase-store-PlanCheckRunResultSuccess-Code-Namespace) | | |
+| sql_summary_report | [PlanCheckRunResult.Result.SqlSummaryReport](#bytebase-store-PlanCheckRunResult-Result-SqlSummaryReport) | | |
+| sql_review_report | [PlanCheckRunResult.Result.SqlReviewReport](#bytebase-store-PlanCheckRunResult-Result-SqlReviewReport) | | |
-<a name="bytebase-store-PlanCheckRunResultSuccess-SqlReviewReport"></a>
+<a name="bytebase-store-PlanCheckRunResult-Result-SqlReviewReport"></a>
-### PlanCheckRunResultSuccess.SqlReviewReport
+### PlanCheckRunResult.Result.SqlReviewReport
@@ -1603,21 +1535,23 @@ Type is the database change type.
| ----- | ---- | ----- | ----------- |
| line | [int64](#int64) | | |
| detail | [string](#string) | | |
+| code | [int64](#int64) | | Code from sql review. |
-<a name="bytebase-store-PlanCheckRunResultSuccess-StatementTypeReport"></a>
+<a name="bytebase-store-PlanCheckRunResult-Result-SqlSummaryReport"></a>
-### PlanCheckRunResultSuccess.StatementTypeReport
+### PlanCheckRunResult.Result.SqlSummaryReport
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| statement_type | [string](#string) | | |
+| affected_rows | [int64](#int64) | | |
@@ -1626,22 +1560,9 @@ Type is the database change type.
-<a name="bytebase-store-PlanCheckRunResultSuccess-Code-Namespace"></a>
-
-### PlanCheckRunResultSuccess.Code.Namespace
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| NAMESPACE_UNSPECIFIED | 0 | |
-| BYTEBASE | 1 | |
-| ADVISOR | 2 | |
-
-
-
-<a name="bytebase-store-PlanCheckRunResultSuccess-Status"></a>
+<a name="bytebase-store-PlanCheckRunResult-Result-Status"></a>
-### PlanCheckRunResultSuccess.Status
+### PlanCheckRunResult.Result.Status
| Name | Number | Description |
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index db9b2d90b7..57835a18c1 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -452,6 +452,8 @@
- [Plan.Step](#bytebase-v1-Plan-Step)
- [PlanCheckRun](#bytebase-v1-PlanCheckRun)
- [PlanCheckRun.Result](#bytebase-v1-PlanCheckRun-Result)
+ - [PlanCheckRun.Result.SqlReviewReport](#bytebase-v1-PlanCheckRun-Result-SqlReviewReport)
+ - [PlanCheckRun.Result.SqlSummaryReport](#bytebase-v1-PlanCheckRun-Result-SqlSummaryReport)
- [PreviewRolloutRequest](#bytebase-v1-PreviewRolloutRequest)
- [Rollout](#bytebase-v1-Rollout)
- [Stage](#bytebase-v1-Stage)
@@ -467,7 +469,6 @@
- [UpdatePlanRequest](#bytebase-v1-UpdatePlanRequest)
- [Plan.ChangeDatabaseConfig.Type](#bytebase-v1-Plan-ChangeDatabaseConfig-Type)
- - [PlanCheckRun.Result.Namespace](#bytebase-v1-PlanCheckRun-Result-Namespace)
- [PlanCheckRun.Result.Status](#bytebase-v1-PlanCheckRun-Result-Status)
- [PlanCheckRun.Status](#bytebase-v1-PlanCheckRun-Status)
- [PlanCheckRun.Type](#bytebase-v1-PlanCheckRun-Type)
@@ -7214,8 +7215,8 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat
| status | [PlanCheckRun.Status](#bytebase-v1-PlanCheckRun-Status) | | |
| target | [string](#string) | | Format: instances/{instance}/databases/{database} |
| sheet | [string](#string) | | Format: projects/{project}/sheets/{sheet} |
-| detail | [string](#string) | | |
| results | [PlanCheckRun.Result](#bytebase-v1-PlanCheckRun-Result) | repeated | |
+| error | [string](#string) | | error is set if the Status is FAILED. |
@@ -7230,13 +7231,45 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| namespace | [PlanCheckRun.Result.Namespace](#bytebase-v1-PlanCheckRun-Result-Namespace) | | |
-| code | [int64](#int64) | | |
| status | [PlanCheckRun.Result.Status](#bytebase-v1-PlanCheckRun-Result-Status) | | |
| title | [string](#string) | | |
| content | [string](#string) | | |
+| code | [int64](#int64) | | |
+| 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-PlanCheckRun-Result-SqlReviewReport"></a>
+
+### PlanCheckRun.Result.SqlReviewReport
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
| line | [int64](#int64) | | |
| detail | [string](#string) | | |
+| code | [int64](#int64) | | Code from sql review. |
+
+
+
+
+
+
+<a name="bytebase-v1-PlanCheckRun-Result-SqlSummaryReport"></a>
+
+### PlanCheckRun.Result.SqlSummaryReport
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| statement_type | [string](#string) | | |
+| affected_rows | [int64](#int64) | | |
@@ -7509,19 +7542,6 @@ Type is the database change type.
-<a name="bytebase-v1-PlanCheckRun-Result-Namespace"></a>
-
-### PlanCheckRun.Result.Namespace
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| NAMESPACE_UNSPECIFIED | 0 | |
-| BYTEBASE | 1 | |
-| ADVISOR | 2 | |
-
-
-
<a name="bytebase-v1-PlanCheckRun-Result-Status"></a>
### PlanCheckRun.Result.Status
diff --git a/proto/generated-go/store/plan_check_run.pb.go b/proto/generated-go/store/plan_check_run.pb.go
index 55bb53dec9..d7f118145f 100644
--- a/proto/generated-go/store/plan_check_run.pb.go
+++ b/proto/generated-go/store/plan_check_run.pb.go
@@ -20,24 +20,24 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
-type PlanCheckRunResultSuccess_Status int32
+type PlanCheckRunResult_Result_Status int32
const (
- PlanCheckRunResultSuccess_STATUS_UNSPECIFIED PlanCheckRunResultSuccess_Status = 0
- PlanCheckRunResultSuccess_ERROR PlanCheckRunResultSuccess_Status = 1
- PlanCheckRunResultSuccess_WARNING PlanCheckRunResultSuccess_Status = 2
- PlanCheckRunResultSuccess_SUCCESS PlanCheckRunResultSuccess_Status = 3
+ PlanCheckRunResult_Result_STATUS_UNSPECIFIED PlanCheckRunResult_Result_Status = 0
+ PlanCheckRunResult_Result_ERROR PlanCheckRunResult_Result_Status = 1
+ PlanCheckRunResult_Result_WARNING PlanCheckRunResult_Result_Status = 2
+ PlanCheckRunResult_Result_SUCCESS PlanCheckRunResult_Result_Status = 3
)
-// Enum value maps for PlanCheckRunResultSuccess_Status.
+// Enum value maps for PlanCheckRunResult_Result_Status.
var (
- PlanCheckRunResultSuccess_Status_name = map[int32]string{
+ PlanCheckRunResult_Result_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "ERROR",
2: "WARNING",
3: "SUCCESS",
}
- PlanCheckRunResultSuccess_Status_value = map[string]int32{
+ PlanCheckRunResult_Result_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"ERROR": 1,
"WARNING": 2,
@@ -45,80 +45,31 @@ var (
}
)
-func (x PlanCheckRunResultSuccess_Status) Enum() *PlanCheckRunResultSuccess_Status {
- p := new(PlanCheckRunResultSuccess_Status)
+func (x PlanCheckRunResult_Result_Status) Enum() *PlanCheckRunResult_Result_Status {
+ p := new(PlanCheckRunResult_Result_Status)
*p = x
return p
}
-func (x PlanCheckRunResultSuccess_Status) String() string {
+func (x PlanCheckRunResult_Result_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (PlanCheckRunResultSuccess_Status) Descriptor() protoreflect.EnumDescriptor {
+func (PlanCheckRunResult_Result_Status) Descriptor() protoreflect.EnumDescriptor {
return file_store_plan_check_run_proto_enumTypes[0].Descriptor()
}
-func (PlanCheckRunResultSuccess_Status) Type() protoreflect.EnumType {
+func (PlanCheckRunResult_Result_Status) Type() protoreflect.EnumType {
return &file_store_plan_check_run_proto_enumTypes[0]
}
-func (x PlanCheckRunResultSuccess_Status) Number() protoreflect.EnumNumber {
+func (x PlanCheckRunResult_Result_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
-// Deprecated: Use PlanCheckRunResultSuccess_Status.Descriptor instead.
-func (PlanCheckRunResultSuccess_Status) EnumDescriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2, 0}
-}
-
-type PlanCheckRunResultSuccess_Code_Namespace int32
-
-const (
- PlanCheckRunResultSuccess_Code_NAMESPACE_UNSPECIFIED PlanCheckRunResultSuccess_Code_Namespace = 0
- PlanCheckRunResultSuccess_Code_BYTEBASE PlanCheckRunResultSuccess_Code_Namespace = 1
- PlanCheckRunResultSuccess_Code_ADVISOR PlanCheckRunResultSuccess_Code_Namespace = 2
-)
-
-// Enum value maps for PlanCheckRunResultSuccess_Code_Namespace.
-var (
- PlanCheckRunResultSuccess_Code_Namespace_name = map[int32]string{
- 0: "NAMESPACE_UNSPECIFIED",
- 1: "BYTEBASE",
- 2: "ADVISOR",
- }
- PlanCheckRunResultSuccess_Code_Namespace_value = map[string]int32{
- "NAMESPACE_UNSPECIFIED": 0,
- "BYTEBASE": 1,
- "ADVISOR": 2,
- }
-)
-
-func (x PlanCheckRunResultSuccess_Code_Namespace) Enum() *PlanCheckRunResultSuccess_Code_Namespace {
- p := new(PlanCheckRunResultSuccess_Code_Namespace)
- *p = x
- return p
-}
-
-func (x PlanCheckRunResultSuccess_Code_Namespace) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (PlanCheckRunResultSuccess_Code_Namespace) Descriptor() protoreflect.EnumDescriptor {
- return file_store_plan_check_run_proto_enumTypes[1].Descriptor()
-}
-
-func (PlanCheckRunResultSuccess_Code_Namespace) Type() protoreflect.EnumType {
- return &file_store_plan_check_run_proto_enumTypes[1]
-}
-
-func (x PlanCheckRunResultSuccess_Code_Namespace) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use PlanCheckRunResultSuccess_Code_Namespace.Descriptor instead.
-func (PlanCheckRunResultSuccess_Code_Namespace) EnumDescriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2, 0, 0}
+// Deprecated: Use PlanCheckRunResult_Result_Status.Descriptor instead.
+func (PlanCheckRunResult_Result_Status) EnumDescriptor() ([]byte, []int) {
+ return file_store_plan_check_run_proto_rawDescGZIP(), []int{1, 0, 0}
}
type PlanCheckRunConfig struct {
@@ -182,6 +133,7 @@ type PlanCheckRunResult struct {
unknownFields protoimpl.UnknownFields
Results []*PlanCheckRunResult_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
+ Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *PlanCheckRunResult) Reset() {
@@ -223,25 +175,31 @@ func (x *PlanCheckRunResult) GetResults() []*PlanCheckRunResult_Result {
return nil
}
-type PlanCheckRunResultSuccess struct {
+func (x *PlanCheckRunResult) GetError() string {
+ if x != nil {
+ return x.Error
+ }
+ return ""
+}
+
+type PlanCheckRunResult_Result struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Status PlanCheckRunResultSuccess_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.store.PlanCheckRunResultSuccess_Status" json:"status,omitempty"`
+ Status PlanCheckRunResult_Result_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.store.PlanCheckRunResult_Result_Status" json:"status,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
- Code *PlanCheckRunResultSuccess_Code `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
+ Code int64 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
// Types that are assignable to Report:
//
- // *PlanCheckRunResultSuccess_StatementTypeReport_
- // *PlanCheckRunResultSuccess_AffectedRowsReport_
- // *PlanCheckRunResultSuccess_SqlReviewReport_
- Report isPlanCheckRunResultSuccess_Report `protobuf_oneof:"report"`
+ // *PlanCheckRunResult_Result_SqlSummaryReport_
+ // *PlanCheckRunResult_Result_SqlReviewReport_
+ Report isPlanCheckRunResult_Result_Report `protobuf_oneof:"report"`
}
-func (x *PlanCheckRunResultSuccess) Reset() {
- *x = PlanCheckRunResultSuccess{}
+func (x *PlanCheckRunResult_Result) Reset() {
+ *x = PlanCheckRunResult_Result{}
if protoimpl.UnsafeEnabled {
mi := &file_store_plan_check_run_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -249,13 +207,13 @@ func (x *PlanCheckRunResultSuccess) Reset() {
}
}
-func (x *PlanCheckRunResultSuccess) String() string {
+func (x *PlanCheckRunResult_Result) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PlanCheckRunResultSuccess) ProtoMessage() {}
+func (*PlanCheckRunResult_Result) ProtoMessage() {}
-func (x *PlanCheckRunResultSuccess) ProtoReflect() protoreflect.Message {
+func (x *PlanCheckRunResult_Result) ProtoReflect() protoreflect.Message {
mi := &file_store_plan_check_run_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -267,100 +225,87 @@ func (x *PlanCheckRunResultSuccess) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PlanCheckRunResultSuccess.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResultSuccess) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2}
+// Deprecated: Use PlanCheckRunResult_Result.ProtoReflect.Descriptor instead.
+func (*PlanCheckRunResult_Result) Descriptor() ([]byte, []int) {
+ return file_store_plan_check_run_proto_rawDescGZIP(), []int{1, 0}
}
-func (x *PlanCheckRunResultSuccess) GetStatus() PlanCheckRunResultSuccess_Status {
+func (x *PlanCheckRunResult_Result) GetStatus() PlanCheckRunResult_Result_Status {
if x != nil {
return x.Status
}
- return PlanCheckRunResultSuccess_STATUS_UNSPECIFIED
+ return PlanCheckRunResult_Result_STATUS_UNSPECIFIED
}
-func (x *PlanCheckRunResultSuccess) GetTitle() string {
+func (x *PlanCheckRunResult_Result) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
-func (x *PlanCheckRunResultSuccess) GetContent() string {
+func (x *PlanCheckRunResult_Result) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
-func (x *PlanCheckRunResultSuccess) GetCode() *PlanCheckRunResultSuccess_Code {
+func (x *PlanCheckRunResult_Result) GetCode() int64 {
if x != nil {
return x.Code
}
- return nil
+ return 0
}
-func (m *PlanCheckRunResultSuccess) GetReport() isPlanCheckRunResultSuccess_Report {
+func (m *PlanCheckRunResult_Result) GetReport() isPlanCheckRunResult_Result_Report {
if m != nil {
return m.Report
}
return nil
}
-func (x *PlanCheckRunResultSuccess) GetStatementTypeReport() *PlanCheckRunResultSuccess_StatementTypeReport {
- if x, ok := x.GetReport().(*PlanCheckRunResultSuccess_StatementTypeReport_); ok {
- return x.StatementTypeReport
+func (x *PlanCheckRunResult_Result) GetSqlSummaryReport() *PlanCheckRunResult_Result_SqlSummaryReport {
+ if x, ok := x.GetReport().(*PlanCheckRunResult_Result_SqlSummaryReport_); ok {
+ return x.SqlSummaryReport
}
return nil
}
-func (x *PlanCheckRunResultSuccess) GetAffectedRowsReport() *PlanCheckRunResultSuccess_AffectedRowsReport {
- if x, ok := x.GetReport().(*PlanCheckRunResultSuccess_AffectedRowsReport_); ok {
- return x.AffectedRowsReport
- }
- return nil
-}
-
-func (x *PlanCheckRunResultSuccess) GetSqlReviewReport() *PlanCheckRunResultSuccess_SqlReviewReport {
- if x, ok := x.GetReport().(*PlanCheckRunResultSuccess_SqlReviewReport_); ok {
+func (x *PlanCheckRunResult_Result) GetSqlReviewReport() *PlanCheckRunResult_Result_SqlReviewReport {
+ if x, ok := x.GetReport().(*PlanCheckRunResult_Result_SqlReviewReport_); ok {
return x.SqlReviewReport
}
return nil
}
-type isPlanCheckRunResultSuccess_Report interface {
- isPlanCheckRunResultSuccess_Report()
-}
-
-type PlanCheckRunResultSuccess_StatementTypeReport_ struct {
- StatementTypeReport *PlanCheckRunResultSuccess_StatementTypeReport `protobuf:"bytes,5,opt,name=statement_type_report,json=statementTypeReport,proto3,oneof"`
+type isPlanCheckRunResult_Result_Report interface {
+ isPlanCheckRunResult_Result_Report()
}
-type PlanCheckRunResultSuccess_AffectedRowsReport_ struct {
- AffectedRowsReport *PlanCheckRunResultSuccess_AffectedRowsReport `protobuf:"bytes,6,opt,name=affected_rows_report,json=affectedRowsReport,proto3,oneof"`
+type PlanCheckRunResult_Result_SqlSummaryReport_ struct {
+ SqlSummaryReport *PlanCheckRunResult_Result_SqlSummaryReport `protobuf:"bytes,5,opt,name=sql_summary_report,json=sqlSummaryReport,proto3,oneof"`
}
-type PlanCheckRunResultSuccess_SqlReviewReport_ struct {
- SqlReviewReport *PlanCheckRunResultSuccess_SqlReviewReport `protobuf:"bytes,7,opt,name=sql_review_report,json=sqlReviewReport,proto3,oneof"`
+type PlanCheckRunResult_Result_SqlReviewReport_ struct {
+ SqlReviewReport *PlanCheckRunResult_Result_SqlReviewReport `protobuf:"bytes,6,opt,name=sql_review_report,json=sqlReviewReport,proto3,oneof"`
}
-func (*PlanCheckRunResultSuccess_StatementTypeReport_) isPlanCheckRunResultSuccess_Report() {}
+func (*PlanCheckRunResult_Result_SqlSummaryReport_) isPlanCheckRunResult_Result_Report() {}
-func (*PlanCheckRunResultSuccess_AffectedRowsReport_) isPlanCheckRunResultSuccess_Report() {}
+func (*PlanCheckRunResult_Result_SqlReviewReport_) isPlanCheckRunResult_Result_Report() {}
-func (*PlanCheckRunResultSuccess_SqlReviewReport_) isPlanCheckRunResultSuccess_Report() {}
-
-type PlanCheckRunResultFailure struct {
+type PlanCheckRunResult_Result_SqlSummaryReport struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
+ StatementType string `protobuf:"bytes,1,opt,name=statement_type,json=statementType,proto3" json:"statement_type,omitempty"`
+ AffectedRows int64 `protobuf:"varint,2,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
}
-func (x *PlanCheckRunResultFailure) Reset() {
- *x = PlanCheckRunResultFailure{}
+func (x *PlanCheckRunResult_Result_SqlSummaryReport) Reset() {
+ *x = PlanCheckRunResult_Result_SqlSummaryReport{}
if protoimpl.UnsafeEnabled {
mi := &file_store_plan_check_run_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -368,13 +313,13 @@ func (x *PlanCheckRunResultFailure) Reset() {
}
}
-func (x *PlanCheckRunResultFailure) String() string {
+func (x *PlanCheckRunResult_Result_SqlSummaryReport) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PlanCheckRunResultFailure) ProtoMessage() {}
+func (*PlanCheckRunResult_Result_SqlSummaryReport) ProtoMessage() {}
-func (x *PlanCheckRunResultFailure) ProtoReflect() protoreflect.Message {
+func (x *PlanCheckRunResult_Result_SqlSummaryReport) ProtoReflect() protoreflect.Message {
mi := &file_store_plan_check_run_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -386,282 +331,53 @@ func (x *PlanCheckRunResultFailure) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PlanCheckRunResultFailure.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResultFailure) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *PlanCheckRunResultFailure) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
-}
-
-func (x *PlanCheckRunResultFailure) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
-}
-
-type PlanCheckRunResult_Result struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Result:
- //
- // *PlanCheckRunResult_Result_Success
- // *PlanCheckRunResult_Result_Failure
- Result isPlanCheckRunResult_Result_Result `protobuf_oneof:"result"`
-}
-
-func (x *PlanCheckRunResult_Result) Reset() {
- *x = PlanCheckRunResult_Result{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_plan_check_run_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PlanCheckRunResult_Result) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PlanCheckRunResult_Result) ProtoMessage() {}
-
-func (x *PlanCheckRunResult_Result) ProtoReflect() protoreflect.Message {
- mi := &file_store_plan_check_run_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PlanCheckRunResult_Result.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResult_Result) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{1, 0}
-}
-
-func (m *PlanCheckRunResult_Result) GetResult() isPlanCheckRunResult_Result_Result {
- if m != nil {
- return m.Result
- }
- return nil
-}
-
-func (x *PlanCheckRunResult_Result) GetSuccess() *PlanCheckRunResultSuccess {
- if x, ok := x.GetResult().(*PlanCheckRunResult_Result_Success); ok {
- return x.Success
- }
- return nil
-}
-
-func (x *PlanCheckRunResult_Result) GetFailure() *PlanCheckRunResultFailure {
- if x, ok := x.GetResult().(*PlanCheckRunResult_Result_Failure); ok {
- return x.Failure
- }
- return nil
-}
-
-type isPlanCheckRunResult_Result_Result interface {
- isPlanCheckRunResult_Result_Result()
-}
-
-type PlanCheckRunResult_Result_Success struct {
- Success *PlanCheckRunResultSuccess `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
-}
-
-type PlanCheckRunResult_Result_Failure struct {
- // Failure if the PlanCheckRun itself failed to run.
- Failure *PlanCheckRunResultFailure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
-}
-
-func (*PlanCheckRunResult_Result_Success) isPlanCheckRunResult_Result_Result() {}
-
-func (*PlanCheckRunResult_Result_Failure) isPlanCheckRunResult_Result_Result() {}
-
-type PlanCheckRunResultSuccess_Code struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Namespace PlanCheckRunResultSuccess_Code_Namespace `protobuf:"varint,2,opt,name=namespace,proto3,enum=bytebase.store.PlanCheckRunResultSuccess_Code_Namespace" json:"namespace,omitempty"`
-}
-
-func (x *PlanCheckRunResultSuccess_Code) Reset() {
- *x = PlanCheckRunResultSuccess_Code{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_plan_check_run_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PlanCheckRunResultSuccess_Code) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PlanCheckRunResultSuccess_Code) ProtoMessage() {}
-
-func (x *PlanCheckRunResultSuccess_Code) ProtoReflect() protoreflect.Message {
- mi := &file_store_plan_check_run_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PlanCheckRunResultSuccess_Code.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResultSuccess_Code) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2, 0}
-}
-
-func (x *PlanCheckRunResultSuccess_Code) GetCode() int64 {
- if x != nil {
- return x.Code
- }
- return 0
-}
-
-func (x *PlanCheckRunResultSuccess_Code) GetNamespace() PlanCheckRunResultSuccess_Code_Namespace {
- if x != nil {
- return x.Namespace
- }
- return PlanCheckRunResultSuccess_Code_NAMESPACE_UNSPECIFIED
-}
-
-type PlanCheckRunResultSuccess_StatementTypeReport struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- StatementType string `protobuf:"bytes,1,opt,name=statement_type,json=statementType,proto3" json:"statement_type,omitempty"`
-}
-
-func (x *PlanCheckRunResultSuccess_StatementTypeReport) Reset() {
- *x = PlanCheckRunResultSuccess_StatementTypeReport{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_plan_check_run_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PlanCheckRunResultSuccess_StatementTypeReport) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PlanCheckRunResultSuccess_StatementTypeReport) ProtoMessage() {}
-
-func (x *PlanCheckRunResultSuccess_StatementTypeReport) ProtoReflect() protoreflect.Message {
- mi := &file_store_plan_check_run_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PlanCheckRunResultSuccess_StatementTypeReport.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResultSuccess_StatementTypeReport) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2, 1}
+// Deprecated: Use PlanCheckRunResult_Result_SqlSummaryReport.ProtoReflect.Descriptor instead.
+func (*PlanCheckRunResult_Result_SqlSummaryReport) Descriptor() ([]byte, []int) {
+ return file_store_plan_check_run_proto_rawDescGZIP(), []int{1, 0, 0}
}
-func (x *PlanCheckRunResultSuccess_StatementTypeReport) GetStatementType() string {
+func (x *PlanCheckRunResult_Result_SqlSummaryReport) GetStatementType() string {
if x != nil {
return x.StatementType
}
return ""
}
-type PlanCheckRunResultSuccess_AffectedRowsReport struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- AffectedRows int64 `protobuf:"varint,1,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
-}
-
-func (x *PlanCheckRunResultSuccess_AffectedRowsReport) Reset() {
- *x = PlanCheckRunResultSuccess_AffectedRowsReport{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_plan_check_run_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PlanCheckRunResultSuccess_AffectedRowsReport) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PlanCheckRunResultSuccess_AffectedRowsReport) ProtoMessage() {}
-
-func (x *PlanCheckRunResultSuccess_AffectedRowsReport) ProtoReflect() protoreflect.Message {
- mi := &file_store_plan_check_run_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PlanCheckRunResultSuccess_AffectedRowsReport.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResultSuccess_AffectedRowsReport) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2, 2}
-}
-
-func (x *PlanCheckRunResultSuccess_AffectedRowsReport) GetAffectedRows() int64 {
+func (x *PlanCheckRunResult_Result_SqlSummaryReport) GetAffectedRows() int64 {
if x != nil {
return x.AffectedRows
}
return 0
}
-type PlanCheckRunResultSuccess_SqlReviewReport struct {
+type PlanCheckRunResult_Result_SqlReviewReport struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
+ // Code from sql review.
+ Code int64 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
}
-func (x *PlanCheckRunResultSuccess_SqlReviewReport) Reset() {
- *x = PlanCheckRunResultSuccess_SqlReviewReport{}
+func (x *PlanCheckRunResult_Result_SqlReviewReport) Reset() {
+ *x = PlanCheckRunResult_Result_SqlReviewReport{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_plan_check_run_proto_msgTypes[8]
+ mi := &file_store_plan_check_run_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *PlanCheckRunResultSuccess_SqlReviewReport) String() string {
+func (x *PlanCheckRunResult_Result_SqlReviewReport) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PlanCheckRunResultSuccess_SqlReviewReport) ProtoMessage() {}
+func (*PlanCheckRunResult_Result_SqlReviewReport) ProtoMessage() {}
-func (x *PlanCheckRunResultSuccess_SqlReviewReport) ProtoReflect() protoreflect.Message {
- mi := &file_store_plan_check_run_proto_msgTypes[8]
+func (x *PlanCheckRunResult_Result_SqlReviewReport) ProtoReflect() protoreflect.Message {
+ mi := &file_store_plan_check_run_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -672,25 +388,32 @@ func (x *PlanCheckRunResultSuccess_SqlReviewReport) ProtoReflect() protoreflect.
return mi.MessageOf(x)
}
-// Deprecated: Use PlanCheckRunResultSuccess_SqlReviewReport.ProtoReflect.Descriptor instead.
-func (*PlanCheckRunResultSuccess_SqlReviewReport) Descriptor() ([]byte, []int) {
- return file_store_plan_check_run_proto_rawDescGZIP(), []int{2, 3}
+// Deprecated: Use PlanCheckRunResult_Result_SqlReviewReport.ProtoReflect.Descriptor instead.
+func (*PlanCheckRunResult_Result_SqlReviewReport) Descriptor() ([]byte, []int) {
+ return file_store_plan_check_run_proto_rawDescGZIP(), []int{1, 0, 1}
}
-func (x *PlanCheckRunResultSuccess_SqlReviewReport) GetLine() int64 {
+func (x *PlanCheckRunResult_Result_SqlReviewReport) GetLine() int64 {
if x != nil {
return x.Line
}
return 0
}
-func (x *PlanCheckRunResultSuccess_SqlReviewReport) GetDetail() string {
+func (x *PlanCheckRunResult_Result_SqlReviewReport) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
+func (x *PlanCheckRunResult_Result_SqlReviewReport) GetCode() int64 {
+ if x != nil {
+ return x.Code
+ }
+ return 0
+}
+
var File_store_plan_check_run_proto protoreflect.FileDescriptor
var file_store_plan_check_run_proto_rawDesc = []byte{
@@ -701,93 +424,55 @@ var file_store_plan_check_run_proto_rawDesc = []byte{
0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x68, 0x65, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a,
0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x22, 0xfc,
- 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52,
+ 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x22, 0xe1,
+ 0x05, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x43, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,
0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c,
- 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0xa0, 0x01, 0x0a, 0x06, 0x52,
- 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63,
- 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
- 0x73, 0x48, 0x00, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x07,
- 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50,
- 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c,
- 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c,
- 0x75, 0x72, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xea, 0x07,
- 0x0a, 0x19, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65,
- 0x73, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x48, 0x0a, 0x06, 0x73,
+ 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
+ 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
+ 0x1a, 0xef, 0x04, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x62, 0x79,
0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61,
- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53,
- 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
+ 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 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, 0x42, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75,
- 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x43,
- 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x73, 0x0a, 0x15, 0x73, 0x74, 0x61,
- 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f,
- 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68,
- 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
- 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x13, 0x73, 0x74, 0x61, 0x74, 0x65,
- 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x70,
- 0x0a, 0x14, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f,
- 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c,
- 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
- 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64,
- 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x12, 0x61, 0x66,
- 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
- 0x12, 0x67, 0x0a, 0x11, 0x73, 0x71, 0x6c, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x72,
- 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61,
- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53,
- 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 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, 0xb5, 0x01, 0x0a, 0x04, 0x43, 0x6f,
- 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
- 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
- 0x61, 0x63, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x41,
- 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4e,
- 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x59, 0x54, 0x45, 0x42, 0x41,
- 0x53, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x49, 0x53, 0x4f, 0x52, 0x10,
- 0x02, 0x1a, 0x3c, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74,
- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a,
- 0x39, 0x0a, 0x12, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x52,
- 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,
- 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x66,
- 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x3d, 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, 0x03, 0x52, 0x04, 0x6c, 0x69, 0x6e,
- 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 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, 0x4b, 0x0a, 0x19, 0x50, 0x6c,
- 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
- 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a,
- 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 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,
+ 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x6a, 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, 0x3a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b,
+ 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 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, 0x67, 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, 0x39, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
+ 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x65,
+ 0x73, 0x75, 0x6c, 0x74, 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, 0x5e,
+ 0x0a, 0x10, 0x53, 0x71, 0x6c, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f,
+ 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66,
+ 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
+ 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x51,
+ 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, 0x03, 0x52,
+ 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x12, 0x0a,
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
+ 0x65, 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, 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 (
@@ -802,36 +487,26 @@ func file_store_plan_check_run_proto_rawDescGZIP() []byte {
return file_store_plan_check_run_proto_rawDescData
}
-var file_store_plan_check_run_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_store_plan_check_run_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
+var file_store_plan_check_run_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_store_plan_check_run_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_store_plan_check_run_proto_goTypes = []interface{}{
- (PlanCheckRunResultSuccess_Status)(0), // 0: bytebase.store.PlanCheckRunResultSuccess.Status
- (PlanCheckRunResultSuccess_Code_Namespace)(0), // 1: bytebase.store.PlanCheckRunResultSuccess.Code.Namespace
- (*PlanCheckRunConfig)(nil), // 2: bytebase.store.PlanCheckRunConfig
- (*PlanCheckRunResult)(nil), // 3: bytebase.store.PlanCheckRunResult
- (*PlanCheckRunResultSuccess)(nil), // 4: bytebase.store.PlanCheckRunResultSuccess
- (*PlanCheckRunResultFailure)(nil), // 5: bytebase.store.PlanCheckRunResultFailure
- (*PlanCheckRunResult_Result)(nil), // 6: bytebase.store.PlanCheckRunResult.Result
- (*PlanCheckRunResultSuccess_Code)(nil), // 7: bytebase.store.PlanCheckRunResultSuccess.Code
- (*PlanCheckRunResultSuccess_StatementTypeReport)(nil), // 8: bytebase.store.PlanCheckRunResultSuccess.StatementTypeReport
- (*PlanCheckRunResultSuccess_AffectedRowsReport)(nil), // 9: bytebase.store.PlanCheckRunResultSuccess.AffectedRowsReport
- (*PlanCheckRunResultSuccess_SqlReviewReport)(nil), // 10: bytebase.store.PlanCheckRunResultSuccess.SqlReviewReport
+ (PlanCheckRunResult_Result_Status)(0), // 0: bytebase.store.PlanCheckRunResult.Result.Status
+ (*PlanCheckRunConfig)(nil), // 1: bytebase.store.PlanCheckRunConfig
+ (*PlanCheckRunResult)(nil), // 2: bytebase.store.PlanCheckRunResult
+ (*PlanCheckRunResult_Result)(nil), // 3: bytebase.store.PlanCheckRunResult.Result
+ (*PlanCheckRunResult_Result_SqlSummaryReport)(nil), // 4: bytebase.store.PlanCheckRunResult.Result.SqlSummaryReport
+ (*PlanCheckRunResult_Result_SqlReviewReport)(nil), // 5: bytebase.store.PlanCheckRunResult.Result.SqlReviewReport
}
var file_store_plan_check_run_proto_depIdxs = []int32{
- 6, // 0: bytebase.store.PlanCheckRunResult.results:type_name -> bytebase.store.PlanCheckRunResult.Result
- 0, // 1: bytebase.store.PlanCheckRunResultSuccess.status:type_name -> bytebase.store.PlanCheckRunResultSuccess.Status
- 7, // 2: bytebase.store.PlanCheckRunResultSuccess.code:type_name -> bytebase.store.PlanCheckRunResultSuccess.Code
- 8, // 3: bytebase.store.PlanCheckRunResultSuccess.statement_type_report:type_name -> bytebase.store.PlanCheckRunResultSuccess.StatementTypeReport
- 9, // 4: bytebase.store.PlanCheckRunResultSuccess.affected_rows_report:type_name -> bytebase.store.PlanCheckRunResultSuccess.AffectedRowsReport
- 10, // 5: bytebase.store.PlanCheckRunResultSuccess.sql_review_report:type_name -> bytebase.store.PlanCheckRunResultSuccess.SqlReviewReport
- 4, // 6: bytebase.store.PlanCheckRunResult.Result.success:type_name -> bytebase.store.PlanCheckRunResultSuccess
- 5, // 7: bytebase.store.PlanCheckRunResult.Result.failure:type_name -> bytebase.store.PlanCheckRunResultFailure
- 1, // 8: bytebase.store.PlanCheckRunResultSuccess.Code.namespace:type_name -> bytebase.store.PlanCheckRunResultSuccess.Code.Namespace
- 9, // [9:9] is the sub-list for method output_type
- 9, // [9:9] is the sub-list for method input_type
- 9, // [9:9] is the sub-list for extension type_name
- 9, // [9:9] is the sub-list for extension extendee
- 0, // [0:9] is the sub-list for field type_name
+ 3, // 0: bytebase.store.PlanCheckRunResult.results:type_name -> bytebase.store.PlanCheckRunResult.Result
+ 0, // 1: bytebase.store.PlanCheckRunResult.Result.status:type_name -> bytebase.store.PlanCheckRunResult.Result.Status
+ 4, // 2: bytebase.store.PlanCheckRunResult.Result.sql_summary_report:type_name -> bytebase.store.PlanCheckRunResult.Result.SqlSummaryReport
+ 5, // 3: bytebase.store.PlanCheckRunResult.Result.sql_review_report:type_name -> bytebase.store.PlanCheckRunResult.Result.SqlReviewReport
+ 4, // [4:4] is the sub-list for method output_type
+ 4, // [4:4] is the sub-list for method input_type
+ 4, // [4:4] is the sub-list for extension type_name
+ 4, // [4:4] is the sub-list for extension extendee
+ 0, // [0:4] is the sub-list for field type_name
}
func init() { file_store_plan_check_run_proto_init() }
@@ -865,7 +540,7 @@ func file_store_plan_check_run_proto_init() {
}
}
file_store_plan_check_run_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResultSuccess); i {
+ switch v := v.(*PlanCheckRunResult_Result); i {
case 0:
return &v.state
case 1:
@@ -877,7 +552,7 @@ func file_store_plan_check_run_proto_init() {
}
}
file_store_plan_check_run_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResultFailure); i {
+ switch v := v.(*PlanCheckRunResult_Result_SqlSummaryReport); i {
case 0:
return &v.state
case 1:
@@ -889,55 +564,7 @@ func file_store_plan_check_run_proto_init() {
}
}
file_store_plan_check_run_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResult_Result); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_plan_check_run_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResultSuccess_Code); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_plan_check_run_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResultSuccess_StatementTypeReport); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_plan_check_run_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResultSuccess_AffectedRowsReport); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_plan_check_run_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PlanCheckRunResultSuccess_SqlReviewReport); i {
+ switch v := v.(*PlanCheckRunResult_Result_SqlReviewReport); i {
case 0:
return &v.state
case 1:
@@ -950,21 +577,16 @@ func file_store_plan_check_run_proto_init() {
}
}
file_store_plan_check_run_proto_msgTypes[2].OneofWrappers = []interface{}{
- (*PlanCheckRunResultSuccess_StatementTypeReport_)(nil),
- (*PlanCheckRunResultSuccess_AffectedRowsReport_)(nil),
- (*PlanCheckRunResultSuccess_SqlReviewReport_)(nil),
- }
- file_store_plan_check_run_proto_msgTypes[4].OneofWrappers = []interface{}{
- (*PlanCheckRunResult_Result_Success)(nil),
- (*PlanCheckRunResult_Result_Failure)(nil),
+ (*PlanCheckRunResult_Result_SqlSummaryReport_)(nil),
+ (*PlanCheckRunResult_Result_SqlReviewReport_)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_plan_check_run_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 9,
+ NumEnums: 1,
+ NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.go
index 36180b307a..975fc638d7 100644
--- a/proto/generated-go/v1/rollout_service.pb.go
+++ b/proto/generated-go/v1/rollout_service.pb.go
@@ -221,55 +221,6 @@ func (PlanCheckRun_Status) EnumDescriptor() ([]byte, []int) {
return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 1}
}
-type PlanCheckRun_Result_Namespace int32
-
-const (
- PlanCheckRun_Result_NAMESPACE_UNSPECIFIED PlanCheckRun_Result_Namespace = 0
- PlanCheckRun_Result_BYTEBASE PlanCheckRun_Result_Namespace = 1
- PlanCheckRun_Result_ADVISOR PlanCheckRun_Result_Namespace = 2
-)
-
-// Enum value maps for PlanCheckRun_Result_Namespace.
-var (
- PlanCheckRun_Result_Namespace_name = map[int32]string{
- 0: "NAMESPACE_UNSPECIFIED",
- 1: "BYTEBASE",
- 2: "ADVISOR",
- }
- PlanCheckRun_Result_Namespace_value = map[string]int32{
- "NAMESPACE_UNSPECIFIED": 0,
- "BYTEBASE": 1,
- "ADVISOR": 2,
- }
-)
-
-func (x PlanCheckRun_Result_Namespace) Enum() *PlanCheckRun_Result_Namespace {
- p := new(PlanCheckRun_Result_Namespace)
- *p = x
- return p
-}
-
-func (x PlanCheckRun_Result_Namespace) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (PlanCheckRun_Result_Namespace) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_rollout_service_proto_enumTypes[3].Descriptor()
-}
-
-func (PlanCheckRun_Result_Namespace) Type() protoreflect.EnumType {
- return &file_v1_rollout_service_proto_enumTypes[3]
-}
-
-func (x PlanCheckRun_Result_Namespace) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use PlanCheckRun_Result_Namespace.Descriptor instead.
-func (PlanCheckRun_Result_Namespace) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 0, 0}
-}
-
type PlanCheckRun_Result_Status int32
const (
@@ -306,11 +257,11 @@ func (x PlanCheckRun_Result_Status) String() string {
}
func (PlanCheckRun_Result_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_rollout_service_proto_enumTypes[4].Descriptor()
+ return file_v1_rollout_service_proto_enumTypes[3].Descriptor()
}
func (PlanCheckRun_Result_Status) Type() protoreflect.EnumType {
- return &file_v1_rollout_service_proto_enumTypes[4]
+ return &file_v1_rollout_service_proto_enumTypes[3]
}
func (x PlanCheckRun_Result_Status) Number() protoreflect.EnumNumber {
@@ -319,7 +270,7 @@ func (x PlanCheckRun_Result_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use PlanCheckRun_Result_Status.Descriptor instead.
func (PlanCheckRun_Result_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 0, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 0, 0}
}
type Task_Status int32
@@ -370,11 +321,11 @@ func (x Task_Status) String() string {
}
func (Task_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_rollout_service_proto_enumTypes[5].Descriptor()
+ return file_v1_rollout_service_proto_enumTypes[4].Descriptor()
}
func (Task_Status) Type() protoreflect.EnumType {
- return &file_v1_rollout_service_proto_enumTypes[5]
+ return &file_v1_rollout_service_proto_enumTypes[4]
}
func (x Task_Status) Number() protoreflect.EnumNumber {
@@ -456,11 +407,11 @@ func (x Task_Type) String() string {
}
func (Task_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_rollout_service_proto_enumTypes[6].Descriptor()
+ return file_v1_rollout_service_proto_enumTypes[5].Descriptor()
}
func (Task_Type) Type() protoreflect.EnumType {
- return &file_v1_rollout_service_proto_enumTypes[6]
+ return &file_v1_rollout_service_proto_enumTypes[5]
}
func (x Task_Type) Number() protoreflect.EnumNumber {
@@ -508,11 +459,11 @@ func (x Task_DatabaseDataUpdate_RollbackSqlStatus) String() string {
}
func (Task_DatabaseDataUpdate_RollbackSqlStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_rollout_service_proto_enumTypes[7].Descriptor()
+ return file_v1_rollout_service_proto_enumTypes[6].Descriptor()
}
func (Task_DatabaseDataUpdate_RollbackSqlStatus) Type() protoreflect.EnumType {
- return &file_v1_rollout_service_proto_enumTypes[7]
+ return &file_v1_rollout_service_proto_enumTypes[6]
}
func (x Task_DatabaseDataUpdate_RollbackSqlStatus) Number() protoreflect.EnumNumber {
@@ -569,11 +520,11 @@ func (x TaskRun_Status) String() string {
}
func (TaskRun_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_rollout_service_proto_enumTypes[8].Descriptor()
+ return file_v1_rollout_service_proto_enumTypes[7].Descriptor()
}
func (TaskRun_Status) Type() protoreflect.EnumType {
- return &file_v1_rollout_service_proto_enumTypes[8]
+ return &file_v1_rollout_service_proto_enumTypes[7]
}
func (x TaskRun_Status) Number() protoreflect.EnumNumber {
@@ -1416,8 +1367,9 @@ type PlanCheckRun struct {
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
// Format: projects/{project}/sheets/{sheet}
Sheet string `protobuf:"bytes,6,opt,name=sheet,proto3" json:"sheet,omitempty"`
- Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
- Results []*PlanCheckRun_Result `protobuf:"bytes,8,rep,name=results,proto3" json:"results,omitempty"`
+ Results []*PlanCheckRun_Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty"`
+ // error is set if the Status is FAILED.
+ Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *PlanCheckRun) Reset() {
@@ -1494,18 +1446,18 @@ func (x *PlanCheckRun) GetSheet() string {
return ""
}
-func (x *PlanCheckRun) GetDetail() string {
+func (x *PlanCheckRun) GetResults() []*PlanCheckRun_Result {
if x != nil {
- return x.Detail
+ return x.Results
}
- return ""
+ return nil
}
-func (x *PlanCheckRun) GetResults() []*PlanCheckRun_Result {
+func (x *PlanCheckRun) GetError() string {
if x != nil {
- return x.Results
+ return x.Error
}
- return nil
+ return ""
}
type GetRolloutRequest struct {
@@ -2863,13 +2815,15 @@ type PlanCheckRun_Result struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Namespace PlanCheckRun_Result_Namespace `protobuf:"varint,1,opt,name=namespace,proto3,enum=bytebase.v1.PlanCheckRun_Result_Namespace" json:"namespace,omitempty"`
- Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
- Status PlanCheckRun_Result_Status `protobuf:"varint,3,opt,name=status,proto3,enum=bytebase.v1.PlanCheckRun_Result_Status" json:"status,omitempty"`
- Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
- Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
- Line int64 `protobuf:"varint,6,opt,name=line,proto3" json:"line,omitempty"`
- Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
+ Status PlanCheckRun_Result_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.PlanCheckRun_Result_Status" json:"status,omitempty"`
+ Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
+ Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
+ Code int64 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
+ // Types that are assignable to Report:
+ //
+ // *PlanCheckRun_Result_SqlSummaryReport_
+ // *PlanCheckRun_Result_SqlReviewReport_
+ Report isPlanCheckRun_Result_Report `protobuf_oneof:"report"`
}
func (x *PlanCheckRun_Result) Reset() {
@@ -2904,11 +2858,25 @@ func (*PlanCheckRun_Result) Descriptor() ([]byte, []int) {
return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 0}
}
-func (x *PlanCheckRun_Result) GetNamespace() PlanCheckRun_Result_Namespace {
+func (x *PlanCheckRun_Result) GetStatus() PlanCheckRun_Result_Status {
+ if x != nil {
+ return x.Status
+ }
+ return PlanCheckRun_Result_STATUS_UNSPECIFIED
+}
+
+func (x *PlanCheckRun_Result) GetTitle() string {
+ if x != nil {
+ return x.Title
+ }
+ return ""
+}
+
+func (x *PlanCheckRun_Result) GetContent() string {
if x != nil {
- return x.Namespace
+ return x.Content
}
- return PlanCheckRun_Result_NAMESPACE_UNSPECIFIED
+ return ""
}
func (x *PlanCheckRun_Result) GetCode() int64 {
@@ -2918,41 +2886,162 @@ func (x *PlanCheckRun_Result) GetCode() int64 {
return 0
}
-func (x *PlanCheckRun_Result) GetStatus() PlanCheckRun_Result_Status {
- if x != nil {
- return x.Status
+func (m *PlanCheckRun_Result) GetReport() isPlanCheckRun_Result_Report {
+ if m != nil {
+ return m.Report
}
- return PlanCheckRun_Result_STATUS_UNSPECIFIED
+ return nil
}
-func (x *PlanCheckRun_Result) GetTitle() string {
+func (x *PlanCheckRun_Result) GetSqlSummaryReport() *PlanCheckRun_Result_SqlSummaryReport {
+ if x, ok := x.GetReport().(*PlanCheckRun_Result_SqlSummaryReport_); ok {
+ return x.SqlSummaryReport
+ }
+ return nil
+}
+
+func (x *PlanCheckRun_Result) GetSqlReviewReport() *PlanCheckRun_Result_SqlReviewReport {
+ if x, ok := x.GetReport().(*PlanCheckRun_Result_SqlReviewReport_); ok {
+ return x.SqlReviewReport
+ }
+ return nil
+}
+
+type isPlanCheckRun_Result_Report interface {
+ isPlanCheckRun_Result_Report()
+}
+
+type PlanCheckRun_Result_SqlSummaryReport_ struct {
+ SqlSummaryReport *PlanCheckRun_Result_SqlSummaryReport `protobuf:"bytes,5,opt,name=sql_summary_report,json=sqlSummaryReport,proto3,oneof"`
+}
+
+type PlanCheckRun_Result_SqlReviewReport_ struct {
+ SqlReviewReport *PlanCheckRun_Result_SqlReviewReport `protobuf:"bytes,6,opt,name=sql_review_report,json=sqlReviewReport,proto3,oneof"`
+}
+
+func (*PlanCheckRun_Result_SqlSummaryReport_) isPlanCheckRun_Result_Report() {}
+
+func (*PlanCheckRun_Result_SqlReviewReport_) isPlanCheckRun_Result_Report() {}
+
+type PlanCheckRun_Result_SqlSummaryReport struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StatementType string `protobuf:"bytes,1,opt,name=statement_type,json=statementType,proto3" json:"statement_type,omitempty"`
+ AffectedRows int64 `protobuf:"varint,2,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
+}
+
+func (x *PlanCheckRun_Result_SqlSummaryReport) Reset() {
+ *x = PlanCheckRun_Result_SqlSummaryReport{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PlanCheckRun_Result_SqlSummaryReport) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PlanCheckRun_Result_SqlSummaryReport) ProtoMessage() {}
+
+func (x *PlanCheckRun_Result_SqlSummaryReport) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PlanCheckRun_Result_SqlSummaryReport.ProtoReflect.Descriptor instead.
+func (*PlanCheckRun_Result_SqlSummaryReport) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 0, 0}
+}
+
+func (x *PlanCheckRun_Result_SqlSummaryReport) GetStatementType() string {
if x != nil {
- return x.Title
+ return x.StatementType
}
return ""
}
-func (x *PlanCheckRun_Result) GetContent() string {
+func (x *PlanCheckRun_Result_SqlSummaryReport) GetAffectedRows() int64 {
if x != nil {
- return x.Content
+ return x.AffectedRows
}
- return ""
+ return 0
+}
+
+type PlanCheckRun_Result_SqlReviewReport struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
+ Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
+ // Code from sql review.
+ Code int64 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
+}
+
+func (x *PlanCheckRun_Result_SqlReviewReport) Reset() {
+ *x = PlanCheckRun_Result_SqlReviewReport{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PlanCheckRun_Result_SqlReviewReport) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PlanCheckRun_Result_SqlReviewReport) ProtoMessage() {}
+
+func (x *PlanCheckRun_Result_SqlReviewReport) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PlanCheckRun_Result_SqlReviewReport.ProtoReflect.Descriptor instead.
+func (*PlanCheckRun_Result_SqlReviewReport) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{14, 0, 1}
}
-func (x *PlanCheckRun_Result) GetLine() int64 {
+func (x *PlanCheckRun_Result_SqlReviewReport) GetLine() int64 {
if x != nil {
return x.Line
}
return 0
}
-func (x *PlanCheckRun_Result) GetDetail() string {
+func (x *PlanCheckRun_Result_SqlReviewReport) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
+func (x *PlanCheckRun_Result_SqlReviewReport) GetCode() int64 {
+ if x != nil {
+ return x.Code
+ }
+ return 0
+}
+
type Task_DatabaseCreate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2975,7 +3064,7 @@ type Task_DatabaseCreate struct {
func (x *Task_DatabaseCreate) Reset() {
*x = Task_DatabaseCreate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[32]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2988,7 +3077,7 @@ func (x *Task_DatabaseCreate) String() string {
func (*Task_DatabaseCreate) ProtoMessage() {}
func (x *Task_DatabaseCreate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[32]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3064,7 +3153,7 @@ type Task_DatabaseSchemaBaseline struct {
func (x *Task_DatabaseSchemaBaseline) Reset() {
*x = Task_DatabaseSchemaBaseline{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3077,7 +3166,7 @@ func (x *Task_DatabaseSchemaBaseline) String() string {
func (*Task_DatabaseSchemaBaseline) ProtoMessage() {}
func (x *Task_DatabaseSchemaBaseline) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3113,7 +3202,7 @@ type Task_DatabaseSchemaUpdate struct {
func (x *Task_DatabaseSchemaUpdate) Reset() {
*x = Task_DatabaseSchemaUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[34]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3126,7 +3215,7 @@ func (x *Task_DatabaseSchemaUpdate) String() string {
func (*Task_DatabaseSchemaUpdate) ProtoMessage() {}
func (x *Task_DatabaseSchemaUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[34]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3186,7 +3275,7 @@ type Task_DatabaseDataUpdate struct {
func (x *Task_DatabaseDataUpdate) Reset() {
*x = Task_DatabaseDataUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3199,7 +3288,7 @@ func (x *Task_DatabaseDataUpdate) String() string {
func (*Task_DatabaseDataUpdate) ProtoMessage() {}
func (x *Task_DatabaseDataUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3284,7 +3373,7 @@ type Task_DatabaseBackup struct {
func (x *Task_DatabaseBackup) Reset() {
*x = Task_DatabaseBackup{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3297,7 +3386,7 @@ func (x *Task_DatabaseBackup) String() string {
func (*Task_DatabaseBackup) ProtoMessage() {}
func (x *Task_DatabaseBackup) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3341,7 +3430,7 @@ type Task_DatabaseRestoreRestore struct {
func (x *Task_DatabaseRestoreRestore) Reset() {
*x = Task_DatabaseRestoreRestore{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3354,7 +3443,7 @@ func (x *Task_DatabaseRestoreRestore) String() string {
func (*Task_DatabaseRestoreRestore) ProtoMessage() {}
func (x *Task_DatabaseRestoreRestore) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3613,7 +3702,7 @@ var file_v1_rollout_service_proto_rawDesc = []byte{
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73,
0x22, 0x1d, 0x0a, 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54,
0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0xe4, 0x08, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e,
+ 0xa9, 0x0a, 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, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
@@ -3626,406 +3715,418 @@ var file_v1_rollout_service_proto_rawDesc = []byte{
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, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x3a, 0x0a, 0x07, 0x72, 0x65,
- 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x08, 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, 0x1a, 0x8d, 0x03, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c,
- 0x74, 0x12, 0x48, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 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, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
- 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63,
- 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
- 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 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, 0x1a, 0xd4, 0x04, 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, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 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, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
- 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
- 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x41, 0x0a, 0x09,
- 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x41, 0x4d,
- 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x59, 0x54, 0x45, 0x42, 0x41, 0x53, 0x45,
- 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x49, 0x53, 0x4f, 0x52, 0x10, 0x02, 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, 0x22, 0xda, 0x02, 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,
- 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x10, 0x02, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x41, 0x54, 0x41,
- 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43,
- 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x03, 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, 0x04, 0x12, 0x1b, 0x0a,
- 0x17, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d,
- 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x05, 0x12, 0x22, 0x0a, 0x1e, 0x44, 0x41,
+ 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, 0x03, 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, 0x5e, 0x0a, 0x10, 0x53, 0x71, 0x6c, 0x53, 0x75,
+ 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73,
+ 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72,
+ 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63,
+ 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x51, 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, 0x03, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16,
+ 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
+ 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 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, 0xda, 0x02, 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, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x06, 0x12, 0x2b,
- 0x0a, 0x27, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
- 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x46, 0x46, 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x52, 0x4f,
- 0x57, 0x53, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x44,
- 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10,
- 0x08, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x48,
- 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41,
- 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x50, 0x49, 0x54, 0x52, 0x5f, 0x4d, 0x59, 0x53, 0x51,
- 0x4c, 0x10, 0x0a, 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, 0x22, 0x2c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06,
- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
- 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x6c, 0x61,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x70, 0x6c,
- 0x61, 0x6e, 0x22, 0x5d, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
- 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x25, 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, 0x52, 0x04, 0x70, 0x6c, 0x61,
- 0x6e, 0x22, 0x6e, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69,
- 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
- 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
- 0x6e, 0x22, 0x71, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x74, 0x61, 0x73,
- 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52,
- 0x75, 0x6e, 0x52, 0x08, 0x74, 0x61, 0x73, 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, 0x8a, 0x01, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70,
- 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12,
- 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x18,
- 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x67, 0x65,
- 0x73, 0x22, 0x93, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
- 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f,
- 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x76,
- 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x27,
- 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,
- 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x88, 0x13, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b,
+ 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, 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x10, 0x02, 0x12, 0x24, 0x0a,
+ 0x20, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d,
+ 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54,
+ 0x59, 0x10, 0x03, 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, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53,
+ 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x05, 0x12,
+ 0x22, 0x0a, 0x1e, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54,
+ 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52,
+ 0x54, 0x10, 0x06, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f,
+ 0x53, 0x54, 0x41, 0x54, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x46, 0x46, 0x45, 0x43, 0x54,
+ 0x45, 0x44, 0x5f, 0x52, 0x4f, 0x57, 0x53, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x07,
+ 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x4e,
+ 0x4e, 0x45, 0x43, 0x54, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,
+ 0x53, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x09, 0x12,
+ 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x50, 0x49, 0x54, 0x52,
+ 0x5f, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x10, 0x0a, 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, 0x22, 0x2c, 0x0a, 0x11, 0x47,
+ 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
+ 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x14, 0x43, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x17,
+ 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
+ 0x02, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x5d, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x76, 0x69,
+ 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
+ 0x25, 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,
+ 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x6e, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61,
+ 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a,
+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
+ 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
+ 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
+ 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
+ 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67,
+ 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x71, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61,
+ 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31,
+ 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x08, 0x74, 0x61, 0x73, 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, 0x8a, 0x01, 0x0a, 0x07, 0x52, 0x6f,
+ 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64,
+ 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+ 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74,
+ 0x61, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x06,
+ 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x67, 0x65,
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74,
- 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,
- 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x73, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63,
- 0x6b, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x54, 0x61, 0x73,
- 0x6b, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x0f, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x64, 0x0a, 0x18, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x6c,
- 0x69, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x61, 0x73, 0x65, 0x6c,
- 0x69, 0x6e, 0x65, 0x48, 0x00, 0x52, 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x61, 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x5e, 0x0a,
- 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
- 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,
- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x58, 0x0a,
- 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x79,
+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x65,
+ 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a,
+ 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
+ 0x74, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x88, 0x13, 0x0a,
+ 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64,
+ 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69,
+ 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12,
+ 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,
+ 0x73, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,
+ 0x73, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a,
+ 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x74, 0x61, 0x73, 0x6b,
+ 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64,
+ 0x42, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12,
+ 0x4b, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x64, 0x0a, 0x18,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
+ 0x62, 0x61, 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73,
+ 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x42, 0x61, 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x00, 0x52, 0x16, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x61, 0x73, 0x65, 0x6c, 0x69,
+ 0x6e, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x14, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x12, 0x58, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64,
+ 0x61, 0x74, 0x61, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
+ 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
+ 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4b, 0x0a, 0x0f,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18,
+ 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x64, 0x0a, 0x18, 0x64, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65,
+ 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79,
0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x48, 0x00, 0x52, 0x12, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74,
- 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4b, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
- 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x61, 0x63, 0x6b,
- 0x75, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x61,
- 0x63, 0x6b, 0x75, 0x70, 0x12, 0x64, 0x0a, 0x18, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
- 0x48, 0x00, 0x52, 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x74,
- 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0xb6, 0x02, 0x0a, 0x0e, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a,
- 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65,
- 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12,
- 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65,
- 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 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, 0x3f, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x61, 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x25, 0x0a,
- 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x53, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65,
- 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65,
- 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xed, 0x03, 0x0a, 0x12, 0x44, 0x61,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65,
+ 0x73, 0x74, 0x6f, 0x72, 0x65, 0x48, 0x00, 0x52, 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a,
+ 0xb6, 0x02, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14,
+ 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73,
+ 0x68, 0x65, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65,
+ 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61,
+ 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c,
+ 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f,
+ 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
+ 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 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, 0x3f, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x61, 0x73, 0x65, 0x6c, 0x69,
+ 0x6e, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x53, 0x0a, 0x14, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xed,
+ 0x03, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73,
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69,
+ 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x65,
+ 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x6f,
+ 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x66, 0x0a,
+ 0x13, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61,
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
- 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a,
- 0x10, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63,
- 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x66, 0x0a, 0x13, 0x72, 0x6f, 0x6c, 0x6c,
- 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x44, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x6f, 0x6c, 0x6c,
- 0x62, 0x61, 0x63, 0x6b, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x72,
- 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x72, 0x72,
- 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61,
- 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x6c, 0x62,
- 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0d, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x2e,
- 0x0a, 0x13, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f,
- 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x6f, 0x6c,
- 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x2c,
- 0x0a, 0x12, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f,
- 0x74, 0x61, 0x73, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x6f, 0x6c, 0x6c,
- 0x62, 0x61, 0x63, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x5b, 0x0a, 0x11,
- 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x5f, 0x53, 0x51,
- 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e,
- 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a,
- 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x1a, 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x62,
- 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x63,
- 0x6b, 0x75, 0x70, 0x1a, 0x96, 0x01, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x18, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
- 0x12, 0x40, 0x0a, 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x52, 0x11, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x71, 0x6c, 0x53,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63,
+ 0x6b, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72,
+ 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e,
+ 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x68,
+ 0x65, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f,
+ 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x11, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x49, 0x73,
+ 0x73, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f,
+ 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x10, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x61, 0x73,
+ 0x6b, 0x22, 0x5b, 0x0a, 0x11, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x71, 0x6c,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41,
+ 0x43, 0x4b, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e,
+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50,
+ 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45,
+ 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x1a, 0x28,
+ 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
+ 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x1a, 0x96, 0x01, 0x0a, 0x16, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x74,
+ 0x6f, 0x72, 0x65, 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, 0x18, 0x0a, 0x06, 0x62,
+ 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x62,
+ 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69,
+ 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6f, 0x69, 0x6e,
+ 0x74, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
+ 0x65, 0x22, 0x81, 0x01, 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, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f,
+ 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45,
+ 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49,
+ 0x4e, 0x47, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x04, 0x12, 0x0a,
+ 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41,
+ 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50,
+ 0x50, 0x45, 0x44, 0x10, 0x07, 0x22, 0xd4, 0x02, 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, 0x0b, 0x0a, 0x07, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x10,
+ 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x52,
+ 0x45, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,
+ 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x42, 0x41, 0x53, 0x45, 0x4c, 0x49,
+ 0x4e, 0x45, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45,
+ 0x5f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04,
+ 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48,
+ 0x45, 0x4d, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x05,
+ 0x12, 0x25, 0x0a, 0x21, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48,
+ 0x45, 0x4d, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54,
+ 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x06, 0x12, 0x28, 0x0a, 0x24, 0x44, 0x41, 0x54, 0x41, 0x42,
+ 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54,
+ 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x55, 0x54, 0x4f, 0x56, 0x45, 0x52, 0x10,
+ 0x07, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x44, 0x41,
+ 0x54, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x0f, 0x44,
+ 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x10, 0x09,
+ 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x53,
+ 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x0a, 0x12, 0x1c,
+ 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f,
+ 0x52, 0x45, 0x5f, 0x43, 0x55, 0x54, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x0b, 0x42, 0x09, 0x0a, 0x07,
+ 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x80, 0x04, 0x0a, 0x07, 0x54, 0x61, 0x73, 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, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18,
+ 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x05, 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, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x54, 0x69,
- 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x81, 0x01, 0x0a,
+ 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
+ 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
+ 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
+ 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74,
+ 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01,
+ 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
+ 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69,
+ 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12,
+ 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72,
+ 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48,
+ 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6b, 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,
- 0x14, 0x0a, 0x10, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f,
- 0x56, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47,
- 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12,
- 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49,
- 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45,
- 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x07,
- 0x22, 0xd4, 0x02, 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,
- 0x0b, 0x0a, 0x07, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f,
- 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10,
- 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43,
- 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x42, 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x12,
- 0x1a, 0x0a, 0x16, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48, 0x45,
- 0x4d, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x44,
- 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x55,
- 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x05, 0x12, 0x25, 0x0a, 0x21, 0x44,
- 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x55,
- 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43,
- 0x10, 0x06, 0x12, 0x28, 0x0a, 0x24, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53,
- 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f,
- 0x53, 0x54, 0x5f, 0x43, 0x55, 0x54, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14,
- 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x55, 0x50,
- 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,
- 0x53, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18, 0x44,
- 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f,
- 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54,
- 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x55,
- 0x54, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x0b, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,
- 0x61, 0x64, 0x22, 0x80, 0x04, 0x0a, 0x07, 0x54, 0x61, 0x73, 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, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a,
- 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x33, 0x0a,
- 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,
- 0x52, 0x75, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x09, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
- 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53,
- 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45,
- 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49,
- 0x4e, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x0a,
- 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41,
- 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50,
- 0x50, 0x45, 0x44, 0x10, 0x06, 0x32, 0xd0, 0x0d, 0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
- 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 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,
+ 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
+ 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e,
+ 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12,
+ 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0b, 0x0a,
+ 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x06, 0x32, 0xd0, 0x0d, 0x0a, 0x0e, 0x52,
+ 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 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, 0x2c, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 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, 0x7a, 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, 0x2e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x6f, 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, 0x2c, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0x7a, 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, 0x2e, 0xda,
- 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x6f, 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, 0x2e,
- 0xda, 0x41, 0x00, 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, 0x84,
- 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, 0x43, 0xda, 0x41, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x5f, 0x6d, 0x61, 0x73, 0x6b, 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, 0x73, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c,
- 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75,
+ 0x6c, 0x61, 0x6e, 0x22, 0x2e, 0xda, 0x41, 0x00, 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, 0x84, 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, 0x43, 0xda, 0x41, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x2c, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 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, 0x73, 0x0a, 0x0a, 0x47, 0x65,
+ 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x2f,
+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f,
+ 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
+ 0x7b, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,
+ 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7b, 0x0a, 0x0d, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x31, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a,
- 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x76,
- 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
- 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x39, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 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, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12,
- 0xa2, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73,
- 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
- 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,
- 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b,
- 0x52, 0x75, 0x6e, 0x73, 0x12, 0xa2, 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, 0x3e, 0xda, 0x41, 0x06, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f,
+ 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x31, 0xda, 0x41, 0x00, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x20, 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, 0xa6, 0x01, 0x0a, 0x0d, 0x42, 0x61,
- 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52,
- 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
+ 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x85, 0x01, 0x0a,
+ 0x0e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12,
+ 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x39, 0xda, 0x41, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 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, 0x52, 0x6f, 0x6c,
+ 0x6c, 0x6f, 0x75, 0x74, 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73,
+ 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,
+ 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xda, 0x41, 0x06, 0x70,
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x76, 0x31,
+ 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73,
+ 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d,
+ 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0xa2, 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, 0x3e,
+ 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x12, 0xa6,
+ 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73,
+ 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,
+ 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,
+ 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31,
+ 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73,
+ 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62,
+ 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63,
+ 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b,
+ 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23,
0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,
- 0x63, 0x68, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x4e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73,
- 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x52,
- 0x75, 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70,
- 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73,
- 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69,
- 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f,
- 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x3a,
- 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f,
- 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
- 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x12,
- 0xc6, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54,
- 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65,
- 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,
- 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,
- 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0xda, 0x41, 0x06, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a, 0x01, 0x2a, 0x22, 0x48,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f,
- 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73,
- 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x3a, 0x62, 0x61, 0x74,
- 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 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,
+ 0x63, 0x68, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x40, 0x3a, 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
+ 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65,
+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68,
+ 0x53, 0x6b, 0x69, 0x70, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61,
+ 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,
+ 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54,
+ 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+ 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d,
+ 0x3a, 0x01, 0x2a, 0x22, 0x48, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x6f, 0x6c, 0x6c,
+ 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,
+ 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 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 (
@@ -4040,129 +4141,131 @@ func file_v1_rollout_service_proto_rawDescGZIP() []byte {
return file_v1_rollout_service_proto_rawDescData
}
-var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
+var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
+var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 41)
var file_v1_rollout_service_proto_goTypes = []interface{}{
(Plan_ChangeDatabaseConfig_Type)(0), // 0: bytebase.v1.Plan.ChangeDatabaseConfig.Type
(PlanCheckRun_Type)(0), // 1: bytebase.v1.PlanCheckRun.Type
(PlanCheckRun_Status)(0), // 2: bytebase.v1.PlanCheckRun.Status
- (PlanCheckRun_Result_Namespace)(0), // 3: bytebase.v1.PlanCheckRun.Result.Namespace
- (PlanCheckRun_Result_Status)(0), // 4: bytebase.v1.PlanCheckRun.Result.Status
- (Task_Status)(0), // 5: bytebase.v1.Task.Status
- (Task_Type)(0), // 6: bytebase.v1.Task.Type
- (Task_DatabaseDataUpdate_RollbackSqlStatus)(0), // 7: bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus
- (TaskRun_Status)(0), // 8: bytebase.v1.TaskRun.Status
- (*GetPlanRequest)(nil), // 9: bytebase.v1.GetPlanRequest
- (*ListPlansRequest)(nil), // 10: bytebase.v1.ListPlansRequest
- (*ListPlansResponse)(nil), // 11: bytebase.v1.ListPlansResponse
- (*CreatePlanRequest)(nil), // 12: bytebase.v1.CreatePlanRequest
- (*UpdatePlanRequest)(nil), // 13: bytebase.v1.UpdatePlanRequest
- (*Plan)(nil), // 14: bytebase.v1.Plan
- (*ListPlanCheckRunsRequest)(nil), // 15: bytebase.v1.ListPlanCheckRunsRequest
- (*ListPlanCheckRunsResponse)(nil), // 16: bytebase.v1.ListPlanCheckRunsResponse
- (*BatchRunTasksRequest)(nil), // 17: bytebase.v1.BatchRunTasksRequest
- (*BatchRunTasksResponse)(nil), // 18: bytebase.v1.BatchRunTasksResponse
- (*BatchSkipTasksRequest)(nil), // 19: bytebase.v1.BatchSkipTasksRequest
- (*BatchSkipTasksResponse)(nil), // 20: bytebase.v1.BatchSkipTasksResponse
- (*BatchCancelTaskRunsRequest)(nil), // 21: bytebase.v1.BatchCancelTaskRunsRequest
- (*BatchCancelTaskRunsResponse)(nil), // 22: bytebase.v1.BatchCancelTaskRunsResponse
- (*PlanCheckRun)(nil), // 23: bytebase.v1.PlanCheckRun
- (*GetRolloutRequest)(nil), // 24: bytebase.v1.GetRolloutRequest
- (*CreateRolloutRequest)(nil), // 25: bytebase.v1.CreateRolloutRequest
- (*PreviewRolloutRequest)(nil), // 26: bytebase.v1.PreviewRolloutRequest
- (*ListTaskRunsRequest)(nil), // 27: bytebase.v1.ListTaskRunsRequest
- (*ListTaskRunsResponse)(nil), // 28: bytebase.v1.ListTaskRunsResponse
- (*Rollout)(nil), // 29: bytebase.v1.Rollout
- (*Stage)(nil), // 30: bytebase.v1.Stage
- (*Task)(nil), // 31: bytebase.v1.Task
- (*TaskRun)(nil), // 32: bytebase.v1.TaskRun
- (*Plan_Step)(nil), // 33: bytebase.v1.Plan.Step
- (*Plan_Spec)(nil), // 34: bytebase.v1.Plan.Spec
- (*Plan_CreateDatabaseConfig)(nil), // 35: bytebase.v1.Plan.CreateDatabaseConfig
- (*Plan_ChangeDatabaseConfig)(nil), // 36: bytebase.v1.Plan.ChangeDatabaseConfig
- (*Plan_RestoreDatabaseConfig)(nil), // 37: bytebase.v1.Plan.RestoreDatabaseConfig
- nil, // 38: bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
- (*Plan_ChangeDatabaseConfig_RollbackDetail)(nil), // 39: bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
- (*PlanCheckRun_Result)(nil), // 40: bytebase.v1.PlanCheckRun.Result
- (*Task_DatabaseCreate)(nil), // 41: bytebase.v1.Task.DatabaseCreate
- (*Task_DatabaseSchemaBaseline)(nil), // 42: bytebase.v1.Task.DatabaseSchemaBaseline
- (*Task_DatabaseSchemaUpdate)(nil), // 43: bytebase.v1.Task.DatabaseSchemaUpdate
- (*Task_DatabaseDataUpdate)(nil), // 44: bytebase.v1.Task.DatabaseDataUpdate
- (*Task_DatabaseBackup)(nil), // 45: bytebase.v1.Task.DatabaseBackup
- (*Task_DatabaseRestoreRestore)(nil), // 46: bytebase.v1.Task.DatabaseRestoreRestore
- nil, // 47: bytebase.v1.Task.DatabaseCreate.LabelsEntry
- (*fieldmaskpb.FieldMask)(nil), // 48: google.protobuf.FieldMask
- (*timestamppb.Timestamp)(nil), // 49: google.protobuf.Timestamp
+ (PlanCheckRun_Result_Status)(0), // 3: bytebase.v1.PlanCheckRun.Result.Status
+ (Task_Status)(0), // 4: bytebase.v1.Task.Status
+ (Task_Type)(0), // 5: bytebase.v1.Task.Type
+ (Task_DatabaseDataUpdate_RollbackSqlStatus)(0), // 6: bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus
+ (TaskRun_Status)(0), // 7: bytebase.v1.TaskRun.Status
+ (*GetPlanRequest)(nil), // 8: bytebase.v1.GetPlanRequest
+ (*ListPlansRequest)(nil), // 9: bytebase.v1.ListPlansRequest
+ (*ListPlansResponse)(nil), // 10: bytebase.v1.ListPlansResponse
+ (*CreatePlanRequest)(nil), // 11: bytebase.v1.CreatePlanRequest
+ (*UpdatePlanRequest)(nil), // 12: bytebase.v1.UpdatePlanRequest
+ (*Plan)(nil), // 13: bytebase.v1.Plan
+ (*ListPlanCheckRunsRequest)(nil), // 14: bytebase.v1.ListPlanCheckRunsRequest
+ (*ListPlanCheckRunsResponse)(nil), // 15: bytebase.v1.ListPlanCheckRunsResponse
+ (*BatchRunTasksRequest)(nil), // 16: bytebase.v1.BatchRunTasksRequest
+ (*BatchRunTasksResponse)(nil), // 17: bytebase.v1.BatchRunTasksResponse
+ (*BatchSkipTasksRequest)(nil), // 18: bytebase.v1.BatchSkipTasksRequest
+ (*BatchSkipTasksResponse)(nil), // 19: bytebase.v1.BatchSkipTasksResponse
+ (*BatchCancelTaskRunsRequest)(nil), // 20: bytebase.v1.BatchCancelTaskRunsRequest
+ (*BatchCancelTaskRunsResponse)(nil), // 21: bytebase.v1.BatchCancelTaskRunsResponse
+ (*PlanCheckRun)(nil), // 22: bytebase.v1.PlanCheckRun
+ (*GetRolloutRequest)(nil), // 23: bytebase.v1.GetRolloutRequest
+ (*CreateRolloutRequest)(nil), // 24: bytebase.v1.CreateRolloutRequest
+ (*PreviewRolloutRequest)(nil), // 25: bytebase.v1.PreviewRolloutRequest
+ (*ListTaskRunsRequest)(nil), // 26: bytebase.v1.ListTaskRunsRequest
+ (*ListTaskRunsResponse)(nil), // 27: bytebase.v1.ListTaskRunsResponse
+ (*Rollout)(nil), // 28: bytebase.v1.Rollout
+ (*Stage)(nil), // 29: bytebase.v1.Stage
+ (*Task)(nil), // 30: bytebase.v1.Task
+ (*TaskRun)(nil), // 31: bytebase.v1.TaskRun
+ (*Plan_Step)(nil), // 32: bytebase.v1.Plan.Step
+ (*Plan_Spec)(nil), // 33: bytebase.v1.Plan.Spec
+ (*Plan_CreateDatabaseConfig)(nil), // 34: bytebase.v1.Plan.CreateDatabaseConfig
+ (*Plan_ChangeDatabaseConfig)(nil), // 35: bytebase.v1.Plan.ChangeDatabaseConfig
+ (*Plan_RestoreDatabaseConfig)(nil), // 36: bytebase.v1.Plan.RestoreDatabaseConfig
+ nil, // 37: bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
+ (*Plan_ChangeDatabaseConfig_RollbackDetail)(nil), // 38: bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
+ (*PlanCheckRun_Result)(nil), // 39: bytebase.v1.PlanCheckRun.Result
+ (*PlanCheckRun_Result_SqlSummaryReport)(nil), // 40: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport
+ (*PlanCheckRun_Result_SqlReviewReport)(nil), // 41: bytebase.v1.PlanCheckRun.Result.SqlReviewReport
+ (*Task_DatabaseCreate)(nil), // 42: bytebase.v1.Task.DatabaseCreate
+ (*Task_DatabaseSchemaBaseline)(nil), // 43: bytebase.v1.Task.DatabaseSchemaBaseline
+ (*Task_DatabaseSchemaUpdate)(nil), // 44: bytebase.v1.Task.DatabaseSchemaUpdate
+ (*Task_DatabaseDataUpdate)(nil), // 45: bytebase.v1.Task.DatabaseDataUpdate
+ (*Task_DatabaseBackup)(nil), // 46: bytebase.v1.Task.DatabaseBackup
+ (*Task_DatabaseRestoreRestore)(nil), // 47: bytebase.v1.Task.DatabaseRestoreRestore
+ nil, // 48: bytebase.v1.Task.DatabaseCreate.LabelsEntry
+ (*fieldmaskpb.FieldMask)(nil), // 49: google.protobuf.FieldMask
+ (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp
}
var file_v1_rollout_service_proto_depIdxs = []int32{
- 14, // 0: bytebase.v1.ListPlansResponse.plans:type_name -> bytebase.v1.Plan
- 14, // 1: bytebase.v1.CreatePlanRequest.plan:type_name -> bytebase.v1.Plan
- 14, // 2: bytebase.v1.UpdatePlanRequest.plan:type_name -> bytebase.v1.Plan
- 48, // 3: bytebase.v1.UpdatePlanRequest.update_mask:type_name -> google.protobuf.FieldMask
- 33, // 4: bytebase.v1.Plan.steps:type_name -> bytebase.v1.Plan.Step
- 23, // 5: bytebase.v1.ListPlanCheckRunsResponse.plan_check_runs:type_name -> bytebase.v1.PlanCheckRun
+ 13, // 0: bytebase.v1.ListPlansResponse.plans:type_name -> bytebase.v1.Plan
+ 13, // 1: bytebase.v1.CreatePlanRequest.plan:type_name -> bytebase.v1.Plan
+ 13, // 2: bytebase.v1.UpdatePlanRequest.plan:type_name -> bytebase.v1.Plan
+ 49, // 3: bytebase.v1.UpdatePlanRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 32, // 4: bytebase.v1.Plan.steps:type_name -> bytebase.v1.Plan.Step
+ 22, // 5: bytebase.v1.ListPlanCheckRunsResponse.plan_check_runs:type_name -> bytebase.v1.PlanCheckRun
1, // 6: bytebase.v1.PlanCheckRun.type:type_name -> bytebase.v1.PlanCheckRun.Type
2, // 7: bytebase.v1.PlanCheckRun.status:type_name -> bytebase.v1.PlanCheckRun.Status
- 40, // 8: bytebase.v1.PlanCheckRun.results:type_name -> bytebase.v1.PlanCheckRun.Result
- 14, // 9: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
- 32, // 10: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
- 30, // 11: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
- 31, // 12: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
- 5, // 13: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status
- 6, // 14: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type
- 41, // 15: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
- 42, // 16: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline
- 43, // 17: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate
- 44, // 18: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate
- 45, // 19: bytebase.v1.Task.database_backup:type_name -> bytebase.v1.Task.DatabaseBackup
- 46, // 20: bytebase.v1.Task.database_restore_restore:type_name -> bytebase.v1.Task.DatabaseRestoreRestore
- 49, // 21: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
- 49, // 22: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
- 8, // 23: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status
- 34, // 24: bytebase.v1.Plan.Step.specs:type_name -> bytebase.v1.Plan.Spec
- 49, // 25: bytebase.v1.Plan.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp
- 35, // 26: bytebase.v1.Plan.Spec.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig
- 36, // 27: bytebase.v1.Plan.Spec.change_database_config:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig
- 37, // 28: bytebase.v1.Plan.Spec.restore_database_config:type_name -> bytebase.v1.Plan.RestoreDatabaseConfig
- 38, // 29: bytebase.v1.Plan.CreateDatabaseConfig.labels:type_name -> bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
+ 39, // 8: bytebase.v1.PlanCheckRun.results:type_name -> bytebase.v1.PlanCheckRun.Result
+ 13, // 9: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
+ 31, // 10: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
+ 29, // 11: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
+ 30, // 12: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
+ 4, // 13: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status
+ 5, // 14: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type
+ 42, // 15: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
+ 43, // 16: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline
+ 44, // 17: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate
+ 45, // 18: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate
+ 46, // 19: bytebase.v1.Task.database_backup:type_name -> bytebase.v1.Task.DatabaseBackup
+ 47, // 20: bytebase.v1.Task.database_restore_restore:type_name -> bytebase.v1.Task.DatabaseRestoreRestore
+ 50, // 21: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
+ 50, // 22: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
+ 7, // 23: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status
+ 33, // 24: bytebase.v1.Plan.Step.specs:type_name -> bytebase.v1.Plan.Spec
+ 50, // 25: bytebase.v1.Plan.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp
+ 34, // 26: bytebase.v1.Plan.Spec.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig
+ 35, // 27: bytebase.v1.Plan.Spec.change_database_config:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig
+ 36, // 28: bytebase.v1.Plan.Spec.restore_database_config:type_name -> bytebase.v1.Plan.RestoreDatabaseConfig
+ 37, // 29: bytebase.v1.Plan.CreateDatabaseConfig.labels:type_name -> bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
0, // 30: bytebase.v1.Plan.ChangeDatabaseConfig.type:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.Type
- 39, // 31: bytebase.v1.Plan.ChangeDatabaseConfig.rollback_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
- 35, // 32: bytebase.v1.Plan.RestoreDatabaseConfig.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig
- 49, // 33: bytebase.v1.Plan.RestoreDatabaseConfig.point_in_time:type_name -> google.protobuf.Timestamp
- 3, // 34: bytebase.v1.PlanCheckRun.Result.namespace:type_name -> bytebase.v1.PlanCheckRun.Result.Namespace
- 4, // 35: bytebase.v1.PlanCheckRun.Result.status:type_name -> bytebase.v1.PlanCheckRun.Result.Status
- 47, // 36: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry
- 7, // 37: bytebase.v1.Task.DatabaseDataUpdate.rollback_sql_status:type_name -> bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus
- 49, // 38: bytebase.v1.Task.DatabaseRestoreRestore.point_in_time:type_name -> google.protobuf.Timestamp
- 9, // 39: bytebase.v1.RolloutService.GetPlan:input_type -> bytebase.v1.GetPlanRequest
- 10, // 40: bytebase.v1.RolloutService.ListPlans:input_type -> bytebase.v1.ListPlansRequest
- 12, // 41: bytebase.v1.RolloutService.CreatePlan:input_type -> bytebase.v1.CreatePlanRequest
- 13, // 42: bytebase.v1.RolloutService.UpdatePlan:input_type -> bytebase.v1.UpdatePlanRequest
- 24, // 43: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
- 25, // 44: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
- 26, // 45: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest
- 27, // 46: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest
- 15, // 47: bytebase.v1.RolloutService.ListPlanCheckRuns:input_type -> bytebase.v1.ListPlanCheckRunsRequest
- 17, // 48: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
- 19, // 49: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
- 21, // 50: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
- 14, // 51: bytebase.v1.RolloutService.GetPlan:output_type -> bytebase.v1.Plan
- 11, // 52: bytebase.v1.RolloutService.ListPlans:output_type -> bytebase.v1.ListPlansResponse
- 14, // 53: bytebase.v1.RolloutService.CreatePlan:output_type -> bytebase.v1.Plan
- 14, // 54: bytebase.v1.RolloutService.UpdatePlan:output_type -> bytebase.v1.Plan
- 29, // 55: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
- 29, // 56: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
- 29, // 57: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
- 28, // 58: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
- 16, // 59: bytebase.v1.RolloutService.ListPlanCheckRuns:output_type -> bytebase.v1.ListPlanCheckRunsResponse
- 18, // 60: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
- 20, // 61: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
- 22, // 62: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
- 51, // [51:63] is the sub-list for method output_type
- 39, // [39:51] is the sub-list for method input_type
- 39, // [39:39] is the sub-list for extension type_name
- 39, // [39:39] is the sub-list for extension extendee
- 0, // [0:39] is the sub-list for field type_name
+ 38, // 31: bytebase.v1.Plan.ChangeDatabaseConfig.rollback_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
+ 34, // 32: bytebase.v1.Plan.RestoreDatabaseConfig.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig
+ 50, // 33: bytebase.v1.Plan.RestoreDatabaseConfig.point_in_time:type_name -> google.protobuf.Timestamp
+ 3, // 34: bytebase.v1.PlanCheckRun.Result.status:type_name -> bytebase.v1.PlanCheckRun.Result.Status
+ 40, // 35: bytebase.v1.PlanCheckRun.Result.sql_summary_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlSummaryReport
+ 41, // 36: bytebase.v1.PlanCheckRun.Result.sql_review_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlReviewReport
+ 48, // 37: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry
+ 6, // 38: bytebase.v1.Task.DatabaseDataUpdate.rollback_sql_status:type_name -> bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus
+ 50, // 39: bytebase.v1.Task.DatabaseRestoreRestore.point_in_time:type_name -> google.protobuf.Timestamp
+ 8, // 40: bytebase.v1.RolloutService.GetPlan:input_type -> bytebase.v1.GetPlanRequest
+ 9, // 41: bytebase.v1.RolloutService.ListPlans:input_type -> bytebase.v1.ListPlansRequest
+ 11, // 42: bytebase.v1.RolloutService.CreatePlan:input_type -> bytebase.v1.CreatePlanRequest
+ 12, // 43: bytebase.v1.RolloutService.UpdatePlan:input_type -> bytebase.v1.UpdatePlanRequest
+ 23, // 44: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
+ 24, // 45: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
+ 25, // 46: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest
+ 26, // 47: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest
+ 14, // 48: bytebase.v1.RolloutService.ListPlanCheckRuns:input_type -> bytebase.v1.ListPlanCheckRunsRequest
+ 16, // 49: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
+ 18, // 50: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
+ 20, // 51: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
+ 13, // 52: bytebase.v1.RolloutService.GetPlan:output_type -> bytebase.v1.Plan
+ 10, // 53: bytebase.v1.RolloutService.ListPlans:output_type -> bytebase.v1.ListPlansResponse
+ 13, // 54: bytebase.v1.RolloutService.CreatePlan:output_type -> bytebase.v1.Plan
+ 13, // 55: bytebase.v1.RolloutService.UpdatePlan:output_type -> bytebase.v1.Plan
+ 28, // 56: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
+ 28, // 57: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
+ 28, // 58: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
+ 27, // 59: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
+ 15, // 60: bytebase.v1.RolloutService.ListPlanCheckRuns:output_type -> bytebase.v1.ListPlanCheckRunsResponse
+ 17, // 61: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
+ 19, // 62: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
+ 21, // 63: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
+ 52, // [52:64] is the sub-list for method output_type
+ 40, // [40:52] is the sub-list for method input_type
+ 40, // [40:40] is the sub-list for extension type_name
+ 40, // [40:40] is the sub-list for extension extendee
+ 0, // [0:40] is the sub-list for field type_name
}
func init() { file_v1_rollout_service_proto_init() }
@@ -4544,7 +4647,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Task_DatabaseCreate); i {
+ switch v := v.(*PlanCheckRun_Result_SqlSummaryReport); i {
case 0:
return &v.state
case 1:
@@ -4556,7 +4659,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Task_DatabaseSchemaBaseline); i {
+ switch v := v.(*PlanCheckRun_Result_SqlReviewReport); i {
case 0:
return &v.state
case 1:
@@ -4568,7 +4671,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Task_DatabaseSchemaUpdate); i {
+ switch v := v.(*Task_DatabaseCreate); i {
case 0:
return &v.state
case 1:
@@ -4580,7 +4683,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Task_DatabaseDataUpdate); i {
+ switch v := v.(*Task_DatabaseSchemaBaseline); i {
case 0:
return &v.state
case 1:
@@ -4592,7 +4695,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Task_DatabaseBackup); i {
+ switch v := v.(*Task_DatabaseSchemaUpdate); i {
case 0:
return &v.state
case 1:
@@ -4604,6 +4707,30 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Task_DatabaseDataUpdate); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_rollout_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Task_DatabaseBackup); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_rollout_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Task_DatabaseRestoreRestore); i {
case 0:
return &v.state
@@ -4634,7 +4761,11 @@ func file_v1_rollout_service_proto_init() {
(*Plan_RestoreDatabaseConfig_Backup)(nil),
(*Plan_RestoreDatabaseConfig_PointInTime)(nil),
}
- file_v1_rollout_service_proto_msgTypes[37].OneofWrappers = []interface{}{
+ file_v1_rollout_service_proto_msgTypes[31].OneofWrappers = []interface{}{
+ (*PlanCheckRun_Result_SqlSummaryReport_)(nil),
+ (*PlanCheckRun_Result_SqlReviewReport_)(nil),
+ }
+ file_v1_rollout_service_proto_msgTypes[39].OneofWrappers = []interface{}{
(*Task_DatabaseRestoreRestore_Backup)(nil),
(*Task_DatabaseRestoreRestore_PointInTime)(nil),
}
@@ -4643,8 +4774,8 @@ func file_v1_rollout_service_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_rollout_service_proto_rawDesc,
- NumEnums: 9,
- NumMessages: 39,
+ NumEnums: 8,
+ NumMessages: 41,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/store/plan_check_run.proto b/proto/store/plan_check_run.proto
index 3e66d3f364..d198f454f8 100644
--- a/proto/store/plan_check_run.proto
+++ b/proto/store/plan_check_run.proto
@@ -11,55 +11,33 @@ message PlanCheckRunConfig {
message PlanCheckRunResult {
repeated Result results = 1;
+ string error = 2;
message Result {
- oneof result {
- PlanCheckRunResultSuccess success = 1;
- // Failure if the PlanCheckRun itself failed to run.
- PlanCheckRunResultFailure failure = 2;
+ enum Status {
+ STATUS_UNSPECIFIED = 0;
+ ERROR = 1;
+ WARNING = 2;
+ SUCCESS = 3;
}
- }
-}
-
-message PlanCheckRunResultSuccess {
- enum Status {
- STATUS_UNSPECIFIED = 0;
- ERROR = 1;
- WARNING = 2;
- SUCCESS = 3;
- }
- Status status = 1;
- string title = 2;
- string content = 3;
- message Code {
- int64 code = 1;
- enum Namespace {
- NAMESPACE_UNSPECIFIED = 0;
- BYTEBASE = 1;
- ADVISOR = 2;
+ Status status = 1;
+ string title = 2;
+ string content = 3;
+ int64 code = 4;
+
+ oneof report {
+ SqlSummaryReport sql_summary_report = 5;
+ SqlReviewReport sql_review_report = 6;
+ }
+ message SqlSummaryReport {
+ string statement_type = 1;
+ int64 affected_rows = 2;
+ }
+ message SqlReviewReport {
+ int64 line = 1;
+ string detail = 2;
+ // Code from sql review.
+ int64 code = 3;
}
- Namespace namespace = 2;
- }
- Code code = 4;
-
- oneof report {
- StatementTypeReport statement_type_report = 5;
- AffectedRowsReport affected_rows_report = 6;
- SqlReviewReport sql_review_report = 7;
- }
- message StatementTypeReport {
- string statement_type = 1;
- }
- message AffectedRowsReport {
- int64 affected_rows = 1;
- }
- message SqlReviewReport {
- int64 line = 1;
- string detail = 2;
}
}
-
-message PlanCheckRunResultFailure {
- string title = 1;
- string content = 2;
-}
diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.proto
index 099de21637..35db329d07 100644
--- a/proto/v1/rollout_service.proto
+++ b/proto/v1/rollout_service.proto
@@ -368,28 +368,36 @@ message PlanCheckRun {
// Format: projects/{project}/sheets/{sheet}
string sheet = 6;
- string detail = 7;
- repeated Result results = 8;
+ repeated Result results = 7;
+ // error is set if the Status is FAILED.
+ string error = 8;
message Result {
- enum Namespace {
- NAMESPACE_UNSPECIFIED = 0;
- BYTEBASE = 1;
- ADVISOR = 2;
- }
- Namespace namespace = 1;
- int64 code = 2;
enum Status {
STATUS_UNSPECIFIED = 0;
ERROR = 1;
WARNING = 2;
SUCCESS = 3;
}
- Status status = 3;
- string title = 4;
- string content = 5;
- int64 line = 6;
- string detail = 7;
+ Status status = 1;
+ string title = 2;
+ string content = 3;
+ int64 code = 4;
+
+ oneof report {
+ SqlSummaryReport sql_summary_report = 5;
+ SqlReviewReport sql_review_report = 6;
+ }
+ message SqlSummaryReport {
+ string statement_type = 1;
+ int64 affected_rows = 2;
+ }
+ message SqlReviewReport {
+ int64 line = 1;
+ string detail = 2;
+ // Code from sql review.
+ int64 code = 3;
+ }
}
}