Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: rename issue part 6 (#6945)
Danny Xu6e64512f32df
diff --git a/backend/api/v1/issue_service.go b/backend/api/v1/issue_service.goindex 056be104d3..6f99dd094f 100644--- a/backend/api/v1/issue_service.go+++ b/backend/api/v1/issue_service.go@@ -56,7 +56,7 @@ func NewIssueService(store *store.Store, activityManager *activity.Manager, task// GetIssue gets a issue.// Currently, only issue.ApprovalTemplates and issue.Approvers are set.-func (s *IssueService) GetIssue(ctx context.Context, request *v1pb.GetIssueRequest) (*v1pb.Review, error) {+func (s *IssueService) GetIssue(ctx context.Context, request *v1pb.GetIssueRequest) (*v1pb.Issue, error) {issue, err := s.getIssueMessage(ctx, request.Name)if err != nil {return nil, err@@ -91,15 +91,15 @@ func (s *IssueService) GetIssue(ctx context.Context, request *v1pb.GetIssueRequeif err != nil {return nil, err}- review, err := convertToReview(ctx, s.store, issue)+ issueV1, err := convertToIssue(ctx, s.store, issue)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert to issue, error: %v", err)}- return review, nil+ return issueV1, nil}// ApproveIssue approves the approval flow of the issue.-func (s *IssueService) ApproveIssue(ctx context.Context, request *v1pb.ApproveIssueRequest) (*v1pb.Review, error) {+func (s *IssueService) ApproveIssue(ctx context.Context, request *v1pb.ApproveIssueRequest) (*v1pb.Issue, error) {issue, err := s.getIssueMessage(ctx, request.Name)if err != nil {return nil, err@@ -319,15 +319,15 @@ func (s *IssueService) ApproveIssue(ctx context.Context, request *v1pb.ApproveIss.onIssueApproved(ctx, issue)- review, err := convertToReview(ctx, s.store, issue)+ issueV1, err := convertToIssue(ctx, s.store, issue)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert to issue, error: %v", err)}- return review, nil+ return issueV1, nil}// RejectIssue rejects a issue.-func (s *IssueService) RejectIssue(ctx context.Context, request *v1pb.RejectIssueRequest) (*v1pb.Review, error) {+func (s *IssueService) RejectIssue(ctx context.Context, request *v1pb.RejectIssueRequest) (*v1pb.Issue, error) {issue, err := s.getIssueMessage(ctx, request.Name)if err != nil {return nil, err@@ -425,15 +425,15 @@ func (s *IssueService) RejectIssue(ctx context.Context, request *v1pb.RejectIssulog.Error("failed to create activity after rejecting issue", zap.Error(err))}- review, err := convertToReview(ctx, s.store, issue)+ issueV1, err := convertToIssue(ctx, s.store, issue)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert to issue, error: %v", err)}- return review, nil+ return issueV1, nil}// RequestIssue requests a issue.-func (s *IssueService) RequestIssue(ctx context.Context, request *v1pb.RequestIssueRequest) (*v1pb.Review, error) {+func (s *IssueService) RequestIssue(ctx context.Context, request *v1pb.RequestIssueRequest) (*v1pb.Issue, error) {issue, err := s.getIssueMessage(ctx, request.Name)if err != nil {return nil, err@@ -535,16 +535,16 @@ func (s *IssueService) RequestIssue(ctx context.Context, request *v1pb.RequestIslog.Error("failed to create skipping steps activity after approving issue", zap.Error(err))}- review, err := convertToReview(ctx, s.store, issue)+ issueV1, err := convertToIssue(ctx, s.store, issue)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert to issue, error: %v", err)}- return review, nil+ return issueV1, nil}// UpdateIssue updates the issue.// It can only update approval_finding_done to false.-func (s *IssueService) UpdateIssue(ctx context.Context, request *v1pb.UpdateIssueRequest) (*v1pb.Review, error) {+func (s *IssueService) UpdateIssue(ctx context.Context, request *v1pb.UpdateIssueRequest) (*v1pb.Issue, error) {principalID := ctx.Value(common.PrincipalIDContextKey).(int)if request.UpdateMask == nil {return nil, status.Errorf(codes.InvalidArgument, "update_mask must be set")@@ -596,11 +596,11 @@ func (s *IssueService) UpdateIssue(ctx context.Context, request *v1pb.UpdateIssus.stateCfg.ApprovalFinding.Store(issue.UID, issue)- review, err := convertToReview(ctx, s.store, issue)+ issueV1, err := convertToIssue(ctx, s.store, issue)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert to issue, error: %v", err)}- return review, nil+ return issueV1, nil}// CreateIssueComment creates the issue comment.@@ -715,16 +715,16 @@ func (s *IssueService) onIssueApproved(ctx context.Context, issue *store.IssueMe}func (s *IssueService) getIssueMessage(ctx context.Context, name string) (*store.IssueMessage, error) {- reviewID, err := getIssueID(name)+ issueID, err := getIssueID(name)if err != nil {return nil, status.Errorf(codes.InvalidArgument, err.Error())}- issue, err := s.store.GetIssueV2(ctx, &store.FindIssueMessage{UID: &reviewID})+ issue, err := s.store.GetIssueV2(ctx, &store.FindIssueMessage{UID: &issueID})if err != nil {return nil, status.Errorf(codes.Internal, "failed to get issue, error: %v", err)}if issue == nil {- return nil, status.Errorf(codes.NotFound, "issue %d not found", reviewID)+ return nil, status.Errorf(codes.NotFound, "issue %d not found", issueID)}return issue, nil}@@ -783,13 +783,13 @@ func isUserReviewer(step *storepb.ApprovalStep, user *store.UserMessage, policyreturn false, nil}-func convertToReview(ctx context.Context, s *store.Store, issue *store.IssueMessage) (*v1pb.Review, error) {+func convertToIssue(ctx context.Context, s *store.Store, issue *store.IssueMessage) (*v1pb.Issue, error) {issuePayload := &storepb.IssuePayload{}if err := protojson.Unmarshal([]byte(issue.Payload), issuePayload); err != nil {return nil, errors.Wrap(err, "failed to unmarshal issue payload")}- review := &v1pb.Review{+ issueV1 := &v1pb.Issue{Name: fmt.Sprintf("%s%s/%s%d", projectNamePrefix, issue.Project.ResourceID, reviewPrefix, issue.UID),Uid: fmt.Sprintf("%d", issue.UID),Title: issue.Title,@@ -803,38 +803,38 @@ func convertToReview(ctx context.Context, s *store.Store, issue *store.IssueMess}for _, subscriber := range issue.Subscribers {- review.Subscribers = append(review.Subscribers, fmt.Sprintf("%s%s", userNamePrefix, subscriber.Email))+ issueV1.Subscribers = append(issueV1.Subscribers, fmt.Sprintf("%s%s", userNamePrefix, subscriber.Email))}switch issue.Status {case api.IssueOpen:- review.Status = v1pb.IssueStatus_OPEN+ issueV1.Status = v1pb.IssueStatus_OPENcase api.IssueDone:- review.Status = v1pb.IssueStatus_DONE+ issueV1.Status = v1pb.IssueStatus_DONEcase api.IssueCanceled:- review.Status = v1pb.IssueStatus_CANCELED+ issueV1.Status = v1pb.IssueStatus_CANCELEDdefault:- review.Status = v1pb.IssueStatus_ISSUE_STATUS_UNSPECIFIED+ issueV1.Status = v1pb.IssueStatus_ISSUE_STATUS_UNSPECIFIED}if issuePayload.Approval != nil {- review.ApprovalFindingDone = issuePayload.Approval.ApprovalFindingDone- review.ApprovalFindingError = issuePayload.Approval.ApprovalFindingError+ issueV1.ApprovalFindingDone = issuePayload.Approval.ApprovalFindingDone+ issueV1.ApprovalFindingError = issuePayload.Approval.ApprovalFindingErrorfor _, template := range issuePayload.Approval.ApprovalTemplates {- review.ApprovalTemplates = append(review.ApprovalTemplates, convertToApprovalTemplate(template))+ issueV1.ApprovalTemplates = append(issueV1.ApprovalTemplates, convertToApprovalTemplate(template))}for _, approver := range issuePayload.Approval.Approvers {- convertedApprover := &v1pb.Review_Approver{Status: v1pb.Review_Approver_Status(approver.Status)}+ convertedApprover := &v1pb.Issue_Approver{Status: v1pb.Issue_Approver_Status(approver.Status)}user, err := s.GetUserByID(ctx, int(approver.PrincipalId))if err != nil {return nil, errors.Wrapf(err, "failed to find user by id %v", approver.PrincipalId)}convertedApprover.Principal = fmt.Sprintf("users/%s", user.Email)- review.Approvers = append(review.Approvers, convertedApprover)+ issueV1.Approvers = append(issueV1.Approvers, convertedApprover)}}- return review, nil+ return issueV1, nil}func convertToIssueStatus(status api.IssueStatus) v1pb.IssueStatus {diff --git a/frontend/src/components/Issue/IssueBanner.vue b/frontend/src/components/Issue/IssueBanner.vueindex 30535dee8d..7294f89f31 100644--- a/frontend/src/components/Issue/IssueBanner.vue+++ b/frontend/src/components/Issue/IssueBanner.vue@@ -51,7 +51,7 @@ import { Issue } from "@/types";import { activeTask, isDatabaseRelatedIssueType } from "@/utils";import { useIssueLogic } from "./logic";import { useIssueReviewContext } from "@/plugins/issue/logic/review/context";-import { Review_Approver_Status } from "@/types/proto/v1/issue_service";+import { Issue_Approver_Status } from "@/types/proto/v1/issue_service";const issueContext = useIssueLogic();const issue = issueContext.issue as Ref<Issue>;@@ -60,13 +60,13 @@ const reviewContext = useIssueReviewContext();const showPendingReview = computed(() => {if (issueContext.create.value) return false;if (issue.value.status !== "OPEN") return false;- return reviewContext.status.value === Review_Approver_Status.PENDING;+ return reviewContext.status.value === Issue_Approver_Status.PENDING;});const showRejectedReview = computed(() => {if (issueContext.create.value) return false;if (issue.value.status !== "OPEN") return false;- return reviewContext.status.value === Review_Approver_Status.REJECTED;+ return reviewContext.status.value === Issue_Approver_Status.REJECTED;});const showCancelBanner = computed(() => {diff --git a/frontend/src/components/Issue/logic/transition.ts b/frontend/src/components/Issue/logic/transition.tsindex 9cb78eb357..6f4414d9e3 100644--- a/frontend/src/components/Issue/logic/transition.ts+++ b/frontend/src/components/Issue/logic/transition.ts@@ -1,7 +1,8 @@import { computed, Ref } from "vue";import { useCurrentUserV1, useProjectV1Store } from "@/store";import {- Issue,+ Issue as LegacyIssue,+ Pipeline,IssueStatusTransitionType,ISSUE_STATUS_TRANSITION_LIST,IssueStatusTransition,@@ -27,10 +28,10 @@ import {} from "./";import { useIssueLogic } from ".";import { User } from "@/types/proto/v1/auth_service";-import { Review } from "@/types/proto/v1/issue_service";+import { Issue } from "@/types/proto/v1/issue_service";import { extractIssueReviewContext } from "@/plugins/issue/logic";-export const useIssueTransitionLogic = (issue: Ref<Issue>) => {+export const useIssueTransitionLogic = (issue: Ref<LegacyIssue>) => {const { create, activeTaskOfPipeline, allowApplyTaskStatusTransition } =useIssueLogic();@@ -70,7 +71,7 @@ export const useIssueTransitionLogic = (issue: Ref<Issue>) => {});const getApplicableIssueStatusTransitionList = (- issue: Issue+ issue: LegacyIssue): IssueStatusTransition[] => {if (create.value) {return [];@@ -78,7 +79,7 @@ export const useIssueTransitionLogic = (issue: Ref<Issue>) => {return calcApplicableIssueStatusTransitionList(issue);};- const getApplicableStageStatusTransitionList = (issue: Issue) => {+ const getApplicableStageStatusTransitionList = (issue: LegacyIssue) => {if (create.value) {return [];}@@ -90,7 +91,7 @@ export const useIssueTransitionLogic = (issue: Ref<Issue>) => {if (isAllowedToApplyTaskTransition.value) {// Only "Approve" can be applied to current stage by now.const ROLLOUT = TASK_STATUS_TRANSITION_LIST.get("ROLLOUT")!;- const currentStage = activeStage(issue.pipeline);+ const currentStage = activeStage(issue.pipeline as Pipeline);const pendingApprovalTaskList = currentStage.taskList.filter((task) => {@@ -115,7 +116,7 @@ export const useIssueTransitionLogic = (issue: Ref<Issue>) => {};const getApplicableTaskStatusTransitionList = (- issue: Issue+ issue: LegacyIssue): TaskStatusTransition[] => {if (create.value) {return [];@@ -126,9 +127,10 @@ export const useIssueTransitionLogic = (issue: Ref<Issue>) => {return [];case "OPEN": {if (isAllowedToApplyTaskTransition.value) {- const currentTask = activeTaskOfPipeline(issue.pipeline);- return applicableTaskTransition(issue.pipeline).filter((transition) =>- allowApplyTaskStatusTransition(currentTask, transition.to)+ const currentTask = activeTaskOfPipeline(issue.pipeline as Pipeline);+ return applicableTaskTransition(issue.pipeline as Pipeline).filter(+ (transition) =>+ allowApplyTaskStatusTransition(currentTask, transition.to));}@@ -161,9 +163,9 @@ export const useIssueTransitionLogic = (issue: Ref<Issue>) => {};export const calcApplicableIssueStatusTransitionList = (- issue: Issue+ issue: LegacyIssue): IssueStatusTransition[] => {- const issueEntity = issue as Issue;+ const issueEntity = issue as LegacyIssue;const transitionTypeList: IssueStatusTransitionType[] = [];const currentUserV1 = useCurrentUserV1();@@ -193,8 +195,8 @@ export const calcApplicableIssueStatusTransitionList = (}if (isDatabaseRelatedIssueType(issue.type)) {- const currentTask = activeTask(issue.pipeline);- const flattenTaskList = allTaskList(issue.pipeline);+ const currentTask = activeTask(issue.pipeline as Pipeline);+ const flattenTaskList = allTaskList(issue.pipeline as Pipeline);if (flattenTaskList.some((task) => task.status === "RUNNING")) {// Disallow any issue status transition if some of the tasks are in RUNNING state.return;@@ -229,7 +231,10 @@ export function isApplicableTransition<);}-const allowUserToApplyIssueStatusTransition = (issue: Issue, user: User) => {+const allowUserToApplyIssueStatusTransition = (+ issue: LegacyIssue,+ user: User+) => {// Workspace level high-privileged user (DBA/OWNER) are always allowed.if (hasWorkspacePermissionV1(@@ -262,12 +267,12 @@ const allowUserToApplyIssueStatusTransition = (issue: Issue, user: User) => {return false;};-function isIssueReviewDone(issue: Issue) {+function isIssueReviewDone(issue: LegacyIssue) {const review = computed(() => {try {- return Review.fromJSON(issue.payload.approval);+ return Issue.fromJSON(issue.payload.approval);} catch {- return Review.fromJSON({});+ return Issue.fromJSON({});}});const context = extractIssueReviewContext(diff --git a/frontend/src/components/Issue/review/CurrentApprover.vue b/frontend/src/components/Issue/review/CurrentApprover.vueindex c652d486af..74a2ed0ac6 100644--- a/frontend/src/components/Issue/review/CurrentApprover.vue+++ b/frontend/src/components/Issue/review/CurrentApprover.vue@@ -1,6 +1,6 @@<template><div class="flex flex-row items-center">- <template v-if="issue.status !== 'OPEN' || done">+ <template v-if="legacyIssue.status !== 'OPEN' || done"><span>-</span></template><template v-else-if="!ready">@@ -18,8 +18,8 @@<script lang="ts" setup>import { computed } from "vue";-import { Issue } from "@/types";-import { Review } from "@/types/proto/v1/issue_service";+import { Issue as LegacyIssue } from "@/types";+import { Issue } from "@/types/proto/v1/issue_service";import {extractIssueReviewContext,useWrappedReviewSteps,@@ -27,25 +27,25 @@ import {import { useAuthStore } from "@/store";const props = defineProps<{- issue: Issue;+ legacyIssue: LegacyIssue;}>();-const review = computed(() => {+const issue = computed(() => {try {- return Review.fromJSON(props.issue.payload.approval);+ return Issue.fromJSON(props.legacyIssue.payload.approval);} catch {- return Review.fromJSON({});+ return Issue.fromJSON({});}});const context = extractIssueReviewContext(- computed(() => props.issue),- review+ computed(() => props.legacyIssue),+ issue);const { ready, done } = context;const currentUserName = computed(() => useAuthStore().currentUser.name);-const issue = computed(() => props.issue);-const wrappedSteps = useWrappedReviewSteps(issue, context);+const legacyIssue = computed(() => props.legacyIssue);+const wrappedSteps = useWrappedReviewSteps(legacyIssue, context);const currentStep = computed(() => {return wrappedSteps.value?.find((step) => step.status === "CURRENT");diff --git a/frontend/src/components/Issue/review/IssueReviewButtonGroup.vue b/frontend/src/components/Issue/review/IssueReviewButtonGroup.vueindex 5fbf9948ad..f9e3048166 100644--- a/frontend/src/components/Issue/review/IssueReviewButtonGroup.vue+++ b/frontend/src/components/Issue/review/IssueReviewButtonGroup.vue@@ -3,7 +3,7 @@<buttonv-if="allowReject"class="btn-normal"- @click="showModal(Review_Approver_Status.REJECTED)"+ @click="showModal(Issue_Approver_Status.REJECTED)">{{ $t("custom-approval.issue-review.send-back") }}</button>@@ -16,7 +16,7 @@}"type="primary"tooltip-mode="DISABLED-ONLY"- @click="showModal(Review_Approver_Status.APPROVED)"+ @click="showModal(Issue_Approver_Status.APPROVED)">{{ $t("common.approve") }}@@ -32,7 +32,7 @@<buttonv-if="allowReRequestReview"class="btn-primary"- @click="showModal(Review_Approver_Status.PENDING)"+ @click="showModal(Issue_Approver_Status.PENDING)">{{ $t("custom-approval.issue-review.re-request-review") }}</button>@@ -86,12 +86,12 @@ import IssueReviewForm from "./IssueReviewForm.vue";import { extractUserUID, taskCheckRunSummary } from "@/utils";import { useI18n } from "vue-i18n";import { StandaloneIssueStatusTransitionButtonGroup } from "../StatusTransitionButtonGroup";-import { Review_Approver_Status } from "@/types/proto/v1/issue_service";+import { Issue_Approver_Status } from "@/types/proto/v1/issue_service";type LocalState = {modal?: {title: string;- status: Review_Approver_Status;+ status: Issue_Approver_Status;okText: string;buttonStyle: "PRIMARY" | "ERROR" | "NORMAL";reviewType: "APPROVAL" | "SEND_BACK" | "RE_REQUEST_REVIEW";@@ -130,18 +130,18 @@ const allowApproveOrReject = computed(() => {const allowApprove = computed(() => {if (!allowApproveOrReject.value) return false;- return status.value === Review_Approver_Status.PENDING;+ return status.value === Issue_Approver_Status.PENDING;});const allowReject = computed(() => {if (!allowApproveOrReject.value) return false;- return status.value === Review_Approver_Status.PENDING;+ return status.value === Issue_Approver_Status.PENDING;});const allowReRequestReview = computed(() => {return (String(issue.value.creator.id) ===extractUserUID(currentUserV1.value.name) &&- status.value === Review_Approver_Status.REJECTED+ status.value === Issue_Approver_Status.REJECTED);});@@ -166,7 +166,7 @@ const disallowApproveReasonList = computed((): string[] => {return reasons;});-const showModal = (status: Review_Approver_Status) => {+const showModal = (status: Issue_Approver_Status) => {state.modal = {status,title: "",@@ -175,19 +175,19 @@ const showModal = (status: Review_Approver_Status) => {reviewType: "APPROVAL",};switch (status) {- case Review_Approver_Status.APPROVED:+ case Issue_Approver_Status.APPROVED:state.modal.title = t("custom-approval.issue-review.approve-issue");state.modal.okText = t("common.approval");state.modal.buttonStyle = "PRIMARY";state.modal.reviewType = "APPROVAL";break;- case Review_Approver_Status.REJECTED:+ case Issue_Approver_Status.REJECTED:state.modal.title = t("custom-approval.issue-review.send-back-issue");state.modal.okText = t("custom-approval.issue-review.send-back");state.modal.buttonStyle = "PRIMARY";state.modal.reviewType = "SEND_BACK";break;- case Review_Approver_Status.PENDING:+ case Issue_Approver_Status.PENDING:state.modal.title = t("custom-approval.issue-review.re-request-review-issue");@@ -202,19 +202,19 @@ const handleModalConfirm = async (status,comment,}: {- status: Review_Approver_Status;+ status: Issue_Approver_Status;comment?: string;},onSuccess: () => void) => {state.loading = true;try {- if (status === Review_Approver_Status.APPROVED) {+ if (status === Issue_Approver_Status.APPROVED) {await store.approveIssue(issue.value, comment);onSuccess();- } else if (status === Review_Approver_Status.PENDING) {+ } else if (status === Issue_Approver_Status.PENDING) {await store.requestIssue(issue.value, comment);- } else if (status === Review_Approver_Status.REJECTED) {+ } else if (status === Issue_Approver_Status.REJECTED) {await store.rejectIssue(issue.value, comment);}state.modal = undefined;diff --git a/frontend/src/components/Issue/review/IssueReviewForm.vue b/frontend/src/components/Issue/review/IssueReviewForm.vueindex 5bb8aa994e..95630ae79f 100644--- a/frontend/src/components/Issue/review/IssueReviewForm.vue+++ b/frontend/src/components/Issue/review/IssueReviewForm.vue@@ -41,13 +41,13 @@ import { Ref, computed, ref } from "vue";import { useIssueLogic } from "../logic";import { Issue } from "@/types";-import { Review_Approver_Status } from "@/types/proto/v1/issue_service";+import { Issue_Approver_Status } from "@/types/proto/v1/issue_service";import AutoHeightTextarea from "@/components/misc/AutoHeightTextarea.vue";import RequiredStar from "@/components/RequiredStar.vue";const props = defineProps<{okText: string;- status: Review_Approver_Status;+ status: Issue_Approver_Status;buttonStyle: "PRIMARY" | "ERROR" | "NORMAL";reviewType: "APPROVAL" | "SEND_BACK" | "RE_REQUEST_REVIEW";}>();@@ -57,7 +57,7 @@ const emit = defineEmits<{(event: "confirm",params: {- status: Review_Approver_Status;+ status: Issue_Approver_Status;comment?: string;},onSuccess: () => void@@ -81,7 +81,7 @@ const handleConfirm = (e: MouseEvent) => {const { left, top, width, height } = button.getBoundingClientRect();const { innerWidth: winWidth, innerHeight: winHeight } = window;const onSuccess = () => {- if (props.status !== Review_Approver_Status.APPROVED) {+ if (props.status !== Issue_Approver_Status.APPROVED) {return;}// import the effect lib asynchronouslydiff --git a/frontend/src/components/Issue/table/IssueTable.vue b/frontend/src/components/Issue/table/IssueTable.vueindex 59df4f7b97..e2cbf0e647 100644--- a/frontend/src/components/Issue/table/IssueTable.vue+++ b/frontend/src/components/Issue/table/IssueTable.vue@@ -110,7 +110,7 @@{{ humanizeTs(issue.updatedTs) }}</BBTableCell><BBTableCell class="hidden sm:table-cell w-36">- <CurrentApprover :issue="issue" />+ <CurrentApprover :legacy-issue="issue" /></BBTableCell><BBTableCell class="hidden sm:table-cell w-36"><div class="flex flex-row items-center">diff --git a/frontend/src/components/Issue/table/WaitingForMyApprovalIssueTable.vue b/frontend/src/components/Issue/table/WaitingForMyApprovalIssueTable.vueindex bf484c2f7c..9e88184c4b 100644--- a/frontend/src/components/Issue/table/WaitingForMyApprovalIssueTable.vue+++ b/frontend/src/components/Issue/table/WaitingForMyApprovalIssueTable.vue@@ -8,30 +8,30 @@<script lang="ts" setup>import { computed } from "vue";-import type { Issue } from "@/types";+import type { Issue as LegacyIssue } from "@/types";import { useAuthStore } from "@/store";import {extractIssueReviewContext,useWrappedReviewSteps,} from "@/plugins/issue/logic";-import { Review } from "@/types/proto/v1/issue_service";+import { Issue } from "@/types/proto/v1/issue_service";const currentUserName = computed(() => useAuthStore().currentUser.name);-const filter = (issueList: Issue[]) => {- return issueList.filter((issue) => {- const review = computed(() => {+const filter = (issueList: LegacyIssue[]) => {+ return issueList.filter((legacyIssue) => {+ const issue = computed(() => {try {- return Review.fromJSON(issue.payload.approval);+ return Issue.fromJSON(legacyIssue.payload.approval);} catch {- return Review.fromJSON({});+ return Issue.fromJSON({});}});const context = extractIssueReviewContext(- computed(() => issue),- review+ computed(() => legacyIssue),+ issue);- const steps = useWrappedReviewSteps(issue, context);+ const steps = useWrappedReviewSteps(legacyIssue, context);const currentStep = steps.value?.find((step) => step.status === "CURRENT");if (!currentStep) return false;return (diff --git a/frontend/src/plugins/issue/logic/review/context.ts b/frontend/src/plugins/issue/logic/review/context.tsindex 6d7e633875..5f2c8fdf67 100644--- a/frontend/src/plugins/issue/logic/review/context.ts+++ b/frontend/src/plugins/issue/logic/review/context.ts@@ -1,9 +1,9 @@import { ReviewFlow } from "@/types";-import { Review, Review_Approver_Status } from "@/types/proto/v1/issue_service";+import { Issue, Issue_Approver_Status } from "@/types/proto/v1/issue_service";import { inject, provide, type InjectionKey, type Ref } from "vue";export type IssueReviewContext = {- review: Ref<Review>;+ issue: Ref<Issue>;/// derived states// true if the approval flow is generated@@ -12,7 +12,7 @@ export type IssueReviewContext = {// Now we have only one flow in an issueflow: Ref<ReviewFlow>;// The overall status of the entire review flow- status: Ref<Review_Approver_Status>;+ status: Ref<Issue_Approver_Status>;// Whether the review flow is finished successfully.// A shortcut to `status === Review_Approver_Status.APPROVED`done: Ref<boolean>;diff --git a/frontend/src/plugins/issue/logic/review/index.ts b/frontend/src/plugins/issue/logic/review/index.tsindex 7bf25c5f6f..33a3ce66c2 100644--- a/frontend/src/plugins/issue/logic/review/index.ts+++ b/frontend/src/plugins/issue/logic/review/index.ts@@ -1,11 +1,16 @@import { computed, watch, type ComputedRef, unref } from "vue";import type Emittery from "emittery";-import type { Issue, MaybeRef, ReviewFlow, WrappedReviewStep } from "@/types";+import type {+ Issue as LegacyIssue,+ MaybeRef,+ ReviewFlow,+ WrappedReviewStep,+} from "@/types";import {ApprovalTemplate,- Review,- Review_Approver_Status,+ Issue,+ Issue_Approver_Status,} from "@/types/proto/v1/issue_service";import {candidatesOfApprovalStep,@@ -22,19 +27,19 @@ export type ReviewEvents = {};export const extractIssueReviewContext = (- issue: ComputedRef<Issue | undefined>,- review: ComputedRef<Review>+ legacyIssue: ComputedRef<LegacyIssue | undefined>,+ issue: ComputedRef<Issue>): IssueReviewContext => {const ready = computed(() => {- return review.value.approvalFindingDone ?? false;+ return issue.value.approvalFindingDone ?? false;});const flow = computed((): ReviewFlow => {if (!ready.value) return emptyFlow();- const { approvalTemplates, approvers } = review.value;+ const { approvalTemplates, approvers } = issue.value;if (approvalTemplates.length === 0) return emptyFlow();const rejectedIndex = approvers.findIndex(- (ap) => ap.status === Review_Approver_Status.REJECTED+ (ap) => ap.status === Issue_Approver_Status.REJECTED);const currentStepIndex =rejectedIndex >= 0 ? rejectedIndex : approvers.length;@@ -47,10 +52,10 @@ export const extractIssueReviewContext = (});const status = computed(() => {if (!ready.value) {- return Review_Approver_Status.PENDING;+ return Issue_Approver_Status.PENDING;}- if (review.value.approvalFindingError) {- return Review_Approver_Status.PENDING;+ if (issue.value.approvalFindingError) {+ return Issue_Approver_Status.PENDING;}const { template, approvers } = flow.value;@@ -58,35 +63,35 @@ export const extractIssueReviewContext = (if (steps.length === 0) {// No review flow steps. That means need not manual review.- return Review_Approver_Status.APPROVED;+ return Issue_Approver_Status.APPROVED;}if (- approvers.some((app) => app.status === Review_Approver_Status.REJECTED)+ approvers.some((app) => app.status === Issue_Approver_Status.REJECTED)) {// If any of the approvers down voted, the overall status should be 'REJECTED'- return Review_Approver_Status.REJECTED;+ return Issue_Approver_Status.REJECTED;}// For an N-steps approval flow, we need exactly N upvote approvals to// pass the entire flow.const upVotes = approvers.filter(- (app) => app.status === Review_Approver_Status.APPROVED+ (app) => app.status === Issue_Approver_Status.APPROVED);if (upVotes.length === steps.length) {- return Review_Approver_Status.APPROVED;+ return Issue_Approver_Status.APPROVED;}- return Review_Approver_Status.PENDING;+ return Issue_Approver_Status.PENDING;});const done = computed(() => {- return status.value === Review_Approver_Status.APPROVED;+ return status.value === Issue_Approver_Status.APPROVED;});const error = computed(() => {- return review.value.approvalFindingError;+ return issue.value.approvalFindingError;});return {- review,+ issue: issue,ready,flow,status,@@ -96,19 +101,19 @@ export const extractIssueReviewContext = (};export const provideIssueReview = (- issue: ComputedRef<Issue | undefined>,+ legacyIssue: ComputedRef<LegacyIssue | undefined>,events: Emittery<ReviewEvents>) => {const store = useReviewStore();- const review = computed(() => {- return issue.value- ? store.getIssueByIssue(issue.value)- : Review.fromJSON({});+ const issue = computed(() => {+ return legacyIssue.value+ ? store.getIssueByIssue(legacyIssue.value)+ : Issue.fromJSON({});});const update = () => {- if (issue.value) {- store.fetchReviewByIssue(issue.value);+ if (legacyIssue.value) {+ store.fetchReviewByIssue(legacyIssue.value);}};@@ -122,9 +127,9 @@ export const provideIssueReview = (});watch(- () => issue.value?.id,+ () => legacyIssue.value?.id,() => {- if (issue.value) poller.start();+ if (legacyIssue.value) poller.start();else poller.stop();},{@@ -135,13 +140,13 @@ export const provideIssueReview = (update();});- const context = extractIssueReviewContext(issue, review);+ const context = extractIssueReviewContext(legacyIssue, issue);provideIssueReviewContext(context);};export const useWrappedReviewSteps = (- issue: MaybeRef<Issue>,+ issue: MaybeRef<LegacyIssue>,context: IssueReviewContext) => {const userStore = useUserStore();@@ -161,7 +166,7 @@ export const useWrappedReviewSteps = (return "PENDING";}const approval = approvers[index];- if (approval && approval.status === Review_Approver_Status.REJECTED) {+ if (approval && approval.status === Issue_Approver_Status.REJECTED) {return "REJECTED";}if (index < currentStepIndex) {diff --git a/frontend/src/store/modules/review.ts b/frontend/src/store/modules/review.tsindex 04ccaee130..930a441465 100644--- a/frontend/src/store/modules/review.ts+++ b/frontend/src/store/modules/review.ts@@ -2,9 +2,9 @@ import { defineStore } from "pinia";import { ref } from "vue";import { uniq, uniqBy } from "lodash-es";-import { Issue, PresetRoleType } from "@/types";+import { Issue as LegacyIssue, PresetRoleType } from "@/types";import {- Review,+ Issue,ApprovalStep,ApprovalNode_Type,ApprovalNode_GroupValue,@@ -15,82 +15,85 @@ import { User, UserRole, UserType } from "@/types/proto/v1/auth_service";import { extractUserResourceName, memberListInProjectV1 } from "@/utils";import { useProjectV1Store } from "./v1";-const reviewName = (issue: Issue) => {- return `projects/${issue.project.id}/reviews/${issue.id}`;+const issueName = (legacyIssue: LegacyIssue) => {+ return `projects/${legacyIssue.project.id}/reviews/${legacyIssue.id}`;};-const emptyReview = (issue: Issue) => {- return Review.fromJSON({- name: reviewName(issue),+const emptyIssue = (legacyIssue: LegacyIssue) => {+ return Issue.fromJSON({+ name: issueName(legacyIssue),approvalFindingDone: false,});};export const useReviewStore = defineStore("review", () => {- const reviewsByName = ref(new Map<string, Review>());+ const issuesByName = ref(new Map<string, Issue>());- const getIssueByIssue = (issue: Issue) => {- return reviewsByName.value.get(reviewName(issue)) ?? emptyReview(issue);+ const getIssueByIssue = (issue: LegacyIssue) => {+ return issuesByName.value.get(issueName(issue)) ?? emptyIssue(issue);};- const setReviewByIssue = async (issue: Issue, review: Review) => {- await fetchReviewApproversAndCandidates(issue, review);- reviewsByName.value.set(reviewName(issue), review);+ const setReviewByIssue = async (legacyIssue: LegacyIssue, issue: Issue) => {+ await fetchReviewApproversAndCandidates(legacyIssue, issue);+ issuesByName.value.set(issueName(legacyIssue), issue);};- const fetchReviewByIssue = async (issue: Issue, force = false) => {- const name = reviewName(issue);+ const fetchIssueByLegacyIssue = async (+ legacyIssue: LegacyIssue,+ force = false+ ) => {+ const name = issueName(legacyIssue);try {- const review = await issueServiceClient.getIssue({+ const issue = await issueServiceClient.getIssue({name,force,});- await setReviewByIssue(issue, review);- return review;+ await setReviewByIssue(legacyIssue, issue);+ return issue;} catch (error) {- return Review.fromJSON({});+ return Issue.fromJSON({});}};- const approveIssue = async (issue: Issue, comment?: string) => {- const review = await issueServiceClient.approveIssue({- name: reviewName(issue),+ const approveIssue = async (legacyIssue: LegacyIssue, comment?: string) => {+ const issue = await issueServiceClient.approveIssue({+ name: issueName(legacyIssue),comment,});- await setReviewByIssue(issue, review);+ await setReviewByIssue(legacyIssue, issue);};- const rejectIssue = async (issue: Issue, comment?: string) => {- const review = await issueServiceClient.rejectIssue({- name: reviewName(issue),+ const rejectIssue = async (legacyIssue: LegacyIssue, comment?: string) => {+ const issue = await issueServiceClient.rejectIssue({+ name: issueName(legacyIssue),comment,});- await setReviewByIssue(issue, review);+ await setReviewByIssue(legacyIssue, issue);};- const requestIssue = async (issue: Issue, comment?: string) => {- const review = await issueServiceClient.requestIssue({- name: reviewName(issue),+ const requestIssue = async (legacyIssue: LegacyIssue, comment?: string) => {+ const issue = await issueServiceClient.requestIssue({+ name: issueName(legacyIssue),comment,});- await setReviewByIssue(issue, review);+ await setReviewByIssue(legacyIssue, issue);};- const regenerateReview = async (issue: Issue) => {- const review = await issueServiceClient.updateIssue({+ const regenerateReview = async (legacyIssue: LegacyIssue) => {+ const issue = await issueServiceClient.updateIssue({review: {- name: reviewName(issue),+ name: issueName(legacyIssue),approvalFindingDone: false,},updateMask: ["approval_finding_done"],});- await setReviewByIssue(issue, review);+ await setReviewByIssue(legacyIssue, issue);};return {getIssueByIssue,- fetchReviewByIssue,+ fetchReviewByIssue: fetchIssueByLegacyIssue,approveIssue,rejectIssue,requestIssue,@@ -99,19 +102,21 @@ export const useReviewStore = defineStore("review", () => {});const fetchReviewApproversAndCandidates = async (- issue: Issue,- review: Review+ legacyIssue: LegacyIssue,+ issue: Issue) => {const userStore = useUserStore();- const approvers = review.approvers.map((approver) => {+ const approvers = issue.approvers.map((approver) => {return userStore.getUserByEmail(extractUserResourceName(approver.principal));});- const candidates = review.approvalTemplates+ const candidates = issue.approvalTemplates.flatMap((template) => {const steps = template.flow?.steps ?? [];- return steps.flatMap((step) => candidatesOfApprovalStep(issue, step));+ return steps.flatMap((step) =>+ candidatesOfApprovalStep(legacyIssue, step)+ );}).map((user) => userStore.getUserByName(user));const users = [...approvers, ...candidates].filter(@@ -120,11 +125,16 @@ const fetchReviewApproversAndCandidates = async (return uniqBy(users, "name");};-export const candidatesOfApprovalStep = (issue: Issue, step: ApprovalStep) => {+export const candidatesOfApprovalStep = (+ legacyIssue: LegacyIssue,+ step: ApprovalStep+) => {const workspaceMemberList = useUserStore().activeUserList.filter((user) => user.userType === UserType.USER);- const project = useProjectV1Store().getProjectByUID(String(issue.project.id));+ const project = useProjectV1Store().getProjectByUID(+ String(legacyIssue.project.id)+ );const projectMemberList = memberListInProjectV1(project, project.iamPolicy).filter((member) => member.user.userType === UserType.USER).map((member) => ({@@ -167,7 +177,7 @@ export const candidatesOfApprovalStep = (issue: Issue, step: ApprovalStep) => {};const candidatesForCustomRoles = (role: string) => {const project = useProjectV1Store().getProjectByUID(- String(issue.project.id)+ String(legacyIssue.project.id));const memberList = memberListInProjectV1(project, project.iamPolicy);return memberListdiff --git a/frontend/src/types/proto/v1/issue_service.ts b/frontend/src/types/proto/v1/issue_service.tsindex adb1712f11..fcba829c6d 100644--- a/frontend/src/types/proto/v1/issue_service.ts+++ b/frontend/src/types/proto/v1/issue_service.ts@@ -67,7 +67,7 @@ export interface CreateIssueRequest {*/parent: string;/** The review to create. */- review?: Review;+ review?: Issue;}export interface ListIssuesRequest {@@ -96,7 +96,7 @@ export interface ListIssuesRequest {export interface ListIssuesResponse {/** The issues from the specified request. */- reviews: Review[];+ reviews: Issue[];/*** A token, which can be sent as `page_token` to retrieve the next page.* If this field is omitted, there are no subsequent pages.@@ -111,7 +111,7 @@ export interface UpdateIssueRequest {* The issue's `name` field is used to identify the issue to update.* Format: projects/{project}/reviews/{review}*/- review?: Review;+ review?: Issue;/** The list of fields to update. */updateMask?: string[];}@@ -133,7 +133,7 @@ export interface BatchUpdateIssuesRequest {export interface BatchUpdateIssuesResponse {/** Issues updated. */- reviews: Review[];+ reviews: Issue[];}export interface ApproveIssueRequest {@@ -163,7 +163,7 @@ export interface RequestIssueRequest {comment: string;}-export interface Review {+export interface Issue {/*** The name of the issue.* Format: projects/{project}/reviews/{review}@@ -190,7 +190,7 @@ export interface Review {assignee: string;assigneeAttention: boolean;approvalTemplates: ApprovalTemplate[];- approvers: Review_Approver[];+ approvers: Issue_Approver[];/*** If the value is `false`, it means that the backend is still finding matching approval templates.* If `true`, approval_templates & approvers & approval_finding_error are available.@@ -208,14 +208,14 @@ export interface Review {updateTime?: Date;}-export interface Review_Approver {+export interface Issue_Approver {/** The new status. */- status: Review_Approver_Status;+ status: Issue_Approver_Status;/** Format: users/[email protected] */principal: string;}-export enum Review_Approver_Status {+export enum Issue_Approver_Status {STATUS_UNSPECIFIED = 0,PENDING = 1,APPROVED = 2,@@ -223,38 +223,38 @@ export enum Review_Approver_Status {UNRECOGNIZED = -1,}-export function review_Approver_StatusFromJSON(object: any): Review_Approver_Status {+export function issue_Approver_StatusFromJSON(object: any): Issue_Approver_Status {switch (object) {case 0:case "STATUS_UNSPECIFIED":- return Review_Approver_Status.STATUS_UNSPECIFIED;+ return Issue_Approver_Status.STATUS_UNSPECIFIED;case 1:case "PENDING":- return Review_Approver_Status.PENDING;+ return Issue_Approver_Status.PENDING;case 2:case "APPROVED":- return Review_Approver_Status.APPROVED;+ return Issue_Approver_Status.APPROVED;case 3:case "REJECTED":- return Review_Approver_Status.REJECTED;+ return Issue_Approver_Status.REJECTED;case -1:case "UNRECOGNIZED":default:- return Review_Approver_Status.UNRECOGNIZED;+ return Issue_Approver_Status.UNRECOGNIZED;}}-export function review_Approver_StatusToJSON(object: Review_Approver_Status): string {+export function issue_Approver_StatusToJSON(object: Issue_Approver_Status): string {switch (object) {- case Review_Approver_Status.STATUS_UNSPECIFIED:+ case Issue_Approver_Status.STATUS_UNSPECIFIED:return "STATUS_UNSPECIFIED";- case Review_Approver_Status.PENDING:+ case Issue_Approver_Status.PENDING:return "PENDING";- case Review_Approver_Status.APPROVED:+ case Issue_Approver_Status.APPROVED:return "APPROVED";- case Review_Approver_Status.REJECTED:+ case Issue_Approver_Status.REJECTED:return "REJECTED";- case Review_Approver_Status.UNRECOGNIZED:+ case Issue_Approver_Status.UNRECOGNIZED:default:return "UNRECOGNIZED";}@@ -541,7 +541,7 @@ export const CreateIssueRequest = {writer.uint32(10).string(message.parent);}if (message.review !== undefined) {- Review.encode(message.review, writer.uint32(18).fork()).ldelim();+ Issue.encode(message.review, writer.uint32(18).fork()).ldelim();}return writer;},@@ -565,7 +565,7 @@ export const CreateIssueRequest = {break;}- message.review = Review.decode(reader, reader.uint32());+ message.review = Issue.decode(reader, reader.uint32());continue;}if ((tag & 7) === 4 || tag === 0) {@@ -579,14 +579,14 @@ export const CreateIssueRequest = {fromJSON(object: any): CreateIssueRequest {return {parent: isSet(object.parent) ? String(object.parent) : "",- review: isSet(object.review) ? Review.fromJSON(object.review) : undefined,+ review: isSet(object.review) ? Issue.fromJSON(object.review) : undefined,};},toJSON(message: CreateIssueRequest): unknown {const obj: any = {};message.parent !== undefined && (obj.parent = message.parent);- message.review !== undefined && (obj.review = message.review ? Review.toJSON(message.review) : undefined);+ message.review !== undefined && (obj.review = message.review ? Issue.toJSON(message.review) : undefined);return obj;},@@ -598,7 +598,7 @@ export const CreateIssueRequest = {const message = createBaseCreateIssueRequest();message.parent = object.parent ?? "";message.review = (object.review !== undefined && object.review !== null)- ? Review.fromPartial(object.review)+ ? Issue.fromPartial(object.review): undefined;return message;},@@ -695,7 +695,7 @@ function createBaseListIssuesResponse(): ListIssuesResponse {export const ListIssuesResponse = {encode(message: ListIssuesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {for (const v of message.reviews) {- Review.encode(v!, writer.uint32(10).fork()).ldelim();+ Issue.encode(v!, writer.uint32(10).fork()).ldelim();}if (message.nextPageToken !== "") {writer.uint32(18).string(message.nextPageToken);@@ -715,7 +715,7 @@ export const ListIssuesResponse = {break;}- message.reviews.push(Review.decode(reader, reader.uint32()));+ message.reviews.push(Issue.decode(reader, reader.uint32()));continue;case 2:if (tag !== 18) {@@ -735,7 +735,7 @@ export const ListIssuesResponse = {fromJSON(object: any): ListIssuesResponse {return {- reviews: Array.isArray(object?.reviews) ? object.reviews.map((e: any) => Review.fromJSON(e)) : [],+ reviews: Array.isArray(object?.reviews) ? object.reviews.map((e: any) => Issue.fromJSON(e)) : [],nextPageToken: isSet(object.nextPageToken) ? String(object.nextPageToken) : "",};},@@ -743,7 +743,7 @@ export const ListIssuesResponse = {toJSON(message: ListIssuesResponse): unknown {const obj: any = {};if (message.reviews) {- obj.reviews = message.reviews.map((e) => e ? Review.toJSON(e) : undefined);+ obj.reviews = message.reviews.map((e) => e ? Issue.toJSON(e) : undefined);} else {obj.reviews = [];}@@ -757,7 +757,7 @@ export const ListIssuesResponse = {fromPartial(object: DeepPartial<ListIssuesResponse>): ListIssuesResponse {const message = createBaseListIssuesResponse();- message.reviews = object.reviews?.map((e) => Review.fromPartial(e)) || [];+ message.reviews = object.reviews?.map((e) => Issue.fromPartial(e)) || [];message.nextPageToken = object.nextPageToken ?? "";return message;},@@ -770,7 +770,7 @@ function createBaseUpdateIssueRequest(): UpdateIssueRequest {export const UpdateIssueRequest = {encode(message: UpdateIssueRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {if (message.review !== undefined) {- Review.encode(message.review, writer.uint32(10).fork()).ldelim();+ Issue.encode(message.review, writer.uint32(10).fork()).ldelim();}if (message.updateMask !== undefined) {FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(18).fork()).ldelim();@@ -790,7 +790,7 @@ export const UpdateIssueRequest = {break;}- message.review = Review.decode(reader, reader.uint32());+ message.review = Issue.decode(reader, reader.uint32());continue;case 2:if (tag !== 18) {@@ -810,14 +810,14 @@ export const UpdateIssueRequest = {fromJSON(object: any): UpdateIssueRequest {return {- review: isSet(object.review) ? Review.fromJSON(object.review) : undefined,+ review: isSet(object.review) ? Issue.fromJSON(object.review) : undefined,updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,};},toJSON(message: UpdateIssueRequest): unknown {const obj: any = {};- message.review !== undefined && (obj.review = message.review ? Review.toJSON(message.review) : undefined);+ message.review !== undefined && (obj.review = message.review ? Issue.toJSON(message.review) : undefined);message.updateMask !== undefined && (obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask)));return obj;},@@ -829,7 +829,7 @@ export const UpdateIssueRequest = {fromPartial(object: DeepPartial<UpdateIssueRequest>): UpdateIssueRequest {const message = createBaseUpdateIssueRequest();message.review = (object.review !== undefined && object.review !== null)- ? Review.fromPartial(object.review)+ ? Issue.fromPartial(object.review): undefined;message.updateMask = object.updateMask ?? undefined;return message;@@ -918,7 +918,7 @@ function createBaseBatchUpdateIssuesResponse(): BatchUpdateIssuesResponse {export const BatchUpdateIssuesResponse = {encode(message: BatchUpdateIssuesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {for (const v of message.reviews) {- Review.encode(v!, writer.uint32(10).fork()).ldelim();+ Issue.encode(v!, writer.uint32(10).fork()).ldelim();}return writer;},@@ -935,7 +935,7 @@ export const BatchUpdateIssuesResponse = {break;}- message.reviews.push(Review.decode(reader, reader.uint32()));+ message.reviews.push(Issue.decode(reader, reader.uint32()));continue;}if ((tag & 7) === 4 || tag === 0) {@@ -947,13 +947,13 @@ export const BatchUpdateIssuesResponse = {},fromJSON(object: any): BatchUpdateIssuesResponse {- return { reviews: Array.isArray(object?.reviews) ? object.reviews.map((e: any) => Review.fromJSON(e)) : [] };+ return { reviews: Array.isArray(object?.reviews) ? object.reviews.map((e: any) => Issue.fromJSON(e)) : [] };},toJSON(message: BatchUpdateIssuesResponse): unknown {const obj: any = {};if (message.reviews) {- obj.reviews = message.reviews.map((e) => e ? Review.toJSON(e) : undefined);+ obj.reviews = message.reviews.map((e) => e ? Issue.toJSON(e) : undefined);} else {obj.reviews = [];}@@ -966,7 +966,7 @@ export const BatchUpdateIssuesResponse = {fromPartial(object: DeepPartial<BatchUpdateIssuesResponse>): BatchUpdateIssuesResponse {const message = createBaseBatchUpdateIssuesResponse();- message.reviews = object.reviews?.map((e) => Review.fromPartial(e)) || [];+ message.reviews = object.reviews?.map((e) => Issue.fromPartial(e)) || [];return message;},};@@ -1184,7 +1184,7 @@ export const RequestIssueRequest = {},};-function createBaseReview(): Review {+function createBaseIssue(): Issue {return {name: "",uid: "",@@ -1206,8 +1206,8 @@ function createBaseReview(): Review {};}-export const Review = {- encode(message: Review, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+export const Issue = {+ encode(message: Issue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {if (message.name !== "") {writer.uint32(10).string(message.name);}@@ -1239,7 +1239,7 @@ export const Review = {ApprovalTemplate.encode(v!, writer.uint32(66).fork()).ldelim();}for (const v of message.approvers) {- Review_Approver.encode(v!, writer.uint32(74).fork()).ldelim();+ Issue_Approver.encode(v!, writer.uint32(74).fork()).ldelim();}if (message.approvalFindingDone === true) {writer.uint32(80).bool(message.approvalFindingDone);@@ -1262,10 +1262,10 @@ export const Review = {return writer;},- decode(input: _m0.Reader | Uint8Array, length?: number): Review {+ decode(input: _m0.Reader | Uint8Array, length?: number): Issue {const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseReview();+ const message = createBaseIssue();while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {@@ -1344,7 +1344,7 @@ export const Review = {break;}- message.approvers.push(Review_Approver.decode(reader, reader.uint32()));+ message.approvers.push(Issue_Approver.decode(reader, reader.uint32()));continue;case 10:if (tag !== 80) {@@ -1397,7 +1397,7 @@ export const Review = {return message;},- fromJSON(object: any): Review {+ fromJSON(object: any): Issue {return {name: isSet(object.name) ? String(object.name) : "",uid: isSet(object.uid) ? String(object.uid) : "",@@ -1411,7 +1411,7 @@ export const Review = {approvalTemplates: Array.isArray(object?.approvalTemplates)? object.approvalTemplates.map((e: any) => ApprovalTemplate.fromJSON(e)): [],- approvers: Array.isArray(object?.approvers) ? object.approvers.map((e: any) => Review_Approver.fromJSON(e)) : [],+ approvers: Array.isArray(object?.approvers) ? object.approvers.map((e: any) => Issue_Approver.fromJSON(e)) : [],approvalFindingDone: isSet(object.approvalFindingDone) ? Boolean(object.approvalFindingDone) : false,approvalFindingError: isSet(object.approvalFindingError) ? String(object.approvalFindingError) : "",subscribers: Array.isArray(object?.subscribers) ? object.subscribers.map((e: any) => String(e)) : [],@@ -1421,7 +1421,7 @@ export const Review = {};},- toJSON(message: Review): unknown {+ toJSON(message: Issue): unknown {const obj: any = {};message.name !== undefined && (obj.name = message.name);message.uid !== undefined && (obj.uid = message.uid);@@ -1438,7 +1438,7 @@ export const Review = {obj.approvalTemplates = [];}if (message.approvers) {- obj.approvers = message.approvers.map((e) => e ? Review_Approver.toJSON(e) : undefined);+ obj.approvers = message.approvers.map((e) => e ? Issue_Approver.toJSON(e) : undefined);} else {obj.approvers = [];}@@ -1455,12 +1455,12 @@ export const Review = {return obj;},- create(base?: DeepPartial<Review>): Review {- return Review.fromPartial(base ?? {});+ create(base?: DeepPartial<Issue>): Issue {+ return Issue.fromPartial(base ?? {});},- fromPartial(object: DeepPartial<Review>): Review {- const message = createBaseReview();+ fromPartial(object: DeepPartial<Issue>): Issue {+ const message = createBaseIssue();message.name = object.name ?? "";message.uid = object.uid ?? "";message.title = object.title ?? "";@@ -1471,7 +1471,7 @@ export const Review = {message.assignee = object.assignee ?? "";message.assigneeAttention = object.assigneeAttention ?? false;message.approvalTemplates = object.approvalTemplates?.map((e) => ApprovalTemplate.fromPartial(e)) || [];- message.approvers = object.approvers?.map((e) => Review_Approver.fromPartial(e)) || [];+ message.approvers = object.approvers?.map((e) => Issue_Approver.fromPartial(e)) || [];message.approvalFindingDone = object.approvalFindingDone ?? false;message.approvalFindingError = object.approvalFindingError ?? "";message.subscribers = object.subscribers?.map((e) => e) || [];@@ -1482,12 +1482,12 @@ export const Review = {},};-function createBaseReview_Approver(): Review_Approver {+function createBaseIssue_Approver(): Issue_Approver {return { status: 0, principal: "" };}-export const Review_Approver = {- encode(message: Review_Approver, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+export const Issue_Approver = {+ encode(message: Issue_Approver, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {if (message.status !== 0) {writer.uint32(8).int32(message.status);}@@ -1497,10 +1497,10 @@ export const Review_Approver = {return writer;},- decode(input: _m0.Reader | Uint8Array, length?: number): Review_Approver {+ decode(input: _m0.Reader | Uint8Array, length?: number): Issue_Approver {const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseReview_Approver();+ const message = createBaseIssue_Approver();while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {@@ -1527,26 +1527,26 @@ export const Review_Approver = {return message;},- fromJSON(object: any): Review_Approver {+ fromJSON(object: any): Issue_Approver {return {- status: isSet(object.status) ? review_Approver_StatusFromJSON(object.status) : 0,+ status: isSet(object.status) ? issue_Approver_StatusFromJSON(object.status) : 0,principal: isSet(object.principal) ? String(object.principal) : "",};},- toJSON(message: Review_Approver): unknown {+ toJSON(message: Issue_Approver): unknown {const obj: any = {};- message.status !== undefined && (obj.status = review_Approver_StatusToJSON(message.status));+ message.status !== undefined && (obj.status = issue_Approver_StatusToJSON(message.status));message.principal !== undefined && (obj.principal = message.principal);return obj;},- create(base?: DeepPartial<Review_Approver>): Review_Approver {- return Review_Approver.fromPartial(base ?? {});+ create(base?: DeepPartial<Issue_Approver>): Issue_Approver {+ return Issue_Approver.fromPartial(base ?? {});},- fromPartial(object: DeepPartial<Review_Approver>): Review_Approver {- const message = createBaseReview_Approver();+ fromPartial(object: DeepPartial<Issue_Approver>): Issue_Approver {+ const message = createBaseIssue_Approver();message.status = object.status ?? 0;message.principal = object.principal ?? "";return message;@@ -2167,7 +2167,7 @@ export const IssueServiceDefinition = {name: "GetIssue",requestType: GetIssueRequest,requestStream: false,- responseType: Review,+ responseType: Issue,responseStream: false,options: {_unknownFields: {@@ -2217,7 +2217,7 @@ export const IssueServiceDefinition = {name: "CreateIssue",requestType: CreateIssueRequest,requestStream: false,- responseType: Review,+ responseType: Issue,responseStream: false,options: {_unknownFields: {@@ -2325,7 +2325,7 @@ export const IssueServiceDefinition = {name: "UpdateIssue",requestType: UpdateIssueRequest,requestStream: false,- responseType: Review,+ responseType: Issue,responseStream: false,options: {_unknownFields: {@@ -2666,7 +2666,7 @@ export const IssueServiceDefinition = {name: "ApproveIssue",requestType: ApproveIssueRequest,requestStream: false,- responseType: Review,+ responseType: Issue,responseStream: false,options: {_unknownFields: {@@ -2726,7 +2726,7 @@ export const IssueServiceDefinition = {name: "RejectIssue",requestType: RejectIssueRequest,requestStream: false,- responseType: Review,+ responseType: Issue,responseStream: false,options: {_unknownFields: {@@ -2785,7 +2785,7 @@ export const IssueServiceDefinition = {name: "RequestIssue",requestType: RequestIssueRequest,requestStream: false,- responseType: Review,+ responseType: Issue,responseStream: false,options: {_unknownFields: {@@ -2845,13 +2845,13 @@ export const IssueServiceDefinition = {} as const;export interface IssueServiceImplementation<CallContextExt = {}> {- getIssue(request: GetIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;- createIssue(request: CreateIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;+ getIssue(request: GetIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Issue>>;+ createIssue(request: CreateIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Issue>>;listIssues(request: ListIssuesRequest,context: CallContext & CallContextExt,): Promise<DeepPartial<ListIssuesResponse>>;- updateIssue(request: UpdateIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;+ updateIssue(request: UpdateIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Issue>>;createIssueComment(request: CreateIssueCommentRequest,context: CallContext & CallContextExt,@@ -2864,19 +2864,19 @@ export interface IssueServiceImplementation<CallContextExt = {}> {request: BatchUpdateIssuesRequest,context: CallContext & CallContextExt,): Promise<DeepPartial<BatchUpdateIssuesResponse>>;- approveIssue(request: ApproveIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;- rejectIssue(request: RejectIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;- requestIssue(request: RequestIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;+ approveIssue(request: ApproveIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Issue>>;+ rejectIssue(request: RejectIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Issue>>;+ requestIssue(request: RequestIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Issue>>;}export interface IssueServiceClient<CallOptionsExt = {}> {- getIssue(request: DeepPartial<GetIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;- createIssue(request: DeepPartial<CreateIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;+ getIssue(request: DeepPartial<GetIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Issue>;+ createIssue(request: DeepPartial<CreateIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Issue>;listIssues(request: DeepPartial<ListIssuesRequest>,options?: CallOptions & CallOptionsExt,): Promise<ListIssuesResponse>;- updateIssue(request: DeepPartial<UpdateIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;+ updateIssue(request: DeepPartial<UpdateIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Issue>;createIssueComment(request: DeepPartial<CreateIssueCommentRequest>,options?: CallOptions & CallOptionsExt,@@ -2889,9 +2889,9 @@ export interface IssueServiceClient<CallOptionsExt = {}> {request: DeepPartial<BatchUpdateIssuesRequest>,options?: CallOptions & CallOptionsExt,): Promise<BatchUpdateIssuesResponse>;- approveIssue(request: DeepPartial<ApproveIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;- rejectIssue(request: DeepPartial<RejectIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;- requestIssue(request: DeepPartial<RequestIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;+ approveIssue(request: DeepPartial<ApproveIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Issue>;+ rejectIssue(request: DeepPartial<RejectIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Issue>;+ requestIssue(request: DeepPartial<RequestIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Issue>;}type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;diff --git a/frontend/src/types/review.ts b/frontend/src/types/review.tsindex 28452d7b57..2a8cd2536a 100644--- a/frontend/src/types/review.ts+++ b/frontend/src/types/review.ts@@ -2,7 +2,7 @@ import type { User } from "./proto/v1/auth_service";import type {ApprovalStep,ApprovalTemplate,- Review_Approver,+ Issue_Approver,} from "./proto/v1/issue_service";export type ApprovalEvent = {@@ -11,7 +11,7 @@ export type ApprovalEvent = {export type ReviewFlow = {template: ApprovalTemplate;- approvers: Review_Approver[];+ approvers: Issue_Approver[];currentStepIndex: number; // -1 if finished};diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 72197195e1..b62f4b9509 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -305,21 +305,21 @@- [CreateIssueCommentRequest](#bytebase-v1-CreateIssueCommentRequest)- [CreateIssueRequest](#bytebase-v1-CreateIssueRequest)- [GetIssueRequest](#bytebase-v1-GetIssueRequest)+ - [Issue](#bytebase-v1-Issue)+ - [Issue.Approver](#bytebase-v1-Issue-Approver)- [IssueComment](#bytebase-v1-IssueComment)- [ListIssuesRequest](#bytebase-v1-ListIssuesRequest)- [ListIssuesResponse](#bytebase-v1-ListIssuesResponse)- [RejectIssueRequest](#bytebase-v1-RejectIssueRequest)- [RequestIssueRequest](#bytebase-v1-RequestIssueRequest)- - [Review](#bytebase-v1-Review)- - [Review.Approver](#bytebase-v1-Review-Approver)- [UpdateIssueCommentRequest](#bytebase-v1-UpdateIssueCommentRequest)- [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest)- [ApprovalNode.GroupValue](#bytebase-v1-ApprovalNode-GroupValue)- [ApprovalNode.Type](#bytebase-v1-ApprovalNode-Type)- [ApprovalStep.Type](#bytebase-v1-ApprovalStep-Type)+ - [Issue.Approver.Status](#bytebase-v1-Issue-Approver-Status)- [IssueStatus](#bytebase-v1-IssueStatus)- - [Review.Approver.Status](#bytebase-v1-Review-Approver-Status)- [IssueService](#bytebase-v1-IssueService)@@ -4853,7 +4853,7 @@ The instance's `name` field is used to identify the instance to update. Form| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| reviews | [Review](#bytebase-v1-Review) | repeated | Issues updated. |+| reviews | [Issue](#bytebase-v1-Issue) | repeated | Issues updated. |@@ -4885,7 +4885,7 @@ The instance's `name` field is used to identify the instance to update. Form| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} |-| review | [Review](#bytebase-v1-Review) | | The review to create. |+| review | [Issue](#bytebase-v1-Issue) | | The review to create. |@@ -4908,17 +4908,29 @@ The instance's `name` field is used to identify the instance to update. Form-<a name="bytebase-v1-IssueComment"></a>+<a name="bytebase-v1-Issue"></a>-### IssueComment+### Issue| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| uid | [string](#string) | | |-| comment | [string](#string) | | |-| payload | [string](#string) | | TODO: use struct message instead. |+| name | [string](#string) | | The name of the issue. Format: projects/{project}/reviews/{review} |+| uid | [string](#string) | | The system-assigned, unique identifier for a resource. |+| title | [string](#string) | | |+| plan | [string](#string) | | The plan associated with the issue. Can be empty. Format: projects/{project}/plans/{plan} |+| rollout | [string](#string) | | The rollout associated with the issue. Can be empty. Format: projects/{project}/rollouts/{rollout} |+| description | [string](#string) | | |+| status | [IssueStatus](#bytebase-v1-IssueStatus) | | |+| assignee | [string](#string) | | Format: users/[email protected] |+| assignee_attention | [bool](#bool) | | |+| approval_templates | [ApprovalTemplate](#bytebase-v1-ApprovalTemplate) | repeated | |+| approvers | [Issue.Approver](#bytebase-v1-Issue-Approver) | repeated | |+| approval_finding_done | [bool](#bool) | | If the value is `false`, it means that the backend is still finding matching approval templates. If `true`, approval_templates & approvers & approval_finding_error are available. |+| approval_finding_error | [string](#string) | | |+| subscribers | [string](#string) | repeated | The subscribers. Format: users/[email protected] |+| creator | [string](#string) | | Format: users/[email protected] || create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | || update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |@@ -4927,114 +4939,102 @@ The instance's `name` field is used to identify the instance to update. Form-<a name="bytebase-v1-ListIssuesRequest"></a>+<a name="bytebase-v1-Issue-Approver"></a>-### ListIssuesRequest+### Issue.Approver| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} Use "projects/-" to list all issues from all projects. |-| page_size | [int32](#int32) | | The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |-| page_token | [string](#string) | | A page token, received from a previous `ListIssues` call. Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `ListIssues` must match the call that provided the page token. |+| status | [Issue.Approver.Status](#bytebase-v1-Issue-Approver-Status) | | The new status. |+| principal | [string](#string) | | Format: users/[email protected] |-<a name="bytebase-v1-ListIssuesResponse"></a>+<a name="bytebase-v1-IssueComment"></a>-### ListIssuesResponse+### IssueComment| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| reviews | [Review](#bytebase-v1-Review) | repeated | The issues from the specified request. |-| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |+| uid | [string](#string) | | |+| comment | [string](#string) | | |+| payload | [string](#string) | | TODO: use struct message instead. |+| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |-<a name="bytebase-v1-RejectIssueRequest"></a>+<a name="bytebase-v1-ListIssuesRequest"></a>-### RejectIssueRequest+### ListIssuesRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the issue to add an rejecting reviewer. Format: projects/{project}/reviews/{review} |-| comment | [string](#string) | | |+| parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} Use "projects/-" to list all issues from all projects. |+| page_size | [int32](#int32) | | The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | A page token, received from a previous `ListIssues` call. Provide this to retrieve the subsequent page.+When paginating, all other parameters provided to `ListIssues` must match the call that provided the page token. |-<a name="bytebase-v1-RequestIssueRequest"></a>-### RequestIssueRequest+<a name="bytebase-v1-ListIssuesResponse"></a>++### ListIssuesResponse| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the issue to request a review. Format: projects/{project}/reviews/{review} |-| comment | [string](#string) | | |+| reviews | [Issue](#bytebase-v1-Issue) | repeated | The issues from the specified request. |+| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |-<a name="bytebase-v1-Review"></a>+<a name="bytebase-v1-RejectIssueRequest"></a>-### Review+### RejectIssueRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the issue. Format: projects/{project}/reviews/{review} |-| uid | [string](#string) | | The system-assigned, unique identifier for a resource. |-| title | [string](#string) | | |-| plan | [string](#string) | | The plan associated with the issue. Can be empty. Format: projects/{project}/plans/{plan} |-| rollout | [string](#string) | | The rollout associated with the issue. Can be empty. Format: projects/{project}/rollouts/{rollout} |-| description | [string](#string) | | |-| status | [IssueStatus](#bytebase-v1-IssueStatus) | | |-| assignee | [string](#string) | | Format: users/[email protected] |-| assignee_attention | [bool](#bool) | | |-| approval_templates | [ApprovalTemplate](#bytebase-v1-ApprovalTemplate) | repeated | |-| approvers | [Review.Approver](#bytebase-v1-Review-Approver) | repeated | |-| approval_finding_done | [bool](#bool) | | If the value is `false`, it means that the backend is still finding matching approval templates. If `true`, approval_templates & approvers & approval_finding_error are available. |-| approval_finding_error | [string](#string) | | |-| subscribers | [string](#string) | repeated | The subscribers. Format: users/[email protected] |-| creator | [string](#string) | | Format: users/[email protected] |-| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| name | [string](#string) | | The name of the issue to add an rejecting reviewer. Format: projects/{project}/reviews/{review} |+| comment | [string](#string) | | |-<a name="bytebase-v1-Review-Approver"></a>+<a name="bytebase-v1-RequestIssueRequest"></a>-### Review.Approver+### RequestIssueRequest| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| status | [Review.Approver.Status](#bytebase-v1-Review-Approver-Status) | | The new status. |-| principal | [string](#string) | | Format: users/[email protected] |+| name | [string](#string) | | The name of the issue to request a review. Format: projects/{project}/reviews/{review} |+| comment | [string](#string) | | |@@ -5066,7 +5066,7 @@ When paginating, all other parameters provided to `ListIssues` must match the ca| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| review | [Review](#bytebase-v1-Review) | | The issue to update.+| review | [Issue](#bytebase-v1-Issue) | | The issue to update.The issue's `name` field is used to identify the issue to update. Format: projects/{project}/reviews/{review} || update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |@@ -5127,31 +5127,31 @@ ANY means approving any node will proceed.-<a name="bytebase-v1-IssueStatus"></a>+<a name="bytebase-v1-Issue-Approver-Status"></a>-### IssueStatus+### Issue.Approver.Status| Name | Number | Description || ---- | ------ | ----------- |-| ISSUE_STATUS_UNSPECIFIED | 0 | |-| OPEN | 1 | |-| DONE | 2 | |-| CANCELED | 3 | |+| STATUS_UNSPECIFIED | 0 | |+| PENDING | 1 | |+| APPROVED | 2 | |+| REJECTED | 3 | |-<a name="bytebase-v1-Review-Approver-Status"></a>+<a name="bytebase-v1-IssueStatus"></a>-### Review.Approver.Status+### IssueStatus| Name | Number | Description || ---- | ------ | ----------- |-| STATUS_UNSPECIFIED | 0 | |-| PENDING | 1 | |-| APPROVED | 2 | |-| REJECTED | 3 | |+| ISSUE_STATUS_UNSPECIFIED | 0 | |+| OPEN | 1 | |+| DONE | 2 | |+| CANCELED | 3 | |@@ -5166,16 +5166,16 @@ ANY means approving any node will proceed.| Method Name | Request Type | Response Type | Description || ----------- | ------------ | ------------- | ------------|-| GetIssue | [GetIssueRequest](#bytebase-v1-GetIssueRequest) | [Review](#bytebase-v1-Review) | |-| CreateIssue | [CreateIssueRequest](#bytebase-v1-CreateIssueRequest) | [Review](#bytebase-v1-Review) | |+| GetIssue | [GetIssueRequest](#bytebase-v1-GetIssueRequest) | [Issue](#bytebase-v1-Issue) | |+| CreateIssue | [CreateIssueRequest](#bytebase-v1-CreateIssueRequest) | [Issue](#bytebase-v1-Issue) | || ListIssues | [ListIssuesRequest](#bytebase-v1-ListIssuesRequest) | [ListIssuesResponse](#bytebase-v1-ListIssuesResponse) | |-| UpdateIssue | [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest) | [Review](#bytebase-v1-Review) | |+| UpdateIssue | [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest) | [Issue](#bytebase-v1-Issue) | || CreateIssueComment | [CreateIssueCommentRequest](#bytebase-v1-CreateIssueCommentRequest) | [IssueComment](#bytebase-v1-IssueComment) | || UpdateIssueComment | [UpdateIssueCommentRequest](#bytebase-v1-UpdateIssueCommentRequest) | [IssueComment](#bytebase-v1-IssueComment) | || BatchUpdateIssues | [BatchUpdateIssuesRequest](#bytebase-v1-BatchUpdateIssuesRequest) | [BatchUpdateIssuesResponse](#bytebase-v1-BatchUpdateIssuesResponse) | |-| ApproveIssue | [ApproveIssueRequest](#bytebase-v1-ApproveIssueRequest) | [Review](#bytebase-v1-Review) | |-| RejectIssue | [RejectIssueRequest](#bytebase-v1-RejectIssueRequest) | [Review](#bytebase-v1-Review) | |-| RequestIssue | [RequestIssueRequest](#bytebase-v1-RequestIssueRequest) | [Review](#bytebase-v1-Review) | |+| ApproveIssue | [ApproveIssueRequest](#bytebase-v1-ApproveIssueRequest) | [Issue](#bytebase-v1-Issue) | |+| RejectIssue | [RejectIssueRequest](#bytebase-v1-RejectIssueRequest) | [Issue](#bytebase-v1-Issue) | |+| RequestIssue | [RequestIssueRequest](#bytebase-v1-RequestIssueRequest) | [Issue](#bytebase-v1-Issue) | |diff --git a/proto/generated-go/v1/issue_service.pb.go b/proto/generated-go/v1/issue_service.pb.goindex 35fdc4b262..450afe774d 100644--- a/proto/generated-go/v1/issue_service.pb.go+++ b/proto/generated-go/v1/issue_service.pb.go@@ -75,24 +75,24 @@ func (IssueStatus) EnumDescriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{0}}-type Review_Approver_Status int32+type Issue_Approver_Status int32const (- Review_Approver_STATUS_UNSPECIFIED Review_Approver_Status = 0- Review_Approver_PENDING Review_Approver_Status = 1- Review_Approver_APPROVED Review_Approver_Status = 2- Review_Approver_REJECTED Review_Approver_Status = 3+ Issue_Approver_STATUS_UNSPECIFIED Issue_Approver_Status = 0+ Issue_Approver_PENDING Issue_Approver_Status = 1+ Issue_Approver_APPROVED Issue_Approver_Status = 2+ Issue_Approver_REJECTED Issue_Approver_Status = 3)-// Enum value maps for Review_Approver_Status.+// Enum value maps for Issue_Approver_Status.var (- Review_Approver_Status_name = map[int32]string{+ Issue_Approver_Status_name = map[int32]string{0: "STATUS_UNSPECIFIED",1: "PENDING",2: "APPROVED",3: "REJECTED",}- Review_Approver_Status_value = map[string]int32{+ Issue_Approver_Status_value = map[string]int32{"STATUS_UNSPECIFIED": 0,"PENDING": 1,"APPROVED": 2,@@ -100,30 +100,30 @@ var (})-func (x Review_Approver_Status) Enum() *Review_Approver_Status {- p := new(Review_Approver_Status)+func (x Issue_Approver_Status) Enum() *Issue_Approver_Status {+ p := new(Issue_Approver_Status)*p = xreturn p}-func (x Review_Approver_Status) String() string {+func (x Issue_Approver_Status) String() string {return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))}-func (Review_Approver_Status) Descriptor() protoreflect.EnumDescriptor {+func (Issue_Approver_Status) Descriptor() protoreflect.EnumDescriptor {return file_v1_issue_service_proto_enumTypes[1].Descriptor()}-func (Review_Approver_Status) Type() protoreflect.EnumType {+func (Issue_Approver_Status) Type() protoreflect.EnumType {return &file_v1_issue_service_proto_enumTypes[1]}-func (x Review_Approver_Status) Number() protoreflect.EnumNumber {+func (x Issue_Approver_Status) Number() protoreflect.EnumNumber {return protoreflect.EnumNumber(x)}-// Deprecated: Use Review_Approver_Status.Descriptor instead.-func (Review_Approver_Status) EnumDescriptor() ([]byte, []int) {+// Deprecated: Use Issue_Approver_Status.Descriptor instead.+func (Issue_Approver_Status) EnumDescriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{10, 0, 0}}@@ -355,7 +355,7 @@ type CreateIssueRequest struct {// Format: projects/{project}Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`// The review to create.- Review *Review `protobuf:"bytes,2,opt,name=review,proto3" json:"review,omitempty"`+ Review *Issue `protobuf:"bytes,2,opt,name=review,proto3" json:"review,omitempty"`}func (x *CreateIssueRequest) Reset() {@@ -397,7 +397,7 @@ func (x *CreateIssueRequest) GetParent() string {return ""}-func (x *CreateIssueRequest) GetReview() *Review {+func (x *CreateIssueRequest) GetReview() *Issue {if x != nil {return x.Review}@@ -485,7 +485,7 @@ type ListIssuesResponse struct {unknownFields protoimpl.UnknownFields// The issues from the specified request.- Reviews []*Review `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`+ Reviews []*Issue `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`// A token, which can be sent as `page_token` to retrieve the next page.// If this field is omitted, there are no subsequent pages.NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`@@ -523,7 +523,7 @@ func (*ListIssuesResponse) Descriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{3}}-func (x *ListIssuesResponse) GetReviews() []*Review {+func (x *ListIssuesResponse) GetReviews() []*Issue {if x != nil {return x.Reviews}@@ -546,7 +546,7 @@ type UpdateIssueRequest struct {//// The issue's `name` field is used to identify the issue to update.// Format: projects/{project}/reviews/{review}- Review *Review `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`+ Review *Issue `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`// The list of fields to update.UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`}@@ -583,7 +583,7 @@ func (*UpdateIssueRequest) Descriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{4}}-func (x *UpdateIssueRequest) GetReview() *Review {+func (x *UpdateIssueRequest) GetReview() *Issue {if x != nil {return x.Review}@@ -664,7 +664,7 @@ type BatchUpdateIssuesResponse struct {unknownFields protoimpl.UnknownFields// Issues updated.- Reviews []*Review `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`+ Reviews []*Issue `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`}func (x *BatchUpdateIssuesResponse) Reset() {@@ -699,7 +699,7 @@ func (*BatchUpdateIssuesResponse) Descriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{6}}-func (x *BatchUpdateIssuesResponse) GetReviews() []*Review {+func (x *BatchUpdateIssuesResponse) GetReviews() []*Issue {if x != nil {return x.Reviews}@@ -877,7 +877,7 @@ func (x *RequestIssueRequest) GetComment() string {return ""}-type Review struct {+type Issue struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields@@ -902,7 +902,7 @@ type Review struct {Assignee string `protobuf:"bytes,6,opt,name=assignee,proto3" json:"assignee,omitempty"`AssigneeAttention bool `protobuf:"varint,7,opt,name=assignee_attention,json=assigneeAttention,proto3" json:"assignee_attention,omitempty"`ApprovalTemplates []*ApprovalTemplate `protobuf:"bytes,8,rep,name=approval_templates,json=approvalTemplates,proto3" json:"approval_templates,omitempty"`- Approvers []*Review_Approver `protobuf:"bytes,9,rep,name=approvers,proto3" json:"approvers,omitempty"`+ Approvers []*Issue_Approver `protobuf:"bytes,9,rep,name=approvers,proto3" json:"approvers,omitempty"`// If the value is `false`, it means that the backend is still finding matching approval templates.// If `true`, approval_templates & approvers & approval_finding_error are available.ApprovalFindingDone bool `protobuf:"varint,10,opt,name=approval_finding_done,json=approvalFindingDone,proto3" json:"approval_finding_done,omitempty"`@@ -916,8 +916,8 @@ type Review struct {UpdateTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`}-func (x *Review) Reset() {- *x = Review{}+func (x *Issue) Reset() {+ *x = Issue{}if protoimpl.UnsafeEnabled {mi := &file_v1_issue_service_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -925,13 +925,13 @@ func (x *Review) Reset() {}}-func (x *Review) String() string {+func (x *Issue) String() string {return protoimpl.X.MessageStringOf(x)}-func (*Review) ProtoMessage() {}+func (*Issue) ProtoMessage() {}-func (x *Review) ProtoReflect() protoreflect.Message {+func (x *Issue) ProtoReflect() protoreflect.Message {mi := &file_v1_issue_service_proto_msgTypes[10]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -943,124 +943,124 @@ func (x *Review) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use Review.ProtoReflect.Descriptor instead.-func (*Review) Descriptor() ([]byte, []int) {+// Deprecated: Use Issue.ProtoReflect.Descriptor instead.+func (*Issue) Descriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{10}}-func (x *Review) GetName() string {+func (x *Issue) GetName() string {if x != nil {return x.Name}return ""}-func (x *Review) GetUid() string {+func (x *Issue) GetUid() string {if x != nil {return x.Uid}return ""}-func (x *Review) GetTitle() string {+func (x *Issue) GetTitle() string {if x != nil {return x.Title}return ""}-func (x *Review) GetPlan() string {+func (x *Issue) GetPlan() string {if x != nil {return x.Plan}return ""}-func (x *Review) GetRollout() string {+func (x *Issue) GetRollout() string {if x != nil {return x.Rollout}return ""}-func (x *Review) GetDescription() string {+func (x *Issue) GetDescription() string {if x != nil {return x.Description}return ""}-func (x *Review) GetStatus() IssueStatus {+func (x *Issue) GetStatus() IssueStatus {if x != nil {return x.Status}return IssueStatus_ISSUE_STATUS_UNSPECIFIED}-func (x *Review) GetAssignee() string {+func (x *Issue) GetAssignee() string {if x != nil {return x.Assignee}return ""}-func (x *Review) GetAssigneeAttention() bool {+func (x *Issue) GetAssigneeAttention() bool {if x != nil {return x.AssigneeAttention}return false}-func (x *Review) GetApprovalTemplates() []*ApprovalTemplate {+func (x *Issue) GetApprovalTemplates() []*ApprovalTemplate {if x != nil {return x.ApprovalTemplates}return nil}-func (x *Review) GetApprovers() []*Review_Approver {+func (x *Issue) GetApprovers() []*Issue_Approver {if x != nil {return x.Approvers}return nil}-func (x *Review) GetApprovalFindingDone() bool {+func (x *Issue) GetApprovalFindingDone() bool {if x != nil {return x.ApprovalFindingDone}return false}-func (x *Review) GetApprovalFindingError() string {+func (x *Issue) GetApprovalFindingError() string {if x != nil {return x.ApprovalFindingError}return ""}-func (x *Review) GetSubscribers() []string {+func (x *Issue) GetSubscribers() []string {if x != nil {return x.Subscribers}return nil}-func (x *Review) GetCreator() string {+func (x *Issue) GetCreator() string {if x != nil {return x.Creator}return ""}-func (x *Review) GetCreateTime() *timestamppb.Timestamp {+func (x *Issue) GetCreateTime() *timestamppb.Timestamp {if x != nil {return x.CreateTime}return nil}-func (x *Review) GetUpdateTime() *timestamppb.Timestamp {+func (x *Issue) GetUpdateTime() *timestamppb.Timestamp {if x != nil {return x.UpdateTime}@@ -1549,19 +1549,19 @@ func (x *IssueComment) GetUpdateTime() *timestamppb.Timestamp {return nil}-type Review_Approver struct {+type Issue_Approver struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields// The new status.- Status Review_Approver_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.Review_Approver_Status" json:"status,omitempty"`+ Status Issue_Approver_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bytebase.v1.Issue_Approver_Status" json:"status,omitempty"`// Format: users/[email protected]Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`}-func (x *Review_Approver) Reset() {- *x = Review_Approver{}+func (x *Issue_Approver) Reset() {+ *x = Issue_Approver{}if protoimpl.UnsafeEnabled {mi := &file_v1_issue_service_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -1569,13 +1569,13 @@ func (x *Review_Approver) Reset() {}}-func (x *Review_Approver) String() string {+func (x *Issue_Approver) String() string {return protoimpl.X.MessageStringOf(x)}-func (*Review_Approver) ProtoMessage() {}+func (*Issue_Approver) ProtoMessage() {}-func (x *Review_Approver) ProtoReflect() protoreflect.Message {+func (x *Issue_Approver) ProtoReflect() protoreflect.Message {mi := &file_v1_issue_service_proto_msgTypes[18]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -1587,19 +1587,19 @@ func (x *Review_Approver) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use Review_Approver.ProtoReflect.Descriptor instead.-func (*Review_Approver) Descriptor() ([]byte, []int) {+// Deprecated: Use Issue_Approver.ProtoReflect.Descriptor instead.+func (*Issue_Approver) Descriptor() ([]byte, []int) {return file_v1_issue_service_proto_rawDescGZIP(), []int{10, 0}}-func (x *Review_Approver) GetStatus() Review_Approver_Status {+func (x *Issue_Approver) GetStatus() Issue_Approver_Status {if x != nil {return x.Status}- return Review_Approver_STATUS_UNSPECIFIED+ return Issue_Approver_STATUS_UNSPECIFIED}-func (x *Review_Approver) GetPrincipal() string {+func (x *Issue_Approver) GetPrincipal() string {if x != nil {return x.Principal}@@ -1625,295 +1625,294 @@ var file_v1_issue_service_proto_rawDesc = []byte{0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72,- 0x63, 0x65, 0x22, 0x63, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75,+ 0x63, 0x65, 0x22, 0x62, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75,0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,- 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x6c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x49,- 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,- 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,- 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,- 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,- 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,- 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6b, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73,- 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x72,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65,- 0x77, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,- 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,- 0x65, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73,- 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x72, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x03,- 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x40, 0x0a, 0x0b, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06,+ 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x6c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73,+ 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,+ 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,+ 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67,+ 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,+ 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54,+ 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6a, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75,+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52,+ 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,+ 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,+ 0x22, 0x87, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,+ 0x52, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,+ 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a,+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x74, 0x0a, 0x18, 0x42, 0x61,+ 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x40,+ 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,+ 0x22, 0x49, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49,+ 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a,+ 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73,+ 0x75, 0x65, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x22, 0x48, 0x0a, 0x13, 0x41,+ 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,+ 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x12, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x49,+ 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x48,+ 0x0a, 0x13, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,+ 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x84, 0x07, 0x0a, 0x05, 0x49, 0x73, 0x73,+ 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a,+ 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,+ 0x74, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x1d, 0x0a, 0x07,+ 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,+ 0x41, 0x03, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64,+ 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a,+ 0x06, 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, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,+ 0x1a, 0x0a, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x61,+ 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65,+ 0x65, 0x41, 0x74, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x12, 0x61, 0x70,+ 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73,+ 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d,+ 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x11, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54,+ 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72,+ 0x6f, 0x76, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e,+ 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76,+ 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f,+ 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01,+ 0x28, 0x08, 0x52, 0x13, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x69, 0x6e, 0x64,+ 0x69, 0x6e, 0x67, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x70, 0x70, 0x72, 0x6f,+ 0x76, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f,+ 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,+ 0x6c, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x20, 0x0a,+ 0x0b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03,+ 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x12,+ 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65,+ 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 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, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 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, 0x74, 0x0a,- 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75,- 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x12, 0x40, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 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, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x73, 0x22, 0x4a, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x12, 0x2d, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x22,- 0x48, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,- 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x12, 0x52, 0x65, 0x6a,- 0x65, 0x63, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,- 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,- 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,- 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,- 0x6e, 0x74, 0x22, 0x48, 0x0a, 0x13, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x73, 0x73,- 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x87, 0x07, 0x0a,- 0x06, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75,- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75,- 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e,- 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x70, 0x6c, 0x61,- 0x6e, 0x12, 0x1d, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x18, 0x11, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74,- 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,- 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x06, 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, 0x52, 0x06, 0x73, 0x74,- 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65,- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65,- 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x5f, 0x61, 0x74, 0x74,- 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x73,- 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12,- 0x4c, 0x0a, 0x12, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70,- 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79,+ 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, 0x1a, 0xaf, 0x01,+ 0x0a, 0x08, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74,+ 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x41,+ 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,+ 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69,+ 0x70, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63,+ 0x69, 0x70, 0x61, 0x6c, 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, 0x22,+ 0x93, 0x01, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70,+ 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x04, 0x66,+ 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,+ 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,+ 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63,+ 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x3f, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,+ 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x52,+ 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f,+ 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70,+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x6e,+ 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,+ 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x04,+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,+ 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c,+ 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x02, 0x22, 0x83, 0x03, 0x0a,+ 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a,+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79,0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76,- 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x11, 0x61, 0x70, 0x70, 0x72,- 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x3a, 0x0a,- 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x09,- 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x70, 0x70,- 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f,- 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76,- 0x61, 0x6c, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x34, 0x0a,- 0x16, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e,- 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61,- 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x72,- 0x72, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,- 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72,- 0x69, 0x62, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,- 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12,- 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e,- 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, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,- 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,- 0x18, 0x0f, 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, 0x1a, 0xb0, 0x01, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72,- 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x53,- 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a,- 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 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, 0x22, 0x93, 0x01, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x72, 0x6f,- 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x66,- 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c,- 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,- 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,- 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,- 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x3f, 0x0a, 0x0c,- 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x2f, 0x0a, 0x05,- 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76,- 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x22, 0xa3, 0x01,- 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x12, 0x32,- 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f,- 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,- 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f,- 0x64, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54,- 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,- 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e,- 0x59, 0x10, 0x02, 0x22, 0x83, 0x03, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c,- 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x54, 0x79,- 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75,- 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72,- 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x61,- 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x61, 0x6c, 0x75,- 0x65, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,- 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72,- 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,- 0x09, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64,- 0x65, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54,- 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,- 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x4e, 0x59, 0x5f, 0x49, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55,- 0x50, 0x10, 0x01, 0x22, 0x79, 0x0a, 0x0a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x61, 0x6c, 0x75,- 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45,- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12,- 0x13, 0x0a, 0x0f, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x4f, 0x57, 0x4e,- 0x45, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x50, 0x41, 0x43,- 0x45, 0x5f, 0x44, 0x42, 0x41, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x4a, 0x45,- 0x43, 0x54, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52,- 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x04, 0x42, 0x09,- 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x73, 0x0a, 0x19, 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, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3e,- 0x0a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,+ 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64,+ 0x65, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a,+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f,+ 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65,+ 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x6f, 0x64,+ 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78,+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x04,+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,+ 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x4e,+ 0x59, 0x5f, 0x49, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x01, 0x22, 0x79, 0x0a, 0x0a,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52,+ 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,+ 0x49, 0x46, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x4f, 0x52, 0x4b,+ 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a,+ 0x0d, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x44, 0x42, 0x41, 0x10, 0x02,+ 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4f, 0x57, 0x4e, 0x45,+ 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d,+ 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x04, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,+ 0x61, 0x64, 0x22, 0x73, 0x0a, 0x19, 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, 0x12,+ 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65,+ 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65,+ 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x19, 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, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3e, 0x0a,+ 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52,+ 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a,+ 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 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, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,+ 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63,+ 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x42, 0x03, 0xe0, 0x41,+ 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a,+ 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 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, 0x8f,+ 0x0b, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,+ 0x6c, 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, 0x2e, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x83, 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, 0x3f, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x73, 0x12, 0x7f, 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, 0x30, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x73, 0x12, 0x8f, 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, 0x4b, 0xda, 0x41, 0x12, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x32, 0x26,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x6e, 0x61, 0x6d, 0x65,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb0, 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,- 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xb5,- 0x01, 0x0a, 0x19, 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, 0x12, 0x16, 0x0a, 0x06,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,- 0x61, 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, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c,- 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,- 0x61, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,- 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,- 0x73, 0x74, 0x61, 0x6d, 0x70, 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, 0x95, 0x0b, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53,- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 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, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x2e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65,- 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x84, 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, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x3f, 0xda, 0x41, 0x0d,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x29, 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x1f, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x7f, 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, 0x30, 0xda, 0x41, 0x06,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x90, 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, 0x13,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x22, 0x4b, 0xda, 0x41, 0x12, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30,- 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x22, 0x57, 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, 0x3a, 0x3a,+ 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x29,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a,+ 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xbc, 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, 0x63, 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, 0x3a, 0x3a, 0x0d,+ 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x29, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d,- 0x12, 0xb0, 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, 0x57, 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, 0x3a, 0x3a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65,- 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,+ 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74,+ 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x25,+ 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, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x6d,- 0x65, 0x6e, 0x74, 0x12, 0xbc, 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, 0x63, 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, 0x3a, 0x3a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f,- 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,- 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x65,- 0x6e, 0x74, 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x25, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x26, 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, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a,- 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69,- 0x65, 0x77, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,- 0x79, 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, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01,- 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f,- 0x2a, 0x7d, 0x3a, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x76, 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, 0x13, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6a, 0x65,- 0x63, 0x74, 0x12, 0x79, 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, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65,- 0x77, 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,+ 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x78, 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, 0x32, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,+ 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12,+ 0x75, 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, 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, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,+ 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x78, 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, 0x32, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 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 (@@ -1932,7 +1931,7 @@ var file_v1_issue_service_proto_enumTypes = make([]protoimpl.EnumInfo, 5)var file_v1_issue_service_proto_msgTypes = make([]protoimpl.MessageInfo, 19)var file_v1_issue_service_proto_goTypes = []interface{}{(IssueStatus)(0), // 0: bytebase.v1.IssueStatus- (Review_Approver_Status)(0), // 1: bytebase.v1.Review.Approver.Status+ (Issue_Approver_Status)(0), // 1: bytebase.v1.Issue.Approver.Status(ApprovalStep_Type)(0), // 2: bytebase.v1.ApprovalStep.Type(ApprovalNode_Type)(0), // 3: bytebase.v1.ApprovalNode.Type(ApprovalNode_GroupValue)(0), // 4: bytebase.v1.ApprovalNode.GroupValue@@ -1946,7 +1945,7 @@ var file_v1_issue_service_proto_goTypes = []interface{}{(*ApproveIssueRequest)(nil), // 12: bytebase.v1.ApproveIssueRequest(*RejectIssueRequest)(nil), // 13: bytebase.v1.RejectIssueRequest(*RequestIssueRequest)(nil), // 14: bytebase.v1.RequestIssueRequest- (*Review)(nil), // 15: bytebase.v1.Review+ (*Issue)(nil), // 15: bytebase.v1.Issue(*ApprovalTemplate)(nil), // 16: bytebase.v1.ApprovalTemplate(*ApprovalFlow)(nil), // 17: bytebase.v1.ApprovalFlow(*ApprovalStep)(nil), // 18: bytebase.v1.ApprovalStep@@ -1954,22 +1953,22 @@ var file_v1_issue_service_proto_goTypes = []interface{}{(*CreateIssueCommentRequest)(nil), // 20: bytebase.v1.CreateIssueCommentRequest(*UpdateIssueCommentRequest)(nil), // 21: bytebase.v1.UpdateIssueCommentRequest(*IssueComment)(nil), // 22: bytebase.v1.IssueComment- (*Review_Approver)(nil), // 23: bytebase.v1.Review.Approver+ (*Issue_Approver)(nil), // 23: bytebase.v1.Issue.Approver(*fieldmaskpb.FieldMask)(nil), // 24: google.protobuf.FieldMask(*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp}var file_v1_issue_service_proto_depIdxs = []int32{- 15, // 0: bytebase.v1.CreateIssueRequest.review:type_name -> bytebase.v1.Review- 15, // 1: bytebase.v1.ListIssuesResponse.reviews:type_name -> bytebase.v1.Review- 15, // 2: bytebase.v1.UpdateIssueRequest.review:type_name -> bytebase.v1.Review+ 15, // 0: bytebase.v1.CreateIssueRequest.review:type_name -> bytebase.v1.Issue+ 15, // 1: bytebase.v1.ListIssuesResponse.reviews:type_name -> bytebase.v1.Issue+ 15, // 2: bytebase.v1.UpdateIssueRequest.review:type_name -> bytebase.v1.Issue24, // 3: bytebase.v1.UpdateIssueRequest.update_mask:type_name -> google.protobuf.FieldMask9, // 4: bytebase.v1.BatchUpdateIssuesRequest.requests:type_name -> bytebase.v1.UpdateIssueRequest- 15, // 5: bytebase.v1.BatchUpdateIssuesResponse.reviews:type_name -> bytebase.v1.Review- 0, // 6: bytebase.v1.Review.status:type_name -> bytebase.v1.IssueStatus- 16, // 7: bytebase.v1.Review.approval_templates:type_name -> bytebase.v1.ApprovalTemplate- 23, // 8: bytebase.v1.Review.approvers:type_name -> bytebase.v1.Review.Approver- 25, // 9: bytebase.v1.Review.create_time:type_name -> google.protobuf.Timestamp- 25, // 10: bytebase.v1.Review.update_time:type_name -> google.protobuf.Timestamp+ 15, // 5: bytebase.v1.BatchUpdateIssuesResponse.reviews:type_name -> bytebase.v1.Issue+ 0, // 6: bytebase.v1.Issue.status:type_name -> bytebase.v1.IssueStatus+ 16, // 7: bytebase.v1.Issue.approval_templates:type_name -> bytebase.v1.ApprovalTemplate+ 23, // 8: bytebase.v1.Issue.approvers:type_name -> bytebase.v1.Issue.Approver+ 25, // 9: bytebase.v1.Issue.create_time:type_name -> google.protobuf.Timestamp+ 25, // 10: bytebase.v1.Issue.update_time:type_name -> google.protobuf.Timestamp17, // 11: bytebase.v1.ApprovalTemplate.flow:type_name -> bytebase.v1.ApprovalFlow18, // 12: bytebase.v1.ApprovalFlow.steps:type_name -> bytebase.v1.ApprovalStep2, // 13: bytebase.v1.ApprovalStep.type:type_name -> bytebase.v1.ApprovalStep.Type@@ -1981,7 +1980,7 @@ var file_v1_issue_service_proto_depIdxs = []int32{24, // 19: bytebase.v1.UpdateIssueCommentRequest.update_mask:type_name -> google.protobuf.FieldMask25, // 20: bytebase.v1.IssueComment.create_time:type_name -> google.protobuf.Timestamp25, // 21: bytebase.v1.IssueComment.update_time:type_name -> google.protobuf.Timestamp- 1, // 22: bytebase.v1.Review.Approver.status:type_name -> bytebase.v1.Review.Approver.Status+ 1, // 22: bytebase.v1.Issue.Approver.status:type_name -> bytebase.v1.Issue.Approver.Status5, // 23: bytebase.v1.IssueService.GetIssue:input_type -> bytebase.v1.GetIssueRequest6, // 24: bytebase.v1.IssueService.CreateIssue:input_type -> bytebase.v1.CreateIssueRequest7, // 25: bytebase.v1.IssueService.ListIssues:input_type -> bytebase.v1.ListIssuesRequest@@ -1992,16 +1991,16 @@ var file_v1_issue_service_proto_depIdxs = []int32{12, // 30: bytebase.v1.IssueService.ApproveIssue:input_type -> bytebase.v1.ApproveIssueRequest13, // 31: bytebase.v1.IssueService.RejectIssue:input_type -> bytebase.v1.RejectIssueRequest14, // 32: bytebase.v1.IssueService.RequestIssue:input_type -> bytebase.v1.RequestIssueRequest- 15, // 33: bytebase.v1.IssueService.GetIssue:output_type -> bytebase.v1.Review- 15, // 34: bytebase.v1.IssueService.CreateIssue:output_type -> bytebase.v1.Review+ 15, // 33: bytebase.v1.IssueService.GetIssue:output_type -> bytebase.v1.Issue+ 15, // 34: bytebase.v1.IssueService.CreateIssue:output_type -> bytebase.v1.Issue8, // 35: bytebase.v1.IssueService.ListIssues:output_type -> bytebase.v1.ListIssuesResponse- 15, // 36: bytebase.v1.IssueService.UpdateIssue:output_type -> bytebase.v1.Review+ 15, // 36: bytebase.v1.IssueService.UpdateIssue:output_type -> bytebase.v1.Issue22, // 37: bytebase.v1.IssueService.CreateIssueComment:output_type -> bytebase.v1.IssueComment22, // 38: bytebase.v1.IssueService.UpdateIssueComment:output_type -> bytebase.v1.IssueComment11, // 39: bytebase.v1.IssueService.BatchUpdateIssues:output_type -> bytebase.v1.BatchUpdateIssuesResponse- 15, // 40: bytebase.v1.IssueService.ApproveIssue:output_type -> bytebase.v1.Review- 15, // 41: bytebase.v1.IssueService.RejectIssue:output_type -> bytebase.v1.Review- 15, // 42: bytebase.v1.IssueService.RequestIssue:output_type -> bytebase.v1.Review+ 15, // 40: bytebase.v1.IssueService.ApproveIssue:output_type -> bytebase.v1.Issue+ 15, // 41: bytebase.v1.IssueService.RejectIssue:output_type -> bytebase.v1.Issue+ 15, // 42: bytebase.v1.IssueService.RequestIssue:output_type -> bytebase.v1.Issue33, // [33:43] is the sub-list for method output_type23, // [23:33] is the sub-list for method input_type23, // [23:23] is the sub-list for extension type_name@@ -2136,7 +2135,7 @@ func file_v1_issue_service_proto_init() {}}file_v1_issue_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Review); i {+ switch v := v.(*Issue); i {case 0:return &v.statecase 1:@@ -2232,7 +2231,7 @@ func file_v1_issue_service_proto_init() {}}file_v1_issue_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Review_Approver); i {+ switch v := v.(*Issue_Approver); i {case 0:return &v.statecase 1:diff --git a/proto/generated-go/v1/issue_service_grpc.pb.go b/proto/generated-go/v1/issue_service_grpc.pb.goindex c226945cb1..dd20a0b449 100644--- a/proto/generated-go/v1/issue_service_grpc.pb.go+++ b/proto/generated-go/v1/issue_service_grpc.pb.go@@ -35,16 +35,16 @@ const (//// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.type IssueServiceClient interface {- GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Review, error)- CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Review, error)+ GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error)+ CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Issue, error)ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error)- UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Review, error)+ UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Issue, error)CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)BatchUpdateIssues(ctx context.Context, in *BatchUpdateIssuesRequest, opts ...grpc.CallOption) (*BatchUpdateIssuesResponse, error)- ApproveIssue(ctx context.Context, in *ApproveIssueRequest, opts ...grpc.CallOption) (*Review, error)- RejectIssue(ctx context.Context, in *RejectIssueRequest, opts ...grpc.CallOption) (*Review, error)- RequestIssue(ctx context.Context, in *RequestIssueRequest, opts ...grpc.CallOption) (*Review, error)+ ApproveIssue(ctx context.Context, in *ApproveIssueRequest, opts ...grpc.CallOption) (*Issue, error)+ RejectIssue(ctx context.Context, in *RejectIssueRequest, opts ...grpc.CallOption) (*Issue, error)+ RequestIssue(ctx context.Context, in *RequestIssueRequest, opts ...grpc.CallOption) (*Issue, error)}type issueServiceClient struct {@@ -55,8 +55,8 @@ func NewIssueServiceClient(cc grpc.ClientConnInterface) IssueServiceClient {return &issueServiceClient{cc}}-func (c *issueServiceClient) GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Review, error) {- out := new(Review)+func (c *issueServiceClient) GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error) {+ out := new(Issue)err := c.cc.Invoke(ctx, IssueService_GetIssue_FullMethodName, in, out, opts...)if err != nil {return nil, err@@ -64,8 +64,8 @@ func (c *issueServiceClient) GetIssue(ctx context.Context, in *GetIssueRequest,return out, nil}-func (c *issueServiceClient) CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Review, error) {- out := new(Review)+func (c *issueServiceClient) CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Issue, error) {+ out := new(Issue)err := c.cc.Invoke(ctx, IssueService_CreateIssue_FullMethodName, in, out, opts...)if err != nil {return nil, err@@ -82,8 +82,8 @@ func (c *issueServiceClient) ListIssues(ctx context.Context, in *ListIssuesRequereturn out, nil}-func (c *issueServiceClient) UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Review, error) {- out := new(Review)+func (c *issueServiceClient) UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Issue, error) {+ out := new(Issue)err := c.cc.Invoke(ctx, IssueService_UpdateIssue_FullMethodName, in, out, opts...)if err != nil {return nil, err@@ -118,8 +118,8 @@ func (c *issueServiceClient) BatchUpdateIssues(ctx context.Context, in *BatchUpdreturn out, nil}-func (c *issueServiceClient) ApproveIssue(ctx context.Context, in *ApproveIssueRequest, opts ...grpc.CallOption) (*Review, error) {- out := new(Review)+func (c *issueServiceClient) ApproveIssue(ctx context.Context, in *ApproveIssueRequest, opts ...grpc.CallOption) (*Issue, error) {+ out := new(Issue)err := c.cc.Invoke(ctx, IssueService_ApproveIssue_FullMethodName, in, out, opts...)if err != nil {return nil, err@@ -127,8 +127,8 @@ func (c *issueServiceClient) ApproveIssue(ctx context.Context, in *ApproveIssueRreturn out, nil}-func (c *issueServiceClient) RejectIssue(ctx context.Context, in *RejectIssueRequest, opts ...grpc.CallOption) (*Review, error) {- out := new(Review)+func (c *issueServiceClient) RejectIssue(ctx context.Context, in *RejectIssueRequest, opts ...grpc.CallOption) (*Issue, error) {+ out := new(Issue)err := c.cc.Invoke(ctx, IssueService_RejectIssue_FullMethodName, in, out, opts...)if err != nil {return nil, err@@ -136,8 +136,8 @@ func (c *issueServiceClient) RejectIssue(ctx context.Context, in *RejectIssueReqreturn out, nil}-func (c *issueServiceClient) RequestIssue(ctx context.Context, in *RequestIssueRequest, opts ...grpc.CallOption) (*Review, error) {- out := new(Review)+func (c *issueServiceClient) RequestIssue(ctx context.Context, in *RequestIssueRequest, opts ...grpc.CallOption) (*Issue, error) {+ out := new(Issue)err := c.cc.Invoke(ctx, IssueService_RequestIssue_FullMethodName, in, out, opts...)if err != nil {return nil, err@@ -149,16 +149,16 @@ func (c *issueServiceClient) RequestIssue(ctx context.Context, in *RequestIssueR// All implementations must embed UnimplementedIssueServiceServer// for forward compatibilitytype IssueServiceServer interface {- GetIssue(context.Context, *GetIssueRequest) (*Review, error)- CreateIssue(context.Context, *CreateIssueRequest) (*Review, error)+ GetIssue(context.Context, *GetIssueRequest) (*Issue, error)+ CreateIssue(context.Context, *CreateIssueRequest) (*Issue, error)ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)- UpdateIssue(context.Context, *UpdateIssueRequest) (*Review, error)+ UpdateIssue(context.Context, *UpdateIssueRequest) (*Issue, error)CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*IssueComment, error)UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*IssueComment, error)BatchUpdateIssues(context.Context, *BatchUpdateIssuesRequest) (*BatchUpdateIssuesResponse, error)- ApproveIssue(context.Context, *ApproveIssueRequest) (*Review, error)- RejectIssue(context.Context, *RejectIssueRequest) (*Review, error)- RequestIssue(context.Context, *RequestIssueRequest) (*Review, error)+ ApproveIssue(context.Context, *ApproveIssueRequest) (*Issue, error)+ RejectIssue(context.Context, *RejectIssueRequest) (*Issue, error)+ RequestIssue(context.Context, *RequestIssueRequest) (*Issue, error)mustEmbedUnimplementedIssueServiceServer()}@@ -166,16 +166,16 @@ type IssueServiceServer interface {type UnimplementedIssueServiceServer struct {}-func (UnimplementedIssueServiceServer) GetIssue(context.Context, *GetIssueRequest) (*Review, error) {+func (UnimplementedIssueServiceServer) GetIssue(context.Context, *GetIssueRequest) (*Issue, error) {return nil, status.Errorf(codes.Unimplemented, "method GetIssue not implemented")}-func (UnimplementedIssueServiceServer) CreateIssue(context.Context, *CreateIssueRequest) (*Review, error) {+func (UnimplementedIssueServiceServer) CreateIssue(context.Context, *CreateIssueRequest) (*Issue, error) {return nil, status.Errorf(codes.Unimplemented, "method CreateIssue not implemented")}func (UnimplementedIssueServiceServer) ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error) {return nil, status.Errorf(codes.Unimplemented, "method ListIssues not implemented")}-func (UnimplementedIssueServiceServer) UpdateIssue(context.Context, *UpdateIssueRequest) (*Review, error) {+func (UnimplementedIssueServiceServer) UpdateIssue(context.Context, *UpdateIssueRequest) (*Issue, error) {return nil, status.Errorf(codes.Unimplemented, "method UpdateIssue not implemented")}func (UnimplementedIssueServiceServer) CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*IssueComment, error) {@@ -187,13 +187,13 @@ func (UnimplementedIssueServiceServer) UpdateIssueComment(context.Context, *Updafunc (UnimplementedIssueServiceServer) BatchUpdateIssues(context.Context, *BatchUpdateIssuesRequest) (*BatchUpdateIssuesResponse, error) {return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateIssues not implemented")}-func (UnimplementedIssueServiceServer) ApproveIssue(context.Context, *ApproveIssueRequest) (*Review, error) {+func (UnimplementedIssueServiceServer) ApproveIssue(context.Context, *ApproveIssueRequest) (*Issue, error) {return nil, status.Errorf(codes.Unimplemented, "method ApproveIssue not implemented")}-func (UnimplementedIssueServiceServer) RejectIssue(context.Context, *RejectIssueRequest) (*Review, error) {+func (UnimplementedIssueServiceServer) RejectIssue(context.Context, *RejectIssueRequest) (*Issue, error) {return nil, status.Errorf(codes.Unimplemented, "method RejectIssue not implemented")}-func (UnimplementedIssueServiceServer) RequestIssue(context.Context, *RequestIssueRequest) (*Review, error) {+func (UnimplementedIssueServiceServer) RequestIssue(context.Context, *RequestIssueRequest) (*Issue, error) {return nil, status.Errorf(codes.Unimplemented, "method RequestIssue not implemented")}func (UnimplementedIssueServiceServer) mustEmbedUnimplementedIssueServiceServer() {}diff --git a/proto/v1/issue_service.proto b/proto/v1/issue_service.protoindex 86d92b21c3..5aa7848cfe 100644--- a/proto/v1/issue_service.proto+++ b/proto/v1/issue_service.proto@@ -11,12 +11,12 @@ import "google/protobuf/timestamp.proto";option go_package = "generated-go/v1";service IssueService {- rpc GetIssue(GetIssueRequest) returns (Review) {+ rpc GetIssue(GetIssueRequest) returns (Issue) {option (google.api.http) = {get: "/v1/{name=projects/*/reviews/*}"};option (google.api.method_signature) = "name";}- rpc CreateIssue(CreateIssueRequest) returns (Review) {+ rpc CreateIssue(CreateIssueRequest) returns (Issue) {option (google.api.http) = {post: "/v1/{parent=projects/*}/reviews"body: "review"@@ -29,7 +29,7 @@ service IssueService {option (google.api.method_signature) = "parent";}- rpc UpdateIssue(UpdateIssueRequest) returns (Review) {+ rpc UpdateIssue(UpdateIssueRequest) returns (Issue) {option (google.api.http) = {patch: "/v1/{review.name=projects/*/reviews/*}"body: "review"@@ -60,21 +60,21 @@ service IssueService {};}- rpc ApproveIssue(ApproveIssueRequest) returns (Review) {+ rpc ApproveIssue(ApproveIssueRequest) returns (Issue) {option (google.api.http) = {post: "/v1/{name=projects/*/reviews/*}:approve"body: "*"};}- rpc RejectIssue(RejectIssueRequest) returns (Review) {+ rpc RejectIssue(RejectIssueRequest) returns (Issue) {option (google.api.http) = {post: "/v1/{name=projects/*/reviews/*}:reject"body: "*"};}- rpc RequestIssue(RequestIssueRequest) returns (Review) {+ rpc RequestIssue(RequestIssueRequest) returns (Issue) {option (google.api.http) = {post: "/v1/{name=projects/*/reviews/*}:request"body: "*"@@ -96,7 +96,7 @@ message CreateIssueRequest {string parent = 1 [(google.api.field_behavior) = REQUIRED];// The review to create.- Review review = 2 [(google.api.field_behavior) = REQUIRED];+ Issue review = 2 [(google.api.field_behavior) = REQUIRED];}message ListIssuesRequest {@@ -121,7 +121,7 @@ message ListIssuesRequest {message ListIssuesResponse {// The issues from the specified request.- repeated Review reviews = 1;+ repeated Issue reviews = 1;// A token, which can be sent as `page_token` to retrieve the next page.// If this field is omitted, there are no subsequent pages.@@ -133,7 +133,7 @@ message UpdateIssueRequest {//// The issue's `name` field is used to identify the issue to update.// Format: projects/{project}/reviews/{review}- Review review = 1 [(google.api.field_behavior) = REQUIRED];+ Issue review = 1 [(google.api.field_behavior) = REQUIRED];// The list of fields to update.google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];@@ -153,7 +153,7 @@ message BatchUpdateIssuesRequest {message BatchUpdateIssuesResponse {// Issues updated.- repeated Review reviews = 1;+ repeated Issue reviews = 1;}message ApproveIssueRequest {@@ -177,7 +177,7 @@ message RequestIssueRequest {string comment = 2;}-message Review {+message Issue {// The name of the issue.// Format: projects/{project}/reviews/{review}string name = 1;