Skip to content

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

feat(proto): issue comment (#11391)

p0nyd03160a19899
diff --git a/frontend/src/types/proto/v1/issue_service.ts b/frontend/src/types/proto/v1/issue_service.ts
index 3b47a1746c..deb81b6571 100644
--- a/frontend/src/types/proto/v1/issue_service.ts
+++ b/frontend/src/types/proto/v1/issue_service.ts
@@ -648,7 +648,167 @@ export interface IssueComment {
/** TODO: use struct message instead. */
payload: string;
createTime: Date | undefined;
- updateTime: Date | undefined;
+ updateTime:
+ | Date
+ | undefined;
+ /** Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid} */
+ name: string;
+ /** Format: users/{email} */
+ creator: string;
+ approval?: IssueComment_Approval | undefined;
+ issueUpdate?: IssueComment_IssueUpdate | undefined;
+ stageEnd?: IssueComment_StageEnd | undefined;
+ taskRunUpdate?: IssueComment_TaskRunUpdate | undefined;
+ taskUpdate?: IssueComment_TaskUpdate | undefined;
+ taskPriorBackup?: IssueComment_TaskPriorBackup | undefined;
+}
+
+export interface IssueComment_Approval {
+ status: IssueComment_Approval_Status;
+}
+
+export enum IssueComment_Approval_Status {
+ STATUS_UNSPECIFIED = 0,
+ PENDING = 1,
+ APPROVED = 2,
+ REJECTED = 3,
+ UNRECOGNIZED = -1,
+}
+
+export function issueComment_Approval_StatusFromJSON(object: any): IssueComment_Approval_Status {
+ switch (object) {
+ case 0:
+ case "STATUS_UNSPECIFIED":
+ return IssueComment_Approval_Status.STATUS_UNSPECIFIED;
+ case 1:
+ case "PENDING":
+ return IssueComment_Approval_Status.PENDING;
+ case 2:
+ case "APPROVED":
+ return IssueComment_Approval_Status.APPROVED;
+ case 3:
+ case "REJECTED":
+ return IssueComment_Approval_Status.REJECTED;
+ case -1:
+ case "UNRECOGNIZED":
+ default:
+ return IssueComment_Approval_Status.UNRECOGNIZED;
+ }
+}
+
+export function issueComment_Approval_StatusToJSON(object: IssueComment_Approval_Status): string {
+ switch (object) {
+ case IssueComment_Approval_Status.STATUS_UNSPECIFIED:
+ return "STATUS_UNSPECIFIED";
+ case IssueComment_Approval_Status.PENDING:
+ return "PENDING";
+ case IssueComment_Approval_Status.APPROVED:
+ return "APPROVED";
+ case IssueComment_Approval_Status.REJECTED:
+ return "REJECTED";
+ case IssueComment_Approval_Status.UNRECOGNIZED:
+ default:
+ return "UNRECOGNIZED";
+ }
+}
+
+export interface IssueComment_IssueUpdate {
+ fromTitle?: string | undefined;
+ toTitle?: string | undefined;
+ fromDescription?: string | undefined;
+ toDescription?: string | undefined;
+ fromStatus?: IssueStatus | undefined;
+ toStatus?:
+ | IssueStatus
+ | undefined;
+ /** Format: users/{email} */
+ fromAssignee?:
+ | string
+ | undefined;
+ /** Format: users/{email} */
+ toAssignee?: string | undefined;
+}
+
+export interface IssueComment_StageEnd {
+ stage: string;
+}
+
+export interface IssueComment_TaskRunUpdate {
+ taskRuns: string[];
+ toStatus?: IssueComment_TaskRunUpdate_Status | undefined;
+}
+
+export enum IssueComment_TaskRunUpdate_Status {
+ STATUS_UNSPECIFIED = 0,
+ PENDING = 1,
+ RUNNING = 2,
+ DONE = 3,
+ FAILED = 4,
+ UNRECOGNIZED = -1,
+}
+
+export function issueComment_TaskRunUpdate_StatusFromJSON(object: any): IssueComment_TaskRunUpdate_Status {
+ switch (object) {
+ case 0:
+ case "STATUS_UNSPECIFIED":
+ return IssueComment_TaskRunUpdate_Status.STATUS_UNSPECIFIED;
+ case 1:
+ case "PENDING":
+ return IssueComment_TaskRunUpdate_Status.PENDING;
+ case 2:
+ case "RUNNING":
+ return IssueComment_TaskRunUpdate_Status.RUNNING;
+ case 3:
+ case "DONE":
+ return IssueComment_TaskRunUpdate_Status.DONE;
+ case 4:
+ case "FAILED":
+ return IssueComment_TaskRunUpdate_Status.FAILED;
+ case -1:
+ case "UNRECOGNIZED":
+ default:
+ return IssueComment_TaskRunUpdate_Status.UNRECOGNIZED;
+ }
+}
+
+export function issueComment_TaskRunUpdate_StatusToJSON(object: IssueComment_TaskRunUpdate_Status): string {
+ switch (object) {
+ case IssueComment_TaskRunUpdate_Status.STATUS_UNSPECIFIED:
+ return "STATUS_UNSPECIFIED";
+ case IssueComment_TaskRunUpdate_Status.PENDING:
+ return "PENDING";
+ case IssueComment_TaskRunUpdate_Status.RUNNING:
+ return "RUNNING";
+ case IssueComment_TaskRunUpdate_Status.DONE:
+ return "DONE";
+ case IssueComment_TaskRunUpdate_Status.FAILED:
+ return "FAILED";
+ case IssueComment_TaskRunUpdate_Status.UNRECOGNIZED:
+ default:
+ return "UNRECOGNIZED";
+ }
+}
+
+export interface IssueComment_TaskUpdate {
+ tasks: string[];
+ /** Format: projects/{project}/sheets/{sheet} */
+ fromSheet?:
+ | string
+ | undefined;
+ /** Format: projects/{project}/sheets/{sheet} */
+ toSheet?: string | undefined;
+ fromEarliestAllowedTime?: Date | undefined;
+ toEarliestAllowedTime?: Date | undefined;
+}
+
+export interface IssueComment_TaskPriorBackup {
+ task: string;
+ tables: IssueComment_TaskPriorBackup_Table[];
+}
+
+export interface IssueComment_TaskPriorBackup_Table {
+ schema: string;
+ table: string;
}
function createBaseGetIssueRequest(): GetIssueRequest {
@@ -2824,7 +2984,21 @@ export const UpdateIssueCommentRequest = {
};
function createBaseIssueComment(): IssueComment {
- return { uid: "", comment: "", payload: "", createTime: undefined, updateTime: undefined };
+ return {
+ uid: "",
+ comment: "",
+ payload: "",
+ createTime: undefined,
+ updateTime: undefined,
+ name: "",
+ creator: "",
+ approval: undefined,
+ issueUpdate: undefined,
+ stageEnd: undefined,
+ taskRunUpdate: undefined,
+ taskUpdate: undefined,
+ taskPriorBackup: undefined,
+ };
}
export const IssueComment = {
@@ -2844,6 +3018,30 @@ export const IssueComment = {
if (message.updateTime !== undefined) {
Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(42).fork()).ldelim();
}
+ if (message.name !== "") {
+ writer.uint32(50).string(message.name);
+ }
+ if (message.creator !== "") {
+ writer.uint32(58).string(message.creator);
+ }
+ if (message.approval !== undefined) {
+ IssueComment_Approval.encode(message.approval, writer.uint32(66).fork()).ldelim();
+ }
+ if (message.issueUpdate !== undefined) {
+ IssueComment_IssueUpdate.encode(message.issueUpdate, writer.uint32(74).fork()).ldelim();
+ }
+ if (message.stageEnd !== undefined) {
+ IssueComment_StageEnd.encode(message.stageEnd, writer.uint32(82).fork()).ldelim();
+ }
+ if (message.taskRunUpdate !== undefined) {
+ IssueComment_TaskRunUpdate.encode(message.taskRunUpdate, writer.uint32(90).fork()).ldelim();
+ }
+ if (message.taskUpdate !== undefined) {
+ IssueComment_TaskUpdate.encode(message.taskUpdate, writer.uint32(98).fork()).ldelim();
+ }
+ if (message.taskPriorBackup !== undefined) {
+ IssueComment_TaskPriorBackup.encode(message.taskPriorBackup, writer.uint32(106).fork()).ldelim();
+ }
return writer;
},
@@ -2889,6 +3087,62 @@ export const IssueComment = {
message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
continue;
+ case 6:
+ if (tag !== 50) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ case 7:
+ if (tag !== 58) {
+ break;
+ }
+
+ message.creator = reader.string();
+ continue;
+ case 8:
+ if (tag !== 66) {
+ break;
+ }
+
+ message.approval = IssueComment_Approval.decode(reader, reader.uint32());
+ continue;
+ case 9:
+ if (tag !== 74) {
+ break;
+ }
+
+ message.issueUpdate = IssueComment_IssueUpdate.decode(reader, reader.uint32());
+ continue;
+ case 10:
+ if (tag !== 82) {
+ break;
+ }
+
+ message.stageEnd = IssueComment_StageEnd.decode(reader, reader.uint32());
+ continue;
+ case 11:
+ if (tag !== 90) {
+ break;
+ }
+
+ message.taskRunUpdate = IssueComment_TaskRunUpdate.decode(reader, reader.uint32());
+ continue;
+ case 12:
+ if (tag !== 98) {
+ break;
+ }
+
+ message.taskUpdate = IssueComment_TaskUpdate.decode(reader, reader.uint32());
+ continue;
+ case 13:
+ if (tag !== 106) {
+ break;
+ }
+
+ message.taskPriorBackup = IssueComment_TaskPriorBackup.decode(reader, reader.uint32());
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -2905,6 +3159,18 @@ export const IssueComment = {
payload: isSet(object.payload) ? globalThis.String(object.payload) : "",
createTime: isSet(object.createTime) ? fromJsonTimestamp(object.createTime) : undefined,
updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ creator: isSet(object.creator) ? globalThis.String(object.creator) : "",
+ approval: isSet(object.approval) ? IssueComment_Approval.fromJSON(object.approval) : undefined,
+ issueUpdate: isSet(object.issueUpdate) ? IssueComment_IssueUpdate.fromJSON(object.issueUpdate) : undefined,
+ stageEnd: isSet(object.stageEnd) ? IssueComment_StageEnd.fromJSON(object.stageEnd) : undefined,
+ taskRunUpdate: isSet(object.taskRunUpdate)
+ ? IssueComment_TaskRunUpdate.fromJSON(object.taskRunUpdate)
+ : undefined,
+ taskUpdate: isSet(object.taskUpdate) ? IssueComment_TaskUpdate.fromJSON(object.taskUpdate) : undefined,
+ taskPriorBackup: isSet(object.taskPriorBackup)
+ ? IssueComment_TaskPriorBackup.fromJSON(object.taskPriorBackup)
+ : undefined,
};
},
@@ -2925,6 +3191,30 @@ export const IssueComment = {
if (message.updateTime !== undefined) {
obj.updateTime = message.updateTime.toISOString();
}
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.creator !== "") {
+ obj.creator = message.creator;
+ }
+ if (message.approval !== undefined) {
+ obj.approval = IssueComment_Approval.toJSON(message.approval);
+ }
+ if (message.issueUpdate !== undefined) {
+ obj.issueUpdate = IssueComment_IssueUpdate.toJSON(message.issueUpdate);
+ }
+ if (message.stageEnd !== undefined) {
+ obj.stageEnd = IssueComment_StageEnd.toJSON(message.stageEnd);
+ }
+ if (message.taskRunUpdate !== undefined) {
+ obj.taskRunUpdate = IssueComment_TaskRunUpdate.toJSON(message.taskRunUpdate);
+ }
+ if (message.taskUpdate !== undefined) {
+ obj.taskUpdate = IssueComment_TaskUpdate.toJSON(message.taskUpdate);
+ }
+ if (message.taskPriorBackup !== undefined) {
+ obj.taskPriorBackup = IssueComment_TaskPriorBackup.toJSON(message.taskPriorBackup);
+ }
return obj;
},
@@ -2938,6 +3228,666 @@ export const IssueComment = {
message.payload = object.payload ?? "";
message.createTime = object.createTime ?? undefined;
message.updateTime = object.updateTime ?? undefined;
+ message.name = object.name ?? "";
+ message.creator = object.creator ?? "";
+ message.approval = (object.approval !== undefined && object.approval !== null)
+ ? IssueComment_Approval.fromPartial(object.approval)
+ : undefined;
+ message.issueUpdate = (object.issueUpdate !== undefined && object.issueUpdate !== null)
+ ? IssueComment_IssueUpdate.fromPartial(object.issueUpdate)
+ : undefined;
+ message.stageEnd = (object.stageEnd !== undefined && object.stageEnd !== null)
+ ? IssueComment_StageEnd.fromPartial(object.stageEnd)
+ : undefined;
+ message.taskRunUpdate = (object.taskRunUpdate !== undefined && object.taskRunUpdate !== null)
+ ? IssueComment_TaskRunUpdate.fromPartial(object.taskRunUpdate)
+ : undefined;
+ message.taskUpdate = (object.taskUpdate !== undefined && object.taskUpdate !== null)
+ ? IssueComment_TaskUpdate.fromPartial(object.taskUpdate)
+ : undefined;
+ message.taskPriorBackup = (object.taskPriorBackup !== undefined && object.taskPriorBackup !== null)
+ ? IssueComment_TaskPriorBackup.fromPartial(object.taskPriorBackup)
+ : undefined;
+ return message;
+ },
+};
+
+function createBaseIssueComment_Approval(): IssueComment_Approval {
+ return { status: 0 };
+}
+
+export const IssueComment_Approval = {
+ encode(message: IssueComment_Approval, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.status !== 0) {
+ writer.uint32(8).int32(message.status);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_Approval {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_Approval();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 8) {
+ break;
+ }
+
+ message.status = reader.int32() as any;
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_Approval {
+ return { status: isSet(object.status) ? issueComment_Approval_StatusFromJSON(object.status) : 0 };
+ },
+
+ toJSON(message: IssueComment_Approval): unknown {
+ const obj: any = {};
+ if (message.status !== 0) {
+ obj.status = issueComment_Approval_StatusToJSON(message.status);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_Approval>): IssueComment_Approval {
+ return IssueComment_Approval.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_Approval>): IssueComment_Approval {
+ const message = createBaseIssueComment_Approval();
+ message.status = object.status ?? 0;
+ return message;
+ },
+};
+
+function createBaseIssueComment_IssueUpdate(): IssueComment_IssueUpdate {
+ return {
+ fromTitle: undefined,
+ toTitle: undefined,
+ fromDescription: undefined,
+ toDescription: undefined,
+ fromStatus: undefined,
+ toStatus: undefined,
+ fromAssignee: undefined,
+ toAssignee: undefined,
+ };
+}
+
+export const IssueComment_IssueUpdate = {
+ encode(message: IssueComment_IssueUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.fromTitle !== undefined) {
+ writer.uint32(10).string(message.fromTitle);
+ }
+ if (message.toTitle !== undefined) {
+ writer.uint32(18).string(message.toTitle);
+ }
+ if (message.fromDescription !== undefined) {
+ writer.uint32(26).string(message.fromDescription);
+ }
+ if (message.toDescription !== undefined) {
+ writer.uint32(34).string(message.toDescription);
+ }
+ if (message.fromStatus !== undefined) {
+ writer.uint32(40).int32(message.fromStatus);
+ }
+ if (message.toStatus !== undefined) {
+ writer.uint32(48).int32(message.toStatus);
+ }
+ if (message.fromAssignee !== undefined) {
+ writer.uint32(58).string(message.fromAssignee);
+ }
+ if (message.toAssignee !== undefined) {
+ writer.uint32(66).string(message.toAssignee);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_IssueUpdate {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_IssueUpdate();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.fromTitle = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.toTitle = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.fromDescription = reader.string();
+ continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.toDescription = reader.string();
+ continue;
+ case 5:
+ if (tag !== 40) {
+ break;
+ }
+
+ message.fromStatus = reader.int32() as any;
+ continue;
+ case 6:
+ if (tag !== 48) {
+ break;
+ }
+
+ message.toStatus = reader.int32() as any;
+ continue;
+ case 7:
+ if (tag !== 58) {
+ break;
+ }
+
+ message.fromAssignee = reader.string();
+ continue;
+ case 8:
+ if (tag !== 66) {
+ break;
+ }
+
+ message.toAssignee = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_IssueUpdate {
+ return {
+ fromTitle: isSet(object.fromTitle) ? globalThis.String(object.fromTitle) : undefined,
+ toTitle: isSet(object.toTitle) ? globalThis.String(object.toTitle) : undefined,
+ fromDescription: isSet(object.fromDescription) ? globalThis.String(object.fromDescription) : undefined,
+ toDescription: isSet(object.toDescription) ? globalThis.String(object.toDescription) : undefined,
+ fromStatus: isSet(object.fromStatus) ? issueStatusFromJSON(object.fromStatus) : undefined,
+ toStatus: isSet(object.toStatus) ? issueStatusFromJSON(object.toStatus) : undefined,
+ fromAssignee: isSet(object.fromAssignee) ? globalThis.String(object.fromAssignee) : undefined,
+ toAssignee: isSet(object.toAssignee) ? globalThis.String(object.toAssignee) : undefined,
+ };
+ },
+
+ toJSON(message: IssueComment_IssueUpdate): unknown {
+ const obj: any = {};
+ if (message.fromTitle !== undefined) {
+ obj.fromTitle = message.fromTitle;
+ }
+ if (message.toTitle !== undefined) {
+ obj.toTitle = message.toTitle;
+ }
+ if (message.fromDescription !== undefined) {
+ obj.fromDescription = message.fromDescription;
+ }
+ if (message.toDescription !== undefined) {
+ obj.toDescription = message.toDescription;
+ }
+ if (message.fromStatus !== undefined) {
+ obj.fromStatus = issueStatusToJSON(message.fromStatus);
+ }
+ if (message.toStatus !== undefined) {
+ obj.toStatus = issueStatusToJSON(message.toStatus);
+ }
+ if (message.fromAssignee !== undefined) {
+ obj.fromAssignee = message.fromAssignee;
+ }
+ if (message.toAssignee !== undefined) {
+ obj.toAssignee = message.toAssignee;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_IssueUpdate>): IssueComment_IssueUpdate {
+ return IssueComment_IssueUpdate.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_IssueUpdate>): IssueComment_IssueUpdate {
+ const message = createBaseIssueComment_IssueUpdate();
+ message.fromTitle = object.fromTitle ?? undefined;
+ message.toTitle = object.toTitle ?? undefined;
+ message.fromDescription = object.fromDescription ?? undefined;
+ message.toDescription = object.toDescription ?? undefined;
+ message.fromStatus = object.fromStatus ?? undefined;
+ message.toStatus = object.toStatus ?? undefined;
+ message.fromAssignee = object.fromAssignee ?? undefined;
+ message.toAssignee = object.toAssignee ?? undefined;
+ return message;
+ },
+};
+
+function createBaseIssueComment_StageEnd(): IssueComment_StageEnd {
+ return { stage: "" };
+}
+
+export const IssueComment_StageEnd = {
+ encode(message: IssueComment_StageEnd, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.stage !== "") {
+ writer.uint32(10).string(message.stage);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_StageEnd {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_StageEnd();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.stage = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_StageEnd {
+ return { stage: isSet(object.stage) ? globalThis.String(object.stage) : "" };
+ },
+
+ toJSON(message: IssueComment_StageEnd): unknown {
+ const obj: any = {};
+ if (message.stage !== "") {
+ obj.stage = message.stage;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_StageEnd>): IssueComment_StageEnd {
+ return IssueComment_StageEnd.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_StageEnd>): IssueComment_StageEnd {
+ const message = createBaseIssueComment_StageEnd();
+ message.stage = object.stage ?? "";
+ return message;
+ },
+};
+
+function createBaseIssueComment_TaskRunUpdate(): IssueComment_TaskRunUpdate {
+ return { taskRuns: [], toStatus: undefined };
+}
+
+export const IssueComment_TaskRunUpdate = {
+ encode(message: IssueComment_TaskRunUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ for (const v of message.taskRuns) {
+ writer.uint32(10).string(v!);
+ }
+ if (message.toStatus !== undefined) {
+ writer.uint32(16).int32(message.toStatus);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_TaskRunUpdate {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_TaskRunUpdate();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.taskRuns.push(reader.string());
+ continue;
+ case 2:
+ if (tag !== 16) {
+ break;
+ }
+
+ message.toStatus = reader.int32() as any;
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_TaskRunUpdate {
+ return {
+ taskRuns: globalThis.Array.isArray(object?.taskRuns) ? object.taskRuns.map((e: any) => globalThis.String(e)) : [],
+ toStatus: isSet(object.toStatus) ? issueComment_TaskRunUpdate_StatusFromJSON(object.toStatus) : undefined,
+ };
+ },
+
+ toJSON(message: IssueComment_TaskRunUpdate): unknown {
+ const obj: any = {};
+ if (message.taskRuns?.length) {
+ obj.taskRuns = message.taskRuns;
+ }
+ if (message.toStatus !== undefined) {
+ obj.toStatus = issueComment_TaskRunUpdate_StatusToJSON(message.toStatus);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_TaskRunUpdate>): IssueComment_TaskRunUpdate {
+ return IssueComment_TaskRunUpdate.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_TaskRunUpdate>): IssueComment_TaskRunUpdate {
+ const message = createBaseIssueComment_TaskRunUpdate();
+ message.taskRuns = object.taskRuns?.map((e) => e) || [];
+ message.toStatus = object.toStatus ?? undefined;
+ return message;
+ },
+};
+
+function createBaseIssueComment_TaskUpdate(): IssueComment_TaskUpdate {
+ return {
+ tasks: [],
+ fromSheet: undefined,
+ toSheet: undefined,
+ fromEarliestAllowedTime: undefined,
+ toEarliestAllowedTime: undefined,
+ };
+}
+
+export const IssueComment_TaskUpdate = {
+ encode(message: IssueComment_TaskUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ for (const v of message.tasks) {
+ writer.uint32(10).string(v!);
+ }
+ if (message.fromSheet !== undefined) {
+ writer.uint32(18).string(message.fromSheet);
+ }
+ if (message.toSheet !== undefined) {
+ writer.uint32(26).string(message.toSheet);
+ }
+ if (message.fromEarliestAllowedTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.fromEarliestAllowedTime), writer.uint32(34).fork()).ldelim();
+ }
+ if (message.toEarliestAllowedTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.toEarliestAllowedTime), writer.uint32(42).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_TaskUpdate {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_TaskUpdate();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.tasks.push(reader.string());
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.fromSheet = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.toSheet = reader.string();
+ continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.fromEarliestAllowedTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ case 5:
+ if (tag !== 42) {
+ break;
+ }
+
+ message.toEarliestAllowedTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_TaskUpdate {
+ return {
+ tasks: globalThis.Array.isArray(object?.tasks) ? object.tasks.map((e: any) => globalThis.String(e)) : [],
+ fromSheet: isSet(object.fromSheet) ? globalThis.String(object.fromSheet) : undefined,
+ toSheet: isSet(object.toSheet) ? globalThis.String(object.toSheet) : undefined,
+ fromEarliestAllowedTime: isSet(object.fromEarliestAllowedTime)
+ ? fromJsonTimestamp(object.fromEarliestAllowedTime)
+ : undefined,
+ toEarliestAllowedTime: isSet(object.toEarliestAllowedTime)
+ ? fromJsonTimestamp(object.toEarliestAllowedTime)
+ : undefined,
+ };
+ },
+
+ toJSON(message: IssueComment_TaskUpdate): unknown {
+ const obj: any = {};
+ if (message.tasks?.length) {
+ obj.tasks = message.tasks;
+ }
+ if (message.fromSheet !== undefined) {
+ obj.fromSheet = message.fromSheet;
+ }
+ if (message.toSheet !== undefined) {
+ obj.toSheet = message.toSheet;
+ }
+ if (message.fromEarliestAllowedTime !== undefined) {
+ obj.fromEarliestAllowedTime = message.fromEarliestAllowedTime.toISOString();
+ }
+ if (message.toEarliestAllowedTime !== undefined) {
+ obj.toEarliestAllowedTime = message.toEarliestAllowedTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_TaskUpdate>): IssueComment_TaskUpdate {
+ return IssueComment_TaskUpdate.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_TaskUpdate>): IssueComment_TaskUpdate {
+ const message = createBaseIssueComment_TaskUpdate();
+ message.tasks = object.tasks?.map((e) => e) || [];
+ message.fromSheet = object.fromSheet ?? undefined;
+ message.toSheet = object.toSheet ?? undefined;
+ message.fromEarliestAllowedTime = object.fromEarliestAllowedTime ?? undefined;
+ message.toEarliestAllowedTime = object.toEarliestAllowedTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseIssueComment_TaskPriorBackup(): IssueComment_TaskPriorBackup {
+ return { task: "", tables: [] };
+}
+
+export const IssueComment_TaskPriorBackup = {
+ encode(message: IssueComment_TaskPriorBackup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.task !== "") {
+ writer.uint32(10).string(message.task);
+ }
+ for (const v of message.tables) {
+ IssueComment_TaskPriorBackup_Table.encode(v!, writer.uint32(18).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_TaskPriorBackup {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_TaskPriorBackup();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.task = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.tables.push(IssueComment_TaskPriorBackup_Table.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_TaskPriorBackup {
+ return {
+ task: isSet(object.task) ? globalThis.String(object.task) : "",
+ tables: globalThis.Array.isArray(object?.tables)
+ ? object.tables.map((e: any) => IssueComment_TaskPriorBackup_Table.fromJSON(e))
+ : [],
+ };
+ },
+
+ toJSON(message: IssueComment_TaskPriorBackup): unknown {
+ const obj: any = {};
+ if (message.task !== "") {
+ obj.task = message.task;
+ }
+ if (message.tables?.length) {
+ obj.tables = message.tables.map((e) => IssueComment_TaskPriorBackup_Table.toJSON(e));
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_TaskPriorBackup>): IssueComment_TaskPriorBackup {
+ return IssueComment_TaskPriorBackup.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_TaskPriorBackup>): IssueComment_TaskPriorBackup {
+ const message = createBaseIssueComment_TaskPriorBackup();
+ message.task = object.task ?? "";
+ message.tables = object.tables?.map((e) => IssueComment_TaskPriorBackup_Table.fromPartial(e)) || [];
+ return message;
+ },
+};
+
+function createBaseIssueComment_TaskPriorBackup_Table(): IssueComment_TaskPriorBackup_Table {
+ return { schema: "", table: "" };
+}
+
+export const IssueComment_TaskPriorBackup_Table = {
+ encode(message: IssueComment_TaskPriorBackup_Table, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.schema !== "") {
+ writer.uint32(10).string(message.schema);
+ }
+ if (message.table !== "") {
+ writer.uint32(18).string(message.table);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment_TaskPriorBackup_Table {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseIssueComment_TaskPriorBackup_Table();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.schema = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.table = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): IssueComment_TaskPriorBackup_Table {
+ return {
+ schema: isSet(object.schema) ? globalThis.String(object.schema) : "",
+ table: isSet(object.table) ? globalThis.String(object.table) : "",
+ };
+ },
+
+ toJSON(message: IssueComment_TaskPriorBackup_Table): unknown {
+ const obj: any = {};
+ if (message.schema !== "") {
+ obj.schema = message.schema;
+ }
+ if (message.table !== "") {
+ obj.table = message.table;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<IssueComment_TaskPriorBackup_Table>): IssueComment_TaskPriorBackup_Table {
+ return IssueComment_TaskPriorBackup_Table.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<IssueComment_TaskPriorBackup_Table>): IssueComment_TaskPriorBackup_Table {
+ const message = createBaseIssueComment_TaskPriorBackup_Table();
+ message.schema = object.schema ?? "";
+ message.table = object.table ?? "";
return message;
},
};
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 936c2dfa0f..ede2bce8c7 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -275,6 +275,13 @@
- [Issue.Approver](#bytebase-v1-Issue-Approver)
- [Issue.TaskStatusCountEntry](#bytebase-v1-Issue-TaskStatusCountEntry)
- [IssueComment](#bytebase-v1-IssueComment)
+ - [IssueComment.Approval](#bytebase-v1-IssueComment-Approval)
+ - [IssueComment.IssueUpdate](#bytebase-v1-IssueComment-IssueUpdate)
+ - [IssueComment.StageEnd](#bytebase-v1-IssueComment-StageEnd)
+ - [IssueComment.TaskPriorBackup](#bytebase-v1-IssueComment-TaskPriorBackup)
+ - [IssueComment.TaskPriorBackup.Table](#bytebase-v1-IssueComment-TaskPriorBackup-Table)
+ - [IssueComment.TaskRunUpdate](#bytebase-v1-IssueComment-TaskRunUpdate)
+ - [IssueComment.TaskUpdate](#bytebase-v1-IssueComment-TaskUpdate)
- [ListIssuesRequest](#bytebase-v1-ListIssuesRequest)
- [ListIssuesResponse](#bytebase-v1-ListIssuesResponse)
- [RejectIssueRequest](#bytebase-v1-RejectIssueRequest)
@@ -290,6 +297,8 @@
- [Issue.Approver.Status](#bytebase-v1-Issue-Approver-Status)
- [Issue.RiskLevel](#bytebase-v1-Issue-RiskLevel)
- [Issue.Type](#bytebase-v1-Issue-Type)
+ - [IssueComment.Approval.Status](#bytebase-v1-IssueComment-Approval-Status)
+ - [IssueComment.TaskRunUpdate.Status](#bytebase-v1-IssueComment-TaskRunUpdate-Status)
- [IssueStatus](#bytebase-v1-IssueStatus)
- [IssueService](#bytebase-v1-IssueService)
@@ -4736,6 +4745,133 @@ The role&#39;s `name` and `instance` field is used to identify the role to updat
| payload | [string](#string) | | TODO: use struct message instead. |
| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+| name | [string](#string) | | Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid} |
+| creator | [string](#string) | | Format: users/{email} |
+| approval | [IssueComment.Approval](#bytebase-v1-IssueComment-Approval) | | |
+| issue_update | [IssueComment.IssueUpdate](#bytebase-v1-IssueComment-IssueUpdate) | | |
+| stage_end | [IssueComment.StageEnd](#bytebase-v1-IssueComment-StageEnd) | | |
+| task_run_update | [IssueComment.TaskRunUpdate](#bytebase-v1-IssueComment-TaskRunUpdate) | | |
+| task_update | [IssueComment.TaskUpdate](#bytebase-v1-IssueComment-TaskUpdate) | | |
+| task_prior_backup | [IssueComment.TaskPriorBackup](#bytebase-v1-IssueComment-TaskPriorBackup) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-Approval"></a>
+
+### IssueComment.Approval
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| status | [IssueComment.Approval.Status](#bytebase-v1-IssueComment-Approval-Status) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-IssueUpdate"></a>
+
+### IssueComment.IssueUpdate
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| from_title | [string](#string) | optional | |
+| to_title | [string](#string) | optional | |
+| from_description | [string](#string) | optional | |
+| to_description | [string](#string) | optional | |
+| from_status | [IssueStatus](#bytebase-v1-IssueStatus) | optional | |
+| to_status | [IssueStatus](#bytebase-v1-IssueStatus) | optional | |
+| from_assignee | [string](#string) | optional | Format: users/{email} |
+| to_assignee | [string](#string) | optional | Format: users/{email} |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-StageEnd"></a>
+
+### IssueComment.StageEnd
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| stage | [string](#string) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-TaskPriorBackup"></a>
+
+### IssueComment.TaskPriorBackup
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| task | [string](#string) | | |
+| tables | [IssueComment.TaskPriorBackup.Table](#bytebase-v1-IssueComment-TaskPriorBackup-Table) | repeated | |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-TaskPriorBackup-Table"></a>
+
+### IssueComment.TaskPriorBackup.Table
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| schema | [string](#string) | | |
+| table | [string](#string) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-TaskRunUpdate"></a>
+
+### IssueComment.TaskRunUpdate
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| task_runs | [string](#string) | repeated | |
+| to_status | [IssueComment.TaskRunUpdate.Status](#bytebase-v1-IssueComment-TaskRunUpdate-Status) | optional | |
+
+
+
+
+
+
+<a name="bytebase-v1-IssueComment-TaskUpdate"></a>
+
+### IssueComment.TaskUpdate
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| tasks | [string](#string) | repeated | |
+| from_sheet | [string](#string) | optional | Format: projects/{project}/sheets/{sheet} |
+| to_sheet | [string](#string) | optional | Format: projects/{project}/sheets/{sheet} |
+| from_earliest_allowed_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | optional | |
+| to_earliest_allowed_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | optional | |
@@ -4976,6 +5112,35 @@ ANY means approving any node will proceed.
+<a name="bytebase-v1-IssueComment-Approval-Status"></a>
+
+### IssueComment.Approval.Status
+
+
+| Name | Number | Description |
+| ---- | ------ | ----------- |
+| STATUS_UNSPECIFIED | 0 | |
+| PENDING | 1 | |
+| APPROVED | 2 | |
+| REJECTED | 3 | |
+
+
+
+<a name="bytebase-v1-IssueComment-TaskRunUpdate-Status"></a>
+
+### IssueComment.TaskRunUpdate.Status
+
+
+| Name | Number | Description |
+| ---- | ------ | ----------- |
+| STATUS_UNSPECIFIED | 0 | |
+| PENDING | 1 | |
+| RUNNING | 2 | |
+| DONE | 3 | |
+| FAILED | 4 | |
+
+
+
<a name="bytebase-v1-IssueStatus"></a>
### IssueStatus
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index c970712e61..275cb645b0 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -1228,6 +1228,34 @@
<a href="#bytebase.v1.IssueComment"><span class="badge">M</span>IssueComment</a>
</li>
+ <li>
+ <a href="#bytebase.v1.IssueComment.Approval"><span class="badge">M</span>IssueComment.Approval</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.IssueUpdate"><span class="badge">M</span>IssueComment.IssueUpdate</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.StageEnd"><span class="badge">M</span>IssueComment.StageEnd</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.TaskPriorBackup"><span class="badge">M</span>IssueComment.TaskPriorBackup</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.TaskPriorBackup.Table"><span class="badge">M</span>IssueComment.TaskPriorBackup.Table</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.TaskRunUpdate"><span class="badge">M</span>IssueComment.TaskRunUpdate</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.TaskUpdate"><span class="badge">M</span>IssueComment.TaskUpdate</a>
+ </li>
+
<li>
<a href="#bytebase.v1.ListIssuesRequest"><span class="badge">M</span>ListIssuesRequest</a>
</li>
@@ -1285,6 +1313,14 @@
<a href="#bytebase.v1.Issue.Type"><span class="badge">E</span>Issue.Type</a>
</li>
+ <li>
+ <a href="#bytebase.v1.IssueComment.Approval.Status"><span class="badge">E</span>IssueComment.Approval.Status</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.IssueComment.TaskRunUpdate.Status"><span class="badge">E</span>IssueComment.TaskRunUpdate.Status</a>
+ </li>
+
<li>
<a href="#bytebase.v1.IssueStatus"><span class="badge">E</span>IssueStatus</a>
</li>
@@ -13627,6 +13663,328 @@ Keys are the following:
<td><p> </p></td>
</tr>
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid} </p></td>
+ </tr>
+
+ <tr>
+ <td>creator</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>approval</td>
+ <td><a href="#bytebase.v1.IssueComment.Approval">IssueComment.Approval</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>issue_update</td>
+ <td><a href="#bytebase.v1.IssueComment.IssueUpdate">IssueComment.IssueUpdate</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>stage_end</td>
+ <td><a href="#bytebase.v1.IssueComment.StageEnd">IssueComment.StageEnd</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>task_run_update</td>
+ <td><a href="#bytebase.v1.IssueComment.TaskRunUpdate">IssueComment.TaskRunUpdate</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>task_update</td>
+ <td><a href="#bytebase.v1.IssueComment.TaskUpdate">IssueComment.TaskUpdate</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>task_prior_backup</td>
+ <td><a href="#bytebase.v1.IssueComment.TaskPriorBackup">IssueComment.TaskPriorBackup</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.Approval">IssueComment.Approval</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>status</td>
+ <td><a href="#bytebase.v1.IssueComment.Approval.Status">IssueComment.Approval.Status</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.IssueUpdate">IssueComment.IssueUpdate</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>from_title</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>to_title</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>from_description</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>to_description</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>from_status</td>
+ <td><a href="#bytebase.v1.IssueStatus">IssueStatus</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>to_status</td>
+ <td><a href="#bytebase.v1.IssueStatus">IssueStatus</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>from_assignee</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p>Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>to_assignee</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p>Format: users/{email} </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.StageEnd">IssueComment.StageEnd</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>stage</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.TaskPriorBackup">IssueComment.TaskPriorBackup</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>task</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>tables</td>
+ <td><a href="#bytebase.v1.IssueComment.TaskPriorBackup.Table">IssueComment.TaskPriorBackup.Table</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.TaskPriorBackup.Table">IssueComment.TaskPriorBackup.Table</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>schema</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>table</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.TaskRunUpdate">IssueComment.TaskRunUpdate</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>task_runs</td>
+ <td><a href="#string">string</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>to_status</td>
+ <td><a href="#bytebase.v1.IssueComment.TaskRunUpdate.Status">IssueComment.TaskRunUpdate.Status</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.IssueComment.TaskUpdate">IssueComment.TaskUpdate</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>tasks</td>
+ <td><a href="#string">string</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>from_sheet</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p>Format: projects/{project}/sheets/{sheet} </p></td>
+ </tr>
+
+ <tr>
+ <td>to_sheet</td>
+ <td><a href="#string">string</a></td>
+ <td>optional</td>
+ <td><p>Format: projects/{project}/sheets/{sheet} </p></td>
+ </tr>
+
+ <tr>
+ <td>from_earliest_allowed_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>to_earliest_allowed_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td>optional</td>
+ <td><p> </p></td>
+ </tr>
+
</tbody>
</table>
@@ -14157,6 +14515,82 @@ Format: projects/{project}/issues/{issue} </p></td>
</tbody>
</table>
+ <h3 id="bytebase.v1.IssueComment.Approval.Status">IssueComment.Approval.Status</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>STATUS_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>PENDING</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>APPROVED</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>REJECTED</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+ <h3 id="bytebase.v1.IssueComment.TaskRunUpdate.Status">IssueComment.TaskRunUpdate.Status</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>STATUS_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>PENDING</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>RUNNING</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>DONE</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>FAILED</td>
+ <td>4</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
<h3 id="bytebase.v1.IssueStatus">IssueStatus</h3>
<p></p>
<table class="enum-table">
diff --git a/proto/generated-go/v1/issue_service.pb.go b/proto/generated-go/v1/issue_service.pb.go
index bbfef40cdf..d2c0bddec6 100644
--- a/proto/generated-go/v1/issue_service.pb.go
+++ b/proto/generated-go/v1/issue_service.pb.go
@@ -395,6 +395,113 @@ func (ApprovalNode_GroupValue) EnumDescriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{17, 1}
}
+type IssueComment_Approval_Status int32
+
+const (
+ IssueComment_Approval_STATUS_UNSPECIFIED IssueComment_Approval_Status = 0
+ IssueComment_Approval_PENDING IssueComment_Approval_Status = 1
+ IssueComment_Approval_APPROVED IssueComment_Approval_Status = 2
+ IssueComment_Approval_REJECTED IssueComment_Approval_Status = 3
+)
+
+// Enum value maps for IssueComment_Approval_Status.
+var (
+ IssueComment_Approval_Status_name = map[int32]string{
+ 0: "STATUS_UNSPECIFIED",
+ 1: "PENDING",
+ 2: "APPROVED",
+ 3: "REJECTED",
+ }
+ IssueComment_Approval_Status_value = map[string]int32{
+ "STATUS_UNSPECIFIED": 0,
+ "PENDING": 1,
+ "APPROVED": 2,
+ "REJECTED": 3,
+ }
+)
+
+func (x IssueComment_Approval_Status) Enum() *IssueComment_Approval_Status {
+ p := new(IssueComment_Approval_Status)
+ *p = x
+ return p
+}
+
+func (x IssueComment_Approval_Status) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (IssueComment_Approval_Status) Descriptor() protoreflect.EnumDescriptor {
+ return file_v1_issue_service_proto_enumTypes[7].Descriptor()
+}
+
+func (IssueComment_Approval_Status) Type() protoreflect.EnumType {
+ return &file_v1_issue_service_proto_enumTypes[7]
+}
+
+func (x IssueComment_Approval_Status) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use IssueComment_Approval_Status.Descriptor instead.
+func (IssueComment_Approval_Status) EnumDescriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 0, 0}
+}
+
+type IssueComment_TaskRunUpdate_Status int32
+
+const (
+ IssueComment_TaskRunUpdate_STATUS_UNSPECIFIED IssueComment_TaskRunUpdate_Status = 0
+ IssueComment_TaskRunUpdate_PENDING IssueComment_TaskRunUpdate_Status = 1
+ IssueComment_TaskRunUpdate_RUNNING IssueComment_TaskRunUpdate_Status = 2
+ IssueComment_TaskRunUpdate_DONE IssueComment_TaskRunUpdate_Status = 3
+ IssueComment_TaskRunUpdate_FAILED IssueComment_TaskRunUpdate_Status = 4
+)
+
+// Enum value maps for IssueComment_TaskRunUpdate_Status.
+var (
+ IssueComment_TaskRunUpdate_Status_name = map[int32]string{
+ 0: "STATUS_UNSPECIFIED",
+ 1: "PENDING",
+ 2: "RUNNING",
+ 3: "DONE",
+ 4: "FAILED",
+ }
+ IssueComment_TaskRunUpdate_Status_value = map[string]int32{
+ "STATUS_UNSPECIFIED": 0,
+ "PENDING": 1,
+ "RUNNING": 2,
+ "DONE": 3,
+ "FAILED": 4,
+ }
+)
+
+func (x IssueComment_TaskRunUpdate_Status) Enum() *IssueComment_TaskRunUpdate_Status {
+ p := new(IssueComment_TaskRunUpdate_Status)
+ *p = x
+ return p
+}
+
+func (x IssueComment_TaskRunUpdate_Status) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (IssueComment_TaskRunUpdate_Status) Descriptor() protoreflect.EnumDescriptor {
+ return file_v1_issue_service_proto_enumTypes[8].Descriptor()
+}
+
+func (IssueComment_TaskRunUpdate_Status) Type() protoreflect.EnumType {
+ return &file_v1_issue_service_proto_enumTypes[8]
+}
+
+func (x IssueComment_TaskRunUpdate_Status) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use IssueComment_TaskRunUpdate_Status.Descriptor instead.
+func (IssueComment_TaskRunUpdate_Status) EnumDescriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 3, 0}
+}
+
type GetIssueRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1896,6 +2003,19 @@ type IssueComment struct {
Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+ // Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid}
+ Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
+ // Format: users/{email}
+ Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"`
+ // Types that are assignable to Event:
+ //
+ // *IssueComment_Approval_
+ // *IssueComment_IssueUpdate_
+ // *IssueComment_StageEnd_
+ // *IssueComment_TaskRunUpdate_
+ // *IssueComment_TaskUpdate_
+ // *IssueComment_TaskPriorBackup_
+ Event isIssueComment_Event `protobuf_oneof:"event"`
}
func (x *IssueComment) Reset() {
@@ -1965,6 +2085,109 @@ func (x *IssueComment) GetUpdateTime() *timestamppb.Timestamp {
return nil
}
+func (x *IssueComment) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *IssueComment) GetCreator() string {
+ if x != nil {
+ return x.Creator
+ }
+ return ""
+}
+
+func (m *IssueComment) GetEvent() isIssueComment_Event {
+ if m != nil {
+ return m.Event
+ }
+ return nil
+}
+
+func (x *IssueComment) GetApproval() *IssueComment_Approval {
+ if x, ok := x.GetEvent().(*IssueComment_Approval_); ok {
+ return x.Approval
+ }
+ return nil
+}
+
+func (x *IssueComment) GetIssueUpdate() *IssueComment_IssueUpdate {
+ if x, ok := x.GetEvent().(*IssueComment_IssueUpdate_); ok {
+ return x.IssueUpdate
+ }
+ return nil
+}
+
+func (x *IssueComment) GetStageEnd() *IssueComment_StageEnd {
+ if x, ok := x.GetEvent().(*IssueComment_StageEnd_); ok {
+ return x.StageEnd
+ }
+ return nil
+}
+
+func (x *IssueComment) GetTaskRunUpdate() *IssueComment_TaskRunUpdate {
+ if x, ok := x.GetEvent().(*IssueComment_TaskRunUpdate_); ok {
+ return x.TaskRunUpdate
+ }
+ return nil
+}
+
+func (x *IssueComment) GetTaskUpdate() *IssueComment_TaskUpdate {
+ if x, ok := x.GetEvent().(*IssueComment_TaskUpdate_); ok {
+ return x.TaskUpdate
+ }
+ return nil
+}
+
+func (x *IssueComment) GetTaskPriorBackup() *IssueComment_TaskPriorBackup {
+ if x, ok := x.GetEvent().(*IssueComment_TaskPriorBackup_); ok {
+ return x.TaskPriorBackup
+ }
+ return nil
+}
+
+type isIssueComment_Event interface {
+ isIssueComment_Event()
+}
+
+type IssueComment_Approval_ struct {
+ Approval *IssueComment_Approval `protobuf:"bytes,8,opt,name=approval,proto3,oneof"`
+}
+
+type IssueComment_IssueUpdate_ struct {
+ IssueUpdate *IssueComment_IssueUpdate `protobuf:"bytes,9,opt,name=issue_update,json=issueUpdate,proto3,oneof"`
+}
+
+type IssueComment_StageEnd_ struct {
+ StageEnd *IssueComment_StageEnd `protobuf:"bytes,10,opt,name=stage_end,json=stageEnd,proto3,oneof"`
+}
+
+type IssueComment_TaskRunUpdate_ struct {
+ TaskRunUpdate *IssueComment_TaskRunUpdate `protobuf:"bytes,11,opt,name=task_run_update,json=taskRunUpdate,proto3,oneof"`
+}
+
+type IssueComment_TaskUpdate_ struct {
+ TaskUpdate *IssueComment_TaskUpdate `protobuf:"bytes,12,opt,name=task_update,json=taskUpdate,proto3,oneof"`
+}
+
+type IssueComment_TaskPriorBackup_ struct {
+ TaskPriorBackup *IssueComment_TaskPriorBackup `protobuf:"bytes,13,opt,name=task_prior_backup,json=taskPriorBackup,proto3,oneof"`
+}
+
+func (*IssueComment_Approval_) isIssueComment_Event() {}
+
+func (*IssueComment_IssueUpdate_) isIssueComment_Event() {}
+
+func (*IssueComment_StageEnd_) isIssueComment_Event() {}
+
+func (*IssueComment_TaskRunUpdate_) isIssueComment_Event() {}
+
+func (*IssueComment_TaskUpdate_) isIssueComment_Event() {}
+
+func (*IssueComment_TaskPriorBackup_) isIssueComment_Event() {}
+
type Issue_Approver struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2022,6 +2245,451 @@ func (x *Issue_Approver) GetPrincipal() string {
return ""
}
+type IssueComment_Approval struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Status IssueComment_Approval_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.IssueComment_Approval_Status" json:"status,omitempty"`
+}
+
+func (x *IssueComment_Approval) Reset() {
+ *x = IssueComment_Approval{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_Approval) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_Approval) ProtoMessage() {}
+
+func (x *IssueComment_Approval) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_service_proto_msgTypes[23]
+ 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 IssueComment_Approval.ProtoReflect.Descriptor instead.
+func (*IssueComment_Approval) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 0}
+}
+
+func (x *IssueComment_Approval) GetStatus() IssueComment_Approval_Status {
+ if x != nil {
+ return x.Status
+ }
+ return IssueComment_Approval_STATUS_UNSPECIFIED
+}
+
+type IssueComment_IssueUpdate struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ FromTitle *string `protobuf:"bytes,1,opt,name=from_title,json=fromTitle,proto3,oneof" json:"from_title,omitempty"`
+ ToTitle *string `protobuf:"bytes,2,opt,name=to_title,json=toTitle,proto3,oneof" json:"to_title,omitempty"`
+ FromDescription *string `protobuf:"bytes,3,opt,name=from_description,json=fromDescription,proto3,oneof" json:"from_description,omitempty"`
+ ToDescription *string `protobuf:"bytes,4,opt,name=to_description,json=toDescription,proto3,oneof" json:"to_description,omitempty"`
+ FromStatus *IssueStatus `protobuf:"varint,5,opt,name=from_status,json=fromStatus,proto3,enum=bytebase.v1.IssueStatus,oneof" json:"from_status,omitempty"`
+ ToStatus *IssueStatus `protobuf:"varint,6,opt,name=to_status,json=toStatus,proto3,enum=bytebase.v1.IssueStatus,oneof" json:"to_status,omitempty"`
+ // Format: users/{email}
+ FromAssignee *string `protobuf:"bytes,7,opt,name=from_assignee,json=fromAssignee,proto3,oneof" json:"from_assignee,omitempty"`
+ // Format: users/{email}
+ ToAssignee *string `protobuf:"bytes,8,opt,name=to_assignee,json=toAssignee,proto3,oneof" json:"to_assignee,omitempty"`
+}
+
+func (x *IssueComment_IssueUpdate) Reset() {
+ *x = IssueComment_IssueUpdate{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_IssueUpdate) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_IssueUpdate) ProtoMessage() {}
+
+func (x *IssueComment_IssueUpdate) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_service_proto_msgTypes[24]
+ 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 IssueComment_IssueUpdate.ProtoReflect.Descriptor instead.
+func (*IssueComment_IssueUpdate) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 1}
+}
+
+func (x *IssueComment_IssueUpdate) GetFromTitle() string {
+ if x != nil && x.FromTitle != nil {
+ return *x.FromTitle
+ }
+ return ""
+}
+
+func (x *IssueComment_IssueUpdate) GetToTitle() string {
+ if x != nil && x.ToTitle != nil {
+ return *x.ToTitle
+ }
+ return ""
+}
+
+func (x *IssueComment_IssueUpdate) GetFromDescription() string {
+ if x != nil && x.FromDescription != nil {
+ return *x.FromDescription
+ }
+ return ""
+}
+
+func (x *IssueComment_IssueUpdate) GetToDescription() string {
+ if x != nil && x.ToDescription != nil {
+ return *x.ToDescription
+ }
+ return ""
+}
+
+func (x *IssueComment_IssueUpdate) GetFromStatus() IssueStatus {
+ if x != nil && x.FromStatus != nil {
+ return *x.FromStatus
+ }
+ return IssueStatus_ISSUE_STATUS_UNSPECIFIED
+}
+
+func (x *IssueComment_IssueUpdate) GetToStatus() IssueStatus {
+ if x != nil && x.ToStatus != nil {
+ return *x.ToStatus
+ }
+ return IssueStatus_ISSUE_STATUS_UNSPECIFIED
+}
+
+func (x *IssueComment_IssueUpdate) GetFromAssignee() string {
+ if x != nil && x.FromAssignee != nil {
+ return *x.FromAssignee
+ }
+ return ""
+}
+
+func (x *IssueComment_IssueUpdate) GetToAssignee() string {
+ if x != nil && x.ToAssignee != nil {
+ return *x.ToAssignee
+ }
+ return ""
+}
+
+type IssueComment_StageEnd struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"`
+}
+
+func (x *IssueComment_StageEnd) Reset() {
+ *x = IssueComment_StageEnd{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_StageEnd) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_StageEnd) ProtoMessage() {}
+
+func (x *IssueComment_StageEnd) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_service_proto_msgTypes[25]
+ 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 IssueComment_StageEnd.ProtoReflect.Descriptor instead.
+func (*IssueComment_StageEnd) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 2}
+}
+
+func (x *IssueComment_StageEnd) GetStage() string {
+ if x != nil {
+ return x.Stage
+ }
+ return ""
+}
+
+type IssueComment_TaskRunUpdate struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TaskRuns []string `protobuf:"bytes,1,rep,name=task_runs,json=taskRuns,proto3" json:"task_runs,omitempty"`
+ ToStatus *IssueComment_TaskRunUpdate_Status `protobuf:"varint,2,opt,name=to_status,json=toStatus,proto3,enum=bytebase.v1.IssueComment_TaskRunUpdate_Status,oneof" json:"to_status,omitempty"`
+}
+
+func (x *IssueComment_TaskRunUpdate) Reset() {
+ *x = IssueComment_TaskRunUpdate{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_TaskRunUpdate) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_TaskRunUpdate) ProtoMessage() {}
+
+func (x *IssueComment_TaskRunUpdate) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_service_proto_msgTypes[26]
+ 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 IssueComment_TaskRunUpdate.ProtoReflect.Descriptor instead.
+func (*IssueComment_TaskRunUpdate) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 3}
+}
+
+func (x *IssueComment_TaskRunUpdate) GetTaskRuns() []string {
+ if x != nil {
+ return x.TaskRuns
+ }
+ return nil
+}
+
+func (x *IssueComment_TaskRunUpdate) GetToStatus() IssueComment_TaskRunUpdate_Status {
+ if x != nil && x.ToStatus != nil {
+ return *x.ToStatus
+ }
+ return IssueComment_TaskRunUpdate_STATUS_UNSPECIFIED
+}
+
+type IssueComment_TaskUpdate struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Tasks []string `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
+ // Format: projects/{project}/sheets/{sheet}
+ FromSheet *string `protobuf:"bytes,2,opt,name=from_sheet,json=fromSheet,proto3,oneof" json:"from_sheet,omitempty"`
+ // Format: projects/{project}/sheets/{sheet}
+ ToSheet *string `protobuf:"bytes,3,opt,name=to_sheet,json=toSheet,proto3,oneof" json:"to_sheet,omitempty"`
+ FromEarliestAllowedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_earliest_allowed_time,json=fromEarliestAllowedTime,proto3,oneof" json:"from_earliest_allowed_time,omitempty"`
+ ToEarliestAllowedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_earliest_allowed_time,json=toEarliestAllowedTime,proto3,oneof" json:"to_earliest_allowed_time,omitempty"`
+}
+
+func (x *IssueComment_TaskUpdate) Reset() {
+ *x = IssueComment_TaskUpdate{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_TaskUpdate) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_TaskUpdate) ProtoMessage() {}
+
+func (x *IssueComment_TaskUpdate) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_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 IssueComment_TaskUpdate.ProtoReflect.Descriptor instead.
+func (*IssueComment_TaskUpdate) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 4}
+}
+
+func (x *IssueComment_TaskUpdate) GetTasks() []string {
+ if x != nil {
+ return x.Tasks
+ }
+ return nil
+}
+
+func (x *IssueComment_TaskUpdate) GetFromSheet() string {
+ if x != nil && x.FromSheet != nil {
+ return *x.FromSheet
+ }
+ return ""
+}
+
+func (x *IssueComment_TaskUpdate) GetToSheet() string {
+ if x != nil && x.ToSheet != nil {
+ return *x.ToSheet
+ }
+ return ""
+}
+
+func (x *IssueComment_TaskUpdate) GetFromEarliestAllowedTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.FromEarliestAllowedTime
+ }
+ return nil
+}
+
+func (x *IssueComment_TaskUpdate) GetToEarliestAllowedTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.ToEarliestAllowedTime
+ }
+ return nil
+}
+
+type IssueComment_TaskPriorBackup struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
+ Tables []*IssueComment_TaskPriorBackup_Table `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`
+}
+
+func (x *IssueComment_TaskPriorBackup) Reset() {
+ *x = IssueComment_TaskPriorBackup{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_TaskPriorBackup) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_TaskPriorBackup) ProtoMessage() {}
+
+func (x *IssueComment_TaskPriorBackup) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_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 IssueComment_TaskPriorBackup.ProtoReflect.Descriptor instead.
+func (*IssueComment_TaskPriorBackup) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 5}
+}
+
+func (x *IssueComment_TaskPriorBackup) GetTask() string {
+ if x != nil {
+ return x.Task
+ }
+ return ""
+}
+
+func (x *IssueComment_TaskPriorBackup) GetTables() []*IssueComment_TaskPriorBackup_Table {
+ if x != nil {
+ return x.Tables
+ }
+ return nil
+}
+
+type IssueComment_TaskPriorBackup_Table struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
+ Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
+}
+
+func (x *IssueComment_TaskPriorBackup_Table) Reset() {
+ *x = IssueComment_TaskPriorBackup_Table{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_issue_service_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *IssueComment_TaskPriorBackup_Table) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IssueComment_TaskPriorBackup_Table) ProtoMessage() {}
+
+func (x *IssueComment_TaskPriorBackup_Table) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_issue_service_proto_msgTypes[29]
+ 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 IssueComment_TaskPriorBackup_Table.ProtoReflect.Descriptor instead.
+func (*IssueComment_TaskPriorBackup_Table) Descriptor() ([]byte, []int) {
+ return file_v1_issue_service_proto_rawDescGZIP(), []int{20, 5, 0}
+}
+
+func (x *IssueComment_TaskPriorBackup_Table) GetSchema() string {
+ if x != nil {
+ return x.Schema
+ }
+ return ""
+}
+
+func (x *IssueComment_TaskPriorBackup_Table) GetTable() string {
+ if x != nil {
+ return x.Table
+ }
+ return ""
+}
+
var File_v1_issue_service_proto protoreflect.FileDescriptor
var file_v1_issue_service_proto_rawDesc = []byte{
@@ -2284,7 +2952,7 @@ var file_v1_issue_service_proto_rawDesc = []byte{
0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xdd, 0x01, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43,
+ 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x99, 0x11, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43,
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
@@ -2298,111 +2966,235 @@ var file_v1_issue_service_proto_rawDesc = []byte{
0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x4d, 0x0a, 0x0b, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x53, 0x54,
- 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
- 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
- 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c,
- 0x45, 0x44, 0x10, 0x03, 0x32, 0x9d, 0x0c, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75,
- 0x65, 0x12, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x47, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73,
- 0x73, 0x75, 0x65, 0x22, 0x2d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f,
- 0x2a, 0x7d, 0x12, 0x80, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x3c, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x2c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x05,
- 0x69, 0x73, 0x73, 0x75, 0x65, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69,
- 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x7e, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69,
- 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x82, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
- 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x73, 0x73, 0x75, 0x65,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x73, 0x73,
- 0x75, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x8b, 0x01, 0x0a, 0x0b, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49,
+ 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65,
+ 0x61, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61,
+ 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18,
+ 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
+ 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x08, 0x61, 0x70, 0x70,
+ 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x4a, 0x0a, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x0a,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
+ 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x08, 0x73, 0x74, 0x61, 0x67,
+ 0x65, 0x45, 0x6e, 0x64, 0x12, 0x51, 0x0a, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e,
+ 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75,
+ 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75,
+ 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65,
+ 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x12, 0x57, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x62,
+ 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x6f, 0x72,
+ 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72,
+ 0x69, 0x6f, 0x72, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x1a, 0x98, 0x01, 0x0a, 0x08, 0x41, 0x70,
+ 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x41, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
+ 0x74, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x49, 0x0a, 0x06, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e,
+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50,
+ 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52,
+ 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54,
+ 0x45, 0x44, 0x10, 0x03, 0x1a, 0xfd, 0x03, 0x0a, 0x0b, 0x49, 0x73, 0x73, 0x75, 0x65, 0x55, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x69, 0x74,
+ 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d,
+ 0x54, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x6f, 0x5f, 0x74,
+ 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x74, 0x6f,
+ 0x54, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x10, 0x66, 0x72, 0x6f, 0x6d,
+ 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x48, 0x02, 0x52, 0x0f, 0x66, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x74, 0x6f, 0x5f, 0x64,
+ 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
+ 0x48, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x73, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x48, 0x04, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x48, 0x05, 0x52, 0x08, 0x74, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01,
+ 0x12, 0x28, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65,
+ 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x41,
+ 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x74, 0x6f,
+ 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48,
+ 0x07, 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x88, 0x01, 0x01,
+ 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42,
+ 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x13, 0x0a, 0x11,
+ 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x73, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x73, 0x73, 0x69,
+ 0x67, 0x6e, 0x65, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x73, 0x73, 0x69,
+ 0x67, 0x6e, 0x65, 0x65, 0x1a, 0x20, 0x0a, 0x08, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x64,
+ 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x1a, 0xde, 0x01, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x52,
+ 0x75, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b,
+ 0x5f, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73,
+ 0x6b, 0x52, 0x75, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x08, 0x74, 0x6f, 0x53, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x22, 0x50, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e,
+ 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e,
+ 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a,
+ 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x6f,
+ 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xf6, 0x02, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x22, 0x0a, 0x0a,
+ 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x48, 0x00, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x68, 0x65, 0x65, 0x74, 0x88, 0x01, 0x01,
+ 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x6f, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x74, 0x6f, 0x53, 0x68, 0x65, 0x65, 0x74, 0x88, 0x01, 0x01,
+ 0x12, 0x5c, 0x0a, 0x1a, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73,
+ 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
+ 0x48, 0x02, 0x52, 0x17, 0x66, 0x72, 0x6f, 0x6d, 0x45, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74,
+ 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x58,
+ 0x0a, 0x18, 0x74, 0x6f, 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c,
+ 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x03, 0x52, 0x15,
+ 0x74, 0x6f, 0x45, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65,
+ 0x64, 0x54, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x66, 0x72, 0x6f,
+ 0x6d, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x6f, 0x5f, 0x73,
+ 0x68, 0x65, 0x65, 0x74, 0x42, 0x1d, 0x0a, 0x1b, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x65, 0x61,
+ 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x74,
+ 0x69, 0x6d, 0x65, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x74, 0x6f, 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x69,
+ 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
+ 0x1a, 0xa5, 0x01, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x42, 0x61,
+ 0x63, 0x6b, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x47, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x42, 0x61, 0x63,
+ 0x6b, 0x75, 0x70, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x73, 0x1a, 0x35, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e,
+ 0x74, 0x2a, 0x4d, 0x0a, 0x0b, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,
+ 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08,
+ 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45,
+ 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03,
+ 0x32, 0x9d, 0x0c, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x12, 0x6b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1c, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49,
0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79,
0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22,
- 0x47, 0xda, 0x41, 0x11, 0x69, 0x73, 0x73, 0x75, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x05, 0x69, 0x73, 0x73,
- 0x75, 0x65, 0x32, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69,
- 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,
- 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
- 0x6e, 0x74, 0x22, 0x56, 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x73,
- 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x39, 0x3a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f,
- 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xbb, 0x01, 0x0a, 0x12, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
- 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x62, 0xda, 0x41, 0x20, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c,
- 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a,
- 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x28,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d,
- 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xb1, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74,
- 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73,
- 0x73, 0x75, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65,
- 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x3a, 0x01, 0x2a, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
- 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x77, 0x0a, 0x0c,
- 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x20, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f,
- 0x76, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f,
- 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x70,
- 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x74, 0x0a, 0x0b, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x49,
- 0x73, 0x73, 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
+ 0x2d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x80,
+ 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1f,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73,
+ 0x73, 0x75, 0x65, 0x22, 0x3c, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69,
+ 0x73, 0x73, 0x75, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x05, 0x69, 0x73, 0x73, 0x75,
+ 0x65, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65,
+ 0x73, 0x12, 0x7e, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12,
+ 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
+ 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
+ 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x22, 0x2f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+ 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65,
+ 0x73, 0x12, 0x82, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x73, 0x73, 0x75,
+ 0x65, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12,
+ 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x3a,
+ 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x8b, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x47, 0xda, 0x41, 0x11,
+ 0x69, 0x73, 0x73, 0x75, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
+ 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x32, 0x24,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65,
- 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x77, 0x0a, 0x0c, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75,
- 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76,
- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
- 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
- 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49,
+ 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x56,
+ 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x0d, 0x69,
+ 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x28, 0x2f, 0x76,
+ 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xbb, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
+ 0x22, 0x62, 0xda, 0x41, 0x20, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x73, 0x73, 0x75,
+ 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x0d, 0x69, 0x73, 0x73,
+ 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x28, 0x2f, 0x76, 0x31, 0x2f,
+ 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xb1, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x12, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,
+ 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63,
+ 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x35, 0x3a, 0x01, 0x2a, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
+ 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x77, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72,
+ 0x6f, 0x76, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x49, 0x73,
+ 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x31,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76,
+ 0x65, 0x12, 0x74, 0x0a, 0x0b, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65,
+ 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
+ 0x65, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a,
+ 0x22, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d,
+ 0x3a, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x77, 0x0a, 0x0c, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x73, 0x73,
+ 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x31, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x69,
+ 0x73, 0x73, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 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 (
@@ -2417,101 +3209,123 @@ func file_v1_issue_service_proto_rawDescGZIP() []byte {
return file_v1_issue_service_proto_rawDescData
}
-var file_v1_issue_service_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
-var file_v1_issue_service_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
+var file_v1_issue_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
+var file_v1_issue_service_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
var file_v1_issue_service_proto_goTypes = []interface{}{
- (IssueStatus)(0), // 0: bytebase.v1.IssueStatus
- (Issue_Type)(0), // 1: bytebase.v1.Issue.Type
- (Issue_RiskLevel)(0), // 2: bytebase.v1.Issue.RiskLevel
- (Issue_Approver_Status)(0), // 3: bytebase.v1.Issue.Approver.Status
- (ApprovalStep_Type)(0), // 4: bytebase.v1.ApprovalStep.Type
- (ApprovalNode_Type)(0), // 5: bytebase.v1.ApprovalNode.Type
- (ApprovalNode_GroupValue)(0), // 6: bytebase.v1.ApprovalNode.GroupValue
- (*GetIssueRequest)(nil), // 7: bytebase.v1.GetIssueRequest
- (*CreateIssueRequest)(nil), // 8: bytebase.v1.CreateIssueRequest
- (*ListIssuesRequest)(nil), // 9: bytebase.v1.ListIssuesRequest
- (*ListIssuesResponse)(nil), // 10: bytebase.v1.ListIssuesResponse
- (*SearchIssuesRequest)(nil), // 11: bytebase.v1.SearchIssuesRequest
- (*SearchIssuesResponse)(nil), // 12: bytebase.v1.SearchIssuesResponse
- (*UpdateIssueRequest)(nil), // 13: bytebase.v1.UpdateIssueRequest
- (*BatchUpdateIssuesStatusRequest)(nil), // 14: bytebase.v1.BatchUpdateIssuesStatusRequest
- (*BatchUpdateIssuesStatusResponse)(nil), // 15: bytebase.v1.BatchUpdateIssuesStatusResponse
- (*ApproveIssueRequest)(nil), // 16: bytebase.v1.ApproveIssueRequest
- (*RejectIssueRequest)(nil), // 17: bytebase.v1.RejectIssueRequest
- (*RequestIssueRequest)(nil), // 18: bytebase.v1.RequestIssueRequest
- (*Issue)(nil), // 19: bytebase.v1.Issue
- (*GrantRequest)(nil), // 20: bytebase.v1.GrantRequest
- (*ApprovalTemplate)(nil), // 21: bytebase.v1.ApprovalTemplate
- (*ApprovalFlow)(nil), // 22: bytebase.v1.ApprovalFlow
- (*ApprovalStep)(nil), // 23: bytebase.v1.ApprovalStep
- (*ApprovalNode)(nil), // 24: bytebase.v1.ApprovalNode
- (*CreateIssueCommentRequest)(nil), // 25: bytebase.v1.CreateIssueCommentRequest
- (*UpdateIssueCommentRequest)(nil), // 26: bytebase.v1.UpdateIssueCommentRequest
- (*IssueComment)(nil), // 27: bytebase.v1.IssueComment
- (*Issue_Approver)(nil), // 28: bytebase.v1.Issue.Approver
- nil, // 29: bytebase.v1.Issue.TaskStatusCountEntry
- (*fieldmaskpb.FieldMask)(nil), // 30: google.protobuf.FieldMask
- (*timestamppb.Timestamp)(nil), // 31: google.protobuf.Timestamp
- (*expr.Expr)(nil), // 32: google.type.Expr
- (*durationpb.Duration)(nil), // 33: google.protobuf.Duration
+ (IssueStatus)(0), // 0: bytebase.v1.IssueStatus
+ (Issue_Type)(0), // 1: bytebase.v1.Issue.Type
+ (Issue_RiskLevel)(0), // 2: bytebase.v1.Issue.RiskLevel
+ (Issue_Approver_Status)(0), // 3: bytebase.v1.Issue.Approver.Status
+ (ApprovalStep_Type)(0), // 4: bytebase.v1.ApprovalStep.Type
+ (ApprovalNode_Type)(0), // 5: bytebase.v1.ApprovalNode.Type
+ (ApprovalNode_GroupValue)(0), // 6: bytebase.v1.ApprovalNode.GroupValue
+ (IssueComment_Approval_Status)(0), // 7: bytebase.v1.IssueComment.Approval.Status
+ (IssueComment_TaskRunUpdate_Status)(0), // 8: bytebase.v1.IssueComment.TaskRunUpdate.Status
+ (*GetIssueRequest)(nil), // 9: bytebase.v1.GetIssueRequest
+ (*CreateIssueRequest)(nil), // 10: bytebase.v1.CreateIssueRequest
+ (*ListIssuesRequest)(nil), // 11: bytebase.v1.ListIssuesRequest
+ (*ListIssuesResponse)(nil), // 12: bytebase.v1.ListIssuesResponse
+ (*SearchIssuesRequest)(nil), // 13: bytebase.v1.SearchIssuesRequest
+ (*SearchIssuesResponse)(nil), // 14: bytebase.v1.SearchIssuesResponse
+ (*UpdateIssueRequest)(nil), // 15: bytebase.v1.UpdateIssueRequest
+ (*BatchUpdateIssuesStatusRequest)(nil), // 16: bytebase.v1.BatchUpdateIssuesStatusRequest
+ (*BatchUpdateIssuesStatusResponse)(nil), // 17: bytebase.v1.BatchUpdateIssuesStatusResponse
+ (*ApproveIssueRequest)(nil), // 18: bytebase.v1.ApproveIssueRequest
+ (*RejectIssueRequest)(nil), // 19: bytebase.v1.RejectIssueRequest
+ (*RequestIssueRequest)(nil), // 20: bytebase.v1.RequestIssueRequest
+ (*Issue)(nil), // 21: bytebase.v1.Issue
+ (*GrantRequest)(nil), // 22: bytebase.v1.GrantRequest
+ (*ApprovalTemplate)(nil), // 23: bytebase.v1.ApprovalTemplate
+ (*ApprovalFlow)(nil), // 24: bytebase.v1.ApprovalFlow
+ (*ApprovalStep)(nil), // 25: bytebase.v1.ApprovalStep
+ (*ApprovalNode)(nil), // 26: bytebase.v1.ApprovalNode
+ (*CreateIssueCommentRequest)(nil), // 27: bytebase.v1.CreateIssueCommentRequest
+ (*UpdateIssueCommentRequest)(nil), // 28: bytebase.v1.UpdateIssueCommentRequest
+ (*IssueComment)(nil), // 29: bytebase.v1.IssueComment
+ (*Issue_Approver)(nil), // 30: bytebase.v1.Issue.Approver
+ nil, // 31: bytebase.v1.Issue.TaskStatusCountEntry
+ (*IssueComment_Approval)(nil), // 32: bytebase.v1.IssueComment.Approval
+ (*IssueComment_IssueUpdate)(nil), // 33: bytebase.v1.IssueComment.IssueUpdate
+ (*IssueComment_StageEnd)(nil), // 34: bytebase.v1.IssueComment.StageEnd
+ (*IssueComment_TaskRunUpdate)(nil), // 35: bytebase.v1.IssueComment.TaskRunUpdate
+ (*IssueComment_TaskUpdate)(nil), // 36: bytebase.v1.IssueComment.TaskUpdate
+ (*IssueComment_TaskPriorBackup)(nil), // 37: bytebase.v1.IssueComment.TaskPriorBackup
+ (*IssueComment_TaskPriorBackup_Table)(nil), // 38: bytebase.v1.IssueComment.TaskPriorBackup.Table
+ (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
+ (*timestamppb.Timestamp)(nil), // 40: google.protobuf.Timestamp
+ (*expr.Expr)(nil), // 41: google.type.Expr
+ (*durationpb.Duration)(nil), // 42: google.protobuf.Duration
}
var file_v1_issue_service_proto_depIdxs = []int32{
- 19, // 0: bytebase.v1.CreateIssueRequest.issue:type_name -> bytebase.v1.Issue
- 19, // 1: bytebase.v1.ListIssuesResponse.issues:type_name -> bytebase.v1.Issue
- 19, // 2: bytebase.v1.SearchIssuesResponse.issues:type_name -> bytebase.v1.Issue
- 19, // 3: bytebase.v1.UpdateIssueRequest.issue:type_name -> bytebase.v1.Issue
- 30, // 4: bytebase.v1.UpdateIssueRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 21, // 0: bytebase.v1.CreateIssueRequest.issue:type_name -> bytebase.v1.Issue
+ 21, // 1: bytebase.v1.ListIssuesResponse.issues:type_name -> bytebase.v1.Issue
+ 21, // 2: bytebase.v1.SearchIssuesResponse.issues:type_name -> bytebase.v1.Issue
+ 21, // 3: bytebase.v1.UpdateIssueRequest.issue:type_name -> bytebase.v1.Issue
+ 39, // 4: bytebase.v1.UpdateIssueRequest.update_mask:type_name -> google.protobuf.FieldMask
0, // 5: bytebase.v1.BatchUpdateIssuesStatusRequest.status:type_name -> bytebase.v1.IssueStatus
1, // 6: bytebase.v1.Issue.type:type_name -> bytebase.v1.Issue.Type
0, // 7: bytebase.v1.Issue.status:type_name -> bytebase.v1.IssueStatus
- 28, // 8: bytebase.v1.Issue.approvers:type_name -> bytebase.v1.Issue.Approver
- 21, // 9: bytebase.v1.Issue.approval_templates:type_name -> bytebase.v1.ApprovalTemplate
- 31, // 10: bytebase.v1.Issue.create_time:type_name -> google.protobuf.Timestamp
- 31, // 11: bytebase.v1.Issue.update_time:type_name -> google.protobuf.Timestamp
- 20, // 12: bytebase.v1.Issue.grant_request:type_name -> bytebase.v1.GrantRequest
+ 30, // 8: bytebase.v1.Issue.approvers:type_name -> bytebase.v1.Issue.Approver
+ 23, // 9: bytebase.v1.Issue.approval_templates:type_name -> bytebase.v1.ApprovalTemplate
+ 40, // 10: bytebase.v1.Issue.create_time:type_name -> google.protobuf.Timestamp
+ 40, // 11: bytebase.v1.Issue.update_time:type_name -> google.protobuf.Timestamp
+ 22, // 12: bytebase.v1.Issue.grant_request:type_name -> bytebase.v1.GrantRequest
2, // 13: bytebase.v1.Issue.risk_level:type_name -> bytebase.v1.Issue.RiskLevel
- 29, // 14: bytebase.v1.Issue.task_status_count:type_name -> bytebase.v1.Issue.TaskStatusCountEntry
- 32, // 15: bytebase.v1.GrantRequest.condition:type_name -> google.type.Expr
- 33, // 16: bytebase.v1.GrantRequest.expiration:type_name -> google.protobuf.Duration
- 22, // 17: bytebase.v1.ApprovalTemplate.flow:type_name -> bytebase.v1.ApprovalFlow
- 23, // 18: bytebase.v1.ApprovalFlow.steps:type_name -> bytebase.v1.ApprovalStep
+ 31, // 14: bytebase.v1.Issue.task_status_count:type_name -> bytebase.v1.Issue.TaskStatusCountEntry
+ 41, // 15: bytebase.v1.GrantRequest.condition:type_name -> google.type.Expr
+ 42, // 16: bytebase.v1.GrantRequest.expiration:type_name -> google.protobuf.Duration
+ 24, // 17: bytebase.v1.ApprovalTemplate.flow:type_name -> bytebase.v1.ApprovalFlow
+ 25, // 18: bytebase.v1.ApprovalFlow.steps:type_name -> bytebase.v1.ApprovalStep
4, // 19: bytebase.v1.ApprovalStep.type:type_name -> bytebase.v1.ApprovalStep.Type
- 24, // 20: bytebase.v1.ApprovalStep.nodes:type_name -> bytebase.v1.ApprovalNode
+ 26, // 20: bytebase.v1.ApprovalStep.nodes:type_name -> bytebase.v1.ApprovalNode
5, // 21: bytebase.v1.ApprovalNode.type:type_name -> bytebase.v1.ApprovalNode.Type
6, // 22: bytebase.v1.ApprovalNode.group_value:type_name -> bytebase.v1.ApprovalNode.GroupValue
- 27, // 23: bytebase.v1.CreateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
- 27, // 24: bytebase.v1.UpdateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
- 30, // 25: bytebase.v1.UpdateIssueCommentRequest.update_mask:type_name -> google.protobuf.FieldMask
- 31, // 26: bytebase.v1.IssueComment.create_time:type_name -> google.protobuf.Timestamp
- 31, // 27: bytebase.v1.IssueComment.update_time:type_name -> google.protobuf.Timestamp
- 3, // 28: bytebase.v1.Issue.Approver.status:type_name -> bytebase.v1.Issue.Approver.Status
- 7, // 29: bytebase.v1.IssueService.GetIssue:input_type -> bytebase.v1.GetIssueRequest
- 8, // 30: bytebase.v1.IssueService.CreateIssue:input_type -> bytebase.v1.CreateIssueRequest
- 9, // 31: bytebase.v1.IssueService.ListIssues:input_type -> bytebase.v1.ListIssuesRequest
- 11, // 32: bytebase.v1.IssueService.SearchIssues:input_type -> bytebase.v1.SearchIssuesRequest
- 13, // 33: bytebase.v1.IssueService.UpdateIssue:input_type -> bytebase.v1.UpdateIssueRequest
- 25, // 34: bytebase.v1.IssueService.CreateIssueComment:input_type -> bytebase.v1.CreateIssueCommentRequest
- 26, // 35: bytebase.v1.IssueService.UpdateIssueComment:input_type -> bytebase.v1.UpdateIssueCommentRequest
- 14, // 36: bytebase.v1.IssueService.BatchUpdateIssuesStatus:input_type -> bytebase.v1.BatchUpdateIssuesStatusRequest
- 16, // 37: bytebase.v1.IssueService.ApproveIssue:input_type -> bytebase.v1.ApproveIssueRequest
- 17, // 38: bytebase.v1.IssueService.RejectIssue:input_type -> bytebase.v1.RejectIssueRequest
- 18, // 39: bytebase.v1.IssueService.RequestIssue:input_type -> bytebase.v1.RequestIssueRequest
- 19, // 40: bytebase.v1.IssueService.GetIssue:output_type -> bytebase.v1.Issue
- 19, // 41: bytebase.v1.IssueService.CreateIssue:output_type -> bytebase.v1.Issue
- 10, // 42: bytebase.v1.IssueService.ListIssues:output_type -> bytebase.v1.ListIssuesResponse
- 12, // 43: bytebase.v1.IssueService.SearchIssues:output_type -> bytebase.v1.SearchIssuesResponse
- 19, // 44: bytebase.v1.IssueService.UpdateIssue:output_type -> bytebase.v1.Issue
- 27, // 45: bytebase.v1.IssueService.CreateIssueComment:output_type -> bytebase.v1.IssueComment
- 27, // 46: bytebase.v1.IssueService.UpdateIssueComment:output_type -> bytebase.v1.IssueComment
- 15, // 47: bytebase.v1.IssueService.BatchUpdateIssuesStatus:output_type -> bytebase.v1.BatchUpdateIssuesStatusResponse
- 19, // 48: bytebase.v1.IssueService.ApproveIssue:output_type -> bytebase.v1.Issue
- 19, // 49: bytebase.v1.IssueService.RejectIssue:output_type -> bytebase.v1.Issue
- 19, // 50: bytebase.v1.IssueService.RequestIssue:output_type -> bytebase.v1.Issue
- 40, // [40:51] is the sub-list for method output_type
- 29, // [29:40] is the sub-list for method input_type
- 29, // [29:29] is the sub-list for extension type_name
- 29, // [29:29] is the sub-list for extension extendee
- 0, // [0:29] is the sub-list for field type_name
+ 29, // 23: bytebase.v1.CreateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
+ 29, // 24: bytebase.v1.UpdateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
+ 39, // 25: bytebase.v1.UpdateIssueCommentRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 40, // 26: bytebase.v1.IssueComment.create_time:type_name -> google.protobuf.Timestamp
+ 40, // 27: bytebase.v1.IssueComment.update_time:type_name -> google.protobuf.Timestamp
+ 32, // 28: bytebase.v1.IssueComment.approval:type_name -> bytebase.v1.IssueComment.Approval
+ 33, // 29: bytebase.v1.IssueComment.issue_update:type_name -> bytebase.v1.IssueComment.IssueUpdate
+ 34, // 30: bytebase.v1.IssueComment.stage_end:type_name -> bytebase.v1.IssueComment.StageEnd
+ 35, // 31: bytebase.v1.IssueComment.task_run_update:type_name -> bytebase.v1.IssueComment.TaskRunUpdate
+ 36, // 32: bytebase.v1.IssueComment.task_update:type_name -> bytebase.v1.IssueComment.TaskUpdate
+ 37, // 33: bytebase.v1.IssueComment.task_prior_backup:type_name -> bytebase.v1.IssueComment.TaskPriorBackup
+ 3, // 34: bytebase.v1.Issue.Approver.status:type_name -> bytebase.v1.Issue.Approver.Status
+ 7, // 35: bytebase.v1.IssueComment.Approval.status:type_name -> bytebase.v1.IssueComment.Approval.Status
+ 0, // 36: bytebase.v1.IssueComment.IssueUpdate.from_status:type_name -> bytebase.v1.IssueStatus
+ 0, // 37: bytebase.v1.IssueComment.IssueUpdate.to_status:type_name -> bytebase.v1.IssueStatus
+ 8, // 38: bytebase.v1.IssueComment.TaskRunUpdate.to_status:type_name -> bytebase.v1.IssueComment.TaskRunUpdate.Status
+ 40, // 39: bytebase.v1.IssueComment.TaskUpdate.from_earliest_allowed_time:type_name -> google.protobuf.Timestamp
+ 40, // 40: bytebase.v1.IssueComment.TaskUpdate.to_earliest_allowed_time:type_name -> google.protobuf.Timestamp
+ 38, // 41: bytebase.v1.IssueComment.TaskPriorBackup.tables:type_name -> bytebase.v1.IssueComment.TaskPriorBackup.Table
+ 9, // 42: bytebase.v1.IssueService.GetIssue:input_type -> bytebase.v1.GetIssueRequest
+ 10, // 43: bytebase.v1.IssueService.CreateIssue:input_type -> bytebase.v1.CreateIssueRequest
+ 11, // 44: bytebase.v1.IssueService.ListIssues:input_type -> bytebase.v1.ListIssuesRequest
+ 13, // 45: bytebase.v1.IssueService.SearchIssues:input_type -> bytebase.v1.SearchIssuesRequest
+ 15, // 46: bytebase.v1.IssueService.UpdateIssue:input_type -> bytebase.v1.UpdateIssueRequest
+ 27, // 47: bytebase.v1.IssueService.CreateIssueComment:input_type -> bytebase.v1.CreateIssueCommentRequest
+ 28, // 48: bytebase.v1.IssueService.UpdateIssueComment:input_type -> bytebase.v1.UpdateIssueCommentRequest
+ 16, // 49: bytebase.v1.IssueService.BatchUpdateIssuesStatus:input_type -> bytebase.v1.BatchUpdateIssuesStatusRequest
+ 18, // 50: bytebase.v1.IssueService.ApproveIssue:input_type -> bytebase.v1.ApproveIssueRequest
+ 19, // 51: bytebase.v1.IssueService.RejectIssue:input_type -> bytebase.v1.RejectIssueRequest
+ 20, // 52: bytebase.v1.IssueService.RequestIssue:input_type -> bytebase.v1.RequestIssueRequest
+ 21, // 53: bytebase.v1.IssueService.GetIssue:output_type -> bytebase.v1.Issue
+ 21, // 54: bytebase.v1.IssueService.CreateIssue:output_type -> bytebase.v1.Issue
+ 12, // 55: bytebase.v1.IssueService.ListIssues:output_type -> bytebase.v1.ListIssuesResponse
+ 14, // 56: bytebase.v1.IssueService.SearchIssues:output_type -> bytebase.v1.SearchIssuesResponse
+ 21, // 57: bytebase.v1.IssueService.UpdateIssue:output_type -> bytebase.v1.Issue
+ 29, // 58: bytebase.v1.IssueService.CreateIssueComment:output_type -> bytebase.v1.IssueComment
+ 29, // 59: bytebase.v1.IssueService.UpdateIssueComment:output_type -> bytebase.v1.IssueComment
+ 17, // 60: bytebase.v1.IssueService.BatchUpdateIssuesStatus:output_type -> bytebase.v1.BatchUpdateIssuesStatusResponse
+ 21, // 61: bytebase.v1.IssueService.ApproveIssue:output_type -> bytebase.v1.Issue
+ 21, // 62: bytebase.v1.IssueService.RejectIssue:output_type -> bytebase.v1.Issue
+ 21, // 63: bytebase.v1.IssueService.RequestIssue:output_type -> bytebase.v1.Issue
+ 53, // [53:64] is the sub-list for method output_type
+ 42, // [42:53] is the sub-list for method input_type
+ 42, // [42:42] is the sub-list for extension type_name
+ 42, // [42:42] is the sub-list for extension extendee
+ 0, // [0:42] is the sub-list for field type_name
}
func init() { file_v1_issue_service_proto_init() }
@@ -2784,19 +3598,114 @@ func file_v1_issue_service_proto_init() {
return nil
}
}
+ file_v1_issue_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_Approval); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_issue_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_IssueUpdate); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_issue_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_StageEnd); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_issue_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_TaskRunUpdate); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_issue_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_TaskUpdate); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_issue_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_TaskPriorBackup); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_issue_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IssueComment_TaskPriorBackup_Table); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
}
file_v1_issue_service_proto_msgTypes[17].OneofWrappers = []interface{}{
(*ApprovalNode_GroupValue_)(nil),
(*ApprovalNode_Role)(nil),
(*ApprovalNode_ExternalNodeId)(nil),
}
+ file_v1_issue_service_proto_msgTypes[20].OneofWrappers = []interface{}{
+ (*IssueComment_Approval_)(nil),
+ (*IssueComment_IssueUpdate_)(nil),
+ (*IssueComment_StageEnd_)(nil),
+ (*IssueComment_TaskRunUpdate_)(nil),
+ (*IssueComment_TaskUpdate_)(nil),
+ (*IssueComment_TaskPriorBackup_)(nil),
+ }
+ file_v1_issue_service_proto_msgTypes[24].OneofWrappers = []interface{}{}
+ file_v1_issue_service_proto_msgTypes[26].OneofWrappers = []interface{}{}
+ file_v1_issue_service_proto_msgTypes[27].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_issue_service_proto_rawDesc,
- NumEnums: 7,
- NumMessages: 23,
+ NumEnums: 9,
+ NumMessages: 30,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/v1/issue_service.proto b/proto/v1/issue_service.proto
index 01552236ca..49a9fab8d8 100644
--- a/proto/v1/issue_service.proto
+++ b/proto/v1/issue_service.proto
@@ -437,4 +437,80 @@ message IssueComment {
google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Format: projects/{project}/issues/{issue}/issueComments/{issueComment-uid}
+ string name = 6;
+
+ // Format: users/{email}
+ string creator = 7;
+
+ oneof event {
+ Approval approval = 8;
+ IssueUpdate issue_update = 9;
+ StageEnd stage_end = 10;
+ TaskRunUpdate task_run_update = 11;
+ TaskUpdate task_update = 12;
+ TaskPriorBackup task_prior_backup = 13;
+ }
+
+ message Approval {
+ Status status = 1;
+
+ enum Status {
+ STATUS_UNSPECIFIED = 0;
+ PENDING = 1;
+ APPROVED = 2;
+ REJECTED = 3;
+ }
+ }
+
+ message IssueUpdate {
+ optional string from_title = 1;
+ optional string to_title = 2;
+ optional string from_description = 3;
+ optional string to_description = 4;
+ optional IssueStatus from_status = 5;
+ optional IssueStatus to_status = 6;
+ // Format: users/{email}
+ optional string from_assignee = 7;
+ // Format: users/{email}
+ optional string to_assignee = 8;
+ }
+
+ message StageEnd {
+ string stage = 1;
+ }
+
+ message TaskRunUpdate {
+ repeated string task_runs = 1;
+ optional Status to_status = 2;
+
+ enum Status {
+ STATUS_UNSPECIFIED = 0;
+ PENDING = 1;
+ RUNNING = 2;
+ DONE = 3;
+ FAILED = 4;
+ }
+ }
+
+ message TaskUpdate {
+ repeated string tasks = 1;
+ // Format: projects/{project}/sheets/{sheet}
+ optional string from_sheet = 2;
+ // Format: projects/{project}/sheets/{sheet}
+ optional string to_sheet = 3;
+ optional google.protobuf.Timestamp from_earliest_allowed_time = 4;
+ optional google.protobuf.Timestamp to_earliest_allowed_time = 5;
+ }
+
+ message TaskPriorBackup {
+ string task = 1;
+ repeated Table tables = 2;
+
+ message Table {
+ string schema = 1;
+ string table = 2;
+ }
+ }
}