Skip to content

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

chore: rename review to issue (#6930)

Danny Xu771d3bdb4c1b
diff --git a/backend/api/v1/common.go b/backend/api/v1/common.go
index f3e3599be8..e187053b29 100644
--- a/backend/api/v1/common.go
+++ b/backend/api/v1/common.go
@@ -251,7 +251,7 @@ func getRiskID(name string) (int64, error) {
return riskID, nil
}
-func getReviewID(name string) (int, error) {
+func getIssueID(name string) (int, error) {
tokens, err := getNameParentTokens(name, projectNamePrefix, reviewPrefix)
if err != nil {
return 0, err
diff --git a/backend/api/v1/issue_service.go b/backend/api/v1/issue_service.go
index 24ee2a7582..aed898dc72 100644
--- a/backend/api/v1/issue_service.go
+++ b/backend/api/v1/issue_service.go
@@ -54,10 +54,10 @@ func NewIssueService(store *store.Store, activityManager *activity.Manager, task
}
}
-// GetReview gets a review.
+// GetIssue gets a review.
// Currently, only review.ApprovalTemplates and review.Approvers are set.
-func (s *IssueService) GetReview(ctx context.Context, request *v1pb.GetReviewRequest) (*v1pb.Review, error) {
- issue, err := s.getIssue(ctx, request.Name)
+func (s *IssueService) GetIssue(ctx context.Context, request *v1pb.GetIssueRequest) (*v1pb.Review, error) {
+ issue, err := s.getIssueMessage(ctx, request.Name)
if err != nil {
return nil, err
}
@@ -87,7 +87,7 @@ func (s *IssueService) GetReview(ctx context.Context, request *v1pb.GetReviewReq
return nil, status.Errorf(codes.Internal, "failed to check external approval status, error: %v", errs)
}
}
- issue, err = s.getIssue(ctx, request.Name)
+ issue, err = s.getIssueMessage(ctx, request.Name)
if err != nil {
return nil, err
}
@@ -100,7 +100,7 @@ func (s *IssueService) GetReview(ctx context.Context, request *v1pb.GetReviewReq
// ApproveReview approves the approval flow of the review.
func (s *IssueService) ApproveReview(ctx context.Context, request *v1pb.ApproveReviewRequest) (*v1pb.Review, error) {
- issue, err := s.getIssue(ctx, request.Name)
+ issue, err := s.getIssueMessage(ctx, request.Name)
if err != nil {
return nil, err
}
@@ -328,7 +328,7 @@ func (s *IssueService) ApproveReview(ctx context.Context, request *v1pb.ApproveR
// RejectReview rejects a review.
func (s *IssueService) RejectReview(ctx context.Context, request *v1pb.RejectReviewRequest) (*v1pb.Review, error) {
- issue, err := s.getIssue(ctx, request.Name)
+ issue, err := s.getIssueMessage(ctx, request.Name)
if err != nil {
return nil, err
}
@@ -434,7 +434,7 @@ func (s *IssueService) RejectReview(ctx context.Context, request *v1pb.RejectRev
// RequestReview requests a review.
func (s *IssueService) RequestReview(ctx context.Context, request *v1pb.RequestReviewRequest) (*v1pb.Review, error) {
- issue, err := s.getIssue(ctx, request.Name)
+ issue, err := s.getIssueMessage(ctx, request.Name)
if err != nil {
return nil, err
}
@@ -542,14 +542,14 @@ func (s *IssueService) RequestReview(ctx context.Context, request *v1pb.RequestR
return review, nil
}
-// UpdateReview updates the review.
+// UpdateIssue updates the review.
// It can only update approval_finding_done to false.
-func (s *IssueService) UpdateReview(ctx context.Context, request *v1pb.UpdateReviewRequest) (*v1pb.Review, error) {
+func (s *IssueService) UpdateIssue(ctx context.Context, request *v1pb.UpdateIssueRequest) (*v1pb.Review, error) {
principalID := ctx.Value(common.PrincipalIDContextKey).(int)
if request.UpdateMask == nil {
return nil, status.Errorf(codes.InvalidArgument, "update_mask must be set")
}
- issue, err := s.getIssue(ctx, request.Review.Name)
+ issue, err := s.getIssueMessage(ctx, request.Review.Name)
if err != nil {
return nil, err
}
@@ -603,12 +603,12 @@ func (s *IssueService) UpdateReview(ctx context.Context, request *v1pb.UpdateRev
return review, nil
}
-// CreateReviewComment creates the review comment.
-func (s *IssueService) CreateReviewComment(ctx context.Context, request *v1pb.CreateReviewCommentRequest) (*v1pb.ReviewComment, error) {
+// CreateIssueComment creates the review comment.
+func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.CreateIssueCommentRequest) (*v1pb.ReviewComment, error) {
if request.ReviewComment.Comment == "" {
return nil, status.Errorf(codes.InvalidArgument, "review comment is empty")
}
- issue, err := s.getIssue(ctx, request.Parent)
+ issue, err := s.getIssueMessage(ctx, request.Parent)
if err != nil {
return nil, err
}
@@ -648,8 +648,8 @@ func (s *IssueService) CreateReviewComment(ctx context.Context, request *v1pb.Cr
}, nil
}
-// UpdateReviewComment updates the review comment.
-func (s *IssueService) UpdateReviewComment(ctx context.Context, request *v1pb.UpdateReviewCommentRequest) (*v1pb.ReviewComment, error) {
+// UpdateIssueComment updates the review comment.
+func (s *IssueService) UpdateIssueComment(ctx context.Context, request *v1pb.UpdateIssueCommentRequest) (*v1pb.ReviewComment, error) {
if request.UpdateMask.Paths == nil {
return nil, status.Errorf(codes.InvalidArgument, "update_mask is required")
}
@@ -714,8 +714,8 @@ func (s *IssueService) onReviewApproved(ctx context.Context, issue *store.IssueM
}
}
-func (s *IssueService) getIssue(ctx context.Context, name string) (*store.IssueMessage, error) {
- reviewID, err := getReviewID(name)
+func (s *IssueService) getIssueMessage(ctx context.Context, name string) (*store.IssueMessage, error) {
+ reviewID, err := getIssueID(name)
if err != nil {
return nil, status.Errorf(codes.InvalidArgument, err.Error())
}
diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.go
index c3c05af3e6..3cdd9fed47 100644
--- a/backend/api/v1/rollout_service.go
+++ b/backend/api/v1/rollout_service.go
@@ -1397,7 +1397,7 @@ func getTaskCreatesFromChangeDatabaseConfig(ctx context.Context, s *store.Store,
RollbackSQLStatus: api.RollbackSQLStatusPending,
}
if c.RollbackDetail != nil {
- reviewID, err := getReviewID(c.RollbackDetail.RollbackFromReview)
+ reviewID, err := getIssueID(c.RollbackDetail.RollbackFromReview)
if err != nil {
return nil, nil, errors.Wrapf(err, "failed to get review id from review %q", c.RollbackDetail.RollbackFromReview)
}
diff --git a/backend/tests/external_approval_test.go b/backend/tests/external_approval_test.go
index 478f855dad..55a87993d9 100644
--- a/backend/tests/external_approval_test.go
+++ b/backend/tests/external_approval_test.go
@@ -170,7 +170,7 @@ func TestExternalApprovalFeishu_AllUserCanBeFound(t *testing.T) {
a.NoError(err)
for {
- review, err := ctl.issueServiceClient.GetReview(ctx, &v1pb.GetReviewRequest{
+ review, err := ctl.issueServiceClient.GetIssue(ctx, &v1pb.GetIssueRequest{
Name: fmt.Sprintf("projects/%d/reviews/%d", issue.ProjectID, issue.ID),
})
a.NoError(err)
@@ -361,7 +361,7 @@ func TestExternalApprovalFeishu_AssigneeCanBeFound(t *testing.T) {
a.NoError(err)
for {
- review, err := ctl.issueServiceClient.GetReview(ctx, &v1pb.GetReviewRequest{
+ review, err := ctl.issueServiceClient.GetIssue(ctx, &v1pb.GetIssueRequest{
Name: fmt.Sprintf("projects/%d/reviews/%d", issue.ProjectID, issue.ID),
})
a.NoError(err)
diff --git a/backend/tests/issue.go b/backend/tests/issue.go
index 36f3951605..606b86af30 100644
--- a/backend/tests/issue.go
+++ b/backend/tests/issue.go
@@ -287,7 +287,7 @@ func (ctl *controller) waitIssuePipelineTaskImpl(ctx context.Context, id int, ap
return api.TaskFailed, err
}
- review, err := ctl.issueServiceClient.GetReview(ctx, &v1.GetReviewRequest{
+ review, err := ctl.issueServiceClient.GetIssue(ctx, &v1.GetIssueRequest{
Name: fmt.Sprintf("projects/%d/reviews/%d", issue.ProjectID, issue.ID),
})
if err != nil {
diff --git a/frontend/src/components/Issue/IssueActivityPanel.vue b/frontend/src/components/Issue/IssueActivityPanel.vue
index c53176b8cf..b14158f1f2 100644
--- a/frontend/src/components/Issue/IssueActivityPanel.vue
+++ b/frontend/src/components/Issue/IssueActivityPanel.vue
@@ -146,7 +146,7 @@ import { extractUserResourceName } from "@/utils";
import { IssueBuiltinFieldId } from "@/plugins";
import {
useIssueSubscriberStore,
- useReviewV1Store,
+ useIssueV1Store,
useIssueStore,
useActivityV1Store,
useCurrentUserV1,
@@ -165,7 +165,7 @@ interface LocalState {
}
const issueStore = useIssueStore();
-const reviewV1Store = useReviewV1Store();
+const issueV1Store = useIssueV1Store();
const activityV1Store = useActivityV1Store();
const route = useRoute();
@@ -242,8 +242,8 @@ const cancelEditComment = () => {
};
const doCreateComment = (comment: string) => {
- reviewV1Store
- .createReviewComment({
+ issueV1Store
+ .createIssueComment({
reviewId: issue.value.id,
comment,
})
@@ -295,8 +295,8 @@ const doUpdateComment = () => {
return;
}
const activityId = getLogId(state.activeActivity.name);
- reviewV1Store
- .updateReviewComment({
+ issueV1Store
+ .updateIssueComment({
commentId: `${activityId}`,
reviewId: issue.value.id,
comment: state.editComment,
diff --git a/frontend/src/components/Issue/rollback/common.ts b/frontend/src/components/Issue/rollback/common.ts
index 6880600cd0..614b13cc32 100644
--- a/frontend/src/components/Issue/rollback/common.ts
+++ b/frontend/src/components/Issue/rollback/common.ts
@@ -23,7 +23,7 @@ import {
} from "@/utils";
import { flattenTaskList, useIssueLogic } from "../logic";
import {
- useReviewV1Store,
+ useIssueV1Store,
useCurrentUserV1,
useDatabaseV1Store,
useIssueStore,
@@ -188,7 +188,7 @@ export const useRollbackLogic = () => {
const issueEntity = issue.value as Issue;
const action = on ? "Enable" : "Disable";
try {
- await useReviewV1Store().createReviewComment({
+ await useIssueV1Store().createIssueComment({
reviewId: issueEntity.id,
comment: `${action} SQL rollback log for task [${taskEntity.name}].`,
payload: {
@@ -261,7 +261,7 @@ export const maybeCreateBackTraceComments = async (newIssue: Issue) => {
`[${fromTask.name}]`,
].join(" ");
try {
- await useReviewV1Store().createReviewComment({
+ await useIssueV1Store().createIssueComment({
reviewId: fromIssue.id,
comment,
payload: {
diff --git a/frontend/src/plugins/issue/logic/review/index.ts b/frontend/src/plugins/issue/logic/review/index.ts
index e04f8bed8c..7bf25c5f6f 100644
--- a/frontend/src/plugins/issue/logic/review/index.ts
+++ b/frontend/src/plugins/issue/logic/review/index.ts
@@ -102,7 +102,7 @@ export const provideIssueReview = (
const store = useReviewStore();
const review = computed(() => {
return issue.value
- ? store.getReviewByIssue(issue.value)
+ ? store.getIssueByIssue(issue.value)
: Review.fromJSON({});
});
diff --git a/frontend/src/store/modules/review.ts b/frontend/src/store/modules/review.ts
index 07f8f26de1..6a34f32aa3 100644
--- a/frontend/src/store/modules/review.ts
+++ b/frontend/src/store/modules/review.ts
@@ -29,7 +29,7 @@ const emptyReview = (issue: Issue) => {
export const useReviewStore = defineStore("review", () => {
const reviewsByName = ref(new Map<string, Review>());
- const getReviewByIssue = (issue: Issue) => {
+ const getIssueByIssue = (issue: Issue) => {
return reviewsByName.value.get(reviewName(issue)) ?? emptyReview(issue);
};
@@ -42,7 +42,7 @@ export const useReviewStore = defineStore("review", () => {
const name = reviewName(issue);
try {
- const review = await issueServiceClient.getReview({
+ const review = await issueServiceClient.getIssue({
name,
force,
});
@@ -78,7 +78,7 @@ export const useReviewStore = defineStore("review", () => {
};
const regenerateReview = async (issue: Issue) => {
- const review = await issueServiceClient.updateReview({
+ const review = await issueServiceClient.updateIssue({
review: {
name: reviewName(issue),
approvalFindingDone: false,
@@ -89,7 +89,7 @@ export const useReviewStore = defineStore("review", () => {
};
return {
- getReviewByIssue,
+ getIssueByIssue,
fetchReviewByIssue,
approveReview,
rejectReview,
diff --git a/frontend/src/store/modules/v1/review.ts b/frontend/src/store/modules/v1/review.ts
index 8b574cfe13..ca3cccbf8c 100644
--- a/frontend/src/store/modules/v1/review.ts
+++ b/frontend/src/store/modules/v1/review.ts
@@ -5,8 +5,8 @@ import { useActivityV1Store } from "./activity";
import { IdType, ActivityIssueCommentCreatePayload } from "@/types";
import { projectNamePrefix, reviewNamePrefix } from "./common";
-export const useReviewV1Store = defineStore("review_v1", () => {
- const createReviewComment = async ({
+export const useIssueV1Store = defineStore("issue_v1", () => {
+ const createIssueComment = async ({
reviewId,
comment,
payload,
@@ -15,7 +15,7 @@ export const useReviewV1Store = defineStore("review_v1", () => {
comment: string;
payload?: ActivityIssueCommentCreatePayload;
}) => {
- await issueServiceClient.createReviewComment({
+ await issueServiceClient.createIssueComment({
parent: `${projectNamePrefix}-/${reviewNamePrefix}${reviewId}`,
reviewComment: {
comment,
@@ -25,7 +25,7 @@ export const useReviewV1Store = defineStore("review_v1", () => {
await useActivityV1Store().fetchActivityListByIssueId(reviewId);
};
- const updateReviewComment = async ({
+ const updateIssueComment = async ({
commentId,
reviewId,
comment,
@@ -34,7 +34,7 @@ export const useReviewV1Store = defineStore("review_v1", () => {
reviewId: IdType;
comment: string;
}) => {
- await issueServiceClient.updateReviewComment({
+ await issueServiceClient.updateIssueComment({
parent: `${projectNamePrefix}-/${reviewNamePrefix}${reviewId}`,
reviewComment: {
uid: commentId,
@@ -46,7 +46,7 @@ export const useReviewV1Store = defineStore("review_v1", () => {
};
return {
- createReviewComment,
- updateReviewComment,
+ createIssueComment,
+ updateIssueComment,
};
});
diff --git a/frontend/src/types/proto/v1/issue_service.ts b/frontend/src/types/proto/v1/issue_service.ts
index c1deee36a0..9e804959d9 100644
--- a/frontend/src/types/proto/v1/issue_service.ts
+++ b/frontend/src/types/proto/v1/issue_service.ts
@@ -51,7 +51,7 @@ export function reviewStatusToJSON(object: ReviewStatus): string {
}
}
-export interface GetReviewRequest {
+export interface GetIssueRequest {
/**
* The name of the review to retrieve.
* Format: projects/{project}/reviews/{review}
@@ -60,7 +60,7 @@ export interface GetReviewRequest {
force: boolean;
}
-export interface CreateReviewRequest {
+export interface CreateIssueRequest {
/**
* The parent, which owns this collection of reviews.
* Format: projects/{project}
@@ -70,7 +70,7 @@ export interface CreateReviewRequest {
review?: Review;
}
-export interface ListReviewsRequest {
+export interface ListIssuesRequest {
/**
* The parent, which owns this collection of reviews.
* Format: projects/{project}
@@ -85,16 +85,16 @@ export interface ListReviewsRequest {
*/
pageSize: number;
/**
- * A page token, received from a previous `ListReviews` call.
+ * A page token, received from a previous `ListIssues` call.
* Provide this to retrieve the subsequent page.
*
- * When paginating, all other parameters provided to `ListReviews` must match
+ * When paginating, all other parameters provided to `ListIssues` must match
* the call that provided the page token.
*/
pageToken: string;
}
-export interface ListReviewsResponse {
+export interface ListIssuesResponse {
/** The reviews from the specified request. */
reviews: Review[];
/**
@@ -104,7 +104,7 @@ export interface ListReviewsResponse {
nextPageToken: string;
}
-export interface UpdateReviewRequest {
+export interface UpdateIssueRequest {
/**
* The review to update.
*
@@ -116,7 +116,7 @@ export interface UpdateReviewRequest {
updateMask?: string[];
}
-export interface BatchUpdateReviewsRequest {
+export interface BatchUpdateIssuesRequest {
/**
* The parent resource shared by all reviews being updated.
* Format: projects/{project}
@@ -128,10 +128,10 @@ export interface BatchUpdateReviewsRequest {
* The request message specifying the resources to update.
* A maximum of 1000 databases can be modified in a batch.
*/
- requests: UpdateReviewRequest[];
+ requests: UpdateIssueRequest[];
}
-export interface BatchUpdateReviewsResponse {
+export interface BatchUpdateIssuesResponse {
/** Reviews updated. */
reviews: Review[];
}
@@ -432,7 +432,7 @@ export function approvalNode_GroupValueToJSON(object: ApprovalNode_GroupValue):
}
}
-export interface CreateReviewCommentRequest {
+export interface CreateIssueCommentRequest {
/**
* The review name
* Format: projects/{project}/reviews/{review}
@@ -441,7 +441,7 @@ export interface CreateReviewCommentRequest {
reviewComment?: ReviewComment;
}
-export interface UpdateReviewCommentRequest {
+export interface UpdateIssueCommentRequest {
/**
* The review name
* Format: projects/{project}/reviews/{review}
@@ -461,12 +461,12 @@ export interface ReviewComment {
updateTime?: Date;
}
-function createBaseGetReviewRequest(): GetReviewRequest {
+function createBaseGetIssueRequest(): GetIssueRequest {
return { name: "", force: false };
}
-export const GetReviewRequest = {
- encode(message: GetReviewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const GetIssueRequest = {
+ encode(message: GetIssueRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.name !== "") {
writer.uint32(10).string(message.name);
}
@@ -476,10 +476,10 @@ export const GetReviewRequest = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): GetReviewRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetIssueRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseGetReviewRequest();
+ const message = createBaseGetIssueRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -506,38 +506,38 @@ export const GetReviewRequest = {
return message;
},
- fromJSON(object: any): GetReviewRequest {
+ fromJSON(object: any): GetIssueRequest {
return {
name: isSet(object.name) ? String(object.name) : "",
force: isSet(object.force) ? Boolean(object.force) : false,
};
},
- toJSON(message: GetReviewRequest): unknown {
+ toJSON(message: GetIssueRequest): unknown {
const obj: any = {};
message.name !== undefined && (obj.name = message.name);
message.force !== undefined && (obj.force = message.force);
return obj;
},
- create(base?: DeepPartial<GetReviewRequest>): GetReviewRequest {
- return GetReviewRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<GetIssueRequest>): GetIssueRequest {
+ return GetIssueRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<GetReviewRequest>): GetReviewRequest {
- const message = createBaseGetReviewRequest();
+ fromPartial(object: DeepPartial<GetIssueRequest>): GetIssueRequest {
+ const message = createBaseGetIssueRequest();
message.name = object.name ?? "";
message.force = object.force ?? false;
return message;
},
};
-function createBaseCreateReviewRequest(): CreateReviewRequest {
+function createBaseCreateIssueRequest(): CreateIssueRequest {
return { parent: "", review: undefined };
}
-export const CreateReviewRequest = {
- encode(message: CreateReviewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const CreateIssueRequest = {
+ encode(message: CreateIssueRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
@@ -547,10 +547,10 @@ export const CreateReviewRequest = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): CreateReviewRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): CreateIssueRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseCreateReviewRequest();
+ const message = createBaseCreateIssueRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -577,26 +577,26 @@ export const CreateReviewRequest = {
return message;
},
- fromJSON(object: any): CreateReviewRequest {
+ fromJSON(object: any): CreateIssueRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
review: isSet(object.review) ? Review.fromJSON(object.review) : undefined,
};
},
- toJSON(message: CreateReviewRequest): unknown {
+ 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);
return obj;
},
- create(base?: DeepPartial<CreateReviewRequest>): CreateReviewRequest {
- return CreateReviewRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<CreateIssueRequest>): CreateIssueRequest {
+ return CreateIssueRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<CreateReviewRequest>): CreateReviewRequest {
- const message = createBaseCreateReviewRequest();
+ fromPartial(object: DeepPartial<CreateIssueRequest>): CreateIssueRequest {
+ const message = createBaseCreateIssueRequest();
message.parent = object.parent ?? "";
message.review = (object.review !== undefined && object.review !== null)
? Review.fromPartial(object.review)
@@ -605,12 +605,12 @@ export const CreateReviewRequest = {
},
};
-function createBaseListReviewsRequest(): ListReviewsRequest {
+function createBaseListIssuesRequest(): ListIssuesRequest {
return { parent: "", pageSize: 0, pageToken: "" };
}
-export const ListReviewsRequest = {
- encode(message: ListReviewsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const ListIssuesRequest = {
+ encode(message: ListIssuesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
@@ -623,10 +623,10 @@ export const ListReviewsRequest = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): ListReviewsRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListIssuesRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseListReviewsRequest();
+ const message = createBaseListIssuesRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -660,7 +660,7 @@ export const ListReviewsRequest = {
return message;
},
- fromJSON(object: any): ListReviewsRequest {
+ fromJSON(object: any): ListIssuesRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
pageSize: isSet(object.pageSize) ? Number(object.pageSize) : 0,
@@ -668,7 +668,7 @@ export const ListReviewsRequest = {
};
},
- toJSON(message: ListReviewsRequest): unknown {
+ toJSON(message: ListIssuesRequest): unknown {
const obj: any = {};
message.parent !== undefined && (obj.parent = message.parent);
message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize));
@@ -676,12 +676,12 @@ export const ListReviewsRequest = {
return obj;
},
- create(base?: DeepPartial<ListReviewsRequest>): ListReviewsRequest {
- return ListReviewsRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<ListIssuesRequest>): ListIssuesRequest {
+ return ListIssuesRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<ListReviewsRequest>): ListReviewsRequest {
- const message = createBaseListReviewsRequest();
+ fromPartial(object: DeepPartial<ListIssuesRequest>): ListIssuesRequest {
+ const message = createBaseListIssuesRequest();
message.parent = object.parent ?? "";
message.pageSize = object.pageSize ?? 0;
message.pageToken = object.pageToken ?? "";
@@ -689,12 +689,12 @@ export const ListReviewsRequest = {
},
};
-function createBaseListReviewsResponse(): ListReviewsResponse {
+function createBaseListIssuesResponse(): ListIssuesResponse {
return { reviews: [], nextPageToken: "" };
}
-export const ListReviewsResponse = {
- encode(message: ListReviewsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+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();
}
@@ -704,10 +704,10 @@ export const ListReviewsResponse = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): ListReviewsResponse {
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListIssuesResponse {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseListReviewsResponse();
+ const message = createBaseListIssuesResponse();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -734,14 +734,14 @@ export const ListReviewsResponse = {
return message;
},
- fromJSON(object: any): ListReviewsResponse {
+ fromJSON(object: any): ListIssuesResponse {
return {
reviews: Array.isArray(object?.reviews) ? object.reviews.map((e: any) => Review.fromJSON(e)) : [],
nextPageToken: isSet(object.nextPageToken) ? String(object.nextPageToken) : "",
};
},
- toJSON(message: ListReviewsResponse): unknown {
+ toJSON(message: ListIssuesResponse): unknown {
const obj: any = {};
if (message.reviews) {
obj.reviews = message.reviews.map((e) => e ? Review.toJSON(e) : undefined);
@@ -752,24 +752,24 @@ export const ListReviewsResponse = {
return obj;
},
- create(base?: DeepPartial<ListReviewsResponse>): ListReviewsResponse {
- return ListReviewsResponse.fromPartial(base ?? {});
+ create(base?: DeepPartial<ListIssuesResponse>): ListIssuesResponse {
+ return ListIssuesResponse.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<ListReviewsResponse>): ListReviewsResponse {
- const message = createBaseListReviewsResponse();
+ fromPartial(object: DeepPartial<ListIssuesResponse>): ListIssuesResponse {
+ const message = createBaseListIssuesResponse();
message.reviews = object.reviews?.map((e) => Review.fromPartial(e)) || [];
message.nextPageToken = object.nextPageToken ?? "";
return message;
},
};
-function createBaseUpdateReviewRequest(): UpdateReviewRequest {
+function createBaseUpdateIssueRequest(): UpdateIssueRequest {
return { review: undefined, updateMask: undefined };
}
-export const UpdateReviewRequest = {
- encode(message: UpdateReviewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+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();
}
@@ -779,10 +779,10 @@ export const UpdateReviewRequest = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): UpdateReviewRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateIssueRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseUpdateReviewRequest();
+ const message = createBaseUpdateIssueRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -809,26 +809,26 @@ export const UpdateReviewRequest = {
return message;
},
- fromJSON(object: any): UpdateReviewRequest {
+ fromJSON(object: any): UpdateIssueRequest {
return {
review: isSet(object.review) ? Review.fromJSON(object.review) : undefined,
updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,
};
},
- toJSON(message: UpdateReviewRequest): unknown {
+ toJSON(message: UpdateIssueRequest): unknown {
const obj: any = {};
message.review !== undefined && (obj.review = message.review ? Review.toJSON(message.review) : undefined);
message.updateMask !== undefined && (obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask)));
return obj;
},
- create(base?: DeepPartial<UpdateReviewRequest>): UpdateReviewRequest {
- return UpdateReviewRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<UpdateIssueRequest>): UpdateIssueRequest {
+ return UpdateIssueRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<UpdateReviewRequest>): UpdateReviewRequest {
- const message = createBaseUpdateReviewRequest();
+ fromPartial(object: DeepPartial<UpdateIssueRequest>): UpdateIssueRequest {
+ const message = createBaseUpdateIssueRequest();
message.review = (object.review !== undefined && object.review !== null)
? Review.fromPartial(object.review)
: undefined;
@@ -837,25 +837,25 @@ export const UpdateReviewRequest = {
},
};
-function createBaseBatchUpdateReviewsRequest(): BatchUpdateReviewsRequest {
+function createBaseBatchUpdateIssuesRequest(): BatchUpdateIssuesRequest {
return { parent: "", requests: [] };
}
-export const BatchUpdateReviewsRequest = {
- encode(message: BatchUpdateReviewsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const BatchUpdateIssuesRequest = {
+ encode(message: BatchUpdateIssuesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
for (const v of message.requests) {
- UpdateReviewRequest.encode(v!, writer.uint32(18).fork()).ldelim();
+ UpdateIssueRequest.encode(v!, writer.uint32(18).fork()).ldelim();
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): BatchUpdateReviewsRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchUpdateIssuesRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBatchUpdateReviewsRequest();
+ const message = createBaseBatchUpdateIssuesRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -871,7 +871,7 @@ export const BatchUpdateReviewsRequest = {
break;
}
- message.requests.push(UpdateReviewRequest.decode(reader, reader.uint32()));
+ message.requests.push(UpdateIssueRequest.decode(reader, reader.uint32()));
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -882,52 +882,52 @@ export const BatchUpdateReviewsRequest = {
return message;
},
- fromJSON(object: any): BatchUpdateReviewsRequest {
+ fromJSON(object: any): BatchUpdateIssuesRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
- requests: Array.isArray(object?.requests) ? object.requests.map((e: any) => UpdateReviewRequest.fromJSON(e)) : [],
+ requests: Array.isArray(object?.requests) ? object.requests.map((e: any) => UpdateIssueRequest.fromJSON(e)) : [],
};
},
- toJSON(message: BatchUpdateReviewsRequest): unknown {
+ toJSON(message: BatchUpdateIssuesRequest): unknown {
const obj: any = {};
message.parent !== undefined && (obj.parent = message.parent);
if (message.requests) {
- obj.requests = message.requests.map((e) => e ? UpdateReviewRequest.toJSON(e) : undefined);
+ obj.requests = message.requests.map((e) => e ? UpdateIssueRequest.toJSON(e) : undefined);
} else {
obj.requests = [];
}
return obj;
},
- create(base?: DeepPartial<BatchUpdateReviewsRequest>): BatchUpdateReviewsRequest {
- return BatchUpdateReviewsRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<BatchUpdateIssuesRequest>): BatchUpdateIssuesRequest {
+ return BatchUpdateIssuesRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<BatchUpdateReviewsRequest>): BatchUpdateReviewsRequest {
- const message = createBaseBatchUpdateReviewsRequest();
+ fromPartial(object: DeepPartial<BatchUpdateIssuesRequest>): BatchUpdateIssuesRequest {
+ const message = createBaseBatchUpdateIssuesRequest();
message.parent = object.parent ?? "";
- message.requests = object.requests?.map((e) => UpdateReviewRequest.fromPartial(e)) || [];
+ message.requests = object.requests?.map((e) => UpdateIssueRequest.fromPartial(e)) || [];
return message;
},
};
-function createBaseBatchUpdateReviewsResponse(): BatchUpdateReviewsResponse {
+function createBaseBatchUpdateIssuesResponse(): BatchUpdateIssuesResponse {
return { reviews: [] };
}
-export const BatchUpdateReviewsResponse = {
- encode(message: BatchUpdateReviewsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+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();
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): BatchUpdateReviewsResponse {
+ decode(input: _m0.Reader | Uint8Array, length?: number): BatchUpdateIssuesResponse {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBatchUpdateReviewsResponse();
+ const message = createBaseBatchUpdateIssuesResponse();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -947,11 +947,11 @@ export const BatchUpdateReviewsResponse = {
return message;
},
- fromJSON(object: any): BatchUpdateReviewsResponse {
+ fromJSON(object: any): BatchUpdateIssuesResponse {
return { reviews: Array.isArray(object?.reviews) ? object.reviews.map((e: any) => Review.fromJSON(e)) : [] };
},
- toJSON(message: BatchUpdateReviewsResponse): unknown {
+ toJSON(message: BatchUpdateIssuesResponse): unknown {
const obj: any = {};
if (message.reviews) {
obj.reviews = message.reviews.map((e) => e ? Review.toJSON(e) : undefined);
@@ -961,12 +961,12 @@ export const BatchUpdateReviewsResponse = {
return obj;
},
- create(base?: DeepPartial<BatchUpdateReviewsResponse>): BatchUpdateReviewsResponse {
- return BatchUpdateReviewsResponse.fromPartial(base ?? {});
+ create(base?: DeepPartial<BatchUpdateIssuesResponse>): BatchUpdateIssuesResponse {
+ return BatchUpdateIssuesResponse.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<BatchUpdateReviewsResponse>): BatchUpdateReviewsResponse {
- const message = createBaseBatchUpdateReviewsResponse();
+ fromPartial(object: DeepPartial<BatchUpdateIssuesResponse>): BatchUpdateIssuesResponse {
+ const message = createBaseBatchUpdateIssuesResponse();
message.reviews = object.reviews?.map((e) => Review.fromPartial(e)) || [];
return message;
},
@@ -1888,12 +1888,12 @@ export const ApprovalNode = {
},
};
-function createBaseCreateReviewCommentRequest(): CreateReviewCommentRequest {
+function createBaseCreateIssueCommentRequest(): CreateIssueCommentRequest {
return { parent: "", reviewComment: undefined };
}
-export const CreateReviewCommentRequest = {
- encode(message: CreateReviewCommentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const CreateIssueCommentRequest = {
+ encode(message: CreateIssueCommentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
@@ -1903,10 +1903,10 @@ export const CreateReviewCommentRequest = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): CreateReviewCommentRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): CreateIssueCommentRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseCreateReviewCommentRequest();
+ const message = createBaseCreateIssueCommentRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -1933,14 +1933,14 @@ export const CreateReviewCommentRequest = {
return message;
},
- fromJSON(object: any): CreateReviewCommentRequest {
+ fromJSON(object: any): CreateIssueCommentRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
reviewComment: isSet(object.reviewComment) ? ReviewComment.fromJSON(object.reviewComment) : undefined,
};
},
- toJSON(message: CreateReviewCommentRequest): unknown {
+ toJSON(message: CreateIssueCommentRequest): unknown {
const obj: any = {};
message.parent !== undefined && (obj.parent = message.parent);
message.reviewComment !== undefined &&
@@ -1948,12 +1948,12 @@ export const CreateReviewCommentRequest = {
return obj;
},
- create(base?: DeepPartial<CreateReviewCommentRequest>): CreateReviewCommentRequest {
- return CreateReviewCommentRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<CreateIssueCommentRequest>): CreateIssueCommentRequest {
+ return CreateIssueCommentRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<CreateReviewCommentRequest>): CreateReviewCommentRequest {
- const message = createBaseCreateReviewCommentRequest();
+ fromPartial(object: DeepPartial<CreateIssueCommentRequest>): CreateIssueCommentRequest {
+ const message = createBaseCreateIssueCommentRequest();
message.parent = object.parent ?? "";
message.reviewComment = (object.reviewComment !== undefined && object.reviewComment !== null)
? ReviewComment.fromPartial(object.reviewComment)
@@ -1962,12 +1962,12 @@ export const CreateReviewCommentRequest = {
},
};
-function createBaseUpdateReviewCommentRequest(): UpdateReviewCommentRequest {
+function createBaseUpdateIssueCommentRequest(): UpdateIssueCommentRequest {
return { parent: "", reviewComment: undefined, updateMask: undefined };
}
-export const UpdateReviewCommentRequest = {
- encode(message: UpdateReviewCommentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const UpdateIssueCommentRequest = {
+ encode(message: UpdateIssueCommentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
@@ -1980,10 +1980,10 @@ export const UpdateReviewCommentRequest = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): UpdateReviewCommentRequest {
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateIssueCommentRequest {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseUpdateReviewCommentRequest();
+ const message = createBaseUpdateIssueCommentRequest();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -2017,7 +2017,7 @@ export const UpdateReviewCommentRequest = {
return message;
},
- fromJSON(object: any): UpdateReviewCommentRequest {
+ fromJSON(object: any): UpdateIssueCommentRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
reviewComment: isSet(object.reviewComment) ? ReviewComment.fromJSON(object.reviewComment) : undefined,
@@ -2025,7 +2025,7 @@ export const UpdateReviewCommentRequest = {
};
},
- toJSON(message: UpdateReviewCommentRequest): unknown {
+ toJSON(message: UpdateIssueCommentRequest): unknown {
const obj: any = {};
message.parent !== undefined && (obj.parent = message.parent);
message.reviewComment !== undefined &&
@@ -2034,12 +2034,12 @@ export const UpdateReviewCommentRequest = {
return obj;
},
- create(base?: DeepPartial<UpdateReviewCommentRequest>): UpdateReviewCommentRequest {
- return UpdateReviewCommentRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<UpdateIssueCommentRequest>): UpdateIssueCommentRequest {
+ return UpdateIssueCommentRequest.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<UpdateReviewCommentRequest>): UpdateReviewCommentRequest {
- const message = createBaseUpdateReviewCommentRequest();
+ fromPartial(object: DeepPartial<UpdateIssueCommentRequest>): UpdateIssueCommentRequest {
+ const message = createBaseUpdateIssueCommentRequest();
message.parent = object.parent ?? "";
message.reviewComment = (object.reviewComment !== undefined && object.reviewComment !== null)
? ReviewComment.fromPartial(object.reviewComment)
@@ -2164,9 +2164,9 @@ export const IssueServiceDefinition = {
name: "IssueService",
fullName: "bytebase.v1.IssueService",
methods: {
- getReview: {
- name: "GetReview",
- requestType: GetReviewRequest,
+ getIssue: {
+ name: "GetIssue",
+ requestType: GetIssueRequest,
requestStream: false,
responseType: Review,
responseStream: false,
@@ -2214,9 +2214,9 @@ export const IssueServiceDefinition = {
},
},
},
- createReview: {
- name: "CreateReview",
- requestType: CreateReviewRequest,
+ createIssue: {
+ name: "CreateIssue",
+ requestType: CreateIssueRequest,
requestStream: false,
responseType: Review,
responseStream: false,
@@ -2272,11 +2272,11 @@ export const IssueServiceDefinition = {
},
},
},
- listReviews: {
- name: "ListReviews",
- requestType: ListReviewsRequest,
+ listIssues: {
+ name: "ListIssues",
+ requestType: ListIssuesRequest,
requestStream: false,
- responseType: ListReviewsResponse,
+ responseType: ListIssuesResponse,
responseStream: false,
options: {
_unknownFields: {
@@ -2322,9 +2322,9 @@ export const IssueServiceDefinition = {
},
},
},
- updateReview: {
- name: "UpdateReview",
- requestType: UpdateReviewRequest,
+ updateIssue: {
+ name: "UpdateIssue",
+ requestType: UpdateIssueRequest,
requestStream: false,
responseType: Review,
responseStream: false,
@@ -2389,9 +2389,9 @@ export const IssueServiceDefinition = {
},
},
},
- createReviewComment: {
- name: "CreateReviewComment",
- requestType: CreateReviewCommentRequest,
+ createIssueComment: {
+ name: "CreateIssueComment",
+ requestType: CreateIssueCommentRequest,
requestStream: false,
responseType: ReviewComment,
responseStream: false,
@@ -2490,9 +2490,9 @@ export const IssueServiceDefinition = {
},
},
},
- updateReviewComment: {
- name: "UpdateReviewComment",
- requestType: UpdateReviewCommentRequest,
+ updateIssueComment: {
+ name: "UpdateIssueComment",
+ requestType: UpdateIssueCommentRequest,
requestStream: false,
responseType: ReviewComment,
responseStream: false,
@@ -2603,11 +2603,11 @@ export const IssueServiceDefinition = {
},
},
},
- batchUpdateReviews: {
- name: "BatchUpdateReviews",
- requestType: BatchUpdateReviewsRequest,
+ batchUpdateIssues: {
+ name: "BatchUpdateIssues",
+ requestType: BatchUpdateIssuesRequest,
requestStream: false,
- responseType: BatchUpdateReviewsResponse,
+ responseType: BatchUpdateIssuesResponse,
responseStream: false,
options: {
_unknownFields: {
@@ -2850,50 +2850,50 @@ export const IssueServiceDefinition = {
} as const;
export interface IssueServiceImplementation<CallContextExt = {}> {
- getReview(request: GetReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
- createReview(request: CreateReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
- listReviews(
- request: ListReviewsRequest,
+ getIssue(request: GetIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
+ createIssue(request: CreateIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
+ listIssues(
+ request: ListIssuesRequest,
context: CallContext & CallContextExt,
- ): Promise<DeepPartial<ListReviewsResponse>>;
- updateReview(request: UpdateReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
- createReviewComment(
- request: CreateReviewCommentRequest,
+ ): Promise<DeepPartial<ListIssuesResponse>>;
+ updateIssue(request: UpdateIssueRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
+ createIssueComment(
+ request: CreateIssueCommentRequest,
context: CallContext & CallContextExt,
): Promise<DeepPartial<ReviewComment>>;
- updateReviewComment(
- request: UpdateReviewCommentRequest,
+ updateIssueComment(
+ request: UpdateIssueCommentRequest,
context: CallContext & CallContextExt,
): Promise<DeepPartial<ReviewComment>>;
- batchUpdateReviews(
- request: BatchUpdateReviewsRequest,
+ batchUpdateIssues(
+ request: BatchUpdateIssuesRequest,
context: CallContext & CallContextExt,
- ): Promise<DeepPartial<BatchUpdateReviewsResponse>>;
+ ): Promise<DeepPartial<BatchUpdateIssuesResponse>>;
approveReview(request: ApproveReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
rejectReview(request: RejectReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
requestReview(request: RequestReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;
}
export interface IssueServiceClient<CallOptionsExt = {}> {
- getReview(request: DeepPartial<GetReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
- createReview(request: DeepPartial<CreateReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
- listReviews(
- request: DeepPartial<ListReviewsRequest>,
+ getIssue(request: DeepPartial<GetIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
+ createIssue(request: DeepPartial<CreateIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
+ listIssues(
+ request: DeepPartial<ListIssuesRequest>,
options?: CallOptions & CallOptionsExt,
- ): Promise<ListReviewsResponse>;
- updateReview(request: DeepPartial<UpdateReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
- createReviewComment(
- request: DeepPartial<CreateReviewCommentRequest>,
+ ): Promise<ListIssuesResponse>;
+ updateIssue(request: DeepPartial<UpdateIssueRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
+ createIssueComment(
+ request: DeepPartial<CreateIssueCommentRequest>,
options?: CallOptions & CallOptionsExt,
): Promise<ReviewComment>;
- updateReviewComment(
- request: DeepPartial<UpdateReviewCommentRequest>,
+ updateIssueComment(
+ request: DeepPartial<UpdateIssueCommentRequest>,
options?: CallOptions & CallOptionsExt,
): Promise<ReviewComment>;
- batchUpdateReviews(
- request: DeepPartial<BatchUpdateReviewsRequest>,
+ batchUpdateIssues(
+ request: DeepPartial<BatchUpdateIssuesRequest>,
options?: CallOptions & CallOptionsExt,
- ): Promise<BatchUpdateReviewsResponse>;
+ ): Promise<BatchUpdateIssuesResponse>;
approveReview(request: DeepPartial<ApproveReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
rejectReview(request: DeepPartial<RejectReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
requestReview(request: DeepPartial<RequestReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;
diff --git a/frontend/src/types/review.ts b/frontend/src/types/review.ts
index c217071bc6..28452d7b57 100644
--- a/frontend/src/types/review.ts
+++ b/frontend/src/types/review.ts
@@ -3,7 +3,7 @@ import type {
ApprovalStep,
ApprovalTemplate,
Review_Approver,
-} from "./proto/v1/review_service";
+} from "./proto/v1/issue_service";
export type ApprovalEvent = {
status: "APPROVED" | "REJECTED" | "PENDING";
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 13c09cab9b..e610f50ab8 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -300,20 +300,20 @@
- [ApprovalStep](#bytebase-v1-ApprovalStep)
- [ApprovalTemplate](#bytebase-v1-ApprovalTemplate)
- [ApproveReviewRequest](#bytebase-v1-ApproveReviewRequest)
- - [BatchUpdateReviewsRequest](#bytebase-v1-BatchUpdateReviewsRequest)
- - [BatchUpdateReviewsResponse](#bytebase-v1-BatchUpdateReviewsResponse)
- - [CreateReviewCommentRequest](#bytebase-v1-CreateReviewCommentRequest)
- - [CreateReviewRequest](#bytebase-v1-CreateReviewRequest)
- - [GetReviewRequest](#bytebase-v1-GetReviewRequest)
- - [ListReviewsRequest](#bytebase-v1-ListReviewsRequest)
- - [ListReviewsResponse](#bytebase-v1-ListReviewsResponse)
+ - [BatchUpdateIssuesRequest](#bytebase-v1-BatchUpdateIssuesRequest)
+ - [BatchUpdateIssuesResponse](#bytebase-v1-BatchUpdateIssuesResponse)
+ - [CreateIssueCommentRequest](#bytebase-v1-CreateIssueCommentRequest)
+ - [CreateIssueRequest](#bytebase-v1-CreateIssueRequest)
+ - [GetIssueRequest](#bytebase-v1-GetIssueRequest)
+ - [ListIssuesRequest](#bytebase-v1-ListIssuesRequest)
+ - [ListIssuesResponse](#bytebase-v1-ListIssuesResponse)
- [RejectReviewRequest](#bytebase-v1-RejectReviewRequest)
- [RequestReviewRequest](#bytebase-v1-RequestReviewRequest)
- [Review](#bytebase-v1-Review)
- [Review.Approver](#bytebase-v1-Review-Approver)
- [ReviewComment](#bytebase-v1-ReviewComment)
- - [UpdateReviewCommentRequest](#bytebase-v1-UpdateReviewCommentRequest)
- - [UpdateReviewRequest](#bytebase-v1-UpdateReviewRequest)
+ - [UpdateIssueCommentRequest](#bytebase-v1-UpdateIssueCommentRequest)
+ - [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest)
- [ApprovalNode.GroupValue](#bytebase-v1-ApprovalNode-GroupValue)
- [ApprovalNode.Type](#bytebase-v1-ApprovalNode-Type)
@@ -4829,25 +4829,25 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
-<a name="bytebase-v1-BatchUpdateReviewsRequest"></a>
+<a name="bytebase-v1-BatchUpdateIssuesRequest"></a>
-### BatchUpdateReviewsRequest
+### BatchUpdateIssuesRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| parent | [string](#string) | | The parent resource shared by all reviews being updated. Format: projects/{project} If the operation spans parents, a dash (-) may be accepted as a wildcard. We only support updating the status of databases for now. |
-| requests | [UpdateReviewRequest](#bytebase-v1-UpdateReviewRequest) | repeated | The request message specifying the resources to update. A maximum of 1000 databases can be modified in a batch. |
+| requests | [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest) | repeated | The request message specifying the resources to update. A maximum of 1000 databases can be modified in a batch. |
-<a name="bytebase-v1-BatchUpdateReviewsResponse"></a>
+<a name="bytebase-v1-BatchUpdateIssuesResponse"></a>
-### BatchUpdateReviewsResponse
+### BatchUpdateIssuesResponse
@@ -4860,9 +4860,9 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
-<a name="bytebase-v1-CreateReviewCommentRequest"></a>
+<a name="bytebase-v1-CreateIssueCommentRequest"></a>
-### CreateReviewCommentRequest
+### CreateIssueCommentRequest
@@ -4876,9 +4876,9 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
-<a name="bytebase-v1-CreateReviewRequest"></a>
+<a name="bytebase-v1-CreateIssueRequest"></a>
-### CreateReviewRequest
+### CreateIssueRequest
@@ -4892,9 +4892,9 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
-<a name="bytebase-v1-GetReviewRequest"></a>
+<a name="bytebase-v1-GetIssueRequest"></a>
-### GetReviewRequest
+### GetIssueRequest
@@ -4908,9 +4908,9 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
-<a name="bytebase-v1-ListReviewsRequest"></a>
+<a name="bytebase-v1-ListIssuesRequest"></a>
-### ListReviewsRequest
+### ListIssuesRequest
@@ -4918,18 +4918,18 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
| ----- | ---- | ----- | ----------- |
| parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} Use &#34;projects/-&#34; to list all reviews from all projects. |
| page_size | [int32](#int32) | | The maximum number of reviews to return. The service may return fewer than this value. If unspecified, at most 50 reviews 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 `ListReviews` call. Provide this to retrieve the subsequent page.
+| 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 `ListReviews` must match the call that provided the page token. |
+When paginating, all other parameters provided to `ListIssues` must match the call that provided the page token. |
-<a name="bytebase-v1-ListReviewsResponse"></a>
+<a name="bytebase-v1-ListIssuesResponse"></a>
-### ListReviewsResponse
+### ListIssuesResponse
@@ -5041,9 +5041,9 @@ When paginating, all other parameters provided to `ListReviews` must match the c
-<a name="bytebase-v1-UpdateReviewCommentRequest"></a>
+<a name="bytebase-v1-UpdateIssueCommentRequest"></a>
-### UpdateReviewCommentRequest
+### UpdateIssueCommentRequest
@@ -5058,9 +5058,9 @@ When paginating, all other parameters provided to `ListReviews` must match the c
-<a name="bytebase-v1-UpdateReviewRequest"></a>
+<a name="bytebase-v1-UpdateIssueRequest"></a>
-### UpdateReviewRequest
+### UpdateIssueRequest
@@ -5166,13 +5166,13 @@ ANY means approving any node will proceed.
| Method Name | Request Type | Response Type | Description |
| ----------- | ------------ | ------------- | ------------|
-| GetReview | [GetReviewRequest](#bytebase-v1-GetReviewRequest) | [Review](#bytebase-v1-Review) | |
-| CreateReview | [CreateReviewRequest](#bytebase-v1-CreateReviewRequest) | [Review](#bytebase-v1-Review) | |
-| ListReviews | [ListReviewsRequest](#bytebase-v1-ListReviewsRequest) | [ListReviewsResponse](#bytebase-v1-ListReviewsResponse) | |
-| UpdateReview | [UpdateReviewRequest](#bytebase-v1-UpdateReviewRequest) | [Review](#bytebase-v1-Review) | |
-| CreateReviewComment | [CreateReviewCommentRequest](#bytebase-v1-CreateReviewCommentRequest) | [ReviewComment](#bytebase-v1-ReviewComment) | |
-| UpdateReviewComment | [UpdateReviewCommentRequest](#bytebase-v1-UpdateReviewCommentRequest) | [ReviewComment](#bytebase-v1-ReviewComment) | |
-| BatchUpdateReviews | [BatchUpdateReviewsRequest](#bytebase-v1-BatchUpdateReviewsRequest) | [BatchUpdateReviewsResponse](#bytebase-v1-BatchUpdateReviewsResponse) | |
+| GetIssue | [GetIssueRequest](#bytebase-v1-GetIssueRequest) | [Review](#bytebase-v1-Review) | |
+| CreateIssue | [CreateIssueRequest](#bytebase-v1-CreateIssueRequest) | [Review](#bytebase-v1-Review) | |
+| ListIssues | [ListIssuesRequest](#bytebase-v1-ListIssuesRequest) | [ListIssuesResponse](#bytebase-v1-ListIssuesResponse) | |
+| UpdateIssue | [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest) | [Review](#bytebase-v1-Review) | |
+| CreateIssueComment | [CreateIssueCommentRequest](#bytebase-v1-CreateIssueCommentRequest) | [ReviewComment](#bytebase-v1-ReviewComment) | |
+| UpdateIssueComment | [UpdateIssueCommentRequest](#bytebase-v1-UpdateIssueCommentRequest) | [ReviewComment](#bytebase-v1-ReviewComment) | |
+| BatchUpdateIssues | [BatchUpdateIssuesRequest](#bytebase-v1-BatchUpdateIssuesRequest) | [BatchUpdateIssuesResponse](#bytebase-v1-BatchUpdateIssuesResponse) | |
| ApproveReview | [ApproveReviewRequest](#bytebase-v1-ApproveReviewRequest) | [Review](#bytebase-v1-Review) | |
| RejectReview | [RejectReviewRequest](#bytebase-v1-RejectReviewRequest) | [Review](#bytebase-v1-Review) | |
| RequestReview | [RequestReviewRequest](#bytebase-v1-RequestReviewRequest) | [Review](#bytebase-v1-Review) | |
diff --git a/proto/generated-go/v1/issue_service.pb.go b/proto/generated-go/v1/issue_service.pb.go
index 22887b2626..528eac588b 100644
--- a/proto/generated-go/v1/issue_service.pb.go
+++ b/proto/generated-go/v1/issue_service.pb.go
@@ -289,7 +289,7 @@ func (ApprovalNode_GroupValue) EnumDescriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{14, 1}
}
-type GetReviewRequest struct {
+type GetIssueRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -300,8 +300,8 @@ type GetReviewRequest struct {
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
}
-func (x *GetReviewRequest) Reset() {
- *x = GetReviewRequest{}
+func (x *GetIssueRequest) Reset() {
+ *x = GetIssueRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -309,13 +309,13 @@ func (x *GetReviewRequest) Reset() {
}
}
-func (x *GetReviewRequest) String() string {
+func (x *GetIssueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*GetReviewRequest) ProtoMessage() {}
+func (*GetIssueRequest) ProtoMessage() {}
-func (x *GetReviewRequest) ProtoReflect() protoreflect.Message {
+func (x *GetIssueRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -327,26 +327,26 @@ func (x *GetReviewRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use GetReviewRequest.ProtoReflect.Descriptor instead.
-func (*GetReviewRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.
+func (*GetIssueRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{0}
}
-func (x *GetReviewRequest) GetName() string {
+func (x *GetIssueRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
-func (x *GetReviewRequest) GetForce() bool {
+func (x *GetIssueRequest) GetForce() bool {
if x != nil {
return x.Force
}
return false
}
-type CreateReviewRequest struct {
+type CreateIssueRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -358,8 +358,8 @@ type CreateReviewRequest struct {
Review *Review `protobuf:"bytes,2,opt,name=review,proto3" json:"review,omitempty"`
}
-func (x *CreateReviewRequest) Reset() {
- *x = CreateReviewRequest{}
+func (x *CreateIssueRequest) Reset() {
+ *x = CreateIssueRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -367,13 +367,13 @@ func (x *CreateReviewRequest) Reset() {
}
}
-func (x *CreateReviewRequest) String() string {
+func (x *CreateIssueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*CreateReviewRequest) ProtoMessage() {}
+func (*CreateIssueRequest) ProtoMessage() {}
-func (x *CreateReviewRequest) ProtoReflect() protoreflect.Message {
+func (x *CreateIssueRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -385,26 +385,26 @@ func (x *CreateReviewRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use CreateReviewRequest.ProtoReflect.Descriptor instead.
-func (*CreateReviewRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use CreateIssueRequest.ProtoReflect.Descriptor instead.
+func (*CreateIssueRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{1}
}
-func (x *CreateReviewRequest) GetParent() string {
+func (x *CreateIssueRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
-func (x *CreateReviewRequest) GetReview() *Review {
+func (x *CreateIssueRequest) GetReview() *Review {
if x != nil {
return x.Review
}
return nil
}
-type ListReviewsRequest struct {
+type ListIssuesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -418,16 +418,16 @@ type ListReviewsRequest struct {
// If unspecified, at most 50 reviews will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // A page token, received from a previous `ListReviews` call.
+ // A page token, received from a previous `ListIssues` call.
// Provide this to retrieve the subsequent page.
//
- // When paginating, all other parameters provided to `ListReviews` must match
+ // When paginating, all other parameters provided to `ListIssues` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
}
-func (x *ListReviewsRequest) Reset() {
- *x = ListReviewsRequest{}
+func (x *ListIssuesRequest) Reset() {
+ *x = ListIssuesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -435,13 +435,13 @@ func (x *ListReviewsRequest) Reset() {
}
}
-func (x *ListReviewsRequest) String() string {
+func (x *ListIssuesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ListReviewsRequest) ProtoMessage() {}
+func (*ListIssuesRequest) ProtoMessage() {}
-func (x *ListReviewsRequest) ProtoReflect() protoreflect.Message {
+func (x *ListIssuesRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -453,33 +453,33 @@ func (x *ListReviewsRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ListReviewsRequest.ProtoReflect.Descriptor instead.
-func (*ListReviewsRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use ListIssuesRequest.ProtoReflect.Descriptor instead.
+func (*ListIssuesRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{2}
}
-func (x *ListReviewsRequest) GetParent() string {
+func (x *ListIssuesRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
-func (x *ListReviewsRequest) GetPageSize() int32 {
+func (x *ListIssuesRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
-func (x *ListReviewsRequest) GetPageToken() string {
+func (x *ListIssuesRequest) GetPageToken() string {
if x != nil {
return x.PageToken
}
return ""
}
-type ListReviewsResponse struct {
+type ListIssuesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -491,8 +491,8 @@ type ListReviewsResponse struct {
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
-func (x *ListReviewsResponse) Reset() {
- *x = ListReviewsResponse{}
+func (x *ListIssuesResponse) Reset() {
+ *x = ListIssuesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -500,13 +500,13 @@ func (x *ListReviewsResponse) Reset() {
}
}
-func (x *ListReviewsResponse) String() string {
+func (x *ListIssuesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ListReviewsResponse) ProtoMessage() {}
+func (*ListIssuesResponse) ProtoMessage() {}
-func (x *ListReviewsResponse) ProtoReflect() protoreflect.Message {
+func (x *ListIssuesResponse) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -518,26 +518,26 @@ func (x *ListReviewsResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ListReviewsResponse.ProtoReflect.Descriptor instead.
-func (*ListReviewsResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use ListIssuesResponse.ProtoReflect.Descriptor instead.
+func (*ListIssuesResponse) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{3}
}
-func (x *ListReviewsResponse) GetReviews() []*Review {
+func (x *ListIssuesResponse) GetReviews() []*Review {
if x != nil {
return x.Reviews
}
return nil
}
-func (x *ListReviewsResponse) GetNextPageToken() string {
+func (x *ListIssuesResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
-type UpdateReviewRequest struct {
+type UpdateIssueRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -551,8 +551,8 @@ type UpdateReviewRequest struct {
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
-func (x *UpdateReviewRequest) Reset() {
- *x = UpdateReviewRequest{}
+func (x *UpdateIssueRequest) Reset() {
+ *x = UpdateIssueRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -560,13 +560,13 @@ func (x *UpdateReviewRequest) Reset() {
}
}
-func (x *UpdateReviewRequest) String() string {
+func (x *UpdateIssueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*UpdateReviewRequest) ProtoMessage() {}
+func (*UpdateIssueRequest) ProtoMessage() {}
-func (x *UpdateReviewRequest) ProtoReflect() protoreflect.Message {
+func (x *UpdateIssueRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -578,26 +578,26 @@ func (x *UpdateReviewRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use UpdateReviewRequest.ProtoReflect.Descriptor instead.
-func (*UpdateReviewRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use UpdateIssueRequest.ProtoReflect.Descriptor instead.
+func (*UpdateIssueRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{4}
}
-func (x *UpdateReviewRequest) GetReview() *Review {
+func (x *UpdateIssueRequest) GetReview() *Review {
if x != nil {
return x.Review
}
return nil
}
-func (x *UpdateReviewRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
+func (x *UpdateIssueRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
-type BatchUpdateReviewsRequest struct {
+type BatchUpdateIssuesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -609,11 +609,11 @@ type BatchUpdateReviewsRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The request message specifying the resources to update.
// A maximum of 1000 databases can be modified in a batch.
- Requests []*UpdateReviewRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
+ Requests []*UpdateIssueRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
}
-func (x *BatchUpdateReviewsRequest) Reset() {
- *x = BatchUpdateReviewsRequest{}
+func (x *BatchUpdateIssuesRequest) Reset() {
+ *x = BatchUpdateIssuesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -621,13 +621,13 @@ func (x *BatchUpdateReviewsRequest) Reset() {
}
}
-func (x *BatchUpdateReviewsRequest) String() string {
+func (x *BatchUpdateIssuesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*BatchUpdateReviewsRequest) ProtoMessage() {}
+func (*BatchUpdateIssuesRequest) ProtoMessage() {}
-func (x *BatchUpdateReviewsRequest) ProtoReflect() protoreflect.Message {
+func (x *BatchUpdateIssuesRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -639,26 +639,26 @@ func (x *BatchUpdateReviewsRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use BatchUpdateReviewsRequest.ProtoReflect.Descriptor instead.
-func (*BatchUpdateReviewsRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use BatchUpdateIssuesRequest.ProtoReflect.Descriptor instead.
+func (*BatchUpdateIssuesRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{5}
}
-func (x *BatchUpdateReviewsRequest) GetParent() string {
+func (x *BatchUpdateIssuesRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
-func (x *BatchUpdateReviewsRequest) GetRequests() []*UpdateReviewRequest {
+func (x *BatchUpdateIssuesRequest) GetRequests() []*UpdateIssueRequest {
if x != nil {
return x.Requests
}
return nil
}
-type BatchUpdateReviewsResponse struct {
+type BatchUpdateIssuesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -667,8 +667,8 @@ type BatchUpdateReviewsResponse struct {
Reviews []*Review `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
}
-func (x *BatchUpdateReviewsResponse) Reset() {
- *x = BatchUpdateReviewsResponse{}
+func (x *BatchUpdateIssuesResponse) Reset() {
+ *x = BatchUpdateIssuesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -676,13 +676,13 @@ func (x *BatchUpdateReviewsResponse) Reset() {
}
}
-func (x *BatchUpdateReviewsResponse) String() string {
+func (x *BatchUpdateIssuesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*BatchUpdateReviewsResponse) ProtoMessage() {}
+func (*BatchUpdateIssuesResponse) ProtoMessage() {}
-func (x *BatchUpdateReviewsResponse) ProtoReflect() protoreflect.Message {
+func (x *BatchUpdateIssuesResponse) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -694,12 +694,12 @@ func (x *BatchUpdateReviewsResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use BatchUpdateReviewsResponse.ProtoReflect.Descriptor instead.
-func (*BatchUpdateReviewsResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use BatchUpdateIssuesResponse.ProtoReflect.Descriptor instead.
+func (*BatchUpdateIssuesResponse) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{6}
}
-func (x *BatchUpdateReviewsResponse) GetReviews() []*Review {
+func (x *BatchUpdateIssuesResponse) GetReviews() []*Review {
if x != nil {
return x.Reviews
}
@@ -1347,7 +1347,7 @@ func (*ApprovalNode_Role) isApprovalNode_Payload() {}
func (*ApprovalNode_ExternalNodeId) isApprovalNode_Payload() {}
-type CreateReviewCommentRequest struct {
+type CreateIssueCommentRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -1358,8 +1358,8 @@ type CreateReviewCommentRequest struct {
ReviewComment *ReviewComment `protobuf:"bytes,2,opt,name=review_comment,json=reviewComment,proto3" json:"review_comment,omitempty"`
}
-func (x *CreateReviewCommentRequest) Reset() {
- *x = CreateReviewCommentRequest{}
+func (x *CreateIssueCommentRequest) Reset() {
+ *x = CreateIssueCommentRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1367,13 +1367,13 @@ func (x *CreateReviewCommentRequest) Reset() {
}
}
-func (x *CreateReviewCommentRequest) String() string {
+func (x *CreateIssueCommentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*CreateReviewCommentRequest) ProtoMessage() {}
+func (*CreateIssueCommentRequest) ProtoMessage() {}
-func (x *CreateReviewCommentRequest) ProtoReflect() protoreflect.Message {
+func (x *CreateIssueCommentRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1385,26 +1385,26 @@ func (x *CreateReviewCommentRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use CreateReviewCommentRequest.ProtoReflect.Descriptor instead.
-func (*CreateReviewCommentRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use CreateIssueCommentRequest.ProtoReflect.Descriptor instead.
+func (*CreateIssueCommentRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{15}
}
-func (x *CreateReviewCommentRequest) GetParent() string {
+func (x *CreateIssueCommentRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
-func (x *CreateReviewCommentRequest) GetReviewComment() *ReviewComment {
+func (x *CreateIssueCommentRequest) GetReviewComment() *ReviewComment {
if x != nil {
return x.ReviewComment
}
return nil
}
-type UpdateReviewCommentRequest struct {
+type UpdateIssueCommentRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -1417,8 +1417,8 @@ type UpdateReviewCommentRequest struct {
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
-func (x *UpdateReviewCommentRequest) Reset() {
- *x = UpdateReviewCommentRequest{}
+func (x *UpdateIssueCommentRequest) Reset() {
+ *x = UpdateIssueCommentRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1426,13 +1426,13 @@ func (x *UpdateReviewCommentRequest) Reset() {
}
}
-func (x *UpdateReviewCommentRequest) String() string {
+func (x *UpdateIssueCommentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*UpdateReviewCommentRequest) ProtoMessage() {}
+func (*UpdateIssueCommentRequest) ProtoMessage() {}
-func (x *UpdateReviewCommentRequest) ProtoReflect() protoreflect.Message {
+func (x *UpdateIssueCommentRequest) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1444,26 +1444,26 @@ func (x *UpdateReviewCommentRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use UpdateReviewCommentRequest.ProtoReflect.Descriptor instead.
-func (*UpdateReviewCommentRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use UpdateIssueCommentRequest.ProtoReflect.Descriptor instead.
+func (*UpdateIssueCommentRequest) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{16}
}
-func (x *UpdateReviewCommentRequest) GetParent() string {
+func (x *UpdateIssueCommentRequest) GetParent() string {
if x != nil {
return x.Parent
}
return ""
}
-func (x *UpdateReviewCommentRequest) GetReviewComment() *ReviewComment {
+func (x *UpdateIssueCommentRequest) GetReviewComment() *ReviewComment {
if x != nil {
return x.ReviewComment
}
return nil
}
-func (x *UpdateReviewCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
+func (x *UpdateIssueCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
@@ -1622,302 +1622,301 @@ var file_v1_issue_service_proto_rawDesc = []byte{
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x22, 0x41, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x14, 0x0a,
- 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f,
- 0x72, 0x63, 0x65, 0x22, 0x64, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76,
- 0x69, 0x65, 0x77, 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, 0x6d, 0x0a, 0x12, 0x4c, 0x69, 0x73,
- 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x6c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74,
- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x89, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 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, 0x76, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x41, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
- 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
- 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x4b, 0x0a, 0x1a, 0x42, 0x61,
- 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x49, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x72, 0x6f,
- 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69,
- 0x65, 0x77, 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, 0x49, 0x0a, 0x14,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x88, 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, 0x31, 0x0a,
- 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69,
- 0x65, 0x77, 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, 0x3a, 0x0a, 0x09, 0x61, 0x70, 0x70,
- 0x72, 0x6f, 0x76, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,
+ 0x22, 0x40, 0x0a, 0x0f, 0x47, 0x65, 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, 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,
+ 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, 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,
+ 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,
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,
+ 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,
+ 0x49, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,
+ 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,
+ 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x49, 0x0a, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
+ 0x65, 0x76, 0x69, 0x65, 0x77, 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,
+ 0x88, 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, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 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, 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, 0x77, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
- 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
+ 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, 0x76, 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, 0x41, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f,
+ 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xb8, 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, 0x41, 0x0a, 0x0e, 0x72,
0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52,
- 0x0d, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xb9,
- 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x41, 0x0a, 0x0e, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f,
- 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
+ 0x0d, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0xde, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 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, 0xa1, 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, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x76, 0x69, 0x65,
- 0x77, 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, 0xde, 0x01, 0x0a, 0x0d, 0x52,
- 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x4f, 0x0a, 0x0c, 0x52,
- 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52,
- 0x45, 0x56, 0x49, 0x45, 0x57, 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, 0xb2, 0x0b, 0x0a,
- 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a,
- 0x09, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69,
- 0x65, 0x77, 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, 0x86,
- 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12,
- 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x82, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74,
- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65,
- 0x77, 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, 0x92, 0x01, 0x0a,
- 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x20, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a,
- 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69,
- 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65,
- 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 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, 0x63, 0x74, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb3, 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, 0x1a, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65,
+ 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x59, 0xda, 0x41, 0x15, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
+ 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x0e, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
+ 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, 0xbf, 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, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x59,
- 0xda, 0x41, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
- 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x0e,
- 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0xc1, 0x01, 0x0a, 0x13, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d,
- 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x65, 0xda, 0x41, 0x21, 0x70, 0x61, 0x72, 0x65, 0x6e,
- 0x74, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x3b, 0x3a, 0x0e, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x9d, 0x01,
- 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76,
- 0x69, 0x65, 0x77, 0x73, 0x12, 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, 0x52, 0x65,
- 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x7b, 0x0a,
- 0x0d, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x21,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70,
- 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x65,
+ 0xda, 0x41, 0x21, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
+ 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, 0x3b, 0x3a, 0x0e, 0x72, 0x65, 0x76, 0x69,
+ 0x65, 0x77, 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, 0x7b, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76,
+ 0x69, 0x65, 0x77, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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,
+ 0x78, 0x0a, 0x0c, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12,
+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
+ 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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,
+ 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, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x78, 0x0a, 0x0c, 0x52, 0x65,
- 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x52,
- 0x65, 0x76, 0x69, 0x65, 0x77, 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, 0x7b, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
- 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65,
- 0x77, 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,
+ 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x7b, 0x0a, 0x0d, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 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,
}
var (
@@ -1935,40 +1934,40 @@ func file_v1_issue_service_proto_rawDescGZIP() []byte {
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{}{
- (ReviewStatus)(0), // 0: bytebase.v1.ReviewStatus
- (Review_Approver_Status)(0), // 1: bytebase.v1.Review.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
- (*GetReviewRequest)(nil), // 5: bytebase.v1.GetReviewRequest
- (*CreateReviewRequest)(nil), // 6: bytebase.v1.CreateReviewRequest
- (*ListReviewsRequest)(nil), // 7: bytebase.v1.ListReviewsRequest
- (*ListReviewsResponse)(nil), // 8: bytebase.v1.ListReviewsResponse
- (*UpdateReviewRequest)(nil), // 9: bytebase.v1.UpdateReviewRequest
- (*BatchUpdateReviewsRequest)(nil), // 10: bytebase.v1.BatchUpdateReviewsRequest
- (*BatchUpdateReviewsResponse)(nil), // 11: bytebase.v1.BatchUpdateReviewsResponse
- (*ApproveReviewRequest)(nil), // 12: bytebase.v1.ApproveReviewRequest
- (*RejectReviewRequest)(nil), // 13: bytebase.v1.RejectReviewRequest
- (*RequestReviewRequest)(nil), // 14: bytebase.v1.RequestReviewRequest
- (*Review)(nil), // 15: bytebase.v1.Review
- (*ApprovalTemplate)(nil), // 16: bytebase.v1.ApprovalTemplate
- (*ApprovalFlow)(nil), // 17: bytebase.v1.ApprovalFlow
- (*ApprovalStep)(nil), // 18: bytebase.v1.ApprovalStep
- (*ApprovalNode)(nil), // 19: bytebase.v1.ApprovalNode
- (*CreateReviewCommentRequest)(nil), // 20: bytebase.v1.CreateReviewCommentRequest
- (*UpdateReviewCommentRequest)(nil), // 21: bytebase.v1.UpdateReviewCommentRequest
- (*ReviewComment)(nil), // 22: bytebase.v1.ReviewComment
- (*Review_Approver)(nil), // 23: bytebase.v1.Review.Approver
- (*fieldmaskpb.FieldMask)(nil), // 24: google.protobuf.FieldMask
- (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
+ (ReviewStatus)(0), // 0: bytebase.v1.ReviewStatus
+ (Review_Approver_Status)(0), // 1: bytebase.v1.Review.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
+ (*GetIssueRequest)(nil), // 5: bytebase.v1.GetIssueRequest
+ (*CreateIssueRequest)(nil), // 6: bytebase.v1.CreateIssueRequest
+ (*ListIssuesRequest)(nil), // 7: bytebase.v1.ListIssuesRequest
+ (*ListIssuesResponse)(nil), // 8: bytebase.v1.ListIssuesResponse
+ (*UpdateIssueRequest)(nil), // 9: bytebase.v1.UpdateIssueRequest
+ (*BatchUpdateIssuesRequest)(nil), // 10: bytebase.v1.BatchUpdateIssuesRequest
+ (*BatchUpdateIssuesResponse)(nil), // 11: bytebase.v1.BatchUpdateIssuesResponse
+ (*ApproveReviewRequest)(nil), // 12: bytebase.v1.ApproveReviewRequest
+ (*RejectReviewRequest)(nil), // 13: bytebase.v1.RejectReviewRequest
+ (*RequestReviewRequest)(nil), // 14: bytebase.v1.RequestReviewRequest
+ (*Review)(nil), // 15: bytebase.v1.Review
+ (*ApprovalTemplate)(nil), // 16: bytebase.v1.ApprovalTemplate
+ (*ApprovalFlow)(nil), // 17: bytebase.v1.ApprovalFlow
+ (*ApprovalStep)(nil), // 18: bytebase.v1.ApprovalStep
+ (*ApprovalNode)(nil), // 19: bytebase.v1.ApprovalNode
+ (*CreateIssueCommentRequest)(nil), // 20: bytebase.v1.CreateIssueCommentRequest
+ (*UpdateIssueCommentRequest)(nil), // 21: bytebase.v1.UpdateIssueCommentRequest
+ (*ReviewComment)(nil), // 22: bytebase.v1.ReviewComment
+ (*Review_Approver)(nil), // 23: bytebase.v1.Review.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.CreateReviewRequest.review:type_name -> bytebase.v1.Review
- 15, // 1: bytebase.v1.ListReviewsResponse.reviews:type_name -> bytebase.v1.Review
- 15, // 2: bytebase.v1.UpdateReviewRequest.review:type_name -> bytebase.v1.Review
- 24, // 3: bytebase.v1.UpdateReviewRequest.update_mask:type_name -> google.protobuf.FieldMask
- 9, // 4: bytebase.v1.BatchUpdateReviewsRequest.requests:type_name -> bytebase.v1.UpdateReviewRequest
- 15, // 5: bytebase.v1.BatchUpdateReviewsResponse.reviews:type_name -> bytebase.v1.Review
+ 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
+ 24, // 3: bytebase.v1.UpdateIssueRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 9, // 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.ReviewStatus
16, // 7: bytebase.v1.Review.approval_templates:type_name -> bytebase.v1.ApprovalTemplate
23, // 8: bytebase.v1.Review.approvers:type_name -> bytebase.v1.Review.Approver
@@ -1980,29 +1979,29 @@ var file_v1_issue_service_proto_depIdxs = []int32{
19, // 14: bytebase.v1.ApprovalStep.nodes:type_name -> bytebase.v1.ApprovalNode
3, // 15: bytebase.v1.ApprovalNode.type:type_name -> bytebase.v1.ApprovalNode.Type
4, // 16: bytebase.v1.ApprovalNode.group_value:type_name -> bytebase.v1.ApprovalNode.GroupValue
- 22, // 17: bytebase.v1.CreateReviewCommentRequest.review_comment:type_name -> bytebase.v1.ReviewComment
- 22, // 18: bytebase.v1.UpdateReviewCommentRequest.review_comment:type_name -> bytebase.v1.ReviewComment
- 24, // 19: bytebase.v1.UpdateReviewCommentRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 22, // 17: bytebase.v1.CreateIssueCommentRequest.review_comment:type_name -> bytebase.v1.ReviewComment
+ 22, // 18: bytebase.v1.UpdateIssueCommentRequest.review_comment:type_name -> bytebase.v1.ReviewComment
+ 24, // 19: bytebase.v1.UpdateIssueCommentRequest.update_mask:type_name -> google.protobuf.FieldMask
25, // 20: bytebase.v1.ReviewComment.create_time:type_name -> google.protobuf.Timestamp
25, // 21: bytebase.v1.ReviewComment.update_time:type_name -> google.protobuf.Timestamp
1, // 22: bytebase.v1.Review.Approver.status:type_name -> bytebase.v1.Review.Approver.Status
- 5, // 23: bytebase.v1.IssueService.GetReview:input_type -> bytebase.v1.GetReviewRequest
- 6, // 24: bytebase.v1.IssueService.CreateReview:input_type -> bytebase.v1.CreateReviewRequest
- 7, // 25: bytebase.v1.IssueService.ListReviews:input_type -> bytebase.v1.ListReviewsRequest
- 9, // 26: bytebase.v1.IssueService.UpdateReview:input_type -> bytebase.v1.UpdateReviewRequest
- 20, // 27: bytebase.v1.IssueService.CreateReviewComment:input_type -> bytebase.v1.CreateReviewCommentRequest
- 21, // 28: bytebase.v1.IssueService.UpdateReviewComment:input_type -> bytebase.v1.UpdateReviewCommentRequest
- 10, // 29: bytebase.v1.IssueService.BatchUpdateReviews:input_type -> bytebase.v1.BatchUpdateReviewsRequest
+ 5, // 23: bytebase.v1.IssueService.GetIssue:input_type -> bytebase.v1.GetIssueRequest
+ 6, // 24: bytebase.v1.IssueService.CreateIssue:input_type -> bytebase.v1.CreateIssueRequest
+ 7, // 25: bytebase.v1.IssueService.ListIssues:input_type -> bytebase.v1.ListIssuesRequest
+ 9, // 26: bytebase.v1.IssueService.UpdateIssue:input_type -> bytebase.v1.UpdateIssueRequest
+ 20, // 27: bytebase.v1.IssueService.CreateIssueComment:input_type -> bytebase.v1.CreateIssueCommentRequest
+ 21, // 28: bytebase.v1.IssueService.UpdateIssueComment:input_type -> bytebase.v1.UpdateIssueCommentRequest
+ 10, // 29: bytebase.v1.IssueService.BatchUpdateIssues:input_type -> bytebase.v1.BatchUpdateIssuesRequest
12, // 30: bytebase.v1.IssueService.ApproveReview:input_type -> bytebase.v1.ApproveReviewRequest
13, // 31: bytebase.v1.IssueService.RejectReview:input_type -> bytebase.v1.RejectReviewRequest
14, // 32: bytebase.v1.IssueService.RequestReview:input_type -> bytebase.v1.RequestReviewRequest
- 15, // 33: bytebase.v1.IssueService.GetReview:output_type -> bytebase.v1.Review
- 15, // 34: bytebase.v1.IssueService.CreateReview:output_type -> bytebase.v1.Review
- 8, // 35: bytebase.v1.IssueService.ListReviews:output_type -> bytebase.v1.ListReviewsResponse
- 15, // 36: bytebase.v1.IssueService.UpdateReview:output_type -> bytebase.v1.Review
- 22, // 37: bytebase.v1.IssueService.CreateReviewComment:output_type -> bytebase.v1.ReviewComment
- 22, // 38: bytebase.v1.IssueService.UpdateReviewComment:output_type -> bytebase.v1.ReviewComment
- 11, // 39: bytebase.v1.IssueService.BatchUpdateReviews:output_type -> bytebase.v1.BatchUpdateReviewsResponse
+ 15, // 33: bytebase.v1.IssueService.GetIssue:output_type -> bytebase.v1.Review
+ 15, // 34: bytebase.v1.IssueService.CreateIssue:output_type -> bytebase.v1.Review
+ 8, // 35: bytebase.v1.IssueService.ListIssues:output_type -> bytebase.v1.ListIssuesResponse
+ 15, // 36: bytebase.v1.IssueService.UpdateIssue:output_type -> bytebase.v1.Review
+ 22, // 37: bytebase.v1.IssueService.CreateIssueComment:output_type -> bytebase.v1.ReviewComment
+ 22, // 38: bytebase.v1.IssueService.UpdateIssueComment:output_type -> bytebase.v1.ReviewComment
+ 11, // 39: bytebase.v1.IssueService.BatchUpdateIssues:output_type -> bytebase.v1.BatchUpdateIssuesResponse
15, // 40: bytebase.v1.IssueService.ApproveReview:output_type -> bytebase.v1.Review
15, // 41: bytebase.v1.IssueService.RejectReview:output_type -> bytebase.v1.Review
15, // 42: bytebase.v1.IssueService.RequestReview:output_type -> bytebase.v1.Review
@@ -2020,7 +2019,7 @@ func file_v1_issue_service_proto_init() {
}
if !protoimpl.UnsafeEnabled {
file_v1_issue_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetReviewRequest); i {
+ switch v := v.(*GetIssueRequest); i {
case 0:
return &v.state
case 1:
@@ -2032,7 +2031,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateReviewRequest); i {
+ switch v := v.(*CreateIssueRequest); i {
case 0:
return &v.state
case 1:
@@ -2044,7 +2043,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListReviewsRequest); i {
+ switch v := v.(*ListIssuesRequest); i {
case 0:
return &v.state
case 1:
@@ -2056,7 +2055,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListReviewsResponse); i {
+ switch v := v.(*ListIssuesResponse); i {
case 0:
return &v.state
case 1:
@@ -2068,7 +2067,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateReviewRequest); i {
+ switch v := v.(*UpdateIssueRequest); i {
case 0:
return &v.state
case 1:
@@ -2080,7 +2079,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BatchUpdateReviewsRequest); i {
+ switch v := v.(*BatchUpdateIssuesRequest); i {
case 0:
return &v.state
case 1:
@@ -2092,7 +2091,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BatchUpdateReviewsResponse); i {
+ switch v := v.(*BatchUpdateIssuesResponse); i {
case 0:
return &v.state
case 1:
@@ -2200,7 +2199,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateReviewCommentRequest); i {
+ switch v := v.(*CreateIssueCommentRequest); i {
case 0:
return &v.state
case 1:
@@ -2212,7 +2211,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateReviewCommentRequest); i {
+ switch v := v.(*UpdateIssueCommentRequest); i {
case 0:
return &v.state
case 1:
diff --git a/proto/generated-go/v1/issue_service.pb.gw.go b/proto/generated-go/v1/issue_service.pb.gw.go
index c1c443fa9c..0bd8eb7e1a 100644
--- a/proto/generated-go/v1/issue_service.pb.gw.go
+++ b/proto/generated-go/v1/issue_service.pb.gw.go
@@ -32,11 +32,11 @@ var _ = utilities.NewDoubleArray
var _ = metadata.Join
var (
- filter_IssueService_GetReview_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}}
+ filter_IssueService_GetIssue_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}}
)
-func request_IssueService_GetReview_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq GetReviewRequest
+func request_IssueService_GetIssue_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq GetIssueRequest
var metadata runtime.ServerMetadata
var (
@@ -59,17 +59,17 @@ func request_IssueService_GetReview_0(ctx context.Context, marshaler runtime.Mar
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_GetReview_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_GetIssue_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := client.GetReview(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.GetIssue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_GetReview_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq GetReviewRequest
+func local_request_IssueService_GetIssue_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq GetIssueRequest
var metadata runtime.ServerMetadata
var (
@@ -92,17 +92,17 @@ func local_request_IssueService_GetReview_0(ctx context.Context, marshaler runti
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_GetReview_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_GetIssue_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := server.GetReview(ctx, &protoReq)
+ msg, err := server.GetIssue(ctx, &protoReq)
return msg, metadata, err
}
-func request_IssueService_CreateReview_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq CreateReviewRequest
+func request_IssueService_CreateIssue_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq CreateIssueRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -130,13 +130,13 @@ func request_IssueService_CreateReview_0(ctx context.Context, marshaler runtime.
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
}
- msg, err := client.CreateReview(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.CreateIssue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_CreateReview_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq CreateReviewRequest
+func local_request_IssueService_CreateIssue_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq CreateIssueRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -164,17 +164,17 @@ func local_request_IssueService_CreateReview_0(ctx context.Context, marshaler ru
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
}
- msg, err := server.CreateReview(ctx, &protoReq)
+ msg, err := server.CreateIssue(ctx, &protoReq)
return msg, metadata, err
}
var (
- filter_IssueService_ListReviews_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}}
+ filter_IssueService_ListIssues_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}}
)
-func request_IssueService_ListReviews_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq ListReviewsRequest
+func request_IssueService_ListIssues_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq ListIssuesRequest
var metadata runtime.ServerMetadata
var (
@@ -197,17 +197,17 @@ func request_IssueService_ListReviews_0(ctx context.Context, marshaler runtime.M
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_ListReviews_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_ListIssues_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := client.ListReviews(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.ListIssues(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_ListReviews_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq ListReviewsRequest
+func local_request_IssueService_ListIssues_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq ListIssuesRequest
var metadata runtime.ServerMetadata
var (
@@ -230,21 +230,21 @@ func local_request_IssueService_ListReviews_0(ctx context.Context, marshaler run
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_ListReviews_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_ListIssues_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := server.ListReviews(ctx, &protoReq)
+ msg, err := server.ListIssues(ctx, &protoReq)
return msg, metadata, err
}
var (
- filter_IssueService_UpdateReview_0 = &utilities.DoubleArray{Encoding: map[string]int{"review": 0, "name": 1}, Base: []int{1, 4, 5, 2, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 4, 2, 2, 3}}
+ filter_IssueService_UpdateIssue_0 = &utilities.DoubleArray{Encoding: map[string]int{"review": 0, "name": 1}, Base: []int{1, 4, 5, 2, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 4, 2, 2, 3}}
)
-func request_IssueService_UpdateReview_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UpdateReviewRequest
+func request_IssueService_UpdateIssue_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq UpdateIssueRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -282,17 +282,17 @@ func request_IssueService_UpdateReview_0(ctx context.Context, marshaler runtime.
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateReview_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateIssue_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := client.UpdateReview(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.UpdateIssue(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_UpdateReview_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UpdateReviewRequest
+func local_request_IssueService_UpdateIssue_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq UpdateIssueRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -330,17 +330,17 @@ func local_request_IssueService_UpdateReview_0(ctx context.Context, marshaler ru
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateReview_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateIssue_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := server.UpdateReview(ctx, &protoReq)
+ msg, err := server.UpdateIssue(ctx, &protoReq)
return msg, metadata, err
}
-func request_IssueService_CreateReviewComment_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq CreateReviewCommentRequest
+func request_IssueService_CreateIssueComment_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq CreateIssueCommentRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -368,13 +368,13 @@ func request_IssueService_CreateReviewComment_0(ctx context.Context, marshaler r
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
}
- msg, err := client.CreateReviewComment(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.CreateIssueComment(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_CreateReviewComment_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq CreateReviewCommentRequest
+func local_request_IssueService_CreateIssueComment_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq CreateIssueCommentRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -402,17 +402,17 @@ func local_request_IssueService_CreateReviewComment_0(ctx context.Context, marsh
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
}
- msg, err := server.CreateReviewComment(ctx, &protoReq)
+ msg, err := server.CreateIssueComment(ctx, &protoReq)
return msg, metadata, err
}
var (
- filter_IssueService_UpdateReviewComment_0 = &utilities.DoubleArray{Encoding: map[string]int{"review_comment": 0, "reviewComment": 1, "parent": 2}, Base: []int{1, 1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4, 4}}
+ filter_IssueService_UpdateIssueComment_0 = &utilities.DoubleArray{Encoding: map[string]int{"review_comment": 0, "reviewComment": 1, "parent": 2}, Base: []int{1, 1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4, 4}}
)
-func request_IssueService_UpdateReviewComment_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UpdateReviewCommentRequest
+func request_IssueService_UpdateIssueComment_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq UpdateIssueCommentRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -450,17 +450,17 @@ func request_IssueService_UpdateReviewComment_0(ctx context.Context, marshaler r
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateReviewComment_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateIssueComment_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := client.UpdateReviewComment(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.UpdateIssueComment(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_UpdateReviewComment_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq UpdateReviewCommentRequest
+func local_request_IssueService_UpdateIssueComment_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq UpdateIssueCommentRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -498,17 +498,17 @@ func local_request_IssueService_UpdateReviewComment_0(ctx context.Context, marsh
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateReviewComment_0); err != nil {
+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IssueService_UpdateIssueComment_0); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
- msg, err := server.UpdateReviewComment(ctx, &protoReq)
+ msg, err := server.UpdateIssueComment(ctx, &protoReq)
return msg, metadata, err
}
-func request_IssueService_BatchUpdateReviews_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq BatchUpdateReviewsRequest
+func request_IssueService_BatchUpdateIssues_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq BatchUpdateIssuesRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -536,13 +536,13 @@ func request_IssueService_BatchUpdateReviews_0(ctx context.Context, marshaler ru
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
}
- msg, err := client.BatchUpdateReviews(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ msg, err := client.BatchUpdateIssues(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
-func local_request_IssueService_BatchUpdateReviews_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq BatchUpdateReviewsRequest
+func local_request_IssueService_BatchUpdateIssues_0(ctx context.Context, marshaler runtime.Marshaler, server IssueServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq BatchUpdateIssuesRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
@@ -570,7 +570,7 @@ func local_request_IssueService_BatchUpdateReviews_0(ctx context.Context, marsha
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)
}
- msg, err := server.BatchUpdateReviews(ctx, &protoReq)
+ msg, err := server.BatchUpdateIssues(ctx, &protoReq)
return msg, metadata, err
}
@@ -785,7 +785,7 @@ func local_request_IssueService_RequestReview_0(ctx context.Context, marshaler r
// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIssueServiceHandlerFromEndpoint instead.
func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IssueServiceServer) error {
- mux.Handle("GET", pattern_IssueService_GetReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("GET", pattern_IssueService_GetIssue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -793,12 +793,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/GetReview", runtime.WithHTTPPathPattern("/v1/{name=projects/*/reviews/*}"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/GetIssue", runtime.WithHTTPPathPattern("/v1/{name=projects/*/reviews/*}"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_GetReview_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_GetIssue_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -806,11 +806,11 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_GetReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_GetIssue_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_IssueService_CreateReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_IssueService_CreateIssue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -818,12 +818,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateReview", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateIssue", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_CreateReview_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_CreateIssue_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -831,11 +831,11 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_CreateReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_CreateIssue_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("GET", pattern_IssueService_ListReviews_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("GET", pattern_IssueService_ListIssues_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -843,12 +843,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/ListReviews", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/ListIssues", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_ListReviews_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_ListIssues_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -856,11 +856,11 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_ListReviews_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_ListIssues_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("PATCH", pattern_IssueService_UpdateReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_IssueService_UpdateIssue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -868,12 +868,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateReview", runtime.WithHTTPPathPattern("/v1/{review.name=projects/*/reviews/*}"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateIssue", runtime.WithHTTPPathPattern("/v1/{review.name=projects/*/reviews/*}"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_UpdateReview_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_UpdateIssue_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -881,11 +881,11 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_UpdateReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_UpdateIssue_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_IssueService_CreateReviewComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_IssueService_CreateIssueComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -893,12 +893,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateReviewComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateIssueComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_CreateReviewComment_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_CreateIssueComment_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -906,11 +906,11 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_CreateReviewComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_CreateIssueComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("PATCH", pattern_IssueService_UpdateReviewComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_IssueService_UpdateIssueComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -918,12 +918,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateReviewComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateIssueComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_UpdateReviewComment_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_UpdateIssueComment_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -931,11 +931,11 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_UpdateReviewComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_UpdateIssueComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_IssueService_BatchUpdateReviews_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_IssueService_BatchUpdateIssues_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -943,12 +943,12 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/BatchUpdateReviews", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews:batchUpdate"))
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.IssueService/BatchUpdateIssues", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews:batchUpdate"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_IssueService_BatchUpdateReviews_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_IssueService_BatchUpdateIssues_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
@@ -956,7 +956,7 @@ func RegisterIssueServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu
return
}
- forward_IssueService_BatchUpdateReviews_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_BatchUpdateIssues_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1076,157 +1076,157 @@ func RegisterIssueServiceHandler(ctx context.Context, mux *runtime.ServeMux, con
// "IssueServiceClient" to call the correct interceptors.
func RegisterIssueServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IssueServiceClient) error {
- mux.Handle("GET", pattern_IssueService_GetReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("GET", pattern_IssueService_GetIssue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/GetReview", runtime.WithHTTPPathPattern("/v1/{name=projects/*/reviews/*}"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/GetIssue", runtime.WithHTTPPathPattern("/v1/{name=projects/*/reviews/*}"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_GetReview_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_GetIssue_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_GetReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_GetIssue_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_IssueService_CreateReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_IssueService_CreateIssue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateReview", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateIssue", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_CreateReview_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_CreateIssue_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_CreateReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_CreateIssue_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("GET", pattern_IssueService_ListReviews_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("GET", pattern_IssueService_ListIssues_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/ListReviews", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/ListIssues", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_ListReviews_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_ListIssues_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_ListReviews_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_ListIssues_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("PATCH", pattern_IssueService_UpdateReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_IssueService_UpdateIssue_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateReview", runtime.WithHTTPPathPattern("/v1/{review.name=projects/*/reviews/*}"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateIssue", runtime.WithHTTPPathPattern("/v1/{review.name=projects/*/reviews/*}"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_UpdateReview_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_UpdateIssue_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_UpdateReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_UpdateIssue_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_IssueService_CreateReviewComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_IssueService_CreateIssueComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateReviewComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/CreateIssueComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_CreateReviewComment_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_CreateIssueComment_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_CreateReviewComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_CreateIssueComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("PATCH", pattern_IssueService_UpdateReviewComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_IssueService_UpdateIssueComment_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateReviewComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/UpdateIssueComment", runtime.WithHTTPPathPattern("/v1/{parent=projects/*/reviews/*}:comment"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_UpdateReviewComment_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_UpdateIssueComment_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_UpdateReviewComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_UpdateIssueComment_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_IssueService_BatchUpdateReviews_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_IssueService_BatchUpdateIssues_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
var err error
var annotatedContext context.Context
- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/BatchUpdateReviews", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews:batchUpdate"))
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.IssueService/BatchUpdateIssues", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews:batchUpdate"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_IssueService_BatchUpdateReviews_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_IssueService_BatchUpdateIssues_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_IssueService_BatchUpdateReviews_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_IssueService_BatchUpdateIssues_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1300,19 +1300,19 @@ func RegisterIssueServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu
}
var (
- pattern_IssueService_GetReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "name"}, ""))
+ pattern_IssueService_GetIssue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "name"}, ""))
- pattern_IssueService_CreateReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, ""))
+ pattern_IssueService_CreateIssue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, ""))
- pattern_IssueService_ListReviews_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, ""))
+ pattern_IssueService_ListIssues_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, ""))
- pattern_IssueService_UpdateReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "review.name"}, ""))
+ pattern_IssueService_UpdateIssue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "review.name"}, ""))
- pattern_IssueService_CreateReviewComment_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "parent"}, "comment"))
+ pattern_IssueService_CreateIssueComment_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "parent"}, "comment"))
- pattern_IssueService_UpdateReviewComment_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "parent"}, "comment"))
+ pattern_IssueService_UpdateIssueComment_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "parent"}, "comment"))
- pattern_IssueService_BatchUpdateReviews_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, "batchUpdate"))
+ pattern_IssueService_BatchUpdateIssues_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, "batchUpdate"))
pattern_IssueService_ApproveReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "name"}, "approve"))
@@ -1322,19 +1322,19 @@ var (
)
var (
- forward_IssueService_GetReview_0 = runtime.ForwardResponseMessage
+ forward_IssueService_GetIssue_0 = runtime.ForwardResponseMessage
- forward_IssueService_CreateReview_0 = runtime.ForwardResponseMessage
+ forward_IssueService_CreateIssue_0 = runtime.ForwardResponseMessage
- forward_IssueService_ListReviews_0 = runtime.ForwardResponseMessage
+ forward_IssueService_ListIssues_0 = runtime.ForwardResponseMessage
- forward_IssueService_UpdateReview_0 = runtime.ForwardResponseMessage
+ forward_IssueService_UpdateIssue_0 = runtime.ForwardResponseMessage
- forward_IssueService_CreateReviewComment_0 = runtime.ForwardResponseMessage
+ forward_IssueService_CreateIssueComment_0 = runtime.ForwardResponseMessage
- forward_IssueService_UpdateReviewComment_0 = runtime.ForwardResponseMessage
+ forward_IssueService_UpdateIssueComment_0 = runtime.ForwardResponseMessage
- forward_IssueService_BatchUpdateReviews_0 = runtime.ForwardResponseMessage
+ forward_IssueService_BatchUpdateIssues_0 = runtime.ForwardResponseMessage
forward_IssueService_ApproveReview_0 = runtime.ForwardResponseMessage
diff --git a/proto/generated-go/v1/issue_service_grpc.pb.go b/proto/generated-go/v1/issue_service_grpc.pb.go
index 461c9efa26..29d6721af7 100644
--- a/proto/generated-go/v1/issue_service_grpc.pb.go
+++ b/proto/generated-go/v1/issue_service_grpc.pb.go
@@ -19,29 +19,29 @@ import (
const _ = grpc.SupportPackageIsVersion7
const (
- IssueService_GetReview_FullMethodName = "/bytebase.v1.IssueService/GetReview"
- IssueService_CreateReview_FullMethodName = "/bytebase.v1.IssueService/CreateReview"
- IssueService_ListReviews_FullMethodName = "/bytebase.v1.IssueService/ListReviews"
- IssueService_UpdateReview_FullMethodName = "/bytebase.v1.IssueService/UpdateReview"
- IssueService_CreateReviewComment_FullMethodName = "/bytebase.v1.IssueService/CreateReviewComment"
- IssueService_UpdateReviewComment_FullMethodName = "/bytebase.v1.IssueService/UpdateReviewComment"
- IssueService_BatchUpdateReviews_FullMethodName = "/bytebase.v1.IssueService/BatchUpdateReviews"
- IssueService_ApproveReview_FullMethodName = "/bytebase.v1.IssueService/ApproveReview"
- IssueService_RejectReview_FullMethodName = "/bytebase.v1.IssueService/RejectReview"
- IssueService_RequestReview_FullMethodName = "/bytebase.v1.IssueService/RequestReview"
+ IssueService_GetIssue_FullMethodName = "/bytebase.v1.IssueService/GetIssue"
+ IssueService_CreateIssue_FullMethodName = "/bytebase.v1.IssueService/CreateIssue"
+ IssueService_ListIssues_FullMethodName = "/bytebase.v1.IssueService/ListIssues"
+ IssueService_UpdateIssue_FullMethodName = "/bytebase.v1.IssueService/UpdateIssue"
+ IssueService_CreateIssueComment_FullMethodName = "/bytebase.v1.IssueService/CreateIssueComment"
+ IssueService_UpdateIssueComment_FullMethodName = "/bytebase.v1.IssueService/UpdateIssueComment"
+ IssueService_BatchUpdateIssues_FullMethodName = "/bytebase.v1.IssueService/BatchUpdateIssues"
+ IssueService_ApproveReview_FullMethodName = "/bytebase.v1.IssueService/ApproveReview"
+ IssueService_RejectReview_FullMethodName = "/bytebase.v1.IssueService/RejectReview"
+ IssueService_RequestReview_FullMethodName = "/bytebase.v1.IssueService/RequestReview"
)
// IssueServiceClient is the client API for IssueService service.
//
// 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 {
- GetReview(ctx context.Context, in *GetReviewRequest, opts ...grpc.CallOption) (*Review, error)
- CreateReview(ctx context.Context, in *CreateReviewRequest, opts ...grpc.CallOption) (*Review, error)
- ListReviews(ctx context.Context, in *ListReviewsRequest, opts ...grpc.CallOption) (*ListReviewsResponse, error)
- UpdateReview(ctx context.Context, in *UpdateReviewRequest, opts ...grpc.CallOption) (*Review, error)
- CreateReviewComment(ctx context.Context, in *CreateReviewCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error)
- UpdateReviewComment(ctx context.Context, in *UpdateReviewCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error)
- BatchUpdateReviews(ctx context.Context, in *BatchUpdateReviewsRequest, opts ...grpc.CallOption) (*BatchUpdateReviewsResponse, error)
+ GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Review, error)
+ CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Review, error)
+ ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error)
+ UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Review, error)
+ CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error)
+ UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error)
+ BatchUpdateIssues(ctx context.Context, in *BatchUpdateIssuesRequest, opts ...grpc.CallOption) (*BatchUpdateIssuesResponse, error)
ApproveReview(ctx context.Context, in *ApproveReviewRequest, opts ...grpc.CallOption) (*Review, error)
RejectReview(ctx context.Context, in *RejectReviewRequest, opts ...grpc.CallOption) (*Review, error)
RequestReview(ctx context.Context, in *RequestReviewRequest, opts ...grpc.CallOption) (*Review, error)
@@ -55,63 +55,63 @@ func NewIssueServiceClient(cc grpc.ClientConnInterface) IssueServiceClient {
return &issueServiceClient{cc}
}
-func (c *issueServiceClient) GetReview(ctx context.Context, in *GetReviewRequest, opts ...grpc.CallOption) (*Review, error) {
+func (c *issueServiceClient) GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Review, error) {
out := new(Review)
- err := c.cc.Invoke(ctx, IssueService_GetReview_FullMethodName, in, out, opts...)
+ err := c.cc.Invoke(ctx, IssueService_GetIssue_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-func (c *issueServiceClient) CreateReview(ctx context.Context, in *CreateReviewRequest, opts ...grpc.CallOption) (*Review, error) {
+func (c *issueServiceClient) CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Review, error) {
out := new(Review)
- err := c.cc.Invoke(ctx, IssueService_CreateReview_FullMethodName, in, out, opts...)
+ err := c.cc.Invoke(ctx, IssueService_CreateIssue_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-func (c *issueServiceClient) ListReviews(ctx context.Context, in *ListReviewsRequest, opts ...grpc.CallOption) (*ListReviewsResponse, error) {
- out := new(ListReviewsResponse)
- err := c.cc.Invoke(ctx, IssueService_ListReviews_FullMethodName, in, out, opts...)
+func (c *issueServiceClient) ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error) {
+ out := new(ListIssuesResponse)
+ err := c.cc.Invoke(ctx, IssueService_ListIssues_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-func (c *issueServiceClient) UpdateReview(ctx context.Context, in *UpdateReviewRequest, opts ...grpc.CallOption) (*Review, error) {
+func (c *issueServiceClient) UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Review, error) {
out := new(Review)
- err := c.cc.Invoke(ctx, IssueService_UpdateReview_FullMethodName, in, out, opts...)
+ err := c.cc.Invoke(ctx, IssueService_UpdateIssue_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-func (c *issueServiceClient) CreateReviewComment(ctx context.Context, in *CreateReviewCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error) {
+func (c *issueServiceClient) CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error) {
out := new(ReviewComment)
- err := c.cc.Invoke(ctx, IssueService_CreateReviewComment_FullMethodName, in, out, opts...)
+ err := c.cc.Invoke(ctx, IssueService_CreateIssueComment_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-func (c *issueServiceClient) UpdateReviewComment(ctx context.Context, in *UpdateReviewCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error) {
+func (c *issueServiceClient) UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error) {
out := new(ReviewComment)
- err := c.cc.Invoke(ctx, IssueService_UpdateReviewComment_FullMethodName, in, out, opts...)
+ err := c.cc.Invoke(ctx, IssueService_UpdateIssueComment_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-func (c *issueServiceClient) BatchUpdateReviews(ctx context.Context, in *BatchUpdateReviewsRequest, opts ...grpc.CallOption) (*BatchUpdateReviewsResponse, error) {
- out := new(BatchUpdateReviewsResponse)
- err := c.cc.Invoke(ctx, IssueService_BatchUpdateReviews_FullMethodName, in, out, opts...)
+func (c *issueServiceClient) BatchUpdateIssues(ctx context.Context, in *BatchUpdateIssuesRequest, opts ...grpc.CallOption) (*BatchUpdateIssuesResponse, error) {
+ out := new(BatchUpdateIssuesResponse)
+ err := c.cc.Invoke(ctx, IssueService_BatchUpdateIssues_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -149,13 +149,13 @@ func (c *issueServiceClient) RequestReview(ctx context.Context, in *RequestRevie
// All implementations must embed UnimplementedIssueServiceServer
// for forward compatibility
type IssueServiceServer interface {
- GetReview(context.Context, *GetReviewRequest) (*Review, error)
- CreateReview(context.Context, *CreateReviewRequest) (*Review, error)
- ListReviews(context.Context, *ListReviewsRequest) (*ListReviewsResponse, error)
- UpdateReview(context.Context, *UpdateReviewRequest) (*Review, error)
- CreateReviewComment(context.Context, *CreateReviewCommentRequest) (*ReviewComment, error)
- UpdateReviewComment(context.Context, *UpdateReviewCommentRequest) (*ReviewComment, error)
- BatchUpdateReviews(context.Context, *BatchUpdateReviewsRequest) (*BatchUpdateReviewsResponse, error)
+ GetIssue(context.Context, *GetIssueRequest) (*Review, error)
+ CreateIssue(context.Context, *CreateIssueRequest) (*Review, error)
+ ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)
+ UpdateIssue(context.Context, *UpdateIssueRequest) (*Review, error)
+ CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*ReviewComment, error)
+ UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*ReviewComment, error)
+ BatchUpdateIssues(context.Context, *BatchUpdateIssuesRequest) (*BatchUpdateIssuesResponse, error)
ApproveReview(context.Context, *ApproveReviewRequest) (*Review, error)
RejectReview(context.Context, *RejectReviewRequest) (*Review, error)
RequestReview(context.Context, *RequestReviewRequest) (*Review, error)
@@ -166,26 +166,26 @@ type IssueServiceServer interface {
type UnimplementedIssueServiceServer struct {
}
-func (UnimplementedIssueServiceServer) GetReview(context.Context, *GetReviewRequest) (*Review, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetReview not implemented")
+func (UnimplementedIssueServiceServer) GetIssue(context.Context, *GetIssueRequest) (*Review, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetIssue not implemented")
}
-func (UnimplementedIssueServiceServer) CreateReview(context.Context, *CreateReviewRequest) (*Review, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateReview not implemented")
+func (UnimplementedIssueServiceServer) CreateIssue(context.Context, *CreateIssueRequest) (*Review, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateIssue not implemented")
}
-func (UnimplementedIssueServiceServer) ListReviews(context.Context, *ListReviewsRequest) (*ListReviewsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ListReviews not implemented")
+func (UnimplementedIssueServiceServer) ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method ListIssues not implemented")
}
-func (UnimplementedIssueServiceServer) UpdateReview(context.Context, *UpdateReviewRequest) (*Review, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateReview not implemented")
+func (UnimplementedIssueServiceServer) UpdateIssue(context.Context, *UpdateIssueRequest) (*Review, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UpdateIssue not implemented")
}
-func (UnimplementedIssueServiceServer) CreateReviewComment(context.Context, *CreateReviewCommentRequest) (*ReviewComment, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateReviewComment not implemented")
+func (UnimplementedIssueServiceServer) CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*ReviewComment, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateIssueComment not implemented")
}
-func (UnimplementedIssueServiceServer) UpdateReviewComment(context.Context, *UpdateReviewCommentRequest) (*ReviewComment, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateReviewComment not implemented")
+func (UnimplementedIssueServiceServer) UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*ReviewComment, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UpdateIssueComment not implemented")
}
-func (UnimplementedIssueServiceServer) BatchUpdateReviews(context.Context, *BatchUpdateReviewsRequest) (*BatchUpdateReviewsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateReviews not implemented")
+func (UnimplementedIssueServiceServer) BatchUpdateIssues(context.Context, *BatchUpdateIssuesRequest) (*BatchUpdateIssuesResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateIssues not implemented")
}
func (UnimplementedIssueServiceServer) ApproveReview(context.Context, *ApproveReviewRequest) (*Review, error) {
return nil, status.Errorf(codes.Unimplemented, "method ApproveReview not implemented")
@@ -209,128 +209,128 @@ func RegisterIssueServiceServer(s grpc.ServiceRegistrar, srv IssueServiceServer)
s.RegisterService(&IssueService_ServiceDesc, srv)
}
-func _IssueService_GetReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetReviewRequest)
+func _IssueService_GetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(GetIssueRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).GetReview(ctx, in)
+ return srv.(IssueServiceServer).GetIssue(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_GetReview_FullMethodName,
+ FullMethod: IssueService_GetIssue_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).GetReview(ctx, req.(*GetReviewRequest))
+ return srv.(IssueServiceServer).GetIssue(ctx, req.(*GetIssueRequest))
}
return interceptor(ctx, in, info, handler)
}
-func _IssueService_CreateReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateReviewRequest)
+func _IssueService_CreateIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(CreateIssueRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).CreateReview(ctx, in)
+ return srv.(IssueServiceServer).CreateIssue(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_CreateReview_FullMethodName,
+ FullMethod: IssueService_CreateIssue_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).CreateReview(ctx, req.(*CreateReviewRequest))
+ return srv.(IssueServiceServer).CreateIssue(ctx, req.(*CreateIssueRequest))
}
return interceptor(ctx, in, info, handler)
}
-func _IssueService_ListReviews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListReviewsRequest)
+func _IssueService_ListIssues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(ListIssuesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).ListReviews(ctx, in)
+ return srv.(IssueServiceServer).ListIssues(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_ListReviews_FullMethodName,
+ FullMethod: IssueService_ListIssues_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).ListReviews(ctx, req.(*ListReviewsRequest))
+ return srv.(IssueServiceServer).ListIssues(ctx, req.(*ListIssuesRequest))
}
return interceptor(ctx, in, info, handler)
}
-func _IssueService_UpdateReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateReviewRequest)
+func _IssueService_UpdateIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(UpdateIssueRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).UpdateReview(ctx, in)
+ return srv.(IssueServiceServer).UpdateIssue(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_UpdateReview_FullMethodName,
+ FullMethod: IssueService_UpdateIssue_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).UpdateReview(ctx, req.(*UpdateReviewRequest))
+ return srv.(IssueServiceServer).UpdateIssue(ctx, req.(*UpdateIssueRequest))
}
return interceptor(ctx, in, info, handler)
}
-func _IssueService_CreateReviewComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateReviewCommentRequest)
+func _IssueService_CreateIssueComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(CreateIssueCommentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).CreateReviewComment(ctx, in)
+ return srv.(IssueServiceServer).CreateIssueComment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_CreateReviewComment_FullMethodName,
+ FullMethod: IssueService_CreateIssueComment_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).CreateReviewComment(ctx, req.(*CreateReviewCommentRequest))
+ return srv.(IssueServiceServer).CreateIssueComment(ctx, req.(*CreateIssueCommentRequest))
}
return interceptor(ctx, in, info, handler)
}
-func _IssueService_UpdateReviewComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateReviewCommentRequest)
+func _IssueService_UpdateIssueComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(UpdateIssueCommentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).UpdateReviewComment(ctx, in)
+ return srv.(IssueServiceServer).UpdateIssueComment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_UpdateReviewComment_FullMethodName,
+ FullMethod: IssueService_UpdateIssueComment_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).UpdateReviewComment(ctx, req.(*UpdateReviewCommentRequest))
+ return srv.(IssueServiceServer).UpdateIssueComment(ctx, req.(*UpdateIssueCommentRequest))
}
return interceptor(ctx, in, info, handler)
}
-func _IssueService_BatchUpdateReviews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(BatchUpdateReviewsRequest)
+func _IssueService_BatchUpdateIssues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(BatchUpdateIssuesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(IssueServiceServer).BatchUpdateReviews(ctx, in)
+ return srv.(IssueServiceServer).BatchUpdateIssues(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: IssueService_BatchUpdateReviews_FullMethodName,
+ FullMethod: IssueService_BatchUpdateIssues_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(IssueServiceServer).BatchUpdateReviews(ctx, req.(*BatchUpdateReviewsRequest))
+ return srv.(IssueServiceServer).BatchUpdateIssues(ctx, req.(*BatchUpdateIssuesRequest))
}
return interceptor(ctx, in, info, handler)
}
@@ -397,32 +397,32 @@ var IssueService_ServiceDesc = grpc.ServiceDesc{
HandlerType: (*IssueServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
- MethodName: "GetReview",
- Handler: _IssueService_GetReview_Handler,
+ MethodName: "GetIssue",
+ Handler: _IssueService_GetIssue_Handler,
},
{
- MethodName: "CreateReview",
- Handler: _IssueService_CreateReview_Handler,
+ MethodName: "CreateIssue",
+ Handler: _IssueService_CreateIssue_Handler,
},
{
- MethodName: "ListReviews",
- Handler: _IssueService_ListReviews_Handler,
+ MethodName: "ListIssues",
+ Handler: _IssueService_ListIssues_Handler,
},
{
- MethodName: "UpdateReview",
- Handler: _IssueService_UpdateReview_Handler,
+ MethodName: "UpdateIssue",
+ Handler: _IssueService_UpdateIssue_Handler,
},
{
- MethodName: "CreateReviewComment",
- Handler: _IssueService_CreateReviewComment_Handler,
+ MethodName: "CreateIssueComment",
+ Handler: _IssueService_CreateIssueComment_Handler,
},
{
- MethodName: "UpdateReviewComment",
- Handler: _IssueService_UpdateReviewComment_Handler,
+ MethodName: "UpdateIssueComment",
+ Handler: _IssueService_UpdateIssueComment_Handler,
},
{
- MethodName: "BatchUpdateReviews",
- Handler: _IssueService_BatchUpdateReviews_Handler,
+ MethodName: "BatchUpdateIssues",
+ Handler: _IssueService_BatchUpdateIssues_Handler,
},
{
MethodName: "ApproveReview",
diff --git a/proto/v1/issue_service.proto b/proto/v1/issue_service.proto
index f429a6292b..075fdc9da3 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 GetReview(GetReviewRequest) returns (Review) {
+ rpc GetIssue(GetIssueRequest) returns (Review) {
option (google.api.http) = {get: "/v1/{name=projects/*/reviews/*}"};
option (google.api.method_signature) = "name";
}
- rpc CreateReview(CreateReviewRequest) returns (Review) {
+ rpc CreateIssue(CreateIssueRequest) returns (Review) {
option (google.api.http) = {
post: "/v1/{parent=projects/*}/reviews"
body: "review"
@@ -24,12 +24,12 @@ service IssueService {
option (google.api.method_signature) = "parent,review";
}
- rpc ListReviews(ListReviewsRequest) returns (ListReviewsResponse) {
+ rpc ListIssues(ListIssuesRequest) returns (ListIssuesResponse) {
option (google.api.http) = {get: "/v1/{parent=projects/*}/reviews"};
option (google.api.method_signature) = "parent";
}
- rpc UpdateReview(UpdateReviewRequest) returns (Review) {
+ rpc UpdateIssue(UpdateIssueRequest) returns (Review) {
option (google.api.http) = {
patch: "/v1/{review.name=projects/*/reviews/*}"
body: "review"
@@ -37,7 +37,7 @@ service IssueService {
option (google.api.method_signature) = "review,update_mask";
}
- rpc CreateReviewComment(CreateReviewCommentRequest) returns (ReviewComment) {
+ rpc CreateIssueComment(CreateIssueCommentRequest) returns (ReviewComment) {
option (google.api.http) = {
post: "/v1/{parent=projects/*/reviews/*}:comment"
body: "review_comment"
@@ -45,7 +45,7 @@ service IssueService {
option (google.api.method_signature) = "parent,review_comment";
}
- rpc UpdateReviewComment(UpdateReviewCommentRequest) returns (ReviewComment) {
+ rpc UpdateIssueComment(UpdateIssueCommentRequest) returns (ReviewComment) {
option (google.api.http) = {
patch: "/v1/{parent=projects/*/reviews/*}:comment"
body: "review_comment"
@@ -53,7 +53,7 @@ service IssueService {
option (google.api.method_signature) = "parent,review_comment,update_mask";
}
- rpc BatchUpdateReviews(BatchUpdateReviewsRequest) returns (BatchUpdateReviewsResponse) {
+ rpc BatchUpdateIssues(BatchUpdateIssuesRequest) returns (BatchUpdateIssuesResponse) {
option (google.api.http) = {
post: "/v1/{parent=projects/*}/reviews:batchUpdate"
body: "*"
@@ -82,7 +82,7 @@ service IssueService {
}
}
-message GetReviewRequest {
+message GetIssueRequest {
// The name of the review to retrieve.
// Format: projects/{project}/reviews/{review}
string name = 1 [(google.api.field_behavior) = REQUIRED];
@@ -90,7 +90,7 @@ message GetReviewRequest {
bool force = 2;
}
-message CreateReviewRequest {
+message CreateIssueRequest {
// The parent, which owns this collection of reviews.
// Format: projects/{project}
string parent = 1 [(google.api.field_behavior) = REQUIRED];
@@ -99,7 +99,7 @@ message CreateReviewRequest {
Review review = 2 [(google.api.field_behavior) = REQUIRED];
}
-message ListReviewsRequest {
+message ListIssuesRequest {
// The parent, which owns this collection of reviews.
// Format: projects/{project}
// Use "projects/-" to list all reviews from all projects.
@@ -111,15 +111,15 @@ message ListReviewsRequest {
// The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2;
- // A page token, received from a previous `ListReviews` call.
+ // A page token, received from a previous `ListIssues` call.
// Provide this to retrieve the subsequent page.
//
- // When paginating, all other parameters provided to `ListReviews` must match
+ // When paginating, all other parameters provided to `ListIssues` must match
// the call that provided the page token.
string page_token = 3;
}
-message ListReviewsResponse {
+message ListIssuesResponse {
// The reviews from the specified request.
repeated Review reviews = 1;
@@ -128,7 +128,7 @@ message ListReviewsResponse {
string next_page_token = 2;
}
-message UpdateReviewRequest {
+message UpdateIssueRequest {
// The review to update.
//
// The review's `name` field is used to identify the review to update.
@@ -139,7 +139,7 @@ message UpdateReviewRequest {
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
}
-message BatchUpdateReviewsRequest {
+message BatchUpdateIssuesRequest {
// The parent resource shared by all reviews being updated.
// Format: projects/{project}
// If the operation spans parents, a dash (-) may be accepted as a wildcard.
@@ -148,10 +148,10 @@ message BatchUpdateReviewsRequest {
// The request message specifying the resources to update.
// A maximum of 1000 databases can be modified in a batch.
- repeated UpdateReviewRequest requests = 2 [(google.api.field_behavior) = REQUIRED];
+ repeated UpdateIssueRequest requests = 2 [(google.api.field_behavior) = REQUIRED];
}
-message BatchUpdateReviewsResponse {
+message BatchUpdateIssuesResponse {
// Reviews updated.
repeated Review reviews = 1;
}
@@ -306,7 +306,7 @@ message ApprovalNode {
}
}
-message CreateReviewCommentRequest {
+message CreateIssueCommentRequest {
// The review name
// Format: projects/{project}/reviews/{review}
string parent = 1;
@@ -314,7 +314,7 @@ message CreateReviewCommentRequest {
ReviewComment review_comment = 2;
}
-message UpdateReviewCommentRequest {
+message UpdateIssueCommentRequest {
// The review name
// Format: projects/{project}/reviews/{review}
string parent = 1;