Skip to content

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

feat: impl GetTaskRunLog v1 api (#11932)

p0ny6db9317f2339
diff --git a/backend/api/v1/acl_config.go b/backend/api/v1/acl_config.go
index e0053de6f2..b1774d9045 100644
--- a/backend/api/v1/acl_config.go
+++ b/backend/api/v1/acl_config.go
@@ -132,6 +132,7 @@ var methodPermissionMap = map[string]iam.Permission{
v1pb.RolloutService_CreateRollout_FullMethodName: iam.PermissionRolloutsCreate,
v1pb.RolloutService_PreviewRollout_FullMethodName: iam.PermissionRolloutsPreview,
v1pb.RolloutService_ListTaskRuns_FullMethodName: iam.PermissionTaskRunsList,
+ v1pb.RolloutService_GetTaskRunLog_FullMethodName: iam.PermissionTaskRunsList,
v1pb.RolloutService_ListPlanCheckRuns_FullMethodName: iam.PermissionPlanCheckRunsList,
v1pb.RolloutService_RunPlanChecks_FullMethodName: iam.PermissionPlanCheckRunsRun,
v1pb.SettingService_ListSettings_FullMethodName: iam.PermissionSettingsList,
diff --git a/backend/api/v1/ctx.go b/backend/api/v1/ctx.go
index 6502cca906..20ec58681c 100644
--- a/backend/api/v1/ctx.go
+++ b/backend/api/v1/ctx.go
@@ -160,6 +160,7 @@ func (p *ContextProvider) do(ctx context.Context, fullMethod string, req any) ([
v1pb.RolloutService_GetPlan_FullMethodName,
v1pb.RolloutService_CreatePlan_FullMethodName,
v1pb.RolloutService_ListTaskRuns_FullMethodName,
+ v1pb.RolloutService_GetTaskRunLog_FullMethodName,
v1pb.RolloutService_ListPlanCheckRuns_FullMethodName,
v1pb.RolloutService_RunPlanChecks_FullMethodName:
return p.getProjectIDsForRolloutService(ctx, req)
@@ -258,7 +259,7 @@ func (*ContextProvider) getProjectIDsForChangelistService(_ context.Context, req
}
func (*ContextProvider) getProjectIDsForRolloutService(_ context.Context, req any) ([]string, error) {
- var projects, rollouts, plans, tasks []string
+ var projects, rollouts, plans, tasks, taskRuns []string
switch r := req.(type) {
case *v1pb.GetRolloutRequest:
rollouts = append(rollouts, r.GetName())
@@ -272,6 +273,8 @@ func (*ContextProvider) getProjectIDsForRolloutService(_ context.Context, req an
projects = append(projects, r.GetParent())
case *v1pb.ListTaskRunsRequest:
tasks = append(tasks, r.GetParent())
+ case *v1pb.GetTaskRunLogRequest:
+ taskRuns = append(taskRuns, r.GetParent())
case *v1pb.ListPlanCheckRunsRequest:
plans = append(plans, r.GetParent())
case *v1pb.RunPlanChecksRequest:
@@ -307,6 +310,13 @@ func (*ContextProvider) getProjectIDsForRolloutService(_ context.Context, req an
}
projectIDs = append(projectIDs, projectID)
}
+ for _, taskRun := range taskRuns {
+ projectID, _, _, _, _, err := common.GetProjectIDRolloutIDStageIDTaskIDTaskRunID(taskRun)
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to parse taskRun %q", taskRun)
+ }
+ projectIDs = append(projectIDs, projectID)
+ }
return uniq(projectIDs), nil
}
diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.go
index cd06a14e1b..df06094f29 100644
--- a/backend/api/v1/rollout_service.go
+++ b/backend/api/v1/rollout_service.go
@@ -440,6 +440,18 @@ func (s *RolloutService) ListTaskRuns(ctx context.Context, request *v1pb.ListTas
}, nil
}
+func (s *RolloutService) GetTaskRunLog(ctx context.Context, request *v1pb.GetTaskRunLogRequest) (*v1pb.TaskRunLog, error) {
+ _, _, _, _, taskRunUID, err := common.GetProjectIDRolloutIDStageIDTaskIDTaskRunID(request.Parent)
+ if err != nil {
+ return nil, status.Errorf(codes.InvalidArgument, "failed to get task run uid, error: %v", err)
+ }
+ logs, err := s.store.ListTaskRunLogs(ctx, taskRunUID)
+ if err != nil {
+ return nil, status.Errorf(codes.InvalidArgument, "failed to list task run logs, error: %v", err)
+ }
+ return convertToTaskRunLog(request.Parent, logs), nil
+}
+
// BatchRunTasks runs tasks in batch.
func (s *RolloutService) BatchRunTasks(ctx context.Context, request *v1pb.BatchRunTasksRequest) (*v1pb.BatchRunTasksResponse, error) {
if len(request.Tasks) == 0 {
diff --git a/backend/api/v1/rollout_service_converter.go b/backend/api/v1/rollout_service_converter.go
index 0320fc3e56..60eaa26e35 100644
--- a/backend/api/v1/rollout_service_converter.go
+++ b/backend/api/v1/rollout_service_converter.go
@@ -925,6 +925,70 @@ func convertToRollbackSQLStatus(status api.RollbackSQLStatus) v1pb.Task_Database
}
}
+func convertToTaskRunLog(parent string, logs []*store.TaskRunLog) *v1pb.TaskRunLog {
+ return &v1pb.TaskRunLog{
+ Name: fmt.Sprintf("%s/log", parent),
+ Entries: convertToTaskRunLogEntries(logs),
+ }
+}
+
+func convertToTaskRunLogEntries(logs []*store.TaskRunLog) []*v1pb.TaskRunLogEntry {
+ var entries []*v1pb.TaskRunLogEntry
+ for _, l := range logs {
+ switch l.Payload.Type {
+ case storepb.TaskRunLog_SCHEMA_DUMP_START:
+ e := &v1pb.TaskRunLogEntry{
+ Type: v1pb.TaskRunLogEntry_SCHEMA_DUMP,
+ SchemaDump: &v1pb.TaskRunLogEntry_SchemaDump{
+ StartTime: timestamppb.New(l.T),
+ },
+ }
+ entries = append(entries, e)
+
+ case storepb.TaskRunLog_SCHEMA_DUMP_END:
+ if len(entries) == 0 {
+ continue
+ }
+ prev := entries[len(entries)-1]
+ if prev == nil || prev.Type != v1pb.TaskRunLogEntry_SCHEMA_DUMP {
+ continue
+ }
+ prev.SchemaDump.EndTime = timestamppb.New(l.T)
+ prev.SchemaDump.Error = l.Payload.SchemaDumpEnd.Error
+
+ case storepb.TaskRunLog_COMMAND_EXECUTE:
+ e := &v1pb.TaskRunLogEntry{
+ Type: v1pb.TaskRunLogEntry_COMMAND_EXECUTE,
+ CommandExecute: &v1pb.TaskRunLogEntry_CommandExecute{
+ LogTime: timestamppb.New(l.T),
+ CommandIndex: l.Payload.CommandExecute.CommandIndex,
+ CommandCount: l.Payload.CommandExecute.CommandCount,
+ },
+ }
+ entries = append(entries, e)
+
+ case storepb.TaskRunLog_COMMAND_RESPONSE:
+ if len(entries) == 0 {
+ continue
+ }
+ prev := entries[len(entries)-1]
+ if prev == nil || prev.Type != v1pb.TaskRunLogEntry_COMMAND_EXECUTE {
+ continue
+ }
+ if prev.CommandExecute.CommandIndex != l.Payload.CommandResponse.CommandIndex || prev.CommandExecute.CommandCount != l.Payload.CommandResponse.CommandCount {
+ continue
+ }
+ prev.CommandExecute.Response = &v1pb.TaskRunLogEntry_CommandExecute_CommandResponse{
+ LogTime: timestamppb.New(l.T),
+ Error: l.Payload.CommandResponse.Error,
+ AffectedRows: l.Payload.CommandResponse.AffectedRows,
+ }
+ }
+ }
+
+ return entries
+}
+
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/store/task_run_log.go b/backend/store/task_run_log.go
index 118bccc7c5..882e934a22 100644
--- a/backend/store/task_run_log.go
+++ b/backend/store/task_run_log.go
@@ -10,6 +10,11 @@ import (
storepb "github.com/bytebase/bytebase/proto/generated-go/store"
)
+type TaskRunLog struct {
+ T time.Time
+ Payload *storepb.TaskRunLog
+}
+
func (s *Store) CreateTaskRunLog(ctx context.Context, taskRunUID int, t time.Time, e *storepb.TaskRunLog) error {
query := `
INSERT INTO task_run_log (
@@ -31,3 +36,46 @@ func (s *Store) CreateTaskRunLog(ctx context.Context, taskRunUID int, t time.Tim
}
return nil
}
+
+func (s *Store) ListTaskRunLogs(ctx context.Context, taskRunUID int) ([]*TaskRunLog, error) {
+ query := `
+ SELECT
+ created_ts,
+ payload
+ FROM task_run_log
+ WHERE task_run_log.task_run_id = $1
+ ORDER BY id
+ `
+
+ rows, err := s.db.db.QueryContext(ctx, query, taskRunUID)
+ if err != nil {
+ return nil, errors.Wrapf(err, "failed to query task run log")
+ }
+ defer rows.Close()
+
+ var logs []*TaskRunLog
+ for rows.Next() {
+ l := TaskRunLog{
+ Payload: &storepb.TaskRunLog{},
+ }
+ var p []byte
+
+ if err := rows.Scan(
+ &l.T,
+ &p,
+ ); err != nil {
+ return nil, errors.Wrapf(err, "failed to scan")
+ }
+
+ if err := protojson.Unmarshal(p, l.Payload); err != nil {
+ return nil, errors.Wrapf(err, "failed to unmarshal")
+ }
+
+ logs = append(logs, &l)
+ }
+ if err := rows.Err(); err != nil {
+ return nil, errors.Wrapf(err, "failed to query")
+ }
+
+ return logs, nil
+}
diff --git a/frontend/src/types/proto/v1/rollout_service.ts b/frontend/src/types/proto/v1/rollout_service.ts
index 83ade9ea29..39e99b1eb6 100644
--- a/frontend/src/types/proto/v1/rollout_service.ts
+++ b/frontend/src/types/proto/v1/rollout_service.ts
@@ -761,6 +761,11 @@ export interface ListTaskRunsResponse {
nextPageToken: string;
}
+export interface GetTaskRunLogRequest {
+ /** Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun} */
+ parent: string;
+}
+
export interface Rollout {
/**
* The resource name of the rollout.
@@ -1411,6 +1416,93 @@ export interface TaskRun_ExecutionDetail_Position {
column: number;
}
+export interface TaskRunLog {
+ /** Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log */
+ name: string;
+ entries: TaskRunLogEntry[];
+}
+
+export interface TaskRunLogEntry {
+ type: TaskRunLogEntry_Type;
+ schemaDump: TaskRunLogEntry_SchemaDump | undefined;
+ commandExecute: TaskRunLogEntry_CommandExecute | undefined;
+}
+
+export enum TaskRunLogEntry_Type {
+ TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
+ SCHEMA_DUMP = "SCHEMA_DUMP",
+ COMMAND_EXECUTE = "COMMAND_EXECUTE",
+ UNRECOGNIZED = "UNRECOGNIZED",
+}
+
+export function taskRunLogEntry_TypeFromJSON(object: any): TaskRunLogEntry_Type {
+ switch (object) {
+ case 0:
+ case "TYPE_UNSPECIFIED":
+ return TaskRunLogEntry_Type.TYPE_UNSPECIFIED;
+ case 1:
+ case "SCHEMA_DUMP":
+ return TaskRunLogEntry_Type.SCHEMA_DUMP;
+ case 2:
+ case "COMMAND_EXECUTE":
+ return TaskRunLogEntry_Type.COMMAND_EXECUTE;
+ case -1:
+ case "UNRECOGNIZED":
+ default:
+ return TaskRunLogEntry_Type.UNRECOGNIZED;
+ }
+}
+
+export function taskRunLogEntry_TypeToJSON(object: TaskRunLogEntry_Type): string {
+ switch (object) {
+ case TaskRunLogEntry_Type.TYPE_UNSPECIFIED:
+ return "TYPE_UNSPECIFIED";
+ case TaskRunLogEntry_Type.SCHEMA_DUMP:
+ return "SCHEMA_DUMP";
+ case TaskRunLogEntry_Type.COMMAND_EXECUTE:
+ return "COMMAND_EXECUTE";
+ case TaskRunLogEntry_Type.UNRECOGNIZED:
+ default:
+ return "UNRECOGNIZED";
+ }
+}
+
+export function taskRunLogEntry_TypeToNumber(object: TaskRunLogEntry_Type): number {
+ switch (object) {
+ case TaskRunLogEntry_Type.TYPE_UNSPECIFIED:
+ return 0;
+ case TaskRunLogEntry_Type.SCHEMA_DUMP:
+ return 1;
+ case TaskRunLogEntry_Type.COMMAND_EXECUTE:
+ return 2;
+ case TaskRunLogEntry_Type.UNRECOGNIZED:
+ default:
+ return -1;
+ }
+}
+
+export interface TaskRunLogEntry_SchemaDump {
+ startTime: Date | undefined;
+ endTime: Date | undefined;
+ error: string;
+}
+
+export interface TaskRunLogEntry_CommandExecute {
+ logTime:
+ | Date
+ | undefined;
+ /** Executed commands are in range [command_index, command_index + command_count). */
+ commandIndex: number;
+ commandCount: number;
+ response: TaskRunLogEntry_CommandExecute_CommandResponse | undefined;
+}
+
+export interface TaskRunLogEntry_CommandExecute_CommandResponse {
+ logTime: Date | undefined;
+ error: string;
+ affectedRows: number;
+}
+
function createBaseGetPlanRequest(): GetPlanRequest {
return { name: "" };
}
@@ -4687,6 +4779,63 @@ export const ListTaskRunsResponse = {
},
};
+function createBaseGetTaskRunLogRequest(): GetTaskRunLogRequest {
+ return { parent: "" };
+}
+
+export const GetTaskRunLogRequest = {
+ encode(message: GetTaskRunLogRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.parent !== "") {
+ writer.uint32(10).string(message.parent);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetTaskRunLogRequest {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseGetTaskRunLogRequest();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.parent = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): GetTaskRunLogRequest {
+ return { parent: isSet(object.parent) ? globalThis.String(object.parent) : "" };
+ },
+
+ toJSON(message: GetTaskRunLogRequest): unknown {
+ const obj: any = {};
+ if (message.parent !== "") {
+ obj.parent = message.parent;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<GetTaskRunLogRequest>): GetTaskRunLogRequest {
+ return GetTaskRunLogRequest.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<GetTaskRunLogRequest>): GetTaskRunLogRequest {
+ const message = createBaseGetTaskRunLogRequest();
+ message.parent = object.parent ?? "";
+ return message;
+ },
+};
+
function createBaseRollout(): Rollout {
return { name: "", uid: "", plan: "", title: "", stages: [] };
}
@@ -6375,6 +6524,470 @@ export const TaskRun_ExecutionDetail_Position = {
},
};
+function createBaseTaskRunLog(): TaskRunLog {
+ return { name: "", entries: [] };
+}
+
+export const TaskRunLog = {
+ encode(message: TaskRunLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ for (const v of message.entries) {
+ TaskRunLogEntry.encode(v!, writer.uint32(18).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLog {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTaskRunLog();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.entries.push(TaskRunLogEntry.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TaskRunLog {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ entries: globalThis.Array.isArray(object?.entries)
+ ? object.entries.map((e: any) => TaskRunLogEntry.fromJSON(e))
+ : [],
+ };
+ },
+
+ toJSON(message: TaskRunLog): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.entries?.length) {
+ obj.entries = message.entries.map((e) => TaskRunLogEntry.toJSON(e));
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<TaskRunLog>): TaskRunLog {
+ return TaskRunLog.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<TaskRunLog>): TaskRunLog {
+ const message = createBaseTaskRunLog();
+ message.name = object.name ?? "";
+ message.entries = object.entries?.map((e) => TaskRunLogEntry.fromPartial(e)) || [];
+ return message;
+ },
+};
+
+function createBaseTaskRunLogEntry(): TaskRunLogEntry {
+ return { type: TaskRunLogEntry_Type.TYPE_UNSPECIFIED, schemaDump: undefined, commandExecute: undefined };
+}
+
+export const TaskRunLogEntry = {
+ encode(message: TaskRunLogEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.type !== TaskRunLogEntry_Type.TYPE_UNSPECIFIED) {
+ writer.uint32(8).int32(taskRunLogEntry_TypeToNumber(message.type));
+ }
+ if (message.schemaDump !== undefined) {
+ TaskRunLogEntry_SchemaDump.encode(message.schemaDump, writer.uint32(18).fork()).ldelim();
+ }
+ if (message.commandExecute !== undefined) {
+ TaskRunLogEntry_CommandExecute.encode(message.commandExecute, writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTaskRunLogEntry();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 8) {
+ break;
+ }
+
+ message.type = taskRunLogEntry_TypeFromJSON(reader.int32());
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.schemaDump = TaskRunLogEntry_SchemaDump.decode(reader, reader.uint32());
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.commandExecute = TaskRunLogEntry_CommandExecute.decode(reader, reader.uint32());
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TaskRunLogEntry {
+ return {
+ type: isSet(object.type) ? taskRunLogEntry_TypeFromJSON(object.type) : TaskRunLogEntry_Type.TYPE_UNSPECIFIED,
+ schemaDump: isSet(object.schemaDump) ? TaskRunLogEntry_SchemaDump.fromJSON(object.schemaDump) : undefined,
+ commandExecute: isSet(object.commandExecute)
+ ? TaskRunLogEntry_CommandExecute.fromJSON(object.commandExecute)
+ : undefined,
+ };
+ },
+
+ toJSON(message: TaskRunLogEntry): unknown {
+ const obj: any = {};
+ if (message.type !== TaskRunLogEntry_Type.TYPE_UNSPECIFIED) {
+ obj.type = taskRunLogEntry_TypeToJSON(message.type);
+ }
+ if (message.schemaDump !== undefined) {
+ obj.schemaDump = TaskRunLogEntry_SchemaDump.toJSON(message.schemaDump);
+ }
+ if (message.commandExecute !== undefined) {
+ obj.commandExecute = TaskRunLogEntry_CommandExecute.toJSON(message.commandExecute);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<TaskRunLogEntry>): TaskRunLogEntry {
+ return TaskRunLogEntry.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<TaskRunLogEntry>): TaskRunLogEntry {
+ const message = createBaseTaskRunLogEntry();
+ message.type = object.type ?? TaskRunLogEntry_Type.TYPE_UNSPECIFIED;
+ message.schemaDump = (object.schemaDump !== undefined && object.schemaDump !== null)
+ ? TaskRunLogEntry_SchemaDump.fromPartial(object.schemaDump)
+ : undefined;
+ message.commandExecute = (object.commandExecute !== undefined && object.commandExecute !== null)
+ ? TaskRunLogEntry_CommandExecute.fromPartial(object.commandExecute)
+ : undefined;
+ return message;
+ },
+};
+
+function createBaseTaskRunLogEntry_SchemaDump(): TaskRunLogEntry_SchemaDump {
+ return { startTime: undefined, endTime: undefined, error: "" };
+}
+
+export const TaskRunLogEntry_SchemaDump = {
+ encode(message: TaskRunLogEntry_SchemaDump, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.startTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.startTime), writer.uint32(10).fork()).ldelim();
+ }
+ if (message.endTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.endTime), writer.uint32(18).fork()).ldelim();
+ }
+ if (message.error !== "") {
+ writer.uint32(26).string(message.error);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry_SchemaDump {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTaskRunLogEntry_SchemaDump();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.endTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.error = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TaskRunLogEntry_SchemaDump {
+ return {
+ startTime: isSet(object.startTime) ? fromJsonTimestamp(object.startTime) : undefined,
+ endTime: isSet(object.endTime) ? fromJsonTimestamp(object.endTime) : undefined,
+ error: isSet(object.error) ? globalThis.String(object.error) : "",
+ };
+ },
+
+ toJSON(message: TaskRunLogEntry_SchemaDump): unknown {
+ const obj: any = {};
+ if (message.startTime !== undefined) {
+ obj.startTime = message.startTime.toISOString();
+ }
+ if (message.endTime !== undefined) {
+ obj.endTime = message.endTime.toISOString();
+ }
+ if (message.error !== "") {
+ obj.error = message.error;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<TaskRunLogEntry_SchemaDump>): TaskRunLogEntry_SchemaDump {
+ return TaskRunLogEntry_SchemaDump.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<TaskRunLogEntry_SchemaDump>): TaskRunLogEntry_SchemaDump {
+ const message = createBaseTaskRunLogEntry_SchemaDump();
+ message.startTime = object.startTime ?? undefined;
+ message.endTime = object.endTime ?? undefined;
+ message.error = object.error ?? "";
+ return message;
+ },
+};
+
+function createBaseTaskRunLogEntry_CommandExecute(): TaskRunLogEntry_CommandExecute {
+ return { logTime: undefined, commandIndex: 0, commandCount: 0, response: undefined };
+}
+
+export const TaskRunLogEntry_CommandExecute = {
+ encode(message: TaskRunLogEntry_CommandExecute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.logTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.logTime), writer.uint32(10).fork()).ldelim();
+ }
+ if (message.commandIndex !== 0) {
+ writer.uint32(16).int32(message.commandIndex);
+ }
+ if (message.commandCount !== 0) {
+ writer.uint32(24).int32(message.commandCount);
+ }
+ if (message.response !== undefined) {
+ TaskRunLogEntry_CommandExecute_CommandResponse.encode(message.response, writer.uint32(34).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry_CommandExecute {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTaskRunLogEntry_CommandExecute();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.logTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ case 2:
+ if (tag !== 16) {
+ break;
+ }
+
+ message.commandIndex = reader.int32();
+ continue;
+ case 3:
+ if (tag !== 24) {
+ break;
+ }
+
+ message.commandCount = reader.int32();
+ continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.response = TaskRunLogEntry_CommandExecute_CommandResponse.decode(reader, reader.uint32());
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TaskRunLogEntry_CommandExecute {
+ return {
+ logTime: isSet(object.logTime) ? fromJsonTimestamp(object.logTime) : undefined,
+ commandIndex: isSet(object.commandIndex) ? globalThis.Number(object.commandIndex) : 0,
+ commandCount: isSet(object.commandCount) ? globalThis.Number(object.commandCount) : 0,
+ response: isSet(object.response)
+ ? TaskRunLogEntry_CommandExecute_CommandResponse.fromJSON(object.response)
+ : undefined,
+ };
+ },
+
+ toJSON(message: TaskRunLogEntry_CommandExecute): unknown {
+ const obj: any = {};
+ if (message.logTime !== undefined) {
+ obj.logTime = message.logTime.toISOString();
+ }
+ if (message.commandIndex !== 0) {
+ obj.commandIndex = Math.round(message.commandIndex);
+ }
+ if (message.commandCount !== 0) {
+ obj.commandCount = Math.round(message.commandCount);
+ }
+ if (message.response !== undefined) {
+ obj.response = TaskRunLogEntry_CommandExecute_CommandResponse.toJSON(message.response);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<TaskRunLogEntry_CommandExecute>): TaskRunLogEntry_CommandExecute {
+ return TaskRunLogEntry_CommandExecute.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<TaskRunLogEntry_CommandExecute>): TaskRunLogEntry_CommandExecute {
+ const message = createBaseTaskRunLogEntry_CommandExecute();
+ message.logTime = object.logTime ?? undefined;
+ message.commandIndex = object.commandIndex ?? 0;
+ message.commandCount = object.commandCount ?? 0;
+ message.response = (object.response !== undefined && object.response !== null)
+ ? TaskRunLogEntry_CommandExecute_CommandResponse.fromPartial(object.response)
+ : undefined;
+ return message;
+ },
+};
+
+function createBaseTaskRunLogEntry_CommandExecute_CommandResponse(): TaskRunLogEntry_CommandExecute_CommandResponse {
+ return { logTime: undefined, error: "", affectedRows: 0 };
+}
+
+export const TaskRunLogEntry_CommandExecute_CommandResponse = {
+ encode(
+ message: TaskRunLogEntry_CommandExecute_CommandResponse,
+ writer: _m0.Writer = _m0.Writer.create(),
+ ): _m0.Writer {
+ if (message.logTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.logTime), writer.uint32(10).fork()).ldelim();
+ }
+ if (message.error !== "") {
+ writer.uint32(18).string(message.error);
+ }
+ if (message.affectedRows !== 0) {
+ writer.uint32(24).int32(message.affectedRows);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): TaskRunLogEntry_CommandExecute_CommandResponse {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTaskRunLogEntry_CommandExecute_CommandResponse();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.logTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.error = reader.string();
+ continue;
+ case 3:
+ if (tag !== 24) {
+ break;
+ }
+
+ message.affectedRows = reader.int32();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TaskRunLogEntry_CommandExecute_CommandResponse {
+ return {
+ logTime: isSet(object.logTime) ? fromJsonTimestamp(object.logTime) : undefined,
+ error: isSet(object.error) ? globalThis.String(object.error) : "",
+ affectedRows: isSet(object.affectedRows) ? globalThis.Number(object.affectedRows) : 0,
+ };
+ },
+
+ toJSON(message: TaskRunLogEntry_CommandExecute_CommandResponse): unknown {
+ const obj: any = {};
+ if (message.logTime !== undefined) {
+ obj.logTime = message.logTime.toISOString();
+ }
+ if (message.error !== "") {
+ obj.error = message.error;
+ }
+ if (message.affectedRows !== 0) {
+ obj.affectedRows = Math.round(message.affectedRows);
+ }
+ return obj;
+ },
+
+ create(
+ base?: DeepPartial<TaskRunLogEntry_CommandExecute_CommandResponse>,
+ ): TaskRunLogEntry_CommandExecute_CommandResponse {
+ return TaskRunLogEntry_CommandExecute_CommandResponse.fromPartial(base ?? {});
+ },
+ fromPartial(
+ object: DeepPartial<TaskRunLogEntry_CommandExecute_CommandResponse>,
+ ): TaskRunLogEntry_CommandExecute_CommandResponse {
+ const message = createBaseTaskRunLogEntry_CommandExecute_CommandResponse();
+ message.logTime = object.logTime ?? undefined;
+ message.error = object.error ?? "";
+ message.affectedRows = object.affectedRows ?? 0;
+ return message;
+ },
+};
+
export type RolloutServiceDefinition = typeof RolloutServiceDefinition;
export const RolloutServiceDefinition = {
name: "RolloutService",
@@ -6840,6 +7453,91 @@ export const RolloutServiceDefinition = {
},
},
},
+ getTaskRunLog: {
+ name: "GetTaskRunLog",
+ requestType: GetTaskRunLogRequest,
+ requestStream: false,
+ responseType: TaskRunLog,
+ responseStream: false,
+ options: {
+ _unknownFields: {
+ 8410: [new Uint8Array([6, 112, 97, 114, 101, 110, 116])],
+ 578365826: [
+ new Uint8Array([
+ 68,
+ 18,
+ 66,
+ 47,
+ 118,
+ 49,
+ 47,
+ 123,
+ 112,
+ 97,
+ 114,
+ 101,
+ 110,
+ 116,
+ 61,
+ 112,
+ 114,
+ 111,
+ 106,
+ 101,
+ 99,
+ 116,
+ 115,
+ 47,
+ 42,
+ 47,
+ 114,
+ 111,
+ 108,
+ 108,
+ 111,
+ 117,
+ 116,
+ 115,
+ 47,
+ 42,
+ 47,
+ 115,
+ 116,
+ 97,
+ 103,
+ 101,
+ 115,
+ 47,
+ 42,
+ 47,
+ 116,
+ 97,
+ 115,
+ 107,
+ 115,
+ 47,
+ 42,
+ 47,
+ 116,
+ 97,
+ 115,
+ 107,
+ 82,
+ 117,
+ 110,
+ 115,
+ 47,
+ 42,
+ 125,
+ 47,
+ 108,
+ 111,
+ 103,
+ ]),
+ ],
+ },
+ },
+ },
listPlanCheckRuns: {
name: "ListPlanCheckRuns",
requestType: ListPlanCheckRunsRequest,
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 3ab6598c4f..14bbc89489 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -6015,6 +6015,55 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Status'
+ /v1/projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log:
+ get:
+ tags:
+ - RolloutService
+ operationId: RolloutService_GetTaskRunLog
+ parameters:
+ - name: project
+ in: path
+ description: The project id.
+ required: true
+ schema:
+ type: string
+ - name: rollout
+ in: path
+ description: The rollout id.
+ required: true
+ schema:
+ type: string
+ - name: stage
+ in: path
+ description: The stage id.
+ required: true
+ schema:
+ type: string
+ - name: task
+ in: path
+ description: The task id.
+ required: true
+ schema:
+ type: string
+ - name: taskRun
+ in: path
+ description: The taskRun id.
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/TaskRunLog'
+ default:
+ description: Default error response
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Status'
/v1/projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns:batchCancel:
post:
tags:
@@ -13412,6 +13461,59 @@ components:
- EXPORTED
type: string
format: enum
+ TaskRunLog:
+ type: object
+ properties:
+ type:
+ enum:
+ - TYPE_UNSPECIFIED
+ - SCHEMA_DUMP_START
+ - SCHEMA_DUMP_END
+ - COMMAND_EXECUTE
+ - COMMAND_RESPONSE
+ type: string
+ format: enum
+ schemaDumpStart:
+ $ref: '#/components/schemas/TaskRunLog_SchemaDumpStart'
+ schemaDumpEnd:
+ $ref: '#/components/schemas/TaskRunLog_SchemaDumpEnd'
+ commandExecute:
+ $ref: '#/components/schemas/TaskRunLog_CommandExecute'
+ commandResponse:
+ $ref: '#/components/schemas/TaskRunLog_CommandResponse'
+ TaskRunLog_CommandExecute:
+ type: object
+ properties:
+ commandIndex:
+ type: integer
+ description: Executed commands are in range [command_index, command_index + command_count).
+ format: int32
+ commandCount:
+ type: integer
+ format: int32
+ TaskRunLog_CommandResponse:
+ type: object
+ properties:
+ commandIndex:
+ type: integer
+ description: Executed commands are in range [command_index, command_index + command_count).
+ format: int32
+ commandCount:
+ type: integer
+ format: int32
+ error:
+ type: string
+ affectedRows:
+ type: integer
+ format: int32
+ TaskRunLog_SchemaDumpEnd:
+ type: object
+ properties:
+ error:
+ type: string
+ TaskRunLog_SchemaDumpStart:
+ type: object
+ properties: {}
TaskRun_ExecutionDetail:
type: object
properties:
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 0d2c6b7e71..7ff0869d4b 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -452,6 +452,7 @@
- [CreateRolloutRequest](#bytebase-v1-CreateRolloutRequest)
- [GetPlanRequest](#bytebase-v1-GetPlanRequest)
- [GetRolloutRequest](#bytebase-v1-GetRolloutRequest)
+ - [GetTaskRunLogRequest](#bytebase-v1-GetTaskRunLogRequest)
- [ListPlanCheckRunsRequest](#bytebase-v1-ListPlanCheckRunsRequest)
- [ListPlanCheckRunsResponse](#bytebase-v1-ListPlanCheckRunsResponse)
- [ListPlansRequest](#bytebase-v1-ListPlansRequest)
@@ -488,6 +489,11 @@
- [TaskRun](#bytebase-v1-TaskRun)
- [TaskRun.ExecutionDetail](#bytebase-v1-TaskRun-ExecutionDetail)
- [TaskRun.ExecutionDetail.Position](#bytebase-v1-TaskRun-ExecutionDetail-Position)
+ - [TaskRunLog](#bytebase-v1-TaskRunLog)
+ - [TaskRunLogEntry](#bytebase-v1-TaskRunLogEntry)
+ - [TaskRunLogEntry.CommandExecute](#bytebase-v1-TaskRunLogEntry-CommandExecute)
+ - [TaskRunLogEntry.CommandExecute.CommandResponse](#bytebase-v1-TaskRunLogEntry-CommandExecute-CommandResponse)
+ - [TaskRunLogEntry.SchemaDump](#bytebase-v1-TaskRunLogEntry-SchemaDump)
- [UpdatePlanRequest](#bytebase-v1-UpdatePlanRequest)
- [Plan.ChangeDatabaseConfig.Type](#bytebase-v1-Plan-ChangeDatabaseConfig-Type)
@@ -500,6 +506,7 @@
- [TaskRun.ExecutionStatus](#bytebase-v1-TaskRun-ExecutionStatus)
- [TaskRun.ExportArchiveStatus](#bytebase-v1-TaskRun-ExportArchiveStatus)
- [TaskRun.Status](#bytebase-v1-TaskRun-Status)
+ - [TaskRunLogEntry.Type](#bytebase-v1-TaskRunLogEntry-Type)
- [RolloutService](#bytebase-v1-RolloutService)
@@ -7430,6 +7437,21 @@ When paginating, all other parameters provided to `ListRoles` must match the cal
+<a name="bytebase-v1-GetTaskRunLogRequest"></a>
+
+### GetTaskRunLogRequest
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| parent | [string](#string) | | Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun} |
+
+
+
+
+
+
<a name="bytebase-v1-ListPlanCheckRunsRequest"></a>
### ListPlanCheckRunsRequest
@@ -8095,6 +8117,91 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat
+<a name="bytebase-v1-TaskRunLog"></a>
+
+### TaskRunLog
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log |
+| entries | [TaskRunLogEntry](#bytebase-v1-TaskRunLogEntry) | repeated | |
+
+
+
+
+
+
+<a name="bytebase-v1-TaskRunLogEntry"></a>
+
+### TaskRunLogEntry
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| type | [TaskRunLogEntry.Type](#bytebase-v1-TaskRunLogEntry-Type) | | |
+| schema_dump | [TaskRunLogEntry.SchemaDump](#bytebase-v1-TaskRunLogEntry-SchemaDump) | | |
+| command_execute | [TaskRunLogEntry.CommandExecute](#bytebase-v1-TaskRunLogEntry-CommandExecute) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-TaskRunLogEntry-CommandExecute"></a>
+
+### TaskRunLogEntry.CommandExecute
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| log_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+| command_index | [int32](#int32) | | Executed commands are in range [command_index, command_index &#43; command_count). |
+| command_count | [int32](#int32) | | |
+| response | [TaskRunLogEntry.CommandExecute.CommandResponse](#bytebase-v1-TaskRunLogEntry-CommandExecute-CommandResponse) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-TaskRunLogEntry-CommandExecute-CommandResponse"></a>
+
+### TaskRunLogEntry.CommandExecute.CommandResponse
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| log_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+| error | [string](#string) | | |
+| affected_rows | [int32](#int32) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-TaskRunLogEntry-SchemaDump"></a>
+
+### TaskRunLogEntry.SchemaDump
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| start_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+| end_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+| error | [string](#string) | | |
+
+
+
+
+
+
<a name="bytebase-v1-UpdatePlanRequest"></a>
### UpdatePlanRequest
@@ -8272,6 +8379,19 @@ Type is the database change type.
| CANCELED | 5 | |
+
+<a name="bytebase-v1-TaskRunLogEntry-Type"></a>
+
+### TaskRunLogEntry.Type
+
+
+| Name | Number | Description |
+| ---- | ------ | ----------- |
+| TYPE_UNSPECIFIED | 0 | |
+| SCHEMA_DUMP | 1 | |
+| COMMAND_EXECUTE | 2 | |
+
+
@@ -8292,6 +8412,7 @@ Type is the database change type.
| CreateRollout | [CreateRolloutRequest](#bytebase-v1-CreateRolloutRequest) | [Rollout](#bytebase-v1-Rollout) | |
| PreviewRollout | [PreviewRolloutRequest](#bytebase-v1-PreviewRolloutRequest) | [Rollout](#bytebase-v1-Rollout) | |
| ListTaskRuns | [ListTaskRunsRequest](#bytebase-v1-ListTaskRunsRequest) | [ListTaskRunsResponse](#bytebase-v1-ListTaskRunsResponse) | |
+| GetTaskRunLog | [GetTaskRunLogRequest](#bytebase-v1-GetTaskRunLogRequest) | [TaskRunLog](#bytebase-v1-TaskRunLog) | |
| ListPlanCheckRuns | [ListPlanCheckRunsRequest](#bytebase-v1-ListPlanCheckRunsRequest) | [ListPlanCheckRunsResponse](#bytebase-v1-ListPlanCheckRunsResponse) | |
| RunPlanChecks | [RunPlanChecksRequest](#bytebase-v1-RunPlanChecksRequest) | [RunPlanChecksResponse](#bytebase-v1-RunPlanChecksResponse) | |
| BatchRunTasks | [BatchRunTasksRequest](#bytebase-v1-BatchRunTasksRequest) | [BatchRunTasksResponse](#bytebase-v1-BatchRunTasksResponse) | |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 594b55a839..c55ad55e30 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -1906,6 +1906,10 @@
<a href="#bytebase.v1.GetRolloutRequest"><span class="badge">M</span>GetRolloutRequest</a>
</li>
+ <li>
+ <a href="#bytebase.v1.GetTaskRunLogRequest"><span class="badge">M</span>GetTaskRunLogRequest</a>
+ </li>
+
<li>
<a href="#bytebase.v1.ListPlanCheckRunsRequest"><span class="badge">M</span>ListPlanCheckRunsRequest</a>
</li>
@@ -2050,6 +2054,26 @@
<a href="#bytebase.v1.TaskRun.ExecutionDetail.Position"><span class="badge">M</span>TaskRun.ExecutionDetail.Position</a>
</li>
+ <li>
+ <a href="#bytebase.v1.TaskRunLog"><span class="badge">M</span>TaskRunLog</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.TaskRunLogEntry"><span class="badge">M</span>TaskRunLogEntry</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.TaskRunLogEntry.CommandExecute"><span class="badge">M</span>TaskRunLogEntry.CommandExecute</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse"><span class="badge">M</span>TaskRunLogEntry.CommandExecute.CommandResponse</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.TaskRunLogEntry.SchemaDump"><span class="badge">M</span>TaskRunLogEntry.SchemaDump</a>
+ </li>
+
<li>
<a href="#bytebase.v1.UpdatePlanRequest"><span class="badge">M</span>UpdatePlanRequest</a>
</li>
@@ -2095,6 +2119,10 @@
<a href="#bytebase.v1.TaskRun.Status"><span class="badge">E</span>TaskRun.Status</a>
</li>
+ <li>
+ <a href="#bytebase.v1.TaskRunLogEntry.Type"><span class="badge">E</span>TaskRunLogEntry.Type</a>
+ </li>
+
<li>
@@ -20793,6 +20821,30 @@ Format: projects/{project}/rollouts/{rollout} </p></td>
+ <h3 id="bytebase.v1.GetTaskRunLogRequest">GetTaskRunLogRequest</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>parent</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun} </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.ListPlanCheckRunsRequest">ListPlanCheckRunsRequest</h3>
<p></p>
@@ -22575,6 +22627,196 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory
+ <h3 id="bytebase.v1.TaskRunLog">TaskRunLog</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log </p></td>
+ </tr>
+
+ <tr>
+ <td>entries</td>
+ <td><a href="#bytebase.v1.TaskRunLogEntry">TaskRunLogEntry</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.TaskRunLogEntry">TaskRunLogEntry</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.Type">TaskRunLogEntry.Type</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>schema_dump</td>
+ <td><a href="#bytebase.v1.TaskRunLogEntry.SchemaDump">TaskRunLogEntry.SchemaDump</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>command_execute</td>
+ <td><a href="#bytebase.v1.TaskRunLogEntry.CommandExecute">TaskRunLogEntry.CommandExecute</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.TaskRunLogEntry.CommandExecute">TaskRunLogEntry.CommandExecute</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>log_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>command_index</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p>Executed commands are in range [command_index, command_index &#43; command_count). </p></td>
+ </tr>
+
+ <tr>
+ <td>command_count</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>response</td>
+ <td><a href="#bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse">TaskRunLogEntry.CommandExecute.CommandResponse</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse">TaskRunLogEntry.CommandExecute.CommandResponse</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>log_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</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>
+
+ <tr>
+ <td>affected_rows</td>
+ <td><a href="#int32">int32</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.TaskRunLogEntry.SchemaDump">TaskRunLogEntry.SchemaDump</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>start_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>end_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</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.UpdatePlanRequest">UpdatePlanRequest</h3>
<p></p>
@@ -23071,6 +23313,35 @@ Format: projects/{project}/plans/{plan} </p></td>
</tbody>
</table>
+ <h3 id="bytebase.v1.TaskRunLogEntry.Type">TaskRunLogEntry.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>SCHEMA_DUMP</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>COMMAND_EXECUTE</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
@@ -23139,6 +23410,13 @@ Format: projects/{project}/plans/{plan} </p></td>
<td><p></p></td>
</tr>
+ <tr>
+ <td>GetTaskRunLog</td>
+ <td><a href="#bytebase.v1.GetTaskRunLogRequest">GetTaskRunLogRequest</a></td>
+ <td><a href="#bytebase.v1.TaskRunLog">TaskRunLog</a></td>
+ <td><p></p></td>
+ </tr>
+
<tr>
<td>ListPlanCheckRuns</td>
<td><a href="#bytebase.v1.ListPlanCheckRunsRequest">ListPlanCheckRunsRequest</a></td>
@@ -23274,6 +23552,16 @@ Format: projects/{project}/plans/{plan} </p></td>
+ <tr>
+ <td>GetTaskRunLog</td>
+ <td>GET</td>
+ <td>/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}/log</td>
+ <td></td>
+ </tr>
+
+
+
+
<tr>
<td>ListPlanCheckRuns</td>
<td>GET</td>
diff --git a/proto/generated-go/v1/rollout_service.pb.go b/proto/generated-go/v1/rollout_service.pb.go
index 9ad15ca8af..a7231db5c7 100644
--- a/proto/generated-go/v1/rollout_service.pb.go
+++ b/proto/generated-go/v1/rollout_service.pb.go
@@ -321,7 +321,7 @@ func (x Task_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use Task_Status.Descriptor instead.
func (Task_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 0}
}
type Task_Type int32
@@ -399,7 +399,7 @@ func (x Task_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use Task_Type.Descriptor instead.
func (Task_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 1}
}
type Task_DatabaseDataUpdate_RollbackSqlStatus int32
@@ -451,7 +451,7 @@ func (x Task_DatabaseDataUpdate_RollbackSqlStatus) Number() protoreflect.EnumNum
// Deprecated: Use Task_DatabaseDataUpdate_RollbackSqlStatus.Descriptor instead.
func (Task_DatabaseDataUpdate_RollbackSqlStatus) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 3, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 3, 0}
}
type TaskRun_Status int32
@@ -509,7 +509,7 @@ func (x TaskRun_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskRun_Status.Descriptor instead.
func (TaskRun_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{26, 0}
}
type TaskRun_ExecutionStatus int32
@@ -561,7 +561,7 @@ func (x TaskRun_ExecutionStatus) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskRun_ExecutionStatus.Descriptor instead.
func (TaskRun_ExecutionStatus) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{26, 1}
}
type TaskRun_ExportArchiveStatus int32
@@ -610,7 +610,56 @@ func (x TaskRun_ExportArchiveStatus) Number() protoreflect.EnumNumber {
// Deprecated: Use TaskRun_ExportArchiveStatus.Descriptor instead.
func (TaskRun_ExportArchiveStatus) EnumDescriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 2}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{26, 2}
+}
+
+type TaskRunLogEntry_Type int32
+
+const (
+ TaskRunLogEntry_TYPE_UNSPECIFIED TaskRunLogEntry_Type = 0
+ TaskRunLogEntry_SCHEMA_DUMP TaskRunLogEntry_Type = 1
+ TaskRunLogEntry_COMMAND_EXECUTE TaskRunLogEntry_Type = 2
+)
+
+// Enum value maps for TaskRunLogEntry_Type.
+var (
+ TaskRunLogEntry_Type_name = map[int32]string{
+ 0: "TYPE_UNSPECIFIED",
+ 1: "SCHEMA_DUMP",
+ 2: "COMMAND_EXECUTE",
+ }
+ TaskRunLogEntry_Type_value = map[string]int32{
+ "TYPE_UNSPECIFIED": 0,
+ "SCHEMA_DUMP": 1,
+ "COMMAND_EXECUTE": 2,
+ }
+)
+
+func (x TaskRunLogEntry_Type) Enum() *TaskRunLogEntry_Type {
+ p := new(TaskRunLogEntry_Type)
+ *p = x
+ return p
+}
+
+func (x TaskRunLogEntry_Type) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (TaskRunLogEntry_Type) Descriptor() protoreflect.EnumDescriptor {
+ return file_v1_rollout_service_proto_enumTypes[10].Descriptor()
+}
+
+func (TaskRunLogEntry_Type) Type() protoreflect.EnumType {
+ return &file_v1_rollout_service_proto_enumTypes[10]
+}
+
+func (x TaskRunLogEntry_Type) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use TaskRunLogEntry_Type.Descriptor instead.
+func (TaskRunLogEntry_Type) EnumDescriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{28, 0}
}
type GetPlanRequest struct {
@@ -1980,6 +2029,54 @@ func (x *ListTaskRunsResponse) GetNextPageToken() string {
return ""
}
+type GetTaskRunLogRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}
+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
+}
+
+func (x *GetTaskRunLogRequest) Reset() {
+ *x = GetTaskRunLogRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetTaskRunLogRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetTaskRunLogRequest) ProtoMessage() {}
+
+func (x *GetTaskRunLogRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[22]
+ 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 GetTaskRunLogRequest.ProtoReflect.Descriptor instead.
+func (*GetTaskRunLogRequest) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{22}
+}
+
+func (x *GetTaskRunLogRequest) GetParent() string {
+ if x != nil {
+ return x.Parent
+ }
+ return ""
+}
+
type Rollout struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2001,7 +2098,7 @@ type Rollout struct {
func (x *Rollout) Reset() {
*x = Rollout{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[22]
+ mi := &file_v1_rollout_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2014,7 +2111,7 @@ func (x *Rollout) String() string {
func (*Rollout) ProtoMessage() {}
func (x *Rollout) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[22]
+ mi := &file_v1_rollout_service_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2027,7 +2124,7 @@ func (x *Rollout) ProtoReflect() protoreflect.Message {
// Deprecated: Use Rollout.ProtoReflect.Descriptor instead.
func (*Rollout) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{22}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{23}
}
func (x *Rollout) GetName() string {
@@ -2081,7 +2178,7 @@ type Stage struct {
func (x *Stage) Reset() {
*x = Stage{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[23]
+ mi := &file_v1_rollout_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2094,7 +2191,7 @@ func (x *Stage) String() string {
func (*Stage) ProtoMessage() {}
func (x *Stage) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[23]
+ mi := &file_v1_rollout_service_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2107,7 +2204,7 @@ func (x *Stage) ProtoReflect() protoreflect.Message {
// Deprecated: Use Stage.ProtoReflect.Descriptor instead.
func (*Stage) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{23}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{24}
}
func (x *Stage) GetName() string {
@@ -2173,7 +2270,7 @@ type Task struct {
func (x *Task) Reset() {
*x = Task{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[24]
+ mi := &file_v1_rollout_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2186,7 +2283,7 @@ func (x *Task) String() string {
func (*Task) ProtoMessage() {}
func (x *Task) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[24]
+ mi := &file_v1_rollout_service_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2199,7 +2296,7 @@ func (x *Task) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task.ProtoReflect.Descriptor instead.
func (*Task) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25}
}
func (x *Task) GetName() string {
@@ -2375,7 +2472,7 @@ type TaskRun struct {
func (x *TaskRun) Reset() {
*x = TaskRun{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[25]
+ mi := &file_v1_rollout_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2388,7 +2485,7 @@ func (x *TaskRun) String() string {
func (*TaskRun) ProtoMessage() {}
func (x *TaskRun) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[25]
+ mi := &file_v1_rollout_service_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2401,7 +2498,7 @@ func (x *TaskRun) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun.ProtoReflect.Descriptor instead.
func (*TaskRun) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{25}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{26}
}
func (x *TaskRun) GetName() string {
@@ -2516,6 +2613,125 @@ func (x *TaskRun) GetExportArchiveStatus() TaskRun_ExportArchiveStatus {
return TaskRun_EXPORT_ARCHIVE_STATUS_UNSPECIFIED
}
+type TaskRunLog struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Entries []*TaskRunLogEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
+}
+
+func (x *TaskRunLog) Reset() {
+ *x = TaskRunLog{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TaskRunLog) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TaskRunLog) ProtoMessage() {}
+
+func (x *TaskRunLog) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[27]
+ 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.ProtoReflect.Descriptor instead.
+func (*TaskRunLog) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{27}
+}
+
+func (x *TaskRunLog) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *TaskRunLog) GetEntries() []*TaskRunLogEntry {
+ if x != nil {
+ return x.Entries
+ }
+ return nil
+}
+
+type TaskRunLogEntry struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type TaskRunLogEntry_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.TaskRunLogEntry_Type" json:"type,omitempty"`
+ SchemaDump *TaskRunLogEntry_SchemaDump `protobuf:"bytes,2,opt,name=schema_dump,json=schemaDump,proto3" json:"schema_dump,omitempty"`
+ CommandExecute *TaskRunLogEntry_CommandExecute `protobuf:"bytes,3,opt,name=command_execute,json=commandExecute,proto3" json:"command_execute,omitempty"`
+}
+
+func (x *TaskRunLogEntry) Reset() {
+ *x = TaskRunLogEntry{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TaskRunLogEntry) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TaskRunLogEntry) ProtoMessage() {}
+
+func (x *TaskRunLogEntry) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[28]
+ 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.ProtoReflect.Descriptor instead.
+func (*TaskRunLogEntry) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{28}
+}
+
+func (x *TaskRunLogEntry) GetType() TaskRunLogEntry_Type {
+ if x != nil {
+ return x.Type
+ }
+ return TaskRunLogEntry_TYPE_UNSPECIFIED
+}
+
+func (x *TaskRunLogEntry) GetSchemaDump() *TaskRunLogEntry_SchemaDump {
+ if x != nil {
+ return x.SchemaDump
+ }
+ return nil
+}
+
+func (x *TaskRunLogEntry) GetCommandExecute() *TaskRunLogEntry_CommandExecute {
+ if x != nil {
+ return x.CommandExecute
+ }
+ return nil
+}
+
type Plan_Step struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2529,7 +2745,7 @@ type Plan_Step struct {
func (x *Plan_Step) Reset() {
*x = Plan_Step{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[26]
+ mi := &file_v1_rollout_service_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2542,7 +2758,7 @@ func (x *Plan_Step) String() string {
func (*Plan_Step) ProtoMessage() {}
func (x *Plan_Step) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[26]
+ mi := &file_v1_rollout_service_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2595,7 +2811,7 @@ type Plan_Spec struct {
func (x *Plan_Spec) Reset() {
*x = Plan_Spec{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[27]
+ mi := &file_v1_rollout_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2608,7 +2824,7 @@ func (x *Plan_Spec) String() string {
func (*Plan_Spec) ProtoMessage() {}
func (x *Plan_Spec) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[27]
+ mi := &file_v1_rollout_service_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2726,7 +2942,7 @@ type Plan_CreateDatabaseConfig struct {
func (x *Plan_CreateDatabaseConfig) Reset() {
*x = Plan_CreateDatabaseConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[28]
+ mi := &file_v1_rollout_service_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2739,7 +2955,7 @@ func (x *Plan_CreateDatabaseConfig) String() string {
func (*Plan_CreateDatabaseConfig) ProtoMessage() {}
func (x *Plan_CreateDatabaseConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[28]
+ mi := &file_v1_rollout_service_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2847,7 +3063,7 @@ type Plan_ChangeDatabaseConfig struct {
func (x *Plan_ChangeDatabaseConfig) Reset() {
*x = Plan_ChangeDatabaseConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[29]
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2860,7 +3076,7 @@ func (x *Plan_ChangeDatabaseConfig) String() string {
func (*Plan_ChangeDatabaseConfig) ProtoMessage() {}
func (x *Plan_ChangeDatabaseConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[29]
+ mi := &file_v1_rollout_service_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2953,7 +3169,7 @@ type Plan_ExportDataConfig struct {
func (x *Plan_ExportDataConfig) Reset() {
*x = Plan_ExportDataConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[30]
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2966,7 +3182,7 @@ func (x *Plan_ExportDataConfig) String() string {
func (*Plan_ExportDataConfig) ProtoMessage() {}
func (x *Plan_ExportDataConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[30]
+ mi := &file_v1_rollout_service_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3026,7 +3242,7 @@ type Plan_VCSSource struct {
func (x *Plan_VCSSource) Reset() {
*x = Plan_VCSSource{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[31]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3039,7 +3255,7 @@ func (x *Plan_VCSSource) String() string {
func (*Plan_VCSSource) ProtoMessage() {}
func (x *Plan_VCSSource) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[31]
+ mi := &file_v1_rollout_service_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3092,7 +3308,7 @@ type Plan_ChangeDatabaseConfig_RollbackDetail struct {
func (x *Plan_ChangeDatabaseConfig_RollbackDetail) Reset() {
*x = Plan_ChangeDatabaseConfig_RollbackDetail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3105,7 +3321,7 @@ func (x *Plan_ChangeDatabaseConfig_RollbackDetail) String() string {
func (*Plan_ChangeDatabaseConfig_RollbackDetail) ProtoMessage() {}
func (x *Plan_ChangeDatabaseConfig_RollbackDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[33]
+ mi := &file_v1_rollout_service_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3148,7 +3364,7 @@ type Plan_ChangeDatabaseConfig_PreUpdateBackupDetail struct {
func (x *Plan_ChangeDatabaseConfig_PreUpdateBackupDetail) Reset() {
*x = Plan_ChangeDatabaseConfig_PreUpdateBackupDetail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3161,7 +3377,7 @@ func (x *Plan_ChangeDatabaseConfig_PreUpdateBackupDetail) String() string {
func (*Plan_ChangeDatabaseConfig_PreUpdateBackupDetail) ProtoMessage() {}
func (x *Plan_ChangeDatabaseConfig_PreUpdateBackupDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[35]
+ mi := &file_v1_rollout_service_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3203,7 +3419,7 @@ type PlanCheckRun_Result struct {
func (x *PlanCheckRun_Result) Reset() {
*x = PlanCheckRun_Result{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3216,7 +3432,7 @@ func (x *PlanCheckRun_Result) String() string {
func (*PlanCheckRun_Result) ProtoMessage() {}
func (x *PlanCheckRun_Result) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[36]
+ mi := &file_v1_rollout_service_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3312,7 +3528,7 @@ type PlanCheckRun_Result_SqlSummaryReport struct {
func (x *PlanCheckRun_Result_SqlSummaryReport) Reset() {
*x = PlanCheckRun_Result_SqlSummaryReport{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3325,7 +3541,7 @@ func (x *PlanCheckRun_Result_SqlSummaryReport) String() string {
func (*PlanCheckRun_Result_SqlSummaryReport) ProtoMessage() {}
func (x *PlanCheckRun_Result_SqlSummaryReport) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[37]
+ mi := &file_v1_rollout_service_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3384,7 +3600,7 @@ type PlanCheckRun_Result_SqlReviewReport struct {
func (x *PlanCheckRun_Result_SqlReviewReport) Reset() {
*x = PlanCheckRun_Result_SqlReviewReport{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[38]
+ mi := &file_v1_rollout_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3397,7 +3613,7 @@ func (x *PlanCheckRun_Result_SqlReviewReport) String() string {
func (*PlanCheckRun_Result_SqlReviewReport) ProtoMessage() {}
func (x *PlanCheckRun_Result_SqlReviewReport) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[38]
+ mi := &file_v1_rollout_service_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3464,7 +3680,7 @@ type Task_DatabaseCreate struct {
func (x *Task_DatabaseCreate) Reset() {
*x = Task_DatabaseCreate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[39]
+ mi := &file_v1_rollout_service_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3477,7 +3693,7 @@ func (x *Task_DatabaseCreate) String() string {
func (*Task_DatabaseCreate) ProtoMessage() {}
func (x *Task_DatabaseCreate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[39]
+ mi := &file_v1_rollout_service_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3490,7 +3706,7 @@ func (x *Task_DatabaseCreate) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseCreate.ProtoReflect.Descriptor instead.
func (*Task_DatabaseCreate) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 0}
}
func (x *Task_DatabaseCreate) GetProject() string {
@@ -3560,7 +3776,7 @@ type Task_DatabaseSchemaBaseline struct {
func (x *Task_DatabaseSchemaBaseline) Reset() {
*x = Task_DatabaseSchemaBaseline{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[40]
+ mi := &file_v1_rollout_service_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3573,7 +3789,7 @@ func (x *Task_DatabaseSchemaBaseline) String() string {
func (*Task_DatabaseSchemaBaseline) ProtoMessage() {}
func (x *Task_DatabaseSchemaBaseline) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[40]
+ mi := &file_v1_rollout_service_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3586,7 +3802,7 @@ func (x *Task_DatabaseSchemaBaseline) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseSchemaBaseline.ProtoReflect.Descriptor instead.
func (*Task_DatabaseSchemaBaseline) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 1}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 1}
}
func (x *Task_DatabaseSchemaBaseline) GetSchemaVersion() string {
@@ -3609,7 +3825,7 @@ type Task_DatabaseSchemaUpdate struct {
func (x *Task_DatabaseSchemaUpdate) Reset() {
*x = Task_DatabaseSchemaUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[41]
+ mi := &file_v1_rollout_service_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3622,7 +3838,7 @@ func (x *Task_DatabaseSchemaUpdate) String() string {
func (*Task_DatabaseSchemaUpdate) ProtoMessage() {}
func (x *Task_DatabaseSchemaUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[41]
+ mi := &file_v1_rollout_service_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3635,7 +3851,7 @@ func (x *Task_DatabaseSchemaUpdate) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseSchemaUpdate.ProtoReflect.Descriptor instead.
func (*Task_DatabaseSchemaUpdate) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 2}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 2}
}
func (x *Task_DatabaseSchemaUpdate) GetSheet() string {
@@ -3682,7 +3898,7 @@ type Task_DatabaseDataUpdate struct {
func (x *Task_DatabaseDataUpdate) Reset() {
*x = Task_DatabaseDataUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[42]
+ mi := &file_v1_rollout_service_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3695,7 +3911,7 @@ func (x *Task_DatabaseDataUpdate) String() string {
func (*Task_DatabaseDataUpdate) ProtoMessage() {}
func (x *Task_DatabaseDataUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[42]
+ mi := &file_v1_rollout_service_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3708,7 +3924,7 @@ func (x *Task_DatabaseDataUpdate) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseDataUpdate.ProtoReflect.Descriptor instead.
func (*Task_DatabaseDataUpdate) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 3}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 3}
}
func (x *Task_DatabaseDataUpdate) GetSheet() string {
@@ -3788,7 +4004,7 @@ type Task_DatabaseDataExport struct {
func (x *Task_DatabaseDataExport) Reset() {
*x = Task_DatabaseDataExport{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[43]
+ mi := &file_v1_rollout_service_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3801,7 +4017,7 @@ func (x *Task_DatabaseDataExport) String() string {
func (*Task_DatabaseDataExport) ProtoMessage() {}
func (x *Task_DatabaseDataExport) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[43]
+ mi := &file_v1_rollout_service_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3814,7 +4030,7 @@ func (x *Task_DatabaseDataExport) ProtoReflect() protoreflect.Message {
// Deprecated: Use Task_DatabaseDataExport.ProtoReflect.Descriptor instead.
func (*Task_DatabaseDataExport) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{24, 4}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 4}
}
func (x *Task_DatabaseDataExport) GetTarget() string {
@@ -3860,7 +4076,7 @@ type TaskRun_ExecutionDetail struct {
func (x *TaskRun_ExecutionDetail) Reset() {
*x = TaskRun_ExecutionDetail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[45]
+ mi := &file_v1_rollout_service_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3873,7 +4089,7 @@ func (x *TaskRun_ExecutionDetail) String() string {
func (*TaskRun_ExecutionDetail) ProtoMessage() {}
func (x *TaskRun_ExecutionDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[45]
+ mi := &file_v1_rollout_service_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3886,7 +4102,7 @@ func (x *TaskRun_ExecutionDetail) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun_ExecutionDetail.ProtoReflect.Descriptor instead.
func (*TaskRun_ExecutionDetail) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{26, 0}
}
func (x *TaskRun_ExecutionDetail) GetCommandsTotal() int32 {
@@ -3931,7 +4147,7 @@ type TaskRun_ExecutionDetail_Position struct {
func (x *TaskRun_ExecutionDetail_Position) Reset() {
*x = TaskRun_ExecutionDetail_Position{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_rollout_service_proto_msgTypes[46]
+ mi := &file_v1_rollout_service_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3944,7 +4160,7 @@ func (x *TaskRun_ExecutionDetail_Position) String() string {
func (*TaskRun_ExecutionDetail_Position) ProtoMessage() {}
func (x *TaskRun_ExecutionDetail_Position) ProtoReflect() protoreflect.Message {
- mi := &file_v1_rollout_service_proto_msgTypes[46]
+ mi := &file_v1_rollout_service_proto_msgTypes[49]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3957,7 +4173,7 @@ func (x *TaskRun_ExecutionDetail_Position) ProtoReflect() protoreflect.Message {
// Deprecated: Use TaskRun_ExecutionDetail_Position.ProtoReflect.Descriptor instead.
func (*TaskRun_ExecutionDetail_Position) Descriptor() ([]byte, []int) {
- return file_v1_rollout_service_proto_rawDescGZIP(), []int{25, 0, 0}
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{26, 0, 0}
}
func (x *TaskRun_ExecutionDetail_Position) GetLine() int32 {
@@ -3974,6 +4190,204 @@ func (x *TaskRun_ExecutionDetail_Position) GetColumn() int32 {
return 0
}
+type TaskRunLogEntry_SchemaDump struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
+}
+
+func (x *TaskRunLogEntry_SchemaDump) Reset() {
+ *x = TaskRunLogEntry_SchemaDump{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[50]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TaskRunLogEntry_SchemaDump) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TaskRunLogEntry_SchemaDump) ProtoMessage() {}
+
+func (x *TaskRunLogEntry_SchemaDump) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[50]
+ 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_SchemaDump.ProtoReflect.Descriptor instead.
+func (*TaskRunLogEntry_SchemaDump) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{28, 0}
+}
+
+func (x *TaskRunLogEntry_SchemaDump) GetStartTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.StartTime
+ }
+ return nil
+}
+
+func (x *TaskRunLogEntry_SchemaDump) GetEndTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.EndTime
+ }
+ return nil
+}
+
+func (x *TaskRunLogEntry_SchemaDump) GetError() string {
+ if x != nil {
+ return x.Error
+ }
+ return ""
+}
+
+type TaskRunLogEntry_CommandExecute struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ LogTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=log_time,json=logTime,proto3" json:"log_time,omitempty"`
+ // Executed commands are in range [command_index, command_index + command_count).
+ CommandIndex int32 `protobuf:"varint,2,opt,name=command_index,json=commandIndex,proto3" json:"command_index,omitempty"`
+ CommandCount int32 `protobuf:"varint,3,opt,name=command_count,json=commandCount,proto3" json:"command_count,omitempty"`
+ Response *TaskRunLogEntry_CommandExecute_CommandResponse `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
+}
+
+func (x *TaskRunLogEntry_CommandExecute) Reset() {
+ *x = TaskRunLogEntry_CommandExecute{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[51]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TaskRunLogEntry_CommandExecute) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TaskRunLogEntry_CommandExecute) ProtoMessage() {}
+
+func (x *TaskRunLogEntry_CommandExecute) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[51]
+ 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_CommandExecute.ProtoReflect.Descriptor instead.
+func (*TaskRunLogEntry_CommandExecute) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{28, 1}
+}
+
+func (x *TaskRunLogEntry_CommandExecute) GetLogTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.LogTime
+ }
+ return nil
+}
+
+func (x *TaskRunLogEntry_CommandExecute) GetCommandIndex() int32 {
+ if x != nil {
+ return x.CommandIndex
+ }
+ return 0
+}
+
+func (x *TaskRunLogEntry_CommandExecute) GetCommandCount() int32 {
+ if x != nil {
+ return x.CommandCount
+ }
+ return 0
+}
+
+func (x *TaskRunLogEntry_CommandExecute) GetResponse() *TaskRunLogEntry_CommandExecute_CommandResponse {
+ if x != nil {
+ return x.Response
+ }
+ return nil
+}
+
+type TaskRunLogEntry_CommandExecute_CommandResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ LogTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=log_time,json=logTime,proto3" json:"log_time,omitempty"`
+ Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
+ AffectedRows int32 `protobuf:"varint,3,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
+}
+
+func (x *TaskRunLogEntry_CommandExecute_CommandResponse) Reset() {
+ *x = TaskRunLogEntry_CommandExecute_CommandResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_rollout_service_proto_msgTypes[52]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TaskRunLogEntry_CommandExecute_CommandResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TaskRunLogEntry_CommandExecute_CommandResponse) ProtoMessage() {}
+
+func (x *TaskRunLogEntry_CommandExecute_CommandResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_rollout_service_proto_msgTypes[52]
+ 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_CommandExecute_CommandResponse.ProtoReflect.Descriptor instead.
+func (*TaskRunLogEntry_CommandExecute_CommandResponse) Descriptor() ([]byte, []int) {
+ return file_v1_rollout_service_proto_rawDescGZIP(), []int{28, 1, 0}
+}
+
+func (x *TaskRunLogEntry_CommandExecute_CommandResponse) GetLogTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.LogTime
+ }
+ return nil
+}
+
+func (x *TaskRunLogEntry_CommandExecute_CommandResponse) GetError() string {
+ if x != nil {
+ return x.Error
+ }
+ return ""
+}
+
+func (x *TaskRunLogEntry_CommandExecute_CommandResponse) GetAffectedRows() int32 {
+ if x != nil {
+ return x.AffectedRows
+ }
+ return 0
+}
+
var File_v1_rollout_service_proto protoreflect.FileDescriptor
var file_v1_rollout_service_proto_rawDesc = []byte{
@@ -4341,7 +4755,10 @@ var file_v1_rollout_service_proto_rawDesc = []byte{
0x6e, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
- 0x6b, 0x65, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12,
+ 0x6b, 0x65, 0x6e, 0x22, 0x2e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75,
+ 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12,
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x04, 0x70,
@@ -4596,129 +5013,197 @@ var file_v1_rollout_service_proto_rawDesc = []byte{
0x52, 0x54, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55,
0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58,
- 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x32, 0x85, 0x0f, 0x0a, 0x0e, 0x52, 0x6f, 0x6c,
- 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 0x0a, 0x07, 0x47,
- 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x2c, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e,
- 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e,
- 0x73, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
- 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x2e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73,
- 0x12, 0x7a, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1e,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
+ 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x58, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b,
+ 0x52, 0x75, 0x6e, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 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, 0xb6, 0x06, 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, 0x67, 0x45, 0x6e, 0x74,
+ 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a,
+ 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x27, 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, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x0a, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x54, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
+ 0x6e, 0x64, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x2b, 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, 0x52, 0x0e, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 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, 0xf0, 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, 0x23,
+ 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e,
+ 0x64, 0x65, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x61, 0x6e, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x57, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 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, 0x83, 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, 0x22, 0x42, 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, 0x32, 0xa8, 0x10, 0x0a, 0x0e,
+ 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67,
+ 0x0a, 0x07, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x2c, 0xda, 0x41, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70,
+ 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50,
+ 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x2e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c,
+ 0x61, 0x6e, 0x73, 0x12, 0x7a, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61,
+ 0x6e, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x39, 0xda, 0x41, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c,
+ 0x70, 0x6c, 0x61, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x04, 0x70, 0x6c, 0x61, 0x6e,
+ 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12,
+ 0x84, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1e,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11,
0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61,
- 0x6e, 0x22, 0x39, 0xda, 0x41, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x6c, 0x61,
- 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x1d, 0x2f,
- 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x84, 0x01, 0x0a,
- 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1e, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x43,
- 0xda, 0x41, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
- 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x32,
- 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73,
- 0x2f, 0x2a, 0x7d, 0x12, 0x73, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75,
- 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x6e, 0x22, 0x43, 0xda, 0x41, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x04, 0x70, 0x6c,
+ 0x61, 0x6e, 0x32, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c,
+ 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x73, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c,
+ 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 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, 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,
+ 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, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b,
- 0x52, 0x75, 0x6e, 0x73, 0x12, 0xa2, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61,
- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61,
- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0xda, 0x41, 0x06, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
- 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e,
- 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x0d, 0x52, 0x75,
- 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61,
- 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e,
- 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73,
- 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b,
- 0x73, 0x12, 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,
+ 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, 0xa2, 0x01, 0x0a, 0x11, 0x4c,
+ 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73,
+ 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
+ 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68,
+ 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+ 0x3e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f,
+ 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a,
+ 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12,
+ 0x95, 0x01, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f,
+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
+ 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x50, 0x6c, 0x61,
+ 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 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 (
@@ -4733,8 +5218,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, 10)
-var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
+var file_v1_rollout_service_proto_enumTypes = make([]protoimpl.EnumInfo, 11)
+var file_v1_rollout_service_proto_msgTypes = make([]protoimpl.MessageInfo, 53)
var file_v1_rollout_service_proto_goTypes = []interface{}{
(Plan_ChangeDatabaseConfig_Type)(0), // 0: bytebase.v1.Plan.ChangeDatabaseConfig.Type
(PlanCheckRun_Type)(0), // 1: bytebase.v1.PlanCheckRun.Type
@@ -4746,144 +5231,162 @@ var file_v1_rollout_service_proto_goTypes = []interface{}{
(TaskRun_Status)(0), // 7: bytebase.v1.TaskRun.Status
(TaskRun_ExecutionStatus)(0), // 8: bytebase.v1.TaskRun.ExecutionStatus
(TaskRun_ExportArchiveStatus)(0), // 9: bytebase.v1.TaskRun.ExportArchiveStatus
- (*GetPlanRequest)(nil), // 10: bytebase.v1.GetPlanRequest
- (*ListPlansRequest)(nil), // 11: bytebase.v1.ListPlansRequest
- (*ListPlansResponse)(nil), // 12: bytebase.v1.ListPlansResponse
- (*CreatePlanRequest)(nil), // 13: bytebase.v1.CreatePlanRequest
- (*UpdatePlanRequest)(nil), // 14: bytebase.v1.UpdatePlanRequest
- (*Plan)(nil), // 15: bytebase.v1.Plan
- (*ListPlanCheckRunsRequest)(nil), // 16: bytebase.v1.ListPlanCheckRunsRequest
- (*ListPlanCheckRunsResponse)(nil), // 17: bytebase.v1.ListPlanCheckRunsResponse
- (*RunPlanChecksRequest)(nil), // 18: bytebase.v1.RunPlanChecksRequest
- (*RunPlanChecksResponse)(nil), // 19: bytebase.v1.RunPlanChecksResponse
- (*BatchRunTasksRequest)(nil), // 20: bytebase.v1.BatchRunTasksRequest
- (*BatchRunTasksResponse)(nil), // 21: bytebase.v1.BatchRunTasksResponse
- (*BatchSkipTasksRequest)(nil), // 22: bytebase.v1.BatchSkipTasksRequest
- (*BatchSkipTasksResponse)(nil), // 23: bytebase.v1.BatchSkipTasksResponse
- (*BatchCancelTaskRunsRequest)(nil), // 24: bytebase.v1.BatchCancelTaskRunsRequest
- (*BatchCancelTaskRunsResponse)(nil), // 25: bytebase.v1.BatchCancelTaskRunsResponse
- (*PlanCheckRun)(nil), // 26: bytebase.v1.PlanCheckRun
- (*GetRolloutRequest)(nil), // 27: bytebase.v1.GetRolloutRequest
- (*CreateRolloutRequest)(nil), // 28: bytebase.v1.CreateRolloutRequest
- (*PreviewRolloutRequest)(nil), // 29: bytebase.v1.PreviewRolloutRequest
- (*ListTaskRunsRequest)(nil), // 30: bytebase.v1.ListTaskRunsRequest
- (*ListTaskRunsResponse)(nil), // 31: bytebase.v1.ListTaskRunsResponse
- (*Rollout)(nil), // 32: bytebase.v1.Rollout
- (*Stage)(nil), // 33: bytebase.v1.Stage
- (*Task)(nil), // 34: bytebase.v1.Task
- (*TaskRun)(nil), // 35: bytebase.v1.TaskRun
- (*Plan_Step)(nil), // 36: bytebase.v1.Plan.Step
- (*Plan_Spec)(nil), // 37: bytebase.v1.Plan.Spec
- (*Plan_CreateDatabaseConfig)(nil), // 38: bytebase.v1.Plan.CreateDatabaseConfig
- (*Plan_ChangeDatabaseConfig)(nil), // 39: bytebase.v1.Plan.ChangeDatabaseConfig
- (*Plan_ExportDataConfig)(nil), // 40: bytebase.v1.Plan.ExportDataConfig
- (*Plan_VCSSource)(nil), // 41: bytebase.v1.Plan.VCSSource
- nil, // 42: bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
- (*Plan_ChangeDatabaseConfig_RollbackDetail)(nil), // 43: bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
- nil, // 44: bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry
- (*Plan_ChangeDatabaseConfig_PreUpdateBackupDetail)(nil), // 45: bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail
- (*PlanCheckRun_Result)(nil), // 46: bytebase.v1.PlanCheckRun.Result
- (*PlanCheckRun_Result_SqlSummaryReport)(nil), // 47: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport
- (*PlanCheckRun_Result_SqlReviewReport)(nil), // 48: bytebase.v1.PlanCheckRun.Result.SqlReviewReport
- (*Task_DatabaseCreate)(nil), // 49: bytebase.v1.Task.DatabaseCreate
- (*Task_DatabaseSchemaBaseline)(nil), // 50: bytebase.v1.Task.DatabaseSchemaBaseline
- (*Task_DatabaseSchemaUpdate)(nil), // 51: bytebase.v1.Task.DatabaseSchemaUpdate
- (*Task_DatabaseDataUpdate)(nil), // 52: bytebase.v1.Task.DatabaseDataUpdate
- (*Task_DatabaseDataExport)(nil), // 53: bytebase.v1.Task.DatabaseDataExport
- nil, // 54: bytebase.v1.Task.DatabaseCreate.LabelsEntry
- (*TaskRun_ExecutionDetail)(nil), // 55: bytebase.v1.TaskRun.ExecutionDetail
- (*TaskRun_ExecutionDetail_Position)(nil), // 56: bytebase.v1.TaskRun.ExecutionDetail.Position
- (*fieldmaskpb.FieldMask)(nil), // 57: google.protobuf.FieldMask
- (*timestamppb.Timestamp)(nil), // 58: google.protobuf.Timestamp
- (ExportFormat)(0), // 59: bytebase.v1.ExportFormat
- (VCSType)(0), // 60: bytebase.v1.VCSType
- (*ChangedResources)(nil), // 61: bytebase.v1.ChangedResources
+ (TaskRunLogEntry_Type)(0), // 10: bytebase.v1.TaskRunLogEntry.Type
+ (*GetPlanRequest)(nil), // 11: bytebase.v1.GetPlanRequest
+ (*ListPlansRequest)(nil), // 12: bytebase.v1.ListPlansRequest
+ (*ListPlansResponse)(nil), // 13: bytebase.v1.ListPlansResponse
+ (*CreatePlanRequest)(nil), // 14: bytebase.v1.CreatePlanRequest
+ (*UpdatePlanRequest)(nil), // 15: bytebase.v1.UpdatePlanRequest
+ (*Plan)(nil), // 16: bytebase.v1.Plan
+ (*ListPlanCheckRunsRequest)(nil), // 17: bytebase.v1.ListPlanCheckRunsRequest
+ (*ListPlanCheckRunsResponse)(nil), // 18: bytebase.v1.ListPlanCheckRunsResponse
+ (*RunPlanChecksRequest)(nil), // 19: bytebase.v1.RunPlanChecksRequest
+ (*RunPlanChecksResponse)(nil), // 20: bytebase.v1.RunPlanChecksResponse
+ (*BatchRunTasksRequest)(nil), // 21: bytebase.v1.BatchRunTasksRequest
+ (*BatchRunTasksResponse)(nil), // 22: bytebase.v1.BatchRunTasksResponse
+ (*BatchSkipTasksRequest)(nil), // 23: bytebase.v1.BatchSkipTasksRequest
+ (*BatchSkipTasksResponse)(nil), // 24: bytebase.v1.BatchSkipTasksResponse
+ (*BatchCancelTaskRunsRequest)(nil), // 25: bytebase.v1.BatchCancelTaskRunsRequest
+ (*BatchCancelTaskRunsResponse)(nil), // 26: bytebase.v1.BatchCancelTaskRunsResponse
+ (*PlanCheckRun)(nil), // 27: bytebase.v1.PlanCheckRun
+ (*GetRolloutRequest)(nil), // 28: bytebase.v1.GetRolloutRequest
+ (*CreateRolloutRequest)(nil), // 29: bytebase.v1.CreateRolloutRequest
+ (*PreviewRolloutRequest)(nil), // 30: bytebase.v1.PreviewRolloutRequest
+ (*ListTaskRunsRequest)(nil), // 31: bytebase.v1.ListTaskRunsRequest
+ (*ListTaskRunsResponse)(nil), // 32: bytebase.v1.ListTaskRunsResponse
+ (*GetTaskRunLogRequest)(nil), // 33: bytebase.v1.GetTaskRunLogRequest
+ (*Rollout)(nil), // 34: bytebase.v1.Rollout
+ (*Stage)(nil), // 35: bytebase.v1.Stage
+ (*Task)(nil), // 36: bytebase.v1.Task
+ (*TaskRun)(nil), // 37: bytebase.v1.TaskRun
+ (*TaskRunLog)(nil), // 38: bytebase.v1.TaskRunLog
+ (*TaskRunLogEntry)(nil), // 39: bytebase.v1.TaskRunLogEntry
+ (*Plan_Step)(nil), // 40: bytebase.v1.Plan.Step
+ (*Plan_Spec)(nil), // 41: bytebase.v1.Plan.Spec
+ (*Plan_CreateDatabaseConfig)(nil), // 42: bytebase.v1.Plan.CreateDatabaseConfig
+ (*Plan_ChangeDatabaseConfig)(nil), // 43: bytebase.v1.Plan.ChangeDatabaseConfig
+ (*Plan_ExportDataConfig)(nil), // 44: bytebase.v1.Plan.ExportDataConfig
+ (*Plan_VCSSource)(nil), // 45: bytebase.v1.Plan.VCSSource
+ nil, // 46: bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
+ (*Plan_ChangeDatabaseConfig_RollbackDetail)(nil), // 47: bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
+ nil, // 48: bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry
+ (*Plan_ChangeDatabaseConfig_PreUpdateBackupDetail)(nil), // 49: bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail
+ (*PlanCheckRun_Result)(nil), // 50: bytebase.v1.PlanCheckRun.Result
+ (*PlanCheckRun_Result_SqlSummaryReport)(nil), // 51: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport
+ (*PlanCheckRun_Result_SqlReviewReport)(nil), // 52: bytebase.v1.PlanCheckRun.Result.SqlReviewReport
+ (*Task_DatabaseCreate)(nil), // 53: bytebase.v1.Task.DatabaseCreate
+ (*Task_DatabaseSchemaBaseline)(nil), // 54: bytebase.v1.Task.DatabaseSchemaBaseline
+ (*Task_DatabaseSchemaUpdate)(nil), // 55: bytebase.v1.Task.DatabaseSchemaUpdate
+ (*Task_DatabaseDataUpdate)(nil), // 56: bytebase.v1.Task.DatabaseDataUpdate
+ (*Task_DatabaseDataExport)(nil), // 57: bytebase.v1.Task.DatabaseDataExport
+ nil, // 58: bytebase.v1.Task.DatabaseCreate.LabelsEntry
+ (*TaskRun_ExecutionDetail)(nil), // 59: bytebase.v1.TaskRun.ExecutionDetail
+ (*TaskRun_ExecutionDetail_Position)(nil), // 60: bytebase.v1.TaskRun.ExecutionDetail.Position
+ (*TaskRunLogEntry_SchemaDump)(nil), // 61: bytebase.v1.TaskRunLogEntry.SchemaDump
+ (*TaskRunLogEntry_CommandExecute)(nil), // 62: bytebase.v1.TaskRunLogEntry.CommandExecute
+ (*TaskRunLogEntry_CommandExecute_CommandResponse)(nil), // 63: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
+ (*fieldmaskpb.FieldMask)(nil), // 64: google.protobuf.FieldMask
+ (*timestamppb.Timestamp)(nil), // 65: google.protobuf.Timestamp
+ (ExportFormat)(0), // 66: bytebase.v1.ExportFormat
+ (VCSType)(0), // 67: bytebase.v1.VCSType
+ (*ChangedResources)(nil), // 68: bytebase.v1.ChangedResources
}
var file_v1_rollout_service_proto_depIdxs = []int32{
- 15, // 0: bytebase.v1.ListPlansResponse.plans:type_name -> bytebase.v1.Plan
- 15, // 1: bytebase.v1.CreatePlanRequest.plan:type_name -> bytebase.v1.Plan
- 15, // 2: bytebase.v1.UpdatePlanRequest.plan:type_name -> bytebase.v1.Plan
- 57, // 3: bytebase.v1.UpdatePlanRequest.update_mask:type_name -> google.protobuf.FieldMask
- 36, // 4: bytebase.v1.Plan.steps:type_name -> bytebase.v1.Plan.Step
- 41, // 5: bytebase.v1.Plan.vcs_source:type_name -> bytebase.v1.Plan.VCSSource
- 58, // 6: bytebase.v1.Plan.create_time:type_name -> google.protobuf.Timestamp
- 26, // 7: bytebase.v1.ListPlanCheckRunsResponse.plan_check_runs:type_name -> bytebase.v1.PlanCheckRun
+ 16, // 0: bytebase.v1.ListPlansResponse.plans:type_name -> bytebase.v1.Plan
+ 16, // 1: bytebase.v1.CreatePlanRequest.plan:type_name -> bytebase.v1.Plan
+ 16, // 2: bytebase.v1.UpdatePlanRequest.plan:type_name -> bytebase.v1.Plan
+ 64, // 3: bytebase.v1.UpdatePlanRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 40, // 4: bytebase.v1.Plan.steps:type_name -> bytebase.v1.Plan.Step
+ 45, // 5: bytebase.v1.Plan.vcs_source:type_name -> bytebase.v1.Plan.VCSSource
+ 65, // 6: bytebase.v1.Plan.create_time:type_name -> google.protobuf.Timestamp
+ 27, // 7: bytebase.v1.ListPlanCheckRunsResponse.plan_check_runs:type_name -> bytebase.v1.PlanCheckRun
1, // 8: bytebase.v1.PlanCheckRun.type:type_name -> bytebase.v1.PlanCheckRun.Type
2, // 9: bytebase.v1.PlanCheckRun.status:type_name -> bytebase.v1.PlanCheckRun.Status
- 46, // 10: bytebase.v1.PlanCheckRun.results:type_name -> bytebase.v1.PlanCheckRun.Result
- 58, // 11: bytebase.v1.PlanCheckRun.create_time:type_name -> google.protobuf.Timestamp
- 32, // 12: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout
- 15, // 13: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
- 35, // 14: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
- 33, // 15: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
- 34, // 16: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
+ 50, // 10: bytebase.v1.PlanCheckRun.results:type_name -> bytebase.v1.PlanCheckRun.Result
+ 65, // 11: bytebase.v1.PlanCheckRun.create_time:type_name -> google.protobuf.Timestamp
+ 34, // 12: bytebase.v1.CreateRolloutRequest.rollout:type_name -> bytebase.v1.Rollout
+ 16, // 13: bytebase.v1.PreviewRolloutRequest.plan:type_name -> bytebase.v1.Plan
+ 37, // 14: bytebase.v1.ListTaskRunsResponse.task_runs:type_name -> bytebase.v1.TaskRun
+ 35, // 15: bytebase.v1.Rollout.stages:type_name -> bytebase.v1.Stage
+ 36, // 16: bytebase.v1.Stage.tasks:type_name -> bytebase.v1.Task
4, // 17: bytebase.v1.Task.status:type_name -> bytebase.v1.Task.Status
5, // 18: bytebase.v1.Task.type:type_name -> bytebase.v1.Task.Type
- 49, // 19: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
- 50, // 20: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline
- 51, // 21: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate
- 52, // 22: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate
- 53, // 23: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport
- 58, // 24: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
- 58, // 25: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
+ 53, // 19: bytebase.v1.Task.database_create:type_name -> bytebase.v1.Task.DatabaseCreate
+ 54, // 20: bytebase.v1.Task.database_schema_baseline:type_name -> bytebase.v1.Task.DatabaseSchemaBaseline
+ 55, // 21: bytebase.v1.Task.database_schema_update:type_name -> bytebase.v1.Task.DatabaseSchemaUpdate
+ 56, // 22: bytebase.v1.Task.database_data_update:type_name -> bytebase.v1.Task.DatabaseDataUpdate
+ 57, // 23: bytebase.v1.Task.database_data_export:type_name -> bytebase.v1.Task.DatabaseDataExport
+ 65, // 24: bytebase.v1.TaskRun.create_time:type_name -> google.protobuf.Timestamp
+ 65, // 25: bytebase.v1.TaskRun.update_time:type_name -> google.protobuf.Timestamp
7, // 26: bytebase.v1.TaskRun.status:type_name -> bytebase.v1.TaskRun.Status
8, // 27: bytebase.v1.TaskRun.execution_status:type_name -> bytebase.v1.TaskRun.ExecutionStatus
- 58, // 28: bytebase.v1.TaskRun.execution_status_update_time:type_name -> google.protobuf.Timestamp
- 55, // 29: bytebase.v1.TaskRun.execution_detail:type_name -> bytebase.v1.TaskRun.ExecutionDetail
- 58, // 30: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp
+ 65, // 28: bytebase.v1.TaskRun.execution_status_update_time:type_name -> google.protobuf.Timestamp
+ 59, // 29: bytebase.v1.TaskRun.execution_detail:type_name -> bytebase.v1.TaskRun.ExecutionDetail
+ 65, // 30: bytebase.v1.TaskRun.start_time:type_name -> google.protobuf.Timestamp
9, // 31: bytebase.v1.TaskRun.export_archive_status:type_name -> bytebase.v1.TaskRun.ExportArchiveStatus
- 37, // 32: bytebase.v1.Plan.Step.specs:type_name -> bytebase.v1.Plan.Spec
- 58, // 33: bytebase.v1.Plan.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp
- 38, // 34: bytebase.v1.Plan.Spec.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig
- 39, // 35: bytebase.v1.Plan.Spec.change_database_config:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig
- 40, // 36: bytebase.v1.Plan.Spec.export_data_config:type_name -> bytebase.v1.Plan.ExportDataConfig
- 42, // 37: bytebase.v1.Plan.CreateDatabaseConfig.labels:type_name -> bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
- 0, // 38: bytebase.v1.Plan.ChangeDatabaseConfig.type:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.Type
- 43, // 39: bytebase.v1.Plan.ChangeDatabaseConfig.rollback_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
- 44, // 40: bytebase.v1.Plan.ChangeDatabaseConfig.ghost_flags:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry
- 45, // 41: bytebase.v1.Plan.ChangeDatabaseConfig.pre_update_backup_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail
- 59, // 42: bytebase.v1.Plan.ExportDataConfig.format:type_name -> bytebase.v1.ExportFormat
- 60, // 43: bytebase.v1.Plan.VCSSource.vcs_type:type_name -> bytebase.v1.VCSType
- 3, // 44: bytebase.v1.PlanCheckRun.Result.status:type_name -> bytebase.v1.PlanCheckRun.Result.Status
- 47, // 45: bytebase.v1.PlanCheckRun.Result.sql_summary_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlSummaryReport
- 48, // 46: bytebase.v1.PlanCheckRun.Result.sql_review_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlReviewReport
- 61, // 47: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport.changed_resources:type_name -> bytebase.v1.ChangedResources
- 54, // 48: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry
- 6, // 49: bytebase.v1.Task.DatabaseDataUpdate.rollback_sql_status:type_name -> bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus
- 59, // 50: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat
- 56, // 51: bytebase.v1.TaskRun.ExecutionDetail.command_start_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position
- 56, // 52: bytebase.v1.TaskRun.ExecutionDetail.command_end_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position
- 10, // 53: bytebase.v1.RolloutService.GetPlan:input_type -> bytebase.v1.GetPlanRequest
- 11, // 54: bytebase.v1.RolloutService.ListPlans:input_type -> bytebase.v1.ListPlansRequest
- 13, // 55: bytebase.v1.RolloutService.CreatePlan:input_type -> bytebase.v1.CreatePlanRequest
- 14, // 56: bytebase.v1.RolloutService.UpdatePlan:input_type -> bytebase.v1.UpdatePlanRequest
- 27, // 57: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
- 28, // 58: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
- 29, // 59: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest
- 30, // 60: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest
- 16, // 61: bytebase.v1.RolloutService.ListPlanCheckRuns:input_type -> bytebase.v1.ListPlanCheckRunsRequest
- 18, // 62: bytebase.v1.RolloutService.RunPlanChecks:input_type -> bytebase.v1.RunPlanChecksRequest
- 20, // 63: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
- 22, // 64: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
- 24, // 65: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
- 15, // 66: bytebase.v1.RolloutService.GetPlan:output_type -> bytebase.v1.Plan
- 12, // 67: bytebase.v1.RolloutService.ListPlans:output_type -> bytebase.v1.ListPlansResponse
- 15, // 68: bytebase.v1.RolloutService.CreatePlan:output_type -> bytebase.v1.Plan
- 15, // 69: bytebase.v1.RolloutService.UpdatePlan:output_type -> bytebase.v1.Plan
- 32, // 70: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
- 32, // 71: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
- 32, // 72: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
- 31, // 73: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
- 17, // 74: bytebase.v1.RolloutService.ListPlanCheckRuns:output_type -> bytebase.v1.ListPlanCheckRunsResponse
- 19, // 75: bytebase.v1.RolloutService.RunPlanChecks:output_type -> bytebase.v1.RunPlanChecksResponse
- 21, // 76: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
- 23, // 77: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
- 25, // 78: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
- 66, // [66:79] is the sub-list for method output_type
- 53, // [53:66] is the sub-list for method input_type
- 53, // [53:53] is the sub-list for extension type_name
- 53, // [53:53] is the sub-list for extension extendee
- 0, // [0:53] is the sub-list for field type_name
+ 39, // 32: bytebase.v1.TaskRunLog.entries:type_name -> bytebase.v1.TaskRunLogEntry
+ 10, // 33: bytebase.v1.TaskRunLogEntry.type:type_name -> bytebase.v1.TaskRunLogEntry.Type
+ 61, // 34: bytebase.v1.TaskRunLogEntry.schema_dump:type_name -> bytebase.v1.TaskRunLogEntry.SchemaDump
+ 62, // 35: bytebase.v1.TaskRunLogEntry.command_execute:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute
+ 41, // 36: bytebase.v1.Plan.Step.specs:type_name -> bytebase.v1.Plan.Spec
+ 65, // 37: bytebase.v1.Plan.Spec.earliest_allowed_time:type_name -> google.protobuf.Timestamp
+ 42, // 38: bytebase.v1.Plan.Spec.create_database_config:type_name -> bytebase.v1.Plan.CreateDatabaseConfig
+ 43, // 39: bytebase.v1.Plan.Spec.change_database_config:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig
+ 44, // 40: bytebase.v1.Plan.Spec.export_data_config:type_name -> bytebase.v1.Plan.ExportDataConfig
+ 46, // 41: bytebase.v1.Plan.CreateDatabaseConfig.labels:type_name -> bytebase.v1.Plan.CreateDatabaseConfig.LabelsEntry
+ 0, // 42: bytebase.v1.Plan.ChangeDatabaseConfig.type:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.Type
+ 47, // 43: bytebase.v1.Plan.ChangeDatabaseConfig.rollback_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.RollbackDetail
+ 48, // 44: bytebase.v1.Plan.ChangeDatabaseConfig.ghost_flags:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry
+ 49, // 45: bytebase.v1.Plan.ChangeDatabaseConfig.pre_update_backup_detail:type_name -> bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetail
+ 66, // 46: bytebase.v1.Plan.ExportDataConfig.format:type_name -> bytebase.v1.ExportFormat
+ 67, // 47: bytebase.v1.Plan.VCSSource.vcs_type:type_name -> bytebase.v1.VCSType
+ 3, // 48: bytebase.v1.PlanCheckRun.Result.status:type_name -> bytebase.v1.PlanCheckRun.Result.Status
+ 51, // 49: bytebase.v1.PlanCheckRun.Result.sql_summary_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlSummaryReport
+ 52, // 50: bytebase.v1.PlanCheckRun.Result.sql_review_report:type_name -> bytebase.v1.PlanCheckRun.Result.SqlReviewReport
+ 68, // 51: bytebase.v1.PlanCheckRun.Result.SqlSummaryReport.changed_resources:type_name -> bytebase.v1.ChangedResources
+ 58, // 52: bytebase.v1.Task.DatabaseCreate.labels:type_name -> bytebase.v1.Task.DatabaseCreate.LabelsEntry
+ 6, // 53: bytebase.v1.Task.DatabaseDataUpdate.rollback_sql_status:type_name -> bytebase.v1.Task.DatabaseDataUpdate.RollbackSqlStatus
+ 66, // 54: bytebase.v1.Task.DatabaseDataExport.format:type_name -> bytebase.v1.ExportFormat
+ 60, // 55: bytebase.v1.TaskRun.ExecutionDetail.command_start_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position
+ 60, // 56: bytebase.v1.TaskRun.ExecutionDetail.command_end_position:type_name -> bytebase.v1.TaskRun.ExecutionDetail.Position
+ 65, // 57: bytebase.v1.TaskRunLogEntry.SchemaDump.start_time:type_name -> google.protobuf.Timestamp
+ 65, // 58: bytebase.v1.TaskRunLogEntry.SchemaDump.end_time:type_name -> google.protobuf.Timestamp
+ 65, // 59: bytebase.v1.TaskRunLogEntry.CommandExecute.log_time:type_name -> google.protobuf.Timestamp
+ 63, // 60: bytebase.v1.TaskRunLogEntry.CommandExecute.response:type_name -> bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse
+ 65, // 61: bytebase.v1.TaskRunLogEntry.CommandExecute.CommandResponse.log_time:type_name -> google.protobuf.Timestamp
+ 11, // 62: bytebase.v1.RolloutService.GetPlan:input_type -> bytebase.v1.GetPlanRequest
+ 12, // 63: bytebase.v1.RolloutService.ListPlans:input_type -> bytebase.v1.ListPlansRequest
+ 14, // 64: bytebase.v1.RolloutService.CreatePlan:input_type -> bytebase.v1.CreatePlanRequest
+ 15, // 65: bytebase.v1.RolloutService.UpdatePlan:input_type -> bytebase.v1.UpdatePlanRequest
+ 28, // 66: bytebase.v1.RolloutService.GetRollout:input_type -> bytebase.v1.GetRolloutRequest
+ 29, // 67: bytebase.v1.RolloutService.CreateRollout:input_type -> bytebase.v1.CreateRolloutRequest
+ 30, // 68: bytebase.v1.RolloutService.PreviewRollout:input_type -> bytebase.v1.PreviewRolloutRequest
+ 31, // 69: bytebase.v1.RolloutService.ListTaskRuns:input_type -> bytebase.v1.ListTaskRunsRequest
+ 33, // 70: bytebase.v1.RolloutService.GetTaskRunLog:input_type -> bytebase.v1.GetTaskRunLogRequest
+ 17, // 71: bytebase.v1.RolloutService.ListPlanCheckRuns:input_type -> bytebase.v1.ListPlanCheckRunsRequest
+ 19, // 72: bytebase.v1.RolloutService.RunPlanChecks:input_type -> bytebase.v1.RunPlanChecksRequest
+ 21, // 73: bytebase.v1.RolloutService.BatchRunTasks:input_type -> bytebase.v1.BatchRunTasksRequest
+ 23, // 74: bytebase.v1.RolloutService.BatchSkipTasks:input_type -> bytebase.v1.BatchSkipTasksRequest
+ 25, // 75: bytebase.v1.RolloutService.BatchCancelTaskRuns:input_type -> bytebase.v1.BatchCancelTaskRunsRequest
+ 16, // 76: bytebase.v1.RolloutService.GetPlan:output_type -> bytebase.v1.Plan
+ 13, // 77: bytebase.v1.RolloutService.ListPlans:output_type -> bytebase.v1.ListPlansResponse
+ 16, // 78: bytebase.v1.RolloutService.CreatePlan:output_type -> bytebase.v1.Plan
+ 16, // 79: bytebase.v1.RolloutService.UpdatePlan:output_type -> bytebase.v1.Plan
+ 34, // 80: bytebase.v1.RolloutService.GetRollout:output_type -> bytebase.v1.Rollout
+ 34, // 81: bytebase.v1.RolloutService.CreateRollout:output_type -> bytebase.v1.Rollout
+ 34, // 82: bytebase.v1.RolloutService.PreviewRollout:output_type -> bytebase.v1.Rollout
+ 32, // 83: bytebase.v1.RolloutService.ListTaskRuns:output_type -> bytebase.v1.ListTaskRunsResponse
+ 38, // 84: bytebase.v1.RolloutService.GetTaskRunLog:output_type -> bytebase.v1.TaskRunLog
+ 18, // 85: bytebase.v1.RolloutService.ListPlanCheckRuns:output_type -> bytebase.v1.ListPlanCheckRunsResponse
+ 20, // 86: bytebase.v1.RolloutService.RunPlanChecks:output_type -> bytebase.v1.RunPlanChecksResponse
+ 22, // 87: bytebase.v1.RolloutService.BatchRunTasks:output_type -> bytebase.v1.BatchRunTasksResponse
+ 24, // 88: bytebase.v1.RolloutService.BatchSkipTasks:output_type -> bytebase.v1.BatchSkipTasksResponse
+ 26, // 89: bytebase.v1.RolloutService.BatchCancelTaskRuns:output_type -> bytebase.v1.BatchCancelTaskRunsResponse
+ 76, // [76:90] is the sub-list for method output_type
+ 62, // [62:76] is the sub-list for method input_type
+ 62, // [62:62] is the sub-list for extension type_name
+ 62, // [62:62] is the sub-list for extension extendee
+ 0, // [0:62] is the sub-list for field type_name
}
func init() { file_v1_rollout_service_proto_init() }
@@ -5159,7 +5662,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Rollout); i {
+ switch v := v.(*GetTaskRunLogRequest); i {
case 0:
return &v.state
case 1:
@@ -5171,7 +5674,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Stage); i {
+ switch v := v.(*Rollout); i {
case 0:
return &v.state
case 1:
@@ -5183,7 +5686,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Task); i {
+ switch v := v.(*Stage); i {
case 0:
return &v.state
case 1:
@@ -5195,7 +5698,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TaskRun); i {
+ switch v := v.(*Task); i {
case 0:
return &v.state
case 1:
@@ -5207,7 +5710,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Plan_Step); i {
+ switch v := v.(*TaskRun); i {
case 0:
return &v.state
case 1:
@@ -5219,7 +5722,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Plan_Spec); i {
+ switch v := v.(*TaskRunLog); i {
case 0:
return &v.state
case 1:
@@ -5231,7 +5734,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Plan_CreateDatabaseConfig); i {
+ switch v := v.(*TaskRunLogEntry); i {
case 0:
return &v.state
case 1:
@@ -5243,7 +5746,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Plan_ChangeDatabaseConfig); i {
+ switch v := v.(*Plan_Step); i {
case 0:
return &v.state
case 1:
@@ -5255,7 +5758,7 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Plan_ExportDataConfig); i {
+ switch v := v.(*Plan_Spec); i {
case 0:
return &v.state
case 1:
@@ -5267,7 +5770,19 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Plan_VCSSource); i {
+ switch v := v.(*Plan_CreateDatabaseConfig); 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[32].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Plan_ChangeDatabaseConfig); i {
case 0:
return &v.state
case 1:
@@ -5279,6 +5794,30 @@ func file_v1_rollout_service_proto_init() {
}
}
file_v1_rollout_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Plan_ExportDataConfig); 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[34].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Plan_VCSSource); 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[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Plan_ChangeDatabaseConfig_RollbackDetail); i {
case 0:
return &v.state
@@ -5290,7 +5829,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Plan_ChangeDatabaseConfig_PreUpdateBackupDetail); i {
case 0:
return &v.state
@@ -5302,7 +5841,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PlanCheckRun_Result); i {
case 0:
return &v.state
@@ -5314,7 +5853,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PlanCheckRun_Result_SqlSummaryReport); i {
case 0:
return &v.state
@@ -5326,7 +5865,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PlanCheckRun_Result_SqlReviewReport); i {
case 0:
return &v.state
@@ -5338,7 +5877,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Task_DatabaseCreate); i {
case 0:
return &v.state
@@ -5350,7 +5889,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Task_DatabaseSchemaBaseline); i {
case 0:
return &v.state
@@ -5362,7 +5901,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Task_DatabaseSchemaUpdate); i {
case 0:
return &v.state
@@ -5374,7 +5913,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Task_DatabaseDataUpdate); i {
case 0:
return &v.state
@@ -5386,7 +5925,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Task_DatabaseDataExport); i {
case 0:
return &v.state
@@ -5398,7 +5937,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TaskRun_ExecutionDetail); i {
case 0:
return &v.state
@@ -5410,7 +5949,7 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
- file_v1_rollout_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_rollout_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TaskRun_ExecutionDetail_Position); i {
case 0:
return &v.state
@@ -5422,33 +5961,69 @@ func file_v1_rollout_service_proto_init() {
return nil
}
}
+ file_v1_rollout_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TaskRunLogEntry_SchemaDump); 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[51].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TaskRunLogEntry_CommandExecute); 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[52].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TaskRunLogEntry_CommandExecute_CommandResponse); 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[24].OneofWrappers = []interface{}{
+ file_v1_rollout_service_proto_msgTypes[25].OneofWrappers = []interface{}{
(*Task_DatabaseCreate_)(nil),
(*Task_DatabaseSchemaBaseline_)(nil),
(*Task_DatabaseSchemaUpdate_)(nil),
(*Task_DatabaseDataUpdate_)(nil),
(*Task_DatabaseDataExport_)(nil),
}
- file_v1_rollout_service_proto_msgTypes[27].OneofWrappers = []interface{}{
+ file_v1_rollout_service_proto_msgTypes[30].OneofWrappers = []interface{}{
(*Plan_Spec_CreateDatabaseConfig)(nil),
(*Plan_Spec_ChangeDatabaseConfig)(nil),
(*Plan_Spec_ExportDataConfig)(nil),
}
- file_v1_rollout_service_proto_msgTypes[29].OneofWrappers = []interface{}{}
- file_v1_rollout_service_proto_msgTypes[30].OneofWrappers = []interface{}{}
- file_v1_rollout_service_proto_msgTypes[36].OneofWrappers = []interface{}{
+ file_v1_rollout_service_proto_msgTypes[32].OneofWrappers = []interface{}{}
+ file_v1_rollout_service_proto_msgTypes[33].OneofWrappers = []interface{}{}
+ file_v1_rollout_service_proto_msgTypes[39].OneofWrappers = []interface{}{
(*PlanCheckRun_Result_SqlSummaryReport_)(nil),
(*PlanCheckRun_Result_SqlReviewReport_)(nil),
}
- file_v1_rollout_service_proto_msgTypes[43].OneofWrappers = []interface{}{}
+ file_v1_rollout_service_proto_msgTypes[46].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_rollout_service_proto_rawDesc,
- NumEnums: 10,
- NumMessages: 47,
+ NumEnums: 11,
+ NumMessages: 53,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/generated-go/v1/rollout_service.pb.gw.go b/proto/generated-go/v1/rollout_service.pb.gw.go
index 6f322f07b4..18d1ca546d 100644
--- a/proto/generated-go/v1/rollout_service.pb.gw.go
+++ b/proto/generated-go/v1/rollout_service.pb.gw.go
@@ -555,6 +555,58 @@ func local_request_RolloutService_ListTaskRuns_0(ctx context.Context, marshaler
}
+func request_RolloutService_GetTaskRunLog_0(ctx context.Context, marshaler runtime.Marshaler, client RolloutServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq GetTaskRunLogRequest
+ var metadata runtime.ServerMetadata
+
+ var (
+ val string
+ ok bool
+ err error
+ _ = err
+ )
+
+ val, ok = pathParams["parent"]
+ if !ok {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
+ }
+
+ protoReq.Parent, err = runtime.String(val)
+ if err != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
+ }
+
+ msg, err := client.GetTaskRunLog(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_RolloutService_GetTaskRunLog_0(ctx context.Context, marshaler runtime.Marshaler, server RolloutServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq GetTaskRunLogRequest
+ var metadata runtime.ServerMetadata
+
+ var (
+ val string
+ ok bool
+ err error
+ _ = err
+ )
+
+ val, ok = pathParams["parent"]
+ if !ok {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
+ }
+
+ protoReq.Parent, err = runtime.String(val)
+ if err != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
+ }
+
+ msg, err := server.GetTaskRunLog(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
var (
filter_RolloutService_ListPlanCheckRuns_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}
)
@@ -1071,6 +1123,31 @@ func RegisterRolloutServiceHandlerServer(ctx context.Context, mux *runtime.Serve
})
+ mux.Handle("GET", pattern_RolloutService_GetTaskRunLog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.RolloutService/GetTaskRunLog", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}/log"))
+ if err != nil {
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ }
+ resp, md, err := local_request_RolloutService_GetTaskRunLog_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_RolloutService_GetTaskRunLog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
mux.Handle("GET", pattern_RolloutService_ListPlanCheckRuns_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -1413,6 +1490,28 @@ func RegisterRolloutServiceHandlerClient(ctx context.Context, mux *runtime.Serve
})
+ mux.Handle("GET", pattern_RolloutService_GetTaskRunLog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.RolloutService/GetTaskRunLog", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}/log"))
+ if err != nil {
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ }
+ resp, md, err := request_RolloutService_GetTaskRunLog_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_RolloutService_GetTaskRunLog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
mux.Handle("GET", pattern_RolloutService_ListPlanCheckRuns_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
@@ -1543,6 +1642,8 @@ var (
pattern_RolloutService_ListTaskRuns_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 4, 8, 5, 5, 2, 6}, []string{"v1", "projects", "rollouts", "stages", "tasks", "parent", "taskRuns"}, ""))
+ pattern_RolloutService_GetTaskRunLog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 2, 4, 1, 0, 2, 5, 1, 0, 4, 10, 5, 6, 2, 7}, []string{"v1", "projects", "rollouts", "stages", "tasks", "taskRuns", "parent", "log"}, ""))
+
pattern_RolloutService_ListPlanCheckRuns_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1", "projects", "plans", "parent", "planCheckRuns"}, ""))
pattern_RolloutService_RunPlanChecks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "plans", "name"}, "runPlanChecks"))
@@ -1571,6 +1672,8 @@ var (
forward_RolloutService_ListTaskRuns_0 = runtime.ForwardResponseMessage
+ forward_RolloutService_GetTaskRunLog_0 = runtime.ForwardResponseMessage
+
forward_RolloutService_ListPlanCheckRuns_0 = runtime.ForwardResponseMessage
forward_RolloutService_RunPlanChecks_0 = runtime.ForwardResponseMessage
diff --git a/proto/generated-go/v1/rollout_service_grpc.pb.go b/proto/generated-go/v1/rollout_service_grpc.pb.go
index 20d5e5bc8c..3bf48eaa3c 100644
--- a/proto/generated-go/v1/rollout_service_grpc.pb.go
+++ b/proto/generated-go/v1/rollout_service_grpc.pb.go
@@ -27,6 +27,7 @@ const (
RolloutService_CreateRollout_FullMethodName = "/bytebase.v1.RolloutService/CreateRollout"
RolloutService_PreviewRollout_FullMethodName = "/bytebase.v1.RolloutService/PreviewRollout"
RolloutService_ListTaskRuns_FullMethodName = "/bytebase.v1.RolloutService/ListTaskRuns"
+ RolloutService_GetTaskRunLog_FullMethodName = "/bytebase.v1.RolloutService/GetTaskRunLog"
RolloutService_ListPlanCheckRuns_FullMethodName = "/bytebase.v1.RolloutService/ListPlanCheckRuns"
RolloutService_RunPlanChecks_FullMethodName = "/bytebase.v1.RolloutService/RunPlanChecks"
RolloutService_BatchRunTasks_FullMethodName = "/bytebase.v1.RolloutService/BatchRunTasks"
@@ -46,6 +47,7 @@ type RolloutServiceClient interface {
CreateRollout(ctx context.Context, in *CreateRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
PreviewRollout(ctx context.Context, in *PreviewRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
ListTaskRuns(ctx context.Context, in *ListTaskRunsRequest, opts ...grpc.CallOption) (*ListTaskRunsResponse, error)
+ GetTaskRunLog(ctx context.Context, in *GetTaskRunLogRequest, opts ...grpc.CallOption) (*TaskRunLog, error)
ListPlanCheckRuns(ctx context.Context, in *ListPlanCheckRunsRequest, opts ...grpc.CallOption) (*ListPlanCheckRunsResponse, error)
RunPlanChecks(ctx context.Context, in *RunPlanChecksRequest, opts ...grpc.CallOption) (*RunPlanChecksResponse, error)
BatchRunTasks(ctx context.Context, in *BatchRunTasksRequest, opts ...grpc.CallOption) (*BatchRunTasksResponse, error)
@@ -133,6 +135,15 @@ func (c *rolloutServiceClient) ListTaskRuns(ctx context.Context, in *ListTaskRun
return out, nil
}
+func (c *rolloutServiceClient) GetTaskRunLog(ctx context.Context, in *GetTaskRunLogRequest, opts ...grpc.CallOption) (*TaskRunLog, error) {
+ out := new(TaskRunLog)
+ err := c.cc.Invoke(ctx, RolloutService_GetTaskRunLog_FullMethodName, in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *rolloutServiceClient) ListPlanCheckRuns(ctx context.Context, in *ListPlanCheckRunsRequest, opts ...grpc.CallOption) (*ListPlanCheckRunsResponse, error) {
out := new(ListPlanCheckRunsResponse)
err := c.cc.Invoke(ctx, RolloutService_ListPlanCheckRuns_FullMethodName, in, out, opts...)
@@ -190,6 +201,7 @@ type RolloutServiceServer interface {
CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error)
PreviewRollout(context.Context, *PreviewRolloutRequest) (*Rollout, error)
ListTaskRuns(context.Context, *ListTaskRunsRequest) (*ListTaskRunsResponse, error)
+ GetTaskRunLog(context.Context, *GetTaskRunLogRequest) (*TaskRunLog, error)
ListPlanCheckRuns(context.Context, *ListPlanCheckRunsRequest) (*ListPlanCheckRunsResponse, error)
RunPlanChecks(context.Context, *RunPlanChecksRequest) (*RunPlanChecksResponse, error)
BatchRunTasks(context.Context, *BatchRunTasksRequest) (*BatchRunTasksResponse, error)
@@ -226,6 +238,9 @@ func (UnimplementedRolloutServiceServer) PreviewRollout(context.Context, *Previe
func (UnimplementedRolloutServiceServer) ListTaskRuns(context.Context, *ListTaskRunsRequest) (*ListTaskRunsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListTaskRuns not implemented")
}
+func (UnimplementedRolloutServiceServer) GetTaskRunLog(context.Context, *GetTaskRunLogRequest) (*TaskRunLog, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetTaskRunLog not implemented")
+}
func (UnimplementedRolloutServiceServer) ListPlanCheckRuns(context.Context, *ListPlanCheckRunsRequest) (*ListPlanCheckRunsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListPlanCheckRuns not implemented")
}
@@ -398,6 +413,24 @@ func _RolloutService_ListTaskRuns_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
+func _RolloutService_GetTaskRunLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(GetTaskRunLogRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(RolloutServiceServer).GetTaskRunLog(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: RolloutService_GetTaskRunLog_FullMethodName,
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(RolloutServiceServer).GetTaskRunLog(ctx, req.(*GetTaskRunLogRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _RolloutService_ListPlanCheckRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListPlanCheckRunsRequest)
if err := dec(in); err != nil {
@@ -527,6 +560,10 @@ var RolloutService_ServiceDesc = grpc.ServiceDesc{
MethodName: "ListTaskRuns",
Handler: _RolloutService_ListTaskRuns_Handler,
},
+ {
+ MethodName: "GetTaskRunLog",
+ Handler: _RolloutService_GetTaskRunLog_Handler,
+ },
{
MethodName: "ListPlanCheckRuns",
Handler: _RolloutService_ListPlanCheckRuns_Handler,
diff --git a/proto/v1/rollout_service.proto b/proto/v1/rollout_service.proto
index 4385bf5507..006ec3c3b7 100644
--- a/proto/v1/rollout_service.proto
+++ b/proto/v1/rollout_service.proto
@@ -65,6 +65,11 @@ service RolloutService {
option (google.api.method_signature) = "parent";
}
+ rpc GetTaskRunLog(GetTaskRunLogRequest) returns (TaskRunLog) {
+ option (google.api.http) = {get: "/v1/{parent=projects/*/rollouts/*/stages/*/tasks/*/taskRuns/*}/log"};
+ option (google.api.method_signature) = "parent";
+ }
+
rpc ListPlanCheckRuns(ListPlanCheckRunsRequest) returns (ListPlanCheckRunsResponse) {
option (google.api.http) = {get: "/v1/{parent=projects/*/plans/*}/planCheckRuns"};
option (google.api.method_signature) = "parent";
@@ -509,6 +514,11 @@ message ListTaskRunsResponse {
string next_page_token = 2;
}
+message GetTaskRunLogRequest {
+ // Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}
+ string parent = 1;
+}
+
message Rollout {
// The resource name of the rollout.
// Format: projects/{project}/rollouts/{rollout}
@@ -737,3 +747,42 @@ message TaskRun {
}
ExportArchiveStatus export_archive_status = 16;
}
+
+message TaskRunLog {
+ // Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}/log
+ string name = 1;
+
+ repeated TaskRunLogEntry entries = 2;
+}
+
+message TaskRunLogEntry {
+ enum Type {
+ TYPE_UNSPECIFIED = 0;
+ SCHEMA_DUMP = 1;
+ COMMAND_EXECUTE = 2;
+ }
+ Type type = 1;
+ SchemaDump schema_dump = 2;
+ CommandExecute command_execute = 3;
+
+ message SchemaDump {
+ google.protobuf.Timestamp start_time = 1;
+ google.protobuf.Timestamp end_time = 2;
+ string error = 3;
+ }
+
+ message CommandExecute {
+ google.protobuf.Timestamp log_time = 1;
+
+ // Executed commands are in range [command_index, command_index + command_count).
+ int32 command_index = 2;
+ int32 command_count = 3;
+ CommandResponse response = 4;
+
+ message CommandResponse {
+ google.protobuf.Timestamp log_time = 1;
+ string error = 2;
+ int32 affected_rows = 3;
+ }
+ }
+}