Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: task run log tx (#12685)
p0nyb317205fb37c
diff --git a/backend/api/v1/rollout_service_converter.go b/backend/api/v1/rollout_service_converter.goindex f505e956c2..a646d34702 100644--- a/backend/api/v1/rollout_service_converter.go+++ b/backend/api/v1/rollout_service_converter.go@@ -951,6 +951,17 @@ func convertToTaskRunLogEntries(logs []*store.TaskRunLog) []*v1pb.TaskRunLogEntr},}entries = append(entries, e)++ case storepb.TaskRunLog_TRANSACTION_CONTROL:+ e := &v1pb.TaskRunLogEntry{+ Type: v1pb.TaskRunLogEntry_TRANSACTION_CONTROL,+ LogTime: timestamppb.New(l.T),+ TransactionControl: &v1pb.TaskRunLogEntry_TransactionControl{+ Type: convertTaskRunLogTransactionControlType(l.Payload.TransactionControl.Type),+ Error: l.Payload.TransactionControl.Error,+ },+ }+ entries = append(entries, e)}}@@ -968,6 +979,19 @@ func convertTaskRunLogTaskRunStatus(s storepb.TaskRunLog_TaskRunStatusUpdate_Sta}}+func convertTaskRunLogTransactionControlType(t storepb.TaskRunLog_TransactionControl_Type) v1pb.TaskRunLogEntry_TransactionControl_Type {+ switch t {+ case storepb.TaskRunLog_TransactionControl_BEGIN:+ return v1pb.TaskRunLogEntry_TransactionControl_BEGIN+ case storepb.TaskRunLog_TransactionControl_COMMIT:+ return v1pb.TaskRunLogEntry_TransactionControl_COMMIT+ case storepb.TaskRunLog_TransactionControl_ROLLBACK:+ return v1pb.TaskRunLogEntry_TransactionControl_ROLLBACK+ default:+ return v1pb.TaskRunLogEntry_TransactionControl_TYPE_UNSPECIFIED+ }+}+func getResourceNameForSheet(project *store.ProjectMessage, sheetUID int) string {return fmt.Sprintf("%s%s/%s%d", common.ProjectNamePrefix, project.ResourceID, common.SheetIDPrefix, sheetUID)}diff --git a/backend/plugin/db/driver.go b/backend/plugin/db/driver.goindex 566c4cb199..8027d58a9f 100644--- a/backend/plugin/db/driver.go+++ b/backend/plugin/db/driver.go@@ -415,6 +415,22 @@ func (o *ExecuteOptions) LogCommandResponse(commandIndexes []int32, affectedRows}}+func (o *ExecuteOptions) LogTransactionControl(t storepb.TaskRunLog_TransactionControl_Type, rerr string) {+ if o == nil || o.CreateTaskRunLog == nil {+ return+ }+ err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{+ Type: storepb.TaskRunLog_TRANSACTION_CONTROL,+ TransactionControl: &storepb.TaskRunLog_TransactionControl{+ Type: t,+ Error: rerr,+ },+ })+ if err != nil {+ slog.Warn("failed to log command transaction control", log.BBError(err))+ }+}+// ErrorWithPosition is the error with the position information.type ErrorWithPosition struct {Err errordiff --git a/backend/plugin/db/mssql/mssql.go b/backend/plugin/db/mssql/mssql.goindex 13500c7cea..0de7144578 100644--- a/backend/plugin/db/mssql/mssql.go+++ b/backend/plugin/db/mssql/mssql.go@@ -148,9 +148,23 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exe}tx, err := driver.db.BeginTx(ctx, nil)if err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, err.Error())return 0, err}- defer tx.Rollback()+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, "")++ committed := false+ defer func() {+ err := tx.Rollback()+ if committed {+ return+ }+ var rerr string+ if err != nil {+ rerr = err.Error()+ }+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_ROLLBACK, rerr)+ }()totalAffectRows := int64(0)@@ -204,8 +218,11 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exe}if err := tx.Commit(); err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, err.Error())return 0, err}+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, "")+ committed = truereturn totalAffectRows, nil}diff --git a/backend/plugin/db/mysql/mysql.go b/backend/plugin/db/mysql/mysql.goindex 1dc8ab46fd..24c5aa9be7 100644--- a/backend/plugin/db/mysql/mysql.go+++ b/backend/plugin/db/mysql/mysql.go@@ -346,9 +346,24 @@ func (d *Driver) Execute(ctx context.Context, statement string, opts db.ExecuteOtxer := driverConn.(driver.ConnBeginTx)tx, err := txer.BeginTx(ctx, driver.TxOptions{})if err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, err.Error())return err+ } else {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, "")}- defer tx.Rollback()++ committed := false+ defer func() {+ err := tx.Rollback()+ if committed {+ return+ }+ var rerr string+ if err != nil {+ rerr = err.Error()+ }+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_ROLLBACK, rerr)+ }()for i, command := range commands {// Set the progress information for the current chunk.@@ -407,7 +422,11 @@ func (d *Driver) Execute(ctx context.Context, statement string, opts db.ExecuteO}if err := tx.Commit(); err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, err.Error())return errors.Wrapf(err, "failed to commit execute transaction")+ } else {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, "")+ committed = true}return nil}); err != nil {diff --git a/backend/plugin/db/oracle/oracle.go b/backend/plugin/db/oracle/oracle.goindex 759fb54810..7a8bf346a8 100644--- a/backend/plugin/db/oracle/oracle.go+++ b/backend/plugin/db/oracle/oracle.go@@ -126,11 +126,26 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exereturn 0, errors.Wrapf(err, "failed to get connection")}defer conn.Close()+tx, err := conn.BeginTx(ctx, nil)if err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, err.Error())return 0, errors.Wrapf(err, "failed to begin transaction")}- defer tx.Rollback()+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, "")++ committed := false+ defer func() {+ err := tx.Rollback()+ if committed {+ return+ }+ var rerr string+ if err != nil {+ rerr = err.Error()+ }+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_ROLLBACK, rerr)+ }()totalCommands := len(singleSQLs)totalRowsAffected := int64(0)@@ -181,8 +196,11 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exe}if err := tx.Commit(); err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, err.Error())return 0, errors.Wrapf(err, "failed to commit transaction")}+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, "")+ committed = truereturn totalRowsAffected, nil}diff --git a/backend/plugin/db/pg/pg.go b/backend/plugin/db/pg/pg.goindex 82befb8c10..3e042c6215 100644--- a/backend/plugin/db/pg/pg.go+++ b/backend/plugin/db/pg/pg.go@@ -455,17 +455,6 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exe}totalRowsAffected := int64(0)- if len(remainingSQLs) != 0 {- tx, err := driver.db.BeginTx(ctx, nil)- if err != nil {- return 0, err- }- defer tx.Rollback()-- if err := tx.Commit(); err != nil {- return 0, err- }- }conn, err := driver.db.Conn(ctx)if err != nil {return 0, errors.Wrapf(err, "failed to get connection")@@ -480,9 +469,23 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exetx, err := conn.Begin(ctx)if err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, err.Error())return errors.Wrapf(err, "failed to begin transaction")}- defer tx.Rollback(ctx)+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_BEGIN, "")++ committed := false+ defer func() {+ err := tx.Rollback(ctx)+ if committed {+ return+ }+ var rerr string+ if err != nil {+ rerr = err.Error()+ }+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_ROLLBACK, rerr)+ }()// Set the current transaction role to the database owner so that the owner of created objects will be the same as the database owner.if _, err := tx.Exec(ctx, fmt.Sprintf("SET LOCAL ROLE '%s'", owner)); err != nil {@@ -541,8 +544,11 @@ func (driver *Driver) Execute(ctx context.Context, statement string, opts db.Exe}if err := tx.Commit(ctx); err != nil {+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, err.Error())return errors.Wrapf(err, "failed to commit transaction")}+ opts.LogTransactionControl(storepb.TaskRunLog_TransactionControl_COMMIT, "")+ committed = truereturn nil})diff --git a/frontend/src/types/proto/store/task_run_log.ts b/frontend/src/types/proto/store/task_run_log.tsindex 249ae39d16..45bee7a57f 100644--- a/frontend/src/types/proto/store/task_run_log.ts+++ b/frontend/src/types/proto/store/task_run_log.ts@@ -13,6 +13,7 @@ export interface TaskRunLog {databaseSyncStart: TaskRunLog_DatabaseSyncStart | undefined;databaseSyncEnd: TaskRunLog_DatabaseSyncEnd | undefined;taskRunStatusUpdate: TaskRunLog_TaskRunStatusUpdate | undefined;+ transactionControl: TaskRunLog_TransactionControl | undefined;}export enum TaskRunLog_Type {@@ -24,6 +25,7 @@ export enum TaskRunLog_Type {DATABASE_SYNC_START = "DATABASE_SYNC_START",DATABASE_SYNC_END = "DATABASE_SYNC_END",TASK_RUN_STATUS_UPDATE = "TASK_RUN_STATUS_UPDATE",+ TRANSACTION_CONTROL = "TRANSACTION_CONTROL",UNRECOGNIZED = "UNRECOGNIZED",}@@ -53,6 +55,9 @@ export function taskRunLog_TypeFromJSON(object: any): TaskRunLog_Type {case 7:case "TASK_RUN_STATUS_UPDATE":return TaskRunLog_Type.TASK_RUN_STATUS_UPDATE;+ case 8:+ case "TRANSACTION_CONTROL":+ return TaskRunLog_Type.TRANSACTION_CONTROL;case -1:case "UNRECOGNIZED":default:@@ -78,6 +83,8 @@ export function taskRunLog_TypeToJSON(object: TaskRunLog_Type): string {return "DATABASE_SYNC_END";case TaskRunLog_Type.TASK_RUN_STATUS_UPDATE:return "TASK_RUN_STATUS_UPDATE";+ case TaskRunLog_Type.TRANSACTION_CONTROL:+ return "TRANSACTION_CONTROL";case TaskRunLog_Type.UNRECOGNIZED:default:return "UNRECOGNIZED";@@ -102,6 +109,8 @@ export function taskRunLog_TypeToNumber(object: TaskRunLog_Type): number {return 6;case TaskRunLog_Type.TASK_RUN_STATUS_UPDATE:return 7;+ case TaskRunLog_Type.TRANSACTION_CONTROL:+ return 8;case TaskRunLog_Type.UNRECOGNIZED:default:return -1;@@ -198,6 +207,72 @@ export function taskRunLog_TaskRunStatusUpdate_StatusToNumber(object: TaskRunLog}}+export interface TaskRunLog_TransactionControl {+ type: TaskRunLog_TransactionControl_Type;+ error: string;+}++export enum TaskRunLog_TransactionControl_Type {+ TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",+ BEGIN = "BEGIN",+ COMMIT = "COMMIT",+ ROLLBACK = "ROLLBACK",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function taskRunLog_TransactionControl_TypeFromJSON(object: any): TaskRunLog_TransactionControl_Type {+ switch (object) {+ case 0:+ case "TYPE_UNSPECIFIED":+ return TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED;+ case 1:+ case "BEGIN":+ return TaskRunLog_TransactionControl_Type.BEGIN;+ case 2:+ case "COMMIT":+ return TaskRunLog_TransactionControl_Type.COMMIT;+ case 3:+ case "ROLLBACK":+ return TaskRunLog_TransactionControl_Type.ROLLBACK;+ case -1:+ case "UNRECOGNIZED":+ default:+ return TaskRunLog_TransactionControl_Type.UNRECOGNIZED;+ }+}++export function taskRunLog_TransactionControl_TypeToJSON(object: TaskRunLog_TransactionControl_Type): string {+ switch (object) {+ case TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED:+ return "TYPE_UNSPECIFIED";+ case TaskRunLog_TransactionControl_Type.BEGIN:+ return "BEGIN";+ case TaskRunLog_TransactionControl_Type.COMMIT:+ return "COMMIT";+ case TaskRunLog_TransactionControl_Type.ROLLBACK:+ return "ROLLBACK";+ case TaskRunLog_TransactionControl_Type.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function taskRunLog_TransactionControl_TypeToNumber(object: TaskRunLog_TransactionControl_Type): number {+ switch (object) {+ case TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED:+ return 0;+ case TaskRunLog_TransactionControl_Type.BEGIN:+ return 1;+ case TaskRunLog_TransactionControl_Type.COMMIT:+ return 2;+ case TaskRunLog_TransactionControl_Type.ROLLBACK:+ return 3;+ case TaskRunLog_TransactionControl_Type.UNRECOGNIZED:+ default:+ return -1;+ }+}+function createBaseTaskRunLog(): TaskRunLog {return {type: TaskRunLog_Type.TYPE_UNSPECIFIED,@@ -208,6 +283,7 @@ function createBaseTaskRunLog(): TaskRunLog {databaseSyncStart: undefined,databaseSyncEnd: undefined,taskRunStatusUpdate: undefined,+ transactionControl: undefined,};}@@ -237,6 +313,9 @@ export const TaskRunLog = {if (message.taskRunStatusUpdate !== undefined) {TaskRunLog_TaskRunStatusUpdate.encode(message.taskRunStatusUpdate, writer.uint32(66).fork()).ldelim();}+ if (message.transactionControl !== undefined) {+ TaskRunLog_TransactionControl.encode(message.transactionControl, writer.uint32(74).fork()).ldelim();+ }return writer;},@@ -303,6 +382,13 @@ export const TaskRunLog = {message.taskRunStatusUpdate = TaskRunLog_TaskRunStatusUpdate.decode(reader, reader.uint32());continue;+ case 9:+ if (tag !== 74) {+ break;+ }++ message.transactionControl = TaskRunLog_TransactionControl.decode(reader, reader.uint32());+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -334,6 +420,9 @@ export const TaskRunLog = {taskRunStatusUpdate: isSet(object.taskRunStatusUpdate)? TaskRunLog_TaskRunStatusUpdate.fromJSON(object.taskRunStatusUpdate): undefined,+ transactionControl: isSet(object.transactionControl)+ ? TaskRunLog_TransactionControl.fromJSON(object.transactionControl)+ : undefined,};},@@ -363,6 +452,9 @@ export const TaskRunLog = {if (message.taskRunStatusUpdate !== undefined) {obj.taskRunStatusUpdate = TaskRunLog_TaskRunStatusUpdate.toJSON(message.taskRunStatusUpdate);}+ if (message.transactionControl !== undefined) {+ obj.transactionControl = TaskRunLog_TransactionControl.toJSON(message.transactionControl);+ }return obj;},@@ -393,6 +485,9 @@ export const TaskRunLog = {message.taskRunStatusUpdate = (object.taskRunStatusUpdate !== undefined && object.taskRunStatusUpdate !== null)? TaskRunLog_TaskRunStatusUpdate.fromPartial(object.taskRunStatusUpdate): undefined;+ message.transactionControl = (object.transactionControl !== undefined && object.transactionControl !== null)+ ? TaskRunLog_TransactionControl.fromPartial(object.transactionControl)+ : undefined;return message;},};@@ -863,6 +958,82 @@ export const TaskRunLog_TaskRunStatusUpdate = {},};+function createBaseTaskRunLog_TransactionControl(): TaskRunLog_TransactionControl {+ return { type: TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED, error: "" };+}++export const TaskRunLog_TransactionControl = {+ encode(message: TaskRunLog_TransactionControl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.type !== TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED) {+ writer.uint32(8).int32(taskRunLog_TransactionControl_TypeToNumber(message.type));+ }+ if (message.error !== "") {+ writer.uint32(18).string(message.error);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLog_TransactionControl {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseTaskRunLog_TransactionControl();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 8) {+ break;+ }++ message.type = taskRunLog_TransactionControl_TypeFromJSON(reader.int32());+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.error = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): TaskRunLog_TransactionControl {+ return {+ type: isSet(object.type)+ ? taskRunLog_TransactionControl_TypeFromJSON(object.type)+ : TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED,+ error: isSet(object.error) ? globalThis.String(object.error) : "",+ };+ },++ toJSON(message: TaskRunLog_TransactionControl): unknown {+ const obj: any = {};+ if (message.type !== TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED) {+ obj.type = taskRunLog_TransactionControl_TypeToJSON(message.type);+ }+ if (message.error !== "") {+ obj.error = message.error;+ }+ return obj;+ },++ create(base?: DeepPartial<TaskRunLog_TransactionControl>): TaskRunLog_TransactionControl {+ return TaskRunLog_TransactionControl.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<TaskRunLog_TransactionControl>): TaskRunLog_TransactionControl {+ const message = createBaseTaskRunLog_TransactionControl();+ message.type = object.type ?? TaskRunLog_TransactionControl_Type.TYPE_UNSPECIFIED;+ message.error = object.error ?? "";+ return message;+ },+};+type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;export type DeepPartial<T> = T extends Builtin ? Tdiff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.tsindex 594e157414..261a101e1c 100644--- a/frontend/src/types/proto/v1/rollout_service.ts+++ b/frontend/src/types/proto/v1/rollout_service.ts@@ -697,6 +697,7 @@ export interface TaskRunLogEntry {commandExecute: TaskRunLogEntry_CommandExecute | undefined;databaseSync: TaskRunLogEntry_DatabaseSync | undefined;taskRunStatusUpdate: TaskRunLogEntry_TaskRunStatusUpdate | undefined;+ transactionControl: TaskRunLogEntry_TransactionControl | undefined;}export enum TaskRunLogEntry_Type {@@ -705,6 +706,7 @@ export enum TaskRunLogEntry_Type {COMMAND_EXECUTE = "COMMAND_EXECUTE",DATABASE_SYNC = "DATABASE_SYNC",TASK_RUN_STATUS_UPDATE = "TASK_RUN_STATUS_UPDATE",+ TRANSACTION_CONTROL = "TRANSACTION_CONTROL",UNRECOGNIZED = "UNRECOGNIZED",}@@ -725,6 +727,9 @@ export function taskRunLogEntry_TypeFromJSON(object: any): TaskRunLogEntry_Typecase 4:case "TASK_RUN_STATUS_UPDATE":return TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE;+ case 5:+ case "TRANSACTION_CONTROL":+ return TaskRunLogEntry_Type.TRANSACTION_CONTROL;case -1:case "UNRECOGNIZED":default:@@ -744,6 +749,8 @@ export function taskRunLogEntry_TypeToJSON(object: TaskRunLogEntry_Type): stringreturn "DATABASE_SYNC";case TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE:return "TASK_RUN_STATUS_UPDATE";+ case TaskRunLogEntry_Type.TRANSACTION_CONTROL:+ return "TRANSACTION_CONTROL";case TaskRunLogEntry_Type.UNRECOGNIZED:default:return "UNRECOGNIZED";@@ -762,6 +769,8 @@ export function taskRunLogEntry_TypeToNumber(object: TaskRunLogEntry_Type): numbreturn 3;case TaskRunLogEntry_Type.TASK_RUN_STATUS_UPDATE:return 4;+ case TaskRunLogEntry_Type.TRANSACTION_CONTROL:+ return 5;case TaskRunLogEntry_Type.UNRECOGNIZED:default:return -1;@@ -865,6 +874,74 @@ export function taskRunLogEntry_TaskRunStatusUpdate_StatusToNumber(}}+export interface TaskRunLogEntry_TransactionControl {+ type: TaskRunLogEntry_TransactionControl_Type;+ error: string;+}++export enum TaskRunLogEntry_TransactionControl_Type {+ TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",+ BEGIN = "BEGIN",+ COMMIT = "COMMIT",+ ROLLBACK = "ROLLBACK",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function taskRunLogEntry_TransactionControl_TypeFromJSON(object: any): TaskRunLogEntry_TransactionControl_Type {+ switch (object) {+ case 0:+ case "TYPE_UNSPECIFIED":+ return TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED;+ case 1:+ case "BEGIN":+ return TaskRunLogEntry_TransactionControl_Type.BEGIN;+ case 2:+ case "COMMIT":+ return TaskRunLogEntry_TransactionControl_Type.COMMIT;+ case 3:+ case "ROLLBACK":+ return TaskRunLogEntry_TransactionControl_Type.ROLLBACK;+ case -1:+ case "UNRECOGNIZED":+ default:+ return TaskRunLogEntry_TransactionControl_Type.UNRECOGNIZED;+ }+}++export function taskRunLogEntry_TransactionControl_TypeToJSON(object: TaskRunLogEntry_TransactionControl_Type): string {+ switch (object) {+ case TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED:+ return "TYPE_UNSPECIFIED";+ case TaskRunLogEntry_TransactionControl_Type.BEGIN:+ return "BEGIN";+ case TaskRunLogEntry_TransactionControl_Type.COMMIT:+ return "COMMIT";+ case TaskRunLogEntry_TransactionControl_Type.ROLLBACK:+ return "ROLLBACK";+ case TaskRunLogEntry_TransactionControl_Type.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function taskRunLogEntry_TransactionControl_TypeToNumber(+ object: TaskRunLogEntry_TransactionControl_Type,+): number {+ switch (object) {+ case TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED:+ return 0;+ case TaskRunLogEntry_TransactionControl_Type.BEGIN:+ return 1;+ case TaskRunLogEntry_TransactionControl_Type.COMMIT:+ return 2;+ case TaskRunLogEntry_TransactionControl_Type.ROLLBACK:+ return 3;+ case TaskRunLogEntry_TransactionControl_Type.UNRECOGNIZED:+ default:+ return -1;+ }+}+function createBaseBatchRunTasksRequest(): BatchRunTasksRequest {return { parent: "", tasks: [], reason: "" };}@@ -3340,6 +3417,7 @@ function createBaseTaskRunLogEntry(): TaskRunLogEntry {commandExecute: undefined,databaseSync: undefined,taskRunStatusUpdate: undefined,+ transactionControl: undefined,};}@@ -3363,6 +3441,9 @@ export const TaskRunLogEntry = {if (message.taskRunStatusUpdate !== undefined) {TaskRunLogEntry_TaskRunStatusUpdate.encode(message.taskRunStatusUpdate, writer.uint32(42).fork()).ldelim();}+ if (message.transactionControl !== undefined) {+ TaskRunLogEntry_TransactionControl.encode(message.transactionControl, writer.uint32(58).fork()).ldelim();+ }return writer;},@@ -3415,6 +3496,13 @@ export const TaskRunLogEntry = {message.taskRunStatusUpdate = TaskRunLogEntry_TaskRunStatusUpdate.decode(reader, reader.uint32());continue;+ case 7:+ if (tag !== 58) {+ break;+ }++ message.transactionControl = TaskRunLogEntry_TransactionControl.decode(reader, reader.uint32());+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -3436,6 +3524,9 @@ export const TaskRunLogEntry = {taskRunStatusUpdate: isSet(object.taskRunStatusUpdate)? TaskRunLogEntry_TaskRunStatusUpdate.fromJSON(object.taskRunStatusUpdate): undefined,+ transactionControl: isSet(object.transactionControl)+ ? TaskRunLogEntry_TransactionControl.fromJSON(object.transactionControl)+ : undefined,};},@@ -3459,6 +3550,9 @@ export const TaskRunLogEntry = {if (message.taskRunStatusUpdate !== undefined) {obj.taskRunStatusUpdate = TaskRunLogEntry_TaskRunStatusUpdate.toJSON(message.taskRunStatusUpdate);}+ if (message.transactionControl !== undefined) {+ obj.transactionControl = TaskRunLogEntry_TransactionControl.toJSON(message.transactionControl);+ }return obj;},@@ -3481,6 +3575,9 @@ export const TaskRunLogEntry = {message.taskRunStatusUpdate = (object.taskRunStatusUpdate !== undefined && object.taskRunStatusUpdate !== null)? TaskRunLogEntry_TaskRunStatusUpdate.fromPartial(object.taskRunStatusUpdate): undefined;+ message.transactionControl = (object.transactionControl !== undefined && object.transactionControl !== null)+ ? TaskRunLogEntry_TransactionControl.fromPartial(object.transactionControl)+ : undefined;return message;},};@@ -3956,6 +4053,82 @@ export const TaskRunLogEntry_TaskRunStatusUpdate = {},};+function createBaseTaskRunLogEntry_TransactionControl(): TaskRunLogEntry_TransactionControl {+ return { type: TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED, error: "" };+}++export const TaskRunLogEntry_TransactionControl = {+ encode(message: TaskRunLogEntry_TransactionControl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.type !== TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED) {+ writer.uint32(8).int32(taskRunLogEntry_TransactionControl_TypeToNumber(message.type));+ }+ if (message.error !== "") {+ writer.uint32(18).string(message.error);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry_TransactionControl {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseTaskRunLogEntry_TransactionControl();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 8) {+ break;+ }++ message.type = taskRunLogEntry_TransactionControl_TypeFromJSON(reader.int32());+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.error = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): TaskRunLogEntry_TransactionControl {+ return {+ type: isSet(object.type)+ ? taskRunLogEntry_TransactionControl_TypeFromJSON(object.type)+ : TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED,+ error: isSet(object.error) ? globalThis.String(object.error) : "",+ };+ },++ toJSON(message: TaskRunLogEntry_TransactionControl): unknown {+ const obj: any = {};+ if (message.type !== TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED) {+ obj.type = taskRunLogEntry_TransactionControl_TypeToJSON(message.type);+ }+ if (message.error !== "") {+ obj.error = message.error;+ }+ return obj;+ },++ create(base?: DeepPartial<TaskRunLogEntry_TransactionControl>): TaskRunLogEntry_TransactionControl {+ return TaskRunLogEntry_TransactionControl.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<TaskRunLogEntry_TransactionControl>): TaskRunLogEntry_TransactionControl {+ const message = createBaseTaskRunLogEntry_TransactionControl();+ message.type = object.type ?? TaskRunLogEntry_TransactionControl_Type.TYPE_UNSPECIFIED;+ message.error = object.error ?? "";+ return message;+ },+};+export type RolloutServiceDefinition = typeof RolloutServiceDefinition;export const RolloutServiceDefinition = {name: "RolloutService",diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex af7be3b66f..76d72b1f12 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -13407,6 +13407,7 @@ components:- DATABASE_SYNC_START- DATABASE_SYNC_END- TASK_RUN_STATUS_UPDATE+ - TRANSACTION_CONTROLtype: stringformat: enumschemaDumpStart:@@ -13423,6 +13424,8 @@ components:$ref: '#/components/schemas/TaskRunLog_DatabaseSyncEnd'taskRunStatusUpdate:$ref: '#/components/schemas/TaskRunLog_TaskRunStatusUpdate'+ transactionControl:+ $ref: '#/components/schemas/TaskRunLog_TransactionControl'TaskRunLog_CommandExecute:type: objectproperties:@@ -13480,6 +13483,19 @@ components:- RUNNING_RUNNINGtype: stringformat: enum+ TaskRunLog_TransactionControl:+ type: object+ properties:+ type:+ enum:+ - TYPE_UNSPECIFIED+ - BEGIN+ - COMMIT+ - ROLLBACK+ type: string+ format: enum+ error:+ type: stringTaskRun_ExecutionDetail:type: objectproperties:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 2dc38e0f0d..53d2bd0d0c 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -279,8 +279,10 @@- [TaskRunLog.SchemaDumpEnd](#bytebase-store-TaskRunLog-SchemaDumpEnd)- [TaskRunLog.SchemaDumpStart](#bytebase-store-TaskRunLog-SchemaDumpStart)- [TaskRunLog.TaskRunStatusUpdate](#bytebase-store-TaskRunLog-TaskRunStatusUpdate)+ - [TaskRunLog.TransactionControl](#bytebase-store-TaskRunLog-TransactionControl)- [TaskRunLog.TaskRunStatusUpdate.Status](#bytebase-store-TaskRunLog-TaskRunStatusUpdate-Status)+ - [TaskRunLog.TransactionControl.Type](#bytebase-store-TaskRunLog-TransactionControl-Type)- [TaskRunLog.Type](#bytebase-store-TaskRunLog-Type)- [store/user.proto](#store_user-proto)@@ -4175,6 +4177,7 @@ The following fields are used for error reporting.| database_sync_start | [TaskRunLog.DatabaseSyncStart](#bytebase-store-TaskRunLog-DatabaseSyncStart) | | || database_sync_end | [TaskRunLog.DatabaseSyncEnd](#bytebase-store-TaskRunLog-DatabaseSyncEnd) | | || task_run_status_update | [TaskRunLog.TaskRunStatusUpdate](#bytebase-store-TaskRunLog-TaskRunStatusUpdate) | | |+| transaction_control | [TaskRunLog.TransactionControl](#bytebase-store-TaskRunLog-TransactionControl) | | |@@ -4278,6 +4281,22 @@ The following fields are used for error reporting.++<a name="bytebase-store-TaskRunLog-TransactionControl"></a>++### TaskRunLog.TransactionControl++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| type | [TaskRunLog.TransactionControl.Type](#bytebase-store-TaskRunLog-TransactionControl-Type) | | |+| error | [string](#string) | | |+++++@@ -4294,6 +4313,20 @@ The following fields are used for error reporting.+<a name="bytebase-store-TaskRunLog-TransactionControl-Type"></a>++### TaskRunLog.TransactionControl.Type+++| Name | Number | Description |+| ---- | ------ | ----------- |+| TYPE_UNSPECIFIED | 0 | |+| BEGIN | 1 | |+| COMMIT | 2 | |+| ROLLBACK | 3 | |+++<a name="bytebase-store-TaskRunLog-Type"></a>### TaskRunLog.Type@@ -4309,6 +4342,7 @@ The following fields are used for error reporting.| DATABASE_SYNC_START | 5 | || DATABASE_SYNC_END | 6 | || TASK_RUN_STATUS_UPDATE | 7 | |+| TRANSACTION_CONTROL | 8 | |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex fbe062b1e1..f52082793b 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -1306,11 +1306,19 @@<a href="#bytebase.store.TaskRunLog.TaskRunStatusUpdate"><span class="badge">M</span>TaskRunLog.TaskRunStatusUpdate</a></li>+ <li>+ <a href="#bytebase.store.TaskRunLog.TransactionControl"><span class="badge">M</span>TaskRunLog.TransactionControl</a>+ </li>+<li><a href="#bytebase.store.TaskRunLog.TaskRunStatusUpdate.Status"><span class="badge">E</span>TaskRunLog.TaskRunStatusUpdate.Status</a></li>+ <li>+ <a href="#bytebase.store.TaskRunLog.TransactionControl.Type"><span class="badge">E</span>TaskRunLog.TransactionControl.Type</a>+ </li>+<li><a href="#bytebase.store.TaskRunLog.Type"><span class="badge">E</span>TaskRunLog.Type</a></li>@@ -10322,6 +10330,13 @@ Default to this mode.</p></td><td><p> </p></td></tr>+ <tr>+ <td>transaction_control</td>+ <td><a href="#bytebase.store.TaskRunLog.TransactionControl">TaskRunLog.TransactionControl</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -10485,6 +10500,37 @@ Default to this mode.</p></td>+ <h3 id="bytebase.store.TaskRunLog.TransactionControl">TaskRunLog.TransactionControl</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>type</td>+ <td><a href="#bytebase.store.TaskRunLog.TransactionControl.Type">TaskRunLog.TransactionControl.Type</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>error</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.store.TaskRunLog.TaskRunStatusUpdate.Status">TaskRunLog.TaskRunStatusUpdate.Status</h3>@@ -10516,6 +10562,41 @@ Default to this mode.</p></td></tbody></table>+ <h3 id="bytebase.store.TaskRunLog.TransactionControl.Type">TaskRunLog.TransactionControl.Type</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>TYPE_UNSPECIFIED</td>+ <td>0</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>BEGIN</td>+ <td>1</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>COMMIT</td>+ <td>2</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>ROLLBACK</td>+ <td>3</td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>+<h3 id="bytebase.store.TaskRunLog.Type">TaskRunLog.Type</h3><p></p><table class="enum-table">@@ -10572,6 +10653,12 @@ Default to this mode.</p></td><td><p></p></td></tr>+ <tr>+ <td>TRANSACTION_CONTROL</td>+ <td>8</td>+ <td><p></p></td>+ </tr>+</tbody></table>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 8ef0df1160..b2c96aceab 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -505,6 +505,7 @@- [TaskRunLogEntry.DatabaseSync](#bytebase-v1-TaskRunLogEntry-DatabaseSync)- [TaskRunLogEntry.SchemaDump](#bytebase-v1-TaskRunLogEntry-SchemaDump)- [TaskRunLogEntry.TaskRunStatusUpdate](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate)+ - [TaskRunLogEntry.TransactionControl](#bytebase-v1-TaskRunLogEntry-TransactionControl)- [Task.Status](#bytebase-v1-Task-Status)- [Task.Type](#bytebase-v1-Task-Type)@@ -512,6 +513,7 @@- [TaskRun.ExportArchiveStatus](#bytebase-v1-TaskRun-ExportArchiveStatus)- [TaskRun.Status](#bytebase-v1-TaskRun-Status)- [TaskRunLogEntry.TaskRunStatusUpdate.Status](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate-Status)+ - [TaskRunLogEntry.TransactionControl.Type](#bytebase-v1-TaskRunLogEntry-TransactionControl-Type)- [TaskRunLogEntry.Type](#bytebase-v1-TaskRunLogEntry-Type)- [RolloutService](#bytebase-v1-RolloutService)@@ -8274,6 +8276,7 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat| command_execute | [TaskRunLogEntry.CommandExecute](#bytebase-v1-TaskRunLogEntry-CommandExecute) | | || database_sync | [TaskRunLogEntry.DatabaseSync](#bytebase-v1-TaskRunLogEntry-DatabaseSync) | | || task_run_status_update | [TaskRunLogEntry.TaskRunStatusUpdate](#bytebase-v1-TaskRunLogEntry-TaskRunStatusUpdate) | | |+| transaction_control | [TaskRunLogEntry.TransactionControl](#bytebase-v1-TaskRunLogEntry-TransactionControl) | | |@@ -8363,6 +8366,22 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat++<a name="bytebase-v1-TaskRunLogEntry-TransactionControl"></a>++### TaskRunLogEntry.TransactionControl++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| type | [TaskRunLogEntry.TransactionControl.Type](#bytebase-v1-TaskRunLogEntry-TransactionControl-Type) | | |+| error | [string](#string) | | |+++++@@ -8460,6 +8479,20 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat+<a name="bytebase-v1-TaskRunLogEntry-TransactionControl-Type"></a>++### TaskRunLogEntry.TransactionControl.Type+++| Name | Number | Description |+| ---- | ------ | ----------- |+| TYPE_UNSPECIFIED | 0 | |+| BEGIN | 1 | |+| COMMIT | 2 | |+| ROLLBACK | 3 | |+++<a name="bytebase-v1-TaskRunLogEntry-Type"></a>### TaskRunLogEntry.Type@@ -8472,6 +8505,7 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat| COMMAND_EXECUTE | 2 | || DATABASE_SYNC | 3 | || TASK_RUN_STATUS_UPDATE | 4 | |+| TRANSACTION_CONTROL | 5 | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex c5fc458ec1..57d1b73a03 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -2117,6 +2117,10 @@<a href="#bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate"><span class="badge">M</span>TaskRunLogEntry.TaskRunStatusUpdate</a></li>+ <li>+ <a href="#bytebase.v1.TaskRunLogEntry.TransactionControl"><span class="badge">M</span>TaskRunLogEntry.TransactionControl</a>+ </li>+<li><a href="#bytebase.v1.Task.Status"><span class="badge">E</span>Task.Status</a>@@ -2142,6 +2146,10 @@<a href="#bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status"><span class="badge">E</span>TaskRunLogEntry.TaskRunStatusUpdate.Status</a></li>+ <li>+ <a href="#bytebase.v1.TaskRunLogEntry.TransactionControl.Type"><span class="badge">E</span>TaskRunLogEntry.TransactionControl.Type</a>+ </li>+<li><a href="#bytebase.v1.TaskRunLogEntry.Type"><span class="badge">E</span>TaskRunLogEntry.Type</a></li>@@ -23057,6 +23065,13 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory<td><p> </p></td></tr>+ <tr>+ <td>transaction_control</td>+ <td><a href="#bytebase.v1.TaskRunLogEntry.TransactionControl">TaskRunLogEntry.TransactionControl</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -23248,6 +23263,37 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory+ <h3 id="bytebase.v1.TaskRunLogEntry.TransactionControl">TaskRunLogEntry.TransactionControl</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>type</td>+ <td><a href="#bytebase.v1.TaskRunLogEntry.TransactionControl.Type">TaskRunLogEntry.TransactionControl.Type</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>error</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.Task.Status">Task.Status</h3>@@ -23520,6 +23566,41 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory</tbody></table>+ <h3 id="bytebase.v1.TaskRunLogEntry.TransactionControl.Type">TaskRunLogEntry.TransactionControl.Type</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>TYPE_UNSPECIFIED</td>+ <td>0</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>BEGIN</td>+ <td>1</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>COMMIT</td>+ <td>2</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>ROLLBACK</td>+ <td>3</td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>+<h3 id="bytebase.v1.TaskRunLogEntry.Type">TaskRunLogEntry.Type</h3><p></p><table class="enum-table">@@ -23558,6 +23639,12 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory<td><p></p></td></tr>+ <tr>+ <td>TRANSACTION_CONTROL</td>+ <td>5</td>+ <td><p></p></td>+ </tr>+</tbody></table>diff --git a/proto/generated-go/store/task_run_log.pb.go b/proto/generated-go/store/task_run_log.pb.goindex d77fc64b86..962f525392 100644--- a/proto/generated-go/store/task_run_log.pb.go+++ b/proto/generated-go/store/task_run_log.pb.go@@ -31,6 +31,7 @@ const (TaskRunLog_DATABASE_SYNC_START TaskRunLog_Type = 5TaskRunLog_DATABASE_SYNC_END TaskRunLog_Type = 6TaskRunLog_TASK_RUN_STATUS_UPDATE TaskRunLog_Type = 7+ TaskRunLog_TRANSACTION_CONTROL TaskRunLog_Type = 8)// Enum value maps for TaskRunLog_Type.@@ -44,6 +45,7 @@ var (5: "DATABASE_SYNC_START",6: "DATABASE_SYNC_END",7: "TASK_RUN_STATUS_UPDATE",+ 8: "TRANSACTION_CONTROL",}TaskRunLog_Type_value = map[string]int32{"TYPE_UNSPECIFIED": 0,@@ -54,6 +56,7 @@ var ("DATABASE_SYNC_START": 5,"DATABASE_SYNC_END": 6,"TASK_RUN_STATUS_UPDATE": 7,+ "TRANSACTION_CONTROL": 8,})@@ -135,6 +138,58 @@ func (TaskRunLog_TaskRunStatusUpdate_Status) EnumDescriptor() ([]byte, []int) {return file_store_task_run_log_proto_rawDescGZIP(), []int{0, 6, 0}}+type TaskRunLog_TransactionControl_Type int32++const (+ TaskRunLog_TransactionControl_TYPE_UNSPECIFIED TaskRunLog_TransactionControl_Type = 0+ TaskRunLog_TransactionControl_BEGIN TaskRunLog_TransactionControl_Type = 1+ TaskRunLog_TransactionControl_COMMIT TaskRunLog_TransactionControl_Type = 2+ TaskRunLog_TransactionControl_ROLLBACK TaskRunLog_TransactionControl_Type = 3+)++// Enum value maps for TaskRunLog_TransactionControl_Type.+var (+ TaskRunLog_TransactionControl_Type_name = map[int32]string{+ 0: "TYPE_UNSPECIFIED",+ 1: "BEGIN",+ 2: "COMMIT",+ 3: "ROLLBACK",+ }+ TaskRunLog_TransactionControl_Type_value = map[string]int32{+ "TYPE_UNSPECIFIED": 0,+ "BEGIN": 1,+ "COMMIT": 2,+ "ROLLBACK": 3,+ }+)++func (x TaskRunLog_TransactionControl_Type) Enum() *TaskRunLog_TransactionControl_Type {+ p := new(TaskRunLog_TransactionControl_Type)+ *p = x+ return p+}++func (x TaskRunLog_TransactionControl_Type) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (TaskRunLog_TransactionControl_Type) Descriptor() protoreflect.EnumDescriptor {+ return file_store_task_run_log_proto_enumTypes[2].Descriptor()+}++func (TaskRunLog_TransactionControl_Type) Type() protoreflect.EnumType {+ return &file_store_task_run_log_proto_enumTypes[2]+}++func (x TaskRunLog_TransactionControl_Type) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use TaskRunLog_TransactionControl_Type.Descriptor instead.+func (TaskRunLog_TransactionControl_Type) EnumDescriptor() ([]byte, []int) {+ return file_store_task_run_log_proto_rawDescGZIP(), []int{0, 7, 0}+}+type TaskRunLog struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -148,6 +203,7 @@ type TaskRunLog struct {DatabaseSyncStart *TaskRunLog_DatabaseSyncStart `protobuf:"bytes,6,opt,name=database_sync_start,json=databaseSyncStart,proto3" json:"database_sync_start,omitempty"`DatabaseSyncEnd *TaskRunLog_DatabaseSyncEnd `protobuf:"bytes,7,opt,name=database_sync_end,json=databaseSyncEnd,proto3" json:"database_sync_end,omitempty"`TaskRunStatusUpdate *TaskRunLog_TaskRunStatusUpdate `protobuf:"bytes,8,opt,name=task_run_status_update,json=taskRunStatusUpdate,proto3" json:"task_run_status_update,omitempty"`+ TransactionControl *TaskRunLog_TransactionControl `protobuf:"bytes,9,opt,name=transaction_control,json=transactionControl,proto3" json:"transaction_control,omitempty"`}func (x *TaskRunLog) Reset() {@@ -238,6 +294,13 @@ func (x *TaskRunLog) GetTaskRunStatusUpdate() *TaskRunLog_TaskRunStatusUpdate {return nil}+func (x *TaskRunLog) GetTransactionControl() *TaskRunLog_TransactionControl {+ if x != nil {+ return x.TransactionControl+ }+ return nil+}+type TaskRunLog_SchemaDumpStart struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -577,12 +640,67 @@ func (x *TaskRunLog_TaskRunStatusUpdate) GetStatus() TaskRunLog_TaskRunStatusUpdreturn TaskRunLog_TaskRunStatusUpdate_STATUS_UNSPECIFIED}+type TaskRunLog_TransactionControl struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Type TaskRunLog_TransactionControl_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.store.TaskRunLog_TransactionControl_Type" json:"type,omitempty"`+ Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`+}++func (x *TaskRunLog_TransactionControl) Reset() {+ *x = TaskRunLog_TransactionControl{}+ if protoimpl.UnsafeEnabled {+ mi := &file_store_task_run_log_proto_msgTypes[8]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *TaskRunLog_TransactionControl) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLog_TransactionControl) ProtoMessage() {}++func (x *TaskRunLog_TransactionControl) ProtoReflect() protoreflect.Message {+ mi := &file_store_task_run_log_proto_msgTypes[8]+ 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 TaskRunLog_TransactionControl.ProtoReflect.Descriptor instead.+func (*TaskRunLog_TransactionControl) Descriptor() ([]byte, []int) {+ return file_store_task_run_log_proto_rawDescGZIP(), []int{0, 7}+}++func (x *TaskRunLog_TransactionControl) GetType() TaskRunLog_TransactionControl_Type {+ if x != nil {+ return x.Type+ }+ return TaskRunLog_TransactionControl_TYPE_UNSPECIFIED+}++func (x *TaskRunLog_TransactionControl) GetError() string {+ if x != nil {+ return x.Error+ }+ return ""+}+var File_store_task_run_log_proto protoreflect.FileDescriptorvar file_store_task_run_log_proto_rawDesc = []byte{0x0a, 0x18, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e,0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0xfd, 0x0a, 0x0a, 0x0a, 0x54,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0xae, 0x0d, 0x0a, 0x0a, 0x54,0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70,0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,@@ -625,7 +743,13 @@ var file_store_task_run_log_proto_rawDesc = []byte{0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52,0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61,0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x52,- 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x11,+ 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x5e,+ 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,+ 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73,+ 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e,+ 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x11,0x0a, 0x0f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x72,0x74, 0x1a, 0x25, 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x45,0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,@@ -658,21 +782,34 @@ var file_store_task_run_log_proto_rawDesc = []byte{0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13,0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e,0x47, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x52,- 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0xbf, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70,- 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,- 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x43, 0x48, 0x45, 0x4d,- 0x41, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x13,- 0x0a, 0x0f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x5f, 0x45, 0x4e,- 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x45,- 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4d, 0x4d,- 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x04, 0x12, 0x17,- 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f,- 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x41, 0x54, 0x41, 0x42,- 0x41, 0x53, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x1a,- 0x0a, 0x16, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55,- 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x07, 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,+ 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x1a, 0xb5, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61,+ 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12,+ 0x46, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54,+ 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x79, 0x70,+ 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x41, 0x0a,+ 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42,+ 0x45, 0x47, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54,+ 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03,+ 0x22, 0xd8, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50,+ 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,+ 0x15, 0x0a, 0x11, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x5f, 0x53,+ 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41,+ 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x43,+ 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x10, 0x03,+ 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x50,+ 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,+ 0x53, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x05, 0x12,+ 0x15, 0x0a, 0x11, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43,+ 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52,+ 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,+ 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f,+ 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x10, 0x08, 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 (@@ -687,35 +824,39 @@ func file_store_task_run_log_proto_rawDescGZIP() []byte {return file_store_task_run_log_proto_rawDescData}-var file_store_task_run_log_proto_enumTypes = make([]protoimpl.EnumInfo, 2)-var file_store_task_run_log_proto_msgTypes = make([]protoimpl.MessageInfo, 8)+var file_store_task_run_log_proto_enumTypes = make([]protoimpl.EnumInfo, 3)+var file_store_task_run_log_proto_msgTypes = make([]protoimpl.MessageInfo, 9)var file_store_task_run_log_proto_goTypes = []any{(TaskRunLog_Type)(0), // 0: bytebase.store.TaskRunLog.Type(TaskRunLog_TaskRunStatusUpdate_Status)(0), // 1: bytebase.store.TaskRunLog.TaskRunStatusUpdate.Status- (*TaskRunLog)(nil), // 2: bytebase.store.TaskRunLog- (*TaskRunLog_SchemaDumpStart)(nil), // 3: bytebase.store.TaskRunLog.SchemaDumpStart- (*TaskRunLog_SchemaDumpEnd)(nil), // 4: bytebase.store.TaskRunLog.SchemaDumpEnd- (*TaskRunLog_CommandExecute)(nil), // 5: bytebase.store.TaskRunLog.CommandExecute- (*TaskRunLog_CommandResponse)(nil), // 6: bytebase.store.TaskRunLog.CommandResponse- (*TaskRunLog_DatabaseSyncStart)(nil), // 7: bytebase.store.TaskRunLog.DatabaseSyncStart- (*TaskRunLog_DatabaseSyncEnd)(nil), // 8: bytebase.store.TaskRunLog.DatabaseSyncEnd- (*TaskRunLog_TaskRunStatusUpdate)(nil), // 9: bytebase.store.TaskRunLog.TaskRunStatusUpdate+ (TaskRunLog_TransactionControl_Type)(0), // 2: bytebase.store.TaskRunLog.TransactionControl.Type+ (*TaskRunLog)(nil), // 3: bytebase.store.TaskRunLog+ (*TaskRunLog_SchemaDumpStart)(nil), // 4: bytebase.store.TaskRunLog.SchemaDumpStart+ (*TaskRunLog_SchemaDumpEnd)(nil), // 5: bytebase.store.TaskRunLog.SchemaDumpEnd+ (*TaskRunLog_CommandExecute)(nil), // 6: bytebase.store.TaskRunLog.CommandExecute+ (*TaskRunLog_CommandResponse)(nil), // 7: bytebase.store.TaskRunLog.CommandResponse+ (*TaskRunLog_DatabaseSyncStart)(nil), // 8: bytebase.store.TaskRunLog.DatabaseSyncStart+ (*TaskRunLog_DatabaseSyncEnd)(nil), // 9: bytebase.store.TaskRunLog.DatabaseSyncEnd+ (*TaskRunLog_TaskRunStatusUpdate)(nil), // 10: bytebase.store.TaskRunLog.TaskRunStatusUpdate+ (*TaskRunLog_TransactionControl)(nil), // 11: bytebase.store.TaskRunLog.TransactionControl}var file_store_task_run_log_proto_depIdxs = []int32{- 0, // 0: bytebase.store.TaskRunLog.type:type_name -> bytebase.store.TaskRunLog.Type- 3, // 1: bytebase.store.TaskRunLog.schema_dump_start:type_name -> bytebase.store.TaskRunLog.SchemaDumpStart- 4, // 2: bytebase.store.TaskRunLog.schema_dump_end:type_name -> bytebase.store.TaskRunLog.SchemaDumpEnd- 5, // 3: bytebase.store.TaskRunLog.command_execute:type_name -> bytebase.store.TaskRunLog.CommandExecute- 6, // 4: bytebase.store.TaskRunLog.command_response:type_name -> bytebase.store.TaskRunLog.CommandResponse- 7, // 5: bytebase.store.TaskRunLog.database_sync_start:type_name -> bytebase.store.TaskRunLog.DatabaseSyncStart- 8, // 6: bytebase.store.TaskRunLog.database_sync_end:type_name -> bytebase.store.TaskRunLog.DatabaseSyncEnd- 9, // 7: bytebase.store.TaskRunLog.task_run_status_update:type_name -> bytebase.store.TaskRunLog.TaskRunStatusUpdate- 1, // 8: bytebase.store.TaskRunLog.TaskRunStatusUpdate.status:type_name -> bytebase.store.TaskRunLog.TaskRunStatusUpdate.Status- 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+ 0, // 0: bytebase.store.TaskRunLog.type:type_name -> bytebase.store.TaskRunLog.Type+ 4, // 1: bytebase.store.TaskRunLog.schema_dump_start:type_name -> bytebase.store.TaskRunLog.SchemaDumpStart+ 5, // 2: bytebase.store.TaskRunLog.schema_dump_end:type_name -> bytebase.store.TaskRunLog.SchemaDumpEnd+ 6, // 3: bytebase.store.TaskRunLog.command_execute:type_name -> bytebase.store.TaskRunLog.CommandExecute+ 7, // 4: bytebase.store.TaskRunLog.command_response:type_name -> bytebase.store.TaskRunLog.CommandResponse+ 8, // 5: bytebase.store.TaskRunLog.database_sync_start:type_name -> bytebase.store.TaskRunLog.DatabaseSyncStart+ 9, // 6: bytebase.store.TaskRunLog.database_sync_end:type_name -> bytebase.store.TaskRunLog.DatabaseSyncEnd+ 10, // 7: bytebase.store.TaskRunLog.task_run_status_update:type_name -> bytebase.store.TaskRunLog.TaskRunStatusUpdate+ 11, // 8: bytebase.store.TaskRunLog.transaction_control:type_name -> bytebase.store.TaskRunLog.TransactionControl+ 1, // 9: bytebase.store.TaskRunLog.TaskRunStatusUpdate.status:type_name -> bytebase.store.TaskRunLog.TaskRunStatusUpdate.Status+ 2, // 10: bytebase.store.TaskRunLog.TransactionControl.type:type_name -> bytebase.store.TaskRunLog.TransactionControl.Type+ 11, // [11:11] is the sub-list for method output_type+ 11, // [11:11] is the sub-list for method input_type+ 11, // [11:11] is the sub-list for extension type_name+ 11, // [11:11] is the sub-list for extension extendee+ 0, // [0:11] is the sub-list for field type_name}func init() { file_store_task_run_log_proto_init() }@@ -820,14 +961,26 @@ func file_store_task_run_log_proto_init() {return nil}}+ file_store_task_run_log_proto_msgTypes[8].Exporter = func(v any, i int) any {+ switch v := v.(*TaskRunLog_TransactionControl); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }}type x struct{}out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_store_task_run_log_proto_rawDesc,- NumEnums: 2,- NumMessages: 8,+ NumEnums: 3,+ NumMessages: 9,NumExtensions: 0,NumServices: 0,},diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.goindex 7594c3a23d..a6ba9066f2 100644--- a/proto/generated-go/v1/rollout_service.pb.go+++ b/proto/generated-go/v1/rollout_service.pb.go@@ -331,6 +331,7 @@ const (TaskRunLogEntry_COMMAND_EXECUTE TaskRunLogEntry_Type = 2TaskRunLogEntry_DATABASE_SYNC TaskRunLogEntry_Type = 3TaskRunLogEntry_TASK_RUN_STATUS_UPDATE TaskRunLogEntry_Type = 4+ TaskRunLogEntry_TRANSACTION_CONTROL TaskRunLogEntry_Type = 5)// Enum value maps for TaskRunLogEntry_Type.@@ -341,6 +342,7 @@ var (2: "COMMAND_EXECUTE",3: "DATABASE_SYNC",4: "TASK_RUN_STATUS_UPDATE",+ 5: "TRANSACTION_CONTROL",}TaskRunLogEntry_Type_value = map[string]int32{"TYPE_UNSPECIFIED": 0,@@ -348,6 +350,7 @@ var ("COMMAND_EXECUTE": 2,"DATABASE_SYNC": 3,"TASK_RUN_STATUS_UPDATE": 4,+ "TRANSACTION_CONTROL": 5,})@@ -429,6 +432,58 @@ func (TaskRunLogEntry_TaskRunStatusUpdate_Status) EnumDescriptor() ([]byte, []inreturn file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 3, 0}}+type TaskRunLogEntry_TransactionControl_Type int32++const (+ TaskRunLogEntry_TransactionControl_TYPE_UNSPECIFIED TaskRunLogEntry_TransactionControl_Type = 0+ TaskRunLogEntry_TransactionControl_BEGIN TaskRunLogEntry_TransactionControl_Type = 1+ TaskRunLogEntry_TransactionControl_COMMIT TaskRunLogEntry_TransactionControl_Type = 2+ TaskRunLogEntry_TransactionControl_ROLLBACK TaskRunLogEntry_TransactionControl_Type = 3+)++// Enum value maps for TaskRunLogEntry_TransactionControl_Type.+var (+ TaskRunLogEntry_TransactionControl_Type_name = map[int32]string{+ 0: "TYPE_UNSPECIFIED",+ 1: "BEGIN",+ 2: "COMMIT",+ 3: "ROLLBACK",+ }+ TaskRunLogEntry_TransactionControl_Type_value = map[string]int32{+ "TYPE_UNSPECIFIED": 0,+ "BEGIN": 1,+ "COMMIT": 2,+ "ROLLBACK": 3,+ }+)++func (x TaskRunLogEntry_TransactionControl_Type) Enum() *TaskRunLogEntry_TransactionControl_Type {+ p := new(TaskRunLogEntry_TransactionControl_Type)+ *p = x+ return p+}++func (x TaskRunLogEntry_TransactionControl_Type) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (TaskRunLogEntry_TransactionControl_Type) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_rollout_service_proto_enumTypes[7].Descriptor()+}++func (TaskRunLogEntry_TransactionControl_Type) Type() protoreflect.EnumType {+ return &file_v1_rollout_service_proto_enumTypes[7]+}++func (x TaskRunLogEntry_TransactionControl_Type) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use TaskRunLogEntry_TransactionControl_Type.Descriptor instead.+func (TaskRunLogEntry_TransactionControl_Type) EnumDescriptor() ([]byte, []int) {+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 4, 0}+}+type BatchRunTasksRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1685,6 +1740,7 @@ type TaskRunLogEntry struct {CommandExecute *TaskRunLogEntry_CommandExecute `protobuf:"bytes,3,opt,name=command_execute,json=commandExecute,proto3" json:"command_execute,omitempty"`DatabaseSync *TaskRunLogEntry_DatabaseSync `protobuf:"bytes,4,opt,name=database_sync,json=databaseSync,proto3" json:"database_sync,omitempty"`TaskRunStatusUpdate *TaskRunLogEntry_TaskRunStatusUpdate `protobuf:"bytes,5,opt,name=task_run_status_update,json=taskRunStatusUpdate,proto3" json:"task_run_status_update,omitempty"`+ TransactionControl *TaskRunLogEntry_TransactionControl `protobuf:"bytes,7,opt,name=transaction_control,json=transactionControl,proto3" json:"transaction_control,omitempty"`}func (x *TaskRunLogEntry) Reset() {@@ -1761,6 +1817,13 @@ func (x *TaskRunLogEntry) GetTaskRunStatusUpdate() *TaskRunLogEntry_TaskRunStatureturn nil}+func (x *TaskRunLogEntry) GetTransactionControl() *TaskRunLogEntry_TransactionControl {+ if x != nil {+ return x.TransactionControl+ }+ return nil+}+type Task_DatabaseCreate struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2472,6 +2535,61 @@ func (x *TaskRunLogEntry_TaskRunStatusUpdate) GetStatus() TaskRunLogEntry_TaskRureturn TaskRunLogEntry_TaskRunStatusUpdate_STATUS_UNSPECIFIED}+type TaskRunLogEntry_TransactionControl struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Type TaskRunLogEntry_TransactionControl_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.TaskRunLogEntry_TransactionControl_Type" json:"type,omitempty"`+ Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`+}++func (x *TaskRunLogEntry_TransactionControl) Reset() {+ *x = TaskRunLogEntry_TransactionControl{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_rollout_service_proto_msgTypes[30]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *TaskRunLogEntry_TransactionControl) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TaskRunLogEntry_TransactionControl) ProtoMessage() {}++func (x *TaskRunLogEntry_TransactionControl) ProtoReflect() protoreflect.Message {+ mi := &file_v1_rollout_service_proto_msgTypes[30]+ 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 TaskRunLogEntry_TransactionControl.ProtoReflect.Descriptor instead.+func (*TaskRunLogEntry_TransactionControl) Descriptor() ([]byte, []int) {+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{17, 4}+}++func (x *TaskRunLogEntry_TransactionControl) GetType() TaskRunLogEntry_TransactionControl_Type {+ if x != nil {+ return x.Type+ }+ return TaskRunLogEntry_TransactionControl_TYPE_UNSPECIFIED+}++func (x *TaskRunLogEntry_TransactionControl) GetError() string {+ if x != nil {+ return x.Error+ }+ return ""+}+type TaskRunLogEntry_CommandExecute_CommandResponse struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2488,7 +2606,7 @@ type TaskRunLogEntry_CommandExecute_CommandResponse struct {func (x *TaskRunLogEntry_CommandExecute_CommandResponse) Reset() {*x = TaskRunLogEntry_CommandExecute_CommandResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_rollout_service_proto_msgTypes[30]+ mi := &file_v1_rollout_service_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2501,7 +2619,7 @@ func (x *TaskRunLogEntry_CommandExecute_CommandResponse) String() string {func (*TaskRunLogEntry_CommandExecute_CommandResponse) ProtoMessage() {}func (x *TaskRunLogEntry_CommandExecute_CommandResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_rollout_service_proto_msgTypes[30]+ mi := &file_v1_rollout_service_proto_msgTypes[31]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2846,7 +2964,7 @@ var file_v1_rollout_service_proto_rawDesc = []byte{0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65,- 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xac, 0x0b, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x52,+ 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xe2, 0x0d, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x52,0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79,0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f,@@ -2875,151 +2993,170 @@ var file_v1_rollout_service_proto_rawDesc = []byte{0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f,0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74,0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b,- 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a,- 0x94, 0x01, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x39,- 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x09,- 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64,- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,- 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xfb, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,- 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67,+ 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,+ 0x60, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,+ 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52,+ 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,+ 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x12, 0x74,+ 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,+ 0x6c, 0x1a, 0x94, 0x01, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70,+ 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,+ 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, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65,+ 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,+ 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69,+ 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xfb, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,+ 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c,+ 0x6f, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69,+ 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e,+ 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x6f, 0x6d,+ 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x08, 0x72,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,+ 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,+ 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,+ 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0xaf, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f,+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12,+ 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,+ 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,+ 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66,+ 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x6c,+ 0x6c, 0x5f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18,+ 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74,+ 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x96, 0x01, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65,- 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65,- 0x78, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,- 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x08, 0x72, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,- 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,- 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x1a, 0xaf, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x69,- 0x6d, 0x65, 0x18, 0x01, 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, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a,- 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,- 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f,- 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65,- 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x5f,- 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20,- 0x03, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64,- 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x96, 0x01, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,- 0x69, 0x6d, 0x65, 0x18, 0x01, 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, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,- 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07,- 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xb2, 0x01,- 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e,- 0x74, 0x72, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,- 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4a, 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, 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x4e,- 0x49, 0x4e, 0x47, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x13, 0x0a,- 0x0f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47,- 0x10, 0x02, 0x22, 0x71, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59,- 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,- 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x10,- 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x45, 0x58, 0x45,- 0x43, 0x55, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,- 0x53, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x53,- 0x4b, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44,- 0x41, 0x54, 0x45, 0x10, 0x04, 0x32, 0x83, 0x0a, 0x0a, 0x0e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,- 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x8c, 0x01,- 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, 0x42, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x2b, 0x3a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 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, 0xa0, 0x01, 0x0a, 0x0d, 0x47, 0x65,- 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73,- 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73,- 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x22, 0x53, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 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, 0x2f, 0x74, 0x61, 0x73,- 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 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,- 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,+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,+ 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,+ 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,+ 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a,+ 0xb2, 0x01, 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,+ 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,+ 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67,+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61,+ 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,+ 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4a, 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, 0x13, 0x0a, 0x0f, 0x52, 0x55,+ 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,+ 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49,+ 0x4e, 0x47, 0x10, 0x02, 0x1a, 0xb7, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x48, 0x0a, 0x04, 0x74,+ 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c,+ 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x41, 0x0a, 0x04, 0x54,+ 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x45, 0x47,+ 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x02,+ 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4f, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x22, 0x8a,+ 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a,+ 0x0b, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44, 0x55, 0x4d, 0x50, 0x10, 0x01, 0x12, 0x13,+ 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54,+ 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f,+ 0x53, 0x59, 0x4e, 0x43, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52,+ 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,+ 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f,+ 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x10, 0x05, 0x32, 0x83, 0x0a, 0x0a, 0x0e,+ 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x8c, 0x01, 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, 0x42,+ 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,+ 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,+ 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, 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,+ 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12,+ 0xa0, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f,+ 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x22, 0x53, 0xda,+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42,+ 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, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c,+ 0x6f, 0x67, 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, 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 (@@ -3034,8 +3171,8 @@ 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, 7)-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 31)+var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 8)+var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 32)var file_v1_rollout_service_proto_goTypes = []any{(Task_Status)(0), // 0: bytebase.v1.Task.Status(Task_Type)(0), // 1: bytebase.v1.Task.Type@@ -3044,101 +3181,105 @@ var file_v1_rollout_service_proto_goTypes = []any{(TaskRun_ExportArchiveStatus)(0), // 4: bytebase.v1.TaskRun.ExportArchiveStatus(TaskRunLogEntry_Type)(0), // 5: bytebase.v1.TaskRunLogEntry.Type(TaskRunLogEntry_TaskRunStatusUpdate_Status)(0), // 6: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status- (*BatchRunTasksRequest)(nil), // 7: bytebase.v1.BatchRunTasksRequest- (*BatchRunTasksResponse)(nil), // 8: bytebase.v1.BatchRunTasksResponse- (*BatchSkipTasksRequest)(nil), // 9: bytebase.v1.BatchSkipTasksRequest- (*BatchSkipTasksResponse)(nil), // 10: bytebase.v1.BatchSkipTasksResponse- (*BatchCancelTaskRunsRequest)(nil), // 11: bytebase.v1.BatchCancelTaskRunsRequest- (*BatchCancelTaskRunsResponse)(nil), // 12: bytebase.v1.BatchCancelTaskRunsResponse- (*GetRolloutRequest)(nil), // 13: bytebase.v1.GetRolloutRequest- (*CreateRolloutRequest)(nil), // 14: bytebase.v1.CreateRolloutRequest- (*PreviewRolloutRequest)(nil), // 15: bytebase.v1.PreviewRolloutRequest- (*ListTaskRunsRequest)(nil), // 16: bytebase.v1.ListTaskRunsRequest- (*ListTaskRunsResponse)(nil), // 17: bytebase.v1.ListTaskRunsResponse- (*GetTaskRunLogRequest)(nil), // 18: bytebase.v1.GetTaskRunLogRequest- (*Rollout)(nil), // 19: bytebase.v1.Rollout- (*Stage)(nil), // 20: bytebase.v1.Stage- (*Task)(nil), // 21: bytebase.v1.Task- (*TaskRun)(nil), // 22: bytebase.v1.TaskRun- (*TaskRunLog)(nil), // 23: bytebase.v1.TaskRunLog- (*TaskRunLogEntry)(nil), // 24: bytebase.v1.TaskRunLogEntry- (*Task_DatabaseCreate)(nil), // 25: bytebase.v1.Task.DatabaseCreate- (*Task_DatabaseSchemaBaseline)(nil), // 26: bytebase.v1.Task.DatabaseSchemaBaseline- (*Task_DatabaseSchemaUpdate)(nil), // 27: bytebase.v1.Task.DatabaseSchemaUpdate- (*Task_DatabaseDataUpdate)(nil), // 28: bytebase.v1.Task.DatabaseDataUpdate- (*Task_DatabaseDataExport)(nil), // 29: bytebase.v1.Task.DatabaseDataExport- nil, // 30: bytebase.v1.Task.DatabaseCreate.LabelsEntry- (*TaskRun_ExecutionDetail)(nil), // 31: bytebase.v1.TaskRun.ExecutionDetail- (*TaskRun_ExecutionDetail_Position)(nil), // 32: bytebase.v1.TaskRun.ExecutionDetail.Position- (*TaskRunLogEntry_SchemaDump)(nil), // 33: bytebase.v1.TaskRunLogEntry.SchemaDump- (*TaskRunLogEntry_CommandExecute)(nil), // 34: bytebase.v1.TaskRunLogEntry.CommandExecute- (*TaskRunLogEntry_DatabaseSync)(nil), // 35: bytebase.v1.TaskRunLogEntry.DatabaseSync- (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 36: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate- (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 37: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse- (*Plan)(nil), // 38: bytebase.v1.Plan- (*timestamppb.Timestamp)(nil), // 39: google.protobuf.Timestamp- (ExportFormat)(0), // 40: bytebase.v1.ExportFormat+ (TaskRunLogEntry_TransactionControl_Type)(0), // 7: bytebase.v1.TaskRunLogEntry.TransactionControl.Type+ (*BatchRunTasksRequest)(nil), // 8: bytebase.v1.BatchRunTasksRequest+ (*BatchRunTasksResponse)(nil), // 9: bytebase.v1.BatchRunTasksResponse+ (*BatchSkipTasksRequest)(nil), // 10: bytebase.v1.BatchSkipTasksRequest+ (*BatchSkipTasksResponse)(nil), // 11: bytebase.v1.BatchSkipTasksResponse+ (*BatchCancelTaskRunsRequest)(nil), // 12: bytebase.v1.BatchCancelTaskRunsRequest+ (*BatchCancelTaskRunsResponse)(nil), // 13: bytebase.v1.BatchCancelTaskRunsResponse+ (*GetRolloutRequest)(nil), // 14: bytebase.v1.GetRolloutRequest+ (*CreateRolloutRequest)(nil), // 15: bytebase.v1.CreateRolloutRequest+ (*PreviewRolloutRequest)(nil), // 16: bytebase.v1.PreviewRolloutRequest+ (*ListTaskRunsRequest)(nil), // 17: bytebase.v1.ListTaskRunsRequest+ (*ListTaskRunsResponse)(nil), // 18: bytebase.v1.ListTaskRunsResponse+ (*GetTaskRunLogRequest)(nil), // 19: bytebase.v1.GetTaskRunLogRequest+ (*Rollout)(nil), // 20: bytebase.v1.Rollout+ (*Stage)(nil), // 21: bytebase.v1.Stage+ (*Task)(nil), // 22: bytebase.v1.Task+ (*TaskRun)(nil), // 23: bytebase.v1.TaskRun+ (*TaskRunLog)(nil), // 24: bytebase.v1.TaskRunLog+ (*TaskRunLogEntry)(nil), // 25: bytebase.v1.TaskRunLogEntry+ (*Task_DatabaseCreate)(nil), // 26: bytebase.v1.Task.DatabaseCreate+ (*Task_DatabaseSchemaBaseline)(nil), // 27: bytebase.v1.Task.DatabaseSchemaBaseline+ (*Task_DatabaseSchemaUpdate)(nil), // 28: bytebase.v1.Task.DatabaseSchemaUpdate+ (*Task_DatabaseDataUpdate)(nil), // 29: bytebase.v1.Task.DatabaseDataUpdate+ (*Task_DatabaseDataExport)(nil), // 30: bytebase.v1.Task.DatabaseDataExport+ nil, // 31: bytebase.v1.Task.DatabaseCreate.LabelsEntry+ (*TaskRun_ExecutionDetail)(nil), // 32: bytebase.v1.TaskRun.ExecutionDetail+ (*TaskRun_ExecutionDetail_Position)(nil), // 33: bytebase.v1.TaskRun.ExecutionDetail.Position+ (*TaskRunLogEntry_SchemaDump)(nil), // 34: bytebase.v1.TaskRunLogEntry.SchemaDump+ (*TaskRunLogEntry_CommandExecute)(nil), // 35: bytebase.v1.TaskRunLogEntry.CommandExecute+ (*TaskRunLogEntry_DatabaseSync)(nil), // 36: bytebase.v1.TaskRunLogEntry.DatabaseSync+ (*TaskRunLogEntry_TaskRunStatusUpdate)(nil), // 37: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate+ (*TaskRunLogEntry_TransactionControl)(nil), // 38: bytebase.v1.TaskRunLogEntry.TransactionControl+ (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 39: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse+ (*Plan)(nil), // 40: bytebase.v1.Plan+ (*timestamppb.Timestamp)(nil), // 41: google.protobuf.Timestamp+ (ExportFormat)(0), // 42: bytebase.v1.ExportFormat}var file_v1_rollout_service_proto_depIdxs = []int32{- 19, // 0: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout- 38, // 1: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan- 22, // 2: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun- 20, // 3: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage- 21, // 4: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task+ 20, // 0: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout+ 40, // 1: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan+ 23, // 2: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun+ 21, // 3: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage+ 22, // 4: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task0, // 5: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status1, // 6: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type- 25, // 7: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate- 26, // 8: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline- 27, // 9: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate- 28, // 10: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate- 29, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport- 39, // 12: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp- 39, // 13: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp+ 26, // 7: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate+ 27, // 8: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline+ 28, // 9: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate+ 29, // 10: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate+ 30, // 11: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport+ 41, // 12: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp+ 41, // 13: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp2, // 14: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status3, // 15: bytebase.v1.TaskRun.execution_status:type_name -> bytebase.v1.TaskRun.ExecutionStatus- 31, // 16: bytebase.v1.TaskRun.execution_detail:type_name -> bytebase.v1.TaskRun.ExecutionDetail- 39, // 17: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp+ 32, // 16: bytebase.v1.TaskRun.execution_detail:type_name -> bytebase.v1.TaskRun.ExecutionDetail+ 41, // 17: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp4, // 18: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus- 24, // 19: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry+ 25, // 19: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry5, // 20: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type- 39, // 21: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp- 33, // 22: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump- 34, // 23: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute- 35, // 24: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync- 36, // 25: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate- 30, // 26: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry- 40, // 27: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat- 32, // 28: bytebase.v1.TaskRun.ExecutionDetail.command_start_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position- 32, // 29: bytebase.v1.TaskRun.ExecutionDetail.command_end_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position- 39, // 30: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp- 39, // 31: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp- 39, // 32: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp- 37, // 33: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse- 39, // 34: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp- 39, // 35: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp- 6, // 36: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.status:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status- 39, // 37: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp- 13, // 38: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest- 14, // 39: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest- 15, // 40: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest- 16, // 41: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest- 18, // 42: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest- 7, // 43: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest- 9, // 44: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest- 11, // 45: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest- 19, // 46: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout- 19, // 47: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout- 19, // 48: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout- 17, // 49: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse- 23, // 50: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog- 8, // 51: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse- 10, // 52: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse- 12, // 53: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse- 46, // [46:54] is the sub-list for method output_type- 38, // [38:46] is the sub-list for method input_type- 38, // [38:38] is the sub-list for extension type_name- 38, // [38:38] is the sub-list for extension extendee- 0, // [0:38] is the sub-list for field type_name+ 41, // 21: bytebase.v1.TaskRunLogEntry.log_time:type_name -> google.protobuf.Timestamp+ 34, // 22: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump+ 35, // 23: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute+ 36, // 24: bytebase.v1.TaskRunLogEntry.database_sync:type_name -> bytebase.v1.TaskRunLogEntry.DatabaseSync+ 37, // 25: bytebase.v1.TaskRunLogEntry.task_run_status_update:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate+ 38, // 26: bytebase.v1.TaskRunLogEntry.transaction_control:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl+ 31, // 27: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry+ 42, // 28: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat+ 33, // 29: bytebase.v1.TaskRun.ExecutionDetail.command_start_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position+ 33, // 30: bytebase.v1.TaskRun.ExecutionDetail.command_end_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position+ 41, // 31: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp+ 41, // 32: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp+ 41, // 33: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp+ 39, // 34: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse+ 41, // 35: bytebase.v1.TaskRunLogEntry.DatabaseSync.start_time:type_name -> google.protobuf.Timestamp+ 41, // 36: bytebase.v1.TaskRunLogEntry.DatabaseSync.end_time:type_name -> google.protobuf.Timestamp+ 6, // 37: bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.status:type_name -> bytebase.v1.TaskRunLogEntry.TaskRunStatusUpdate.Status+ 7, // 38: bytebase.v1.TaskRunLogEntry.TransactionControl.type:type_name -> bytebase.v1.TaskRunLogEntry.TransactionControl.Type+ 41, // 39: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp+ 14, // 40: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest+ 15, // 41: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest+ 16, // 42: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest+ 17, // 43: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest+ 19, // 44: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest+ 8, // 45: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest+ 10, // 46: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest+ 12, // 47: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest+ 20, // 48: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout+ 20, // 49: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout+ 20, // 50: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout+ 18, // 51: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse+ 24, // 52: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog+ 9, // 53: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse+ 11, // 54: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse+ 13, // 55: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse+ 48, // [48:56] is the sub-list for method output_type+ 40, // [40:48] 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() }@@ -3498,6 +3639,18 @@ func file_v1_rollout_service_proto_init() {}}file_v1_rollout_service_proto_msgTypes[30].Exporter = func(v any, i int) any {+ switch v := v.(*TaskRunLogEntry_TransactionControl); 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[31].Exporter = func(v any, i int) any {switch v := v.(*TaskRunLogEntry_CommandExecute_CommandResponse); i {case 0:return &v.state@@ -3523,8 +3676,8 @@ func file_v1_rollout_service_proto_init() {File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_rollout_service_proto_rawDesc,- NumEnums: 7,- NumMessages: 31,+ NumEnums: 8,+ NumMessages: 32,NumExtensions: 0,NumServices: 1,},diff --git a/proto/store/task_run_log.proto b/proto/store/task_run_log.protoindex 6dc4f28178..306c12fa12 100644--- a/proto/store/task_run_log.proto+++ b/proto/store/task_run_log.proto@@ -14,6 +14,7 @@ message TaskRunLog {DATABASE_SYNC_START = 5;DATABASE_SYNC_END = 6;TASK_RUN_STATUS_UPDATE = 7;+ TRANSACTION_CONTROL = 8;}Type type = 1;SchemaDumpStart schema_dump_start = 2;@@ -23,6 +24,7 @@ message TaskRunLog {DatabaseSyncStart database_sync_start = 6;DatabaseSyncEnd database_sync_end = 7;TaskRunStatusUpdate task_run_status_update = 8;+ TransactionControl transaction_control = 9;message SchemaDumpStart {}message SchemaDumpEnd {@@ -55,4 +57,14 @@ message TaskRunLog {RUNNING_RUNNING = 2;}}+ message TransactionControl {+ enum Type {+ TYPE_UNSPECIFIED = 0;+ BEGIN = 1;+ COMMIT = 2;+ ROLLBACK = 3;+ }+ Type type = 1;+ string error = 2;+ }}diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.protoindex 44f4084902..478e1d2f50 100644--- a/proto/v1/rollout_service.proto+++ b/proto/v1/rollout_service.proto@@ -383,6 +383,7 @@ message TaskRunLogEntry {COMMAND_EXECUTE = 2;DATABASE_SYNC = 3;TASK_RUN_STATUS_UPDATE = 4;+ TRANSACTION_CONTROL = 5;}Type type = 1;google.protobuf.Timestamp log_time = 6;@@ -390,6 +391,7 @@ message TaskRunLogEntry {CommandExecute command_execute = 3;DatabaseSync database_sync = 4;TaskRunStatusUpdate task_run_status_update = 5;+ TransactionControl transaction_control = 7;message SchemaDump {google.protobuf.Timestamp start_time = 1;@@ -429,4 +431,15 @@ message TaskRunLogEntry {RUNNING_RUNNING = 2;}}++ message TransactionControl {+ enum Type {+ TYPE_UNSPECIFIED = 0;+ BEGIN = 1;+ COMMIT = 2;+ ROLLBACK = 3;+ }+ Type type = 1;+ string error = 2;+ }}