Skip to content

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

chore: issue rename part 4 (#6933)

Danny Xu6508de40e470
diff --git a/backend/api/v1/issue_service.go b/backend/api/v1/issue_service.go
index aed898dc72..7c747f345c 100644
--- a/backend/api/v1/issue_service.go
+++ b/backend/api/v1/issue_service.go
@@ -604,8 +604,8 @@ func (s *IssueService) UpdateIssue(ctx context.Context, request *v1pb.UpdateIssu
}
// CreateIssueComment creates the review comment.
-func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.CreateIssueCommentRequest) (*v1pb.ReviewComment, error) {
- if request.ReviewComment.Comment == "" {
+func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.CreateIssueCommentRequest) (*v1pb.IssueComment, error) {
+ if request.IssueComment.Comment == "" {
return nil, status.Errorf(codes.InvalidArgument, "review comment is empty")
}
issue, err := s.getIssueMessage(ctx, request.Parent)
@@ -619,7 +619,7 @@ func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.Cre
ContainerUID: issue.UID,
Type: api.ActivityIssueCommentCreate,
Level: api.ActivityInfo,
- Comment: request.ReviewComment.Comment,
+ Comment: request.IssueComment.Comment,
}
var payload api.ActivityIssueCommentCreatePayload
@@ -639,7 +639,7 @@ func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.Cre
if err != nil {
return nil, status.Errorf(codes.Internal, "failed to create review comment: %v", err.Error())
}
- return &v1pb.ReviewComment{
+ return &v1pb.IssueComment{
Uid: fmt.Sprintf("%d", activity.UID),
Comment: activity.Comment,
Payload: activity.Payload,
@@ -649,13 +649,13 @@ func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.Cre
}
// UpdateIssueComment updates the review comment.
-func (s *IssueService) UpdateIssueComment(ctx context.Context, request *v1pb.UpdateIssueCommentRequest) (*v1pb.ReviewComment, error) {
+func (s *IssueService) UpdateIssueComment(ctx context.Context, request *v1pb.UpdateIssueCommentRequest) (*v1pb.IssueComment, error) {
if request.UpdateMask.Paths == nil {
return nil, status.Errorf(codes.InvalidArgument, "update_mask is required")
}
- activityUID, err := strconv.Atoi(request.ReviewComment.Uid)
+ activityUID, err := strconv.Atoi(request.IssueComment.Uid)
if err != nil {
- return nil, status.Errorf(codes.InvalidArgument, `invalid comment id "%s": %v`, request.ReviewComment.Uid, err.Error())
+ return nil, status.Errorf(codes.InvalidArgument, `invalid comment id "%s": %v`, request.IssueComment.Uid, err.Error())
}
principalID := ctx.Value(common.PrincipalIDContextKey).(int)
@@ -668,7 +668,7 @@ func (s *IssueService) UpdateIssueComment(ctx context.Context, request *v1pb.Upd
for _, path := range request.UpdateMask.Paths {
switch path {
case "comment":
- update.Comment = &request.ReviewComment.Comment
+ update.Comment = &request.IssueComment.Comment
default:
return nil, status.Errorf(codes.InvalidArgument, `unsupport update_mask: "%s"`, path)
}
@@ -677,12 +677,12 @@ func (s *IssueService) UpdateIssueComment(ctx context.Context, request *v1pb.Upd
activity, err := s.store.UpdateActivityV2(ctx, update)
if err != nil {
if common.ErrorCode(err) == common.NotFound {
- return nil, status.Errorf(codes.NotFound, "cannot found the review comment %s", request.ReviewComment.Uid)
+ return nil, status.Errorf(codes.NotFound, "cannot found the review comment %s", request.IssueComment.Uid)
}
return nil, status.Errorf(codes.Internal, "failed to update the review comment with error: %v", err.Error())
}
- return &v1pb.ReviewComment{
+ return &v1pb.IssueComment{
Uid: fmt.Sprintf("%d", activity.UID),
Comment: activity.Comment,
Payload: activity.Payload,
@@ -794,7 +794,7 @@ func convertToReview(ctx context.Context, s *store.Store, issue *store.IssueMess
Uid: fmt.Sprintf("%d", issue.UID),
Title: issue.Title,
Description: issue.Description,
- Status: convertToReviewStatus(issue.Status),
+ Status: convertToIssueStatus(issue.Status),
Assignee: fmt.Sprintf("%s%s", userNamePrefix, issue.Assignee.Email),
AssigneeAttention: issue.NeedAttention,
Creator: fmt.Sprintf("%s%s", userNamePrefix, issue.Creator.Email),
@@ -808,13 +808,13 @@ func convertToReview(ctx context.Context, s *store.Store, issue *store.IssueMess
switch issue.Status {
case api.IssueOpen:
- review.Status = v1pb.ReviewStatus_OPEN
+ review.Status = v1pb.IssueStatus_OPEN
case api.IssueDone:
- review.Status = v1pb.ReviewStatus_DONE
+ review.Status = v1pb.IssueStatus_DONE
case api.IssueCanceled:
- review.Status = v1pb.ReviewStatus_CANCELED
+ review.Status = v1pb.IssueStatus_CANCELED
default:
- review.Status = v1pb.ReviewStatus_REVIEW_STATUS_UNSPECIFIED
+ review.Status = v1pb.IssueStatus_ISSUE_STATUS_UNSPECIFIED
}
if issuePayload.Approval != nil {
@@ -837,16 +837,16 @@ func convertToReview(ctx context.Context, s *store.Store, issue *store.IssueMess
return review, nil
}
-func convertToReviewStatus(status api.IssueStatus) v1pb.ReviewStatus {
+func convertToIssueStatus(status api.IssueStatus) v1pb.IssueStatus {
switch status {
case api.IssueOpen:
- return v1pb.ReviewStatus_OPEN
+ return v1pb.IssueStatus_OPEN
case api.IssueDone:
- return v1pb.ReviewStatus_DONE
+ return v1pb.IssueStatus_DONE
case api.IssueCanceled:
- return v1pb.ReviewStatus_CANCELED
+ return v1pb.IssueStatus_CANCELED
default:
- return v1pb.ReviewStatus_REVIEW_STATUS_UNSPECIFIED
+ return v1pb.IssueStatus_ISSUE_STATUS_UNSPECIFIED
}
}
diff --git a/frontend/src/store/modules/v1/issue.ts b/frontend/src/store/modules/v1/issue.ts
new file mode 100644
index 0000000000..b16477cffe
--- /dev/null
+++ b/frontend/src/store/modules/v1/issue.ts
@@ -0,0 +1,52 @@
+import { defineStore } from "pinia";
+
+import { issueServiceClient } from "@/grpcweb";
+import { useActivityV1Store } from "./activity";
+import { IdType, ActivityIssueCommentCreatePayload } from "@/types";
+import { projectNamePrefix, reviewNamePrefix } from "./common";
+
+export const useIssueV1Store = defineStore("issue_v1", () => {
+ const createIssueComment = async ({
+ reviewId,
+ comment,
+ payload,
+ }: {
+ reviewId: IdType;
+ comment: string;
+ payload?: ActivityIssueCommentCreatePayload;
+ }) => {
+ await issueServiceClient.createIssueComment({
+ parent: `${projectNamePrefix}-/${reviewNamePrefix}${reviewId}`,
+ issueComment: {
+ comment,
+ payload: JSON.stringify(payload ?? {}),
+ },
+ });
+ await useActivityV1Store().fetchActivityListByIssueId(reviewId);
+ };
+
+ const updateIssueComment = async ({
+ commentId,
+ reviewId,
+ comment,
+ }: {
+ commentId: string;
+ reviewId: IdType;
+ comment: string;
+ }) => {
+ await issueServiceClient.updateIssueComment({
+ parent: `${projectNamePrefix}-/${reviewNamePrefix}${reviewId}`,
+ issueComment: {
+ uid: commentId,
+ comment,
+ },
+ updateMask: ["comment"],
+ });
+ await useActivityV1Store().fetchActivityListByIssueId(reviewId);
+ };
+
+ return {
+ createIssueComment,
+ updateIssueComment,
+ };
+});
diff --git a/frontend/src/store/modules/v1/review.ts b/frontend/src/store/modules/v1/review.ts
index ca3cccbf8c..b16477cffe 100644
--- a/frontend/src/store/modules/v1/review.ts
+++ b/frontend/src/store/modules/v1/review.ts
@@ -17,7 +17,7 @@ export const useIssueV1Store = defineStore("issue_v1", () => {
}) => {
await issueServiceClient.createIssueComment({
parent: `${projectNamePrefix}-/${reviewNamePrefix}${reviewId}`,
- reviewComment: {
+ issueComment: {
comment,
payload: JSON.stringify(payload ?? {}),
},
@@ -36,7 +36,7 @@ export const useIssueV1Store = defineStore("issue_v1", () => {
}) => {
await issueServiceClient.updateIssueComment({
parent: `${projectNamePrefix}-/${reviewNamePrefix}${reviewId}`,
- reviewComment: {
+ issueComment: {
uid: commentId,
comment,
},
diff --git a/frontend/src/types/proto/v1/issue_service.ts b/frontend/src/types/proto/v1/issue_service.ts
index 9e804959d9..26624bf877 100644
--- a/frontend/src/types/proto/v1/issue_service.ts
+++ b/frontend/src/types/proto/v1/issue_service.ts
@@ -6,46 +6,46 @@ import { Timestamp } from "../google/protobuf/timestamp";
export const protobufPackage = "bytebase.v1";
-export enum ReviewStatus {
- REVIEW_STATUS_UNSPECIFIED = 0,
+export enum IssueStatus {
+ ISSUE_STATUS_UNSPECIFIED = 0,
OPEN = 1,
DONE = 2,
CANCELED = 3,
UNRECOGNIZED = -1,
}
-export function reviewStatusFromJSON(object: any): ReviewStatus {
+export function issueStatusFromJSON(object: any): IssueStatus {
switch (object) {
case 0:
- case "REVIEW_STATUS_UNSPECIFIED":
- return ReviewStatus.REVIEW_STATUS_UNSPECIFIED;
+ case "ISSUE_STATUS_UNSPECIFIED":
+ return IssueStatus.ISSUE_STATUS_UNSPECIFIED;
case 1:
case "OPEN":
- return ReviewStatus.OPEN;
+ return IssueStatus.OPEN;
case 2:
case "DONE":
- return ReviewStatus.DONE;
+ return IssueStatus.DONE;
case 3:
case "CANCELED":
- return ReviewStatus.CANCELED;
+ return IssueStatus.CANCELED;
case -1:
case "UNRECOGNIZED":
default:
- return ReviewStatus.UNRECOGNIZED;
+ return IssueStatus.UNRECOGNIZED;
}
}
-export function reviewStatusToJSON(object: ReviewStatus): string {
+export function issueStatusToJSON(object: IssueStatus): string {
switch (object) {
- case ReviewStatus.REVIEW_STATUS_UNSPECIFIED:
- return "REVIEW_STATUS_UNSPECIFIED";
- case ReviewStatus.OPEN:
+ case IssueStatus.ISSUE_STATUS_UNSPECIFIED:
+ return "ISSUE_STATUS_UNSPECIFIED";
+ case IssueStatus.OPEN:
return "OPEN";
- case ReviewStatus.DONE:
+ case IssueStatus.DONE:
return "DONE";
- case ReviewStatus.CANCELED:
+ case IssueStatus.CANCELED:
return "CANCELED";
- case ReviewStatus.UNRECOGNIZED:
+ case IssueStatus.UNRECOGNIZED:
default:
return "UNRECOGNIZED";
}
@@ -74,13 +74,13 @@ export interface ListIssuesRequest {
/**
* The parent, which owns this collection of reviews.
* Format: projects/{project}
- * Use "projects/-" to list all reviews from all projects.
+ * Use "projects/-" to list all issues from all projects.
*/
parent: string;
/**
- * The maximum number of reviews to return. The service may return fewer than
+ * The maximum number of issues to return. The service may return fewer than
* this value.
- * If unspecified, at most 50 reviews will be returned.
+ * If unspecified, at most 50 issues will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
pageSize: number;
@@ -95,7 +95,7 @@ export interface ListIssuesRequest {
}
export interface ListIssuesResponse {
- /** The reviews from the specified request. */
+ /** The issues from the specified request. */
reviews: Review[];
/**
* A token, which can be sent as `page_token` to retrieve the next page.
@@ -106,9 +106,9 @@ export interface ListIssuesResponse {
export interface UpdateIssueRequest {
/**
- * The review to update.
+ * The issue to update.
*
- * The review's `name` field is used to identify the review to update.
+ * The issue's `name` field is used to identify the issue to update.
* Format: projects/{project}/reviews/{review}
*/
review?: Review;
@@ -118,7 +118,7 @@ export interface UpdateIssueRequest {
export interface BatchUpdateIssuesRequest {
/**
- * The parent resource shared by all reviews being updated.
+ * The parent resource shared by all issues 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.
@@ -132,13 +132,13 @@ export interface BatchUpdateIssuesRequest {
}
export interface BatchUpdateIssuesResponse {
- /** Reviews updated. */
+ /** Issues updated. */
reviews: Review[];
}
export interface ApproveReviewRequest {
/**
- * The name of the review to add an approver.
+ * The name of the issue to add an approver.
* Format: projects/{project}/reviews/{review}
*/
name: string;
@@ -147,7 +147,7 @@ export interface ApproveReviewRequest {
export interface RejectReviewRequest {
/**
- * The name of the review to add an rejecting reviewer.
+ * The name of the issue to add an rejecting reviewer.
* Format: projects/{project}/reviews/{review}
*/
name: string;
@@ -156,7 +156,7 @@ export interface RejectReviewRequest {
export interface RequestReviewRequest {
/**
- * The name of the review to request a review.
+ * The name of the issue to request a review.
* Format: projects/{project}/reviews/{review}
*/
name: string;
@@ -165,8 +165,7 @@ export interface RequestReviewRequest {
export interface Review {
/**
- * The name of the review.
- * `review` is a system generated ID.
+ * The name of the issue.
* Format: projects/{project}/reviews/{review}
*/
name: string;
@@ -174,19 +173,19 @@ export interface Review {
uid: string;
title: string;
/**
- * The plan associated with the review.
+ * The plan associated with the issue.
* Can be empty.
* Format: projects/{project}/plans/{plan}
*/
plan: string;
/**
- * The rollout associated with the review.
+ * The rollout associated with the issue.
* Can be empty.
* Format: projects/{project}/rollouts/{rollout}
*/
rollout: string;
description: string;
- status: ReviewStatus;
+ status: IssueStatus;
/** Format: users/[email protected] */
assignee: string;
assigneeAttention: boolean;
@@ -434,25 +433,25 @@ export function approvalNode_GroupValueToJSON(object: ApprovalNode_GroupValue):
export interface CreateIssueCommentRequest {
/**
- * The review name
+ * The issue name
* Format: projects/{project}/reviews/{review}
*/
parent: string;
- reviewComment?: ReviewComment;
+ issueComment?: IssueComment;
}
export interface UpdateIssueCommentRequest {
/**
- * The review name
+ * The issue name
* Format: projects/{project}/reviews/{review}
*/
parent: string;
- reviewComment?: ReviewComment;
+ issueComment?: IssueComment;
/** The list of fields to update. */
updateMask?: string[];
}
-export interface ReviewComment {
+export interface IssueComment {
uid: string;
comment: string;
/** TODO: use struct message instead. */
@@ -1406,7 +1405,7 @@ export const Review = {
plan: isSet(object.plan) ? String(object.plan) : "",
rollout: isSet(object.rollout) ? String(object.rollout) : "",
description: isSet(object.description) ? String(object.description) : "",
- status: isSet(object.status) ? reviewStatusFromJSON(object.status) : 0,
+ status: isSet(object.status) ? issueStatusFromJSON(object.status) : 0,
assignee: isSet(object.assignee) ? String(object.assignee) : "",
assigneeAttention: isSet(object.assigneeAttention) ? Boolean(object.assigneeAttention) : false,
approvalTemplates: Array.isArray(object?.approvalTemplates)
@@ -1430,7 +1429,7 @@ export const Review = {
message.plan !== undefined && (obj.plan = message.plan);
message.rollout !== undefined && (obj.rollout = message.rollout);
message.description !== undefined && (obj.description = message.description);
- message.status !== undefined && (obj.status = reviewStatusToJSON(message.status));
+ message.status !== undefined && (obj.status = issueStatusToJSON(message.status));
message.assignee !== undefined && (obj.assignee = message.assignee);
message.assigneeAttention !== undefined && (obj.assigneeAttention = message.assigneeAttention);
if (message.approvalTemplates) {
@@ -1889,7 +1888,7 @@ export const ApprovalNode = {
};
function createBaseCreateIssueCommentRequest(): CreateIssueCommentRequest {
- return { parent: "", reviewComment: undefined };
+ return { parent: "", issueComment: undefined };
}
export const CreateIssueCommentRequest = {
@@ -1897,8 +1896,8 @@ export const CreateIssueCommentRequest = {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
- if (message.reviewComment !== undefined) {
- ReviewComment.encode(message.reviewComment, writer.uint32(18).fork()).ldelim();
+ if (message.issueComment !== undefined) {
+ IssueComment.encode(message.issueComment, writer.uint32(18).fork()).ldelim();
}
return writer;
},
@@ -1922,7 +1921,7 @@ export const CreateIssueCommentRequest = {
break;
}
- message.reviewComment = ReviewComment.decode(reader, reader.uint32());
+ message.issueComment = IssueComment.decode(reader, reader.uint32());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -1936,15 +1935,15 @@ export const CreateIssueCommentRequest = {
fromJSON(object: any): CreateIssueCommentRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
- reviewComment: isSet(object.reviewComment) ? ReviewComment.fromJSON(object.reviewComment) : undefined,
+ issueComment: isSet(object.issueComment) ? IssueComment.fromJSON(object.issueComment) : undefined,
};
},
toJSON(message: CreateIssueCommentRequest): unknown {
const obj: any = {};
message.parent !== undefined && (obj.parent = message.parent);
- message.reviewComment !== undefined &&
- (obj.reviewComment = message.reviewComment ? ReviewComment.toJSON(message.reviewComment) : undefined);
+ message.issueComment !== undefined &&
+ (obj.issueComment = message.issueComment ? IssueComment.toJSON(message.issueComment) : undefined);
return obj;
},
@@ -1955,15 +1954,15 @@ export const CreateIssueCommentRequest = {
fromPartial(object: DeepPartial<CreateIssueCommentRequest>): CreateIssueCommentRequest {
const message = createBaseCreateIssueCommentRequest();
message.parent = object.parent ?? "";
- message.reviewComment = (object.reviewComment !== undefined && object.reviewComment !== null)
- ? ReviewComment.fromPartial(object.reviewComment)
+ message.issueComment = (object.issueComment !== undefined && object.issueComment !== null)
+ ? IssueComment.fromPartial(object.issueComment)
: undefined;
return message;
},
};
function createBaseUpdateIssueCommentRequest(): UpdateIssueCommentRequest {
- return { parent: "", reviewComment: undefined, updateMask: undefined };
+ return { parent: "", issueComment: undefined, updateMask: undefined };
}
export const UpdateIssueCommentRequest = {
@@ -1971,8 +1970,8 @@ export const UpdateIssueCommentRequest = {
if (message.parent !== "") {
writer.uint32(10).string(message.parent);
}
- if (message.reviewComment !== undefined) {
- ReviewComment.encode(message.reviewComment, writer.uint32(18).fork()).ldelim();
+ if (message.issueComment !== undefined) {
+ IssueComment.encode(message.issueComment, writer.uint32(18).fork()).ldelim();
}
if (message.updateMask !== undefined) {
FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(26).fork()).ldelim();
@@ -1999,7 +1998,7 @@ export const UpdateIssueCommentRequest = {
break;
}
- message.reviewComment = ReviewComment.decode(reader, reader.uint32());
+ message.issueComment = IssueComment.decode(reader, reader.uint32());
continue;
case 3:
if (tag !== 26) {
@@ -2020,7 +2019,7 @@ export const UpdateIssueCommentRequest = {
fromJSON(object: any): UpdateIssueCommentRequest {
return {
parent: isSet(object.parent) ? String(object.parent) : "",
- reviewComment: isSet(object.reviewComment) ? ReviewComment.fromJSON(object.reviewComment) : undefined,
+ issueComment: isSet(object.issueComment) ? IssueComment.fromJSON(object.issueComment) : undefined,
updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,
};
},
@@ -2028,8 +2027,8 @@ export const UpdateIssueCommentRequest = {
toJSON(message: UpdateIssueCommentRequest): unknown {
const obj: any = {};
message.parent !== undefined && (obj.parent = message.parent);
- message.reviewComment !== undefined &&
- (obj.reviewComment = message.reviewComment ? ReviewComment.toJSON(message.reviewComment) : undefined);
+ message.issueComment !== undefined &&
+ (obj.issueComment = message.issueComment ? IssueComment.toJSON(message.issueComment) : undefined);
message.updateMask !== undefined && (obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask)));
return obj;
},
@@ -2041,20 +2040,20 @@ export const UpdateIssueCommentRequest = {
fromPartial(object: DeepPartial<UpdateIssueCommentRequest>): UpdateIssueCommentRequest {
const message = createBaseUpdateIssueCommentRequest();
message.parent = object.parent ?? "";
- message.reviewComment = (object.reviewComment !== undefined && object.reviewComment !== null)
- ? ReviewComment.fromPartial(object.reviewComment)
+ message.issueComment = (object.issueComment !== undefined && object.issueComment !== null)
+ ? IssueComment.fromPartial(object.issueComment)
: undefined;
message.updateMask = object.updateMask ?? undefined;
return message;
},
};
-function createBaseReviewComment(): ReviewComment {
+function createBaseIssueComment(): IssueComment {
return { uid: "", comment: "", payload: "", createTime: undefined, updateTime: undefined };
}
-export const ReviewComment = {
- encode(message: ReviewComment, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+export const IssueComment = {
+ encode(message: IssueComment, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
if (message.uid !== "") {
writer.uint32(10).string(message.uid);
}
@@ -2073,10 +2072,10 @@ export const ReviewComment = {
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): ReviewComment {
+ decode(input: _m0.Reader | Uint8Array, length?: number): IssueComment {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseReviewComment();
+ const message = createBaseIssueComment();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -2124,7 +2123,7 @@ export const ReviewComment = {
return message;
},
- fromJSON(object: any): ReviewComment {
+ fromJSON(object: any): IssueComment {
return {
uid: isSet(object.uid) ? String(object.uid) : "",
comment: isSet(object.comment) ? String(object.comment) : "",
@@ -2134,7 +2133,7 @@ export const ReviewComment = {
};
},
- toJSON(message: ReviewComment): unknown {
+ toJSON(message: IssueComment): unknown {
const obj: any = {};
message.uid !== undefined && (obj.uid = message.uid);
message.comment !== undefined && (obj.comment = message.comment);
@@ -2144,12 +2143,12 @@ export const ReviewComment = {
return obj;
},
- create(base?: DeepPartial<ReviewComment>): ReviewComment {
- return ReviewComment.fromPartial(base ?? {});
+ create(base?: DeepPartial<IssueComment>): IssueComment {
+ return IssueComment.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<ReviewComment>): ReviewComment {
- const message = createBaseReviewComment();
+ fromPartial(object: DeepPartial<IssueComment>): IssueComment {
+ const message = createBaseIssueComment();
message.uid = object.uid ?? "";
message.comment = object.comment ?? "";
message.payload = object.payload ?? "";
@@ -2393,13 +2392,13 @@ export const IssueServiceDefinition = {
name: "CreateIssueComment",
requestType: CreateIssueCommentRequest,
requestStream: false,
- responseType: ReviewComment,
+ responseType: IssueComment,
responseStream: false,
options: {
_unknownFields: {
8410: [
new Uint8Array([
- 21,
+ 20,
112,
97,
114,
@@ -2407,12 +2406,11 @@ export const IssueServiceDefinition = {
110,
116,
44,
- 114,
- 101,
- 118,
105,
+ 115,
+ 115,
+ 117,
101,
- 119,
95,
99,
111,
@@ -2425,15 +2423,14 @@ export const IssueServiceDefinition = {
],
578365826: [
new Uint8Array([
- 59,
58,
- 14,
- 114,
- 101,
- 118,
+ 58,
+ 13,
105,
+ 115,
+ 115,
+ 117,
101,
- 119,
95,
99,
111,
@@ -2494,13 +2491,13 @@ export const IssueServiceDefinition = {
name: "UpdateIssueComment",
requestType: UpdateIssueCommentRequest,
requestStream: false,
- responseType: ReviewComment,
+ responseType: IssueComment,
responseStream: false,
options: {
_unknownFields: {
8410: [
new Uint8Array([
- 33,
+ 32,
112,
97,
114,
@@ -2508,12 +2505,11 @@ export const IssueServiceDefinition = {
110,
116,
44,
- 114,
- 101,
- 118,
105,
+ 115,
+ 115,
+ 117,
101,
- 119,
95,
99,
111,
@@ -2538,15 +2534,14 @@ export const IssueServiceDefinition = {
],
578365826: [
new Uint8Array([
- 59,
58,
- 14,
- 114,
- 101,
- 118,
+ 58,
+ 13,
105,
+ 115,
+ 115,
+ 117,
101,
- 119,
95,
99,
111,
@@ -2860,11 +2855,11 @@ export interface IssueServiceImplementation<CallContextExt = {}> {
createIssueComment(
request: CreateIssueCommentRequest,
context: CallContext & CallContextExt,
- ): Promise<DeepPartial<ReviewComment>>;
+ ): Promise<DeepPartial<IssueComment>>;
updateIssueComment(
request: UpdateIssueCommentRequest,
context: CallContext & CallContextExt,
- ): Promise<DeepPartial<ReviewComment>>;
+ ): Promise<DeepPartial<IssueComment>>;
batchUpdateIssues(
request: BatchUpdateIssuesRequest,
context: CallContext & CallContextExt,
@@ -2885,11 +2880,11 @@ export interface IssueServiceClient<CallOptionsExt = {}> {
createIssueComment(
request: DeepPartial<CreateIssueCommentRequest>,
options?: CallOptions & CallOptionsExt,
- ): Promise<ReviewComment>;
+ ): Promise<IssueComment>;
updateIssueComment(
request: DeepPartial<UpdateIssueCommentRequest>,
options?: CallOptions & CallOptionsExt,
- ): Promise<ReviewComment>;
+ ): Promise<IssueComment>;
batchUpdateIssues(
request: DeepPartial<BatchUpdateIssuesRequest>,
options?: CallOptions & CallOptionsExt,
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index e610f50ab8..b581da190b 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -305,21 +305,21 @@
- [CreateIssueCommentRequest](#bytebase-v1-CreateIssueCommentRequest)
- [CreateIssueRequest](#bytebase-v1-CreateIssueRequest)
- [GetIssueRequest](#bytebase-v1-GetIssueRequest)
+ - [IssueComment](#bytebase-v1-IssueComment)
- [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)
- [UpdateIssueCommentRequest](#bytebase-v1-UpdateIssueCommentRequest)
- [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest)
- [ApprovalNode.GroupValue](#bytebase-v1-ApprovalNode-GroupValue)
- [ApprovalNode.Type](#bytebase-v1-ApprovalNode-Type)
- [ApprovalStep.Type](#bytebase-v1-ApprovalStep-Type)
+ - [IssueStatus](#bytebase-v1-IssueStatus)
- [Review.Approver.Status](#bytebase-v1-Review-Approver-Status)
- - [ReviewStatus](#bytebase-v1-ReviewStatus)
- [IssueService](#bytebase-v1-IssueService)
@@ -4821,7 +4821,7 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the review to add an approver. Format: projects/{project}/reviews/{review} |
+| name | [string](#string) | | The name of the issue to add an approver. Format: projects/{project}/reviews/{review} |
| comment | [string](#string) | | |
@@ -4837,7 +4837,7 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
| 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. |
+| parent | [string](#string) | | The parent resource shared by all issues 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 | [UpdateIssueRequest](#bytebase-v1-UpdateIssueRequest) | repeated | The request message specifying the resources to update. A maximum of 1000 databases can be modified in a batch. |
@@ -4853,7 +4853,7 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| reviews | [Review](#bytebase-v1-Review) | repeated | Reviews updated. |
+| reviews | [Review](#bytebase-v1-Review) | repeated | Issues updated. |
@@ -4868,8 +4868,8 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | The review name Format: projects/{project}/reviews/{review} |
-| review_comment | [ReviewComment](#bytebase-v1-ReviewComment) | | |
+| parent | [string](#string) | | The issue name Format: projects/{project}/reviews/{review} |
+| issue_comment | [IssueComment](#bytebase-v1-IssueComment) | | |
@@ -4908,6 +4908,25 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
+<a name="bytebase-v1-IssueComment"></a>
+
+### IssueComment
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| uid | [string](#string) | | |
+| comment | [string](#string) | | |
+| payload | [string](#string) | | TODO: use struct message instead. |
+| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
+
+
+
+
+
+
<a name="bytebase-v1-ListIssuesRequest"></a>
### ListIssuesRequest
@@ -4916,8 +4935,8 @@ The instance&#39;s `name` field is used to identify the instance to update. Form
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} 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. |
+| parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} Use &#34;projects/-&#34; to list all issues from all projects. |
+| page_size | [int32](#int32) | | The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| page_token | [string](#string) | | A page token, received from a previous `ListIssues` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListIssues` must match the call that provided the page token. |
@@ -4935,7 +4954,7 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| reviews | [Review](#bytebase-v1-Review) | repeated | The reviews from the specified request. |
+| reviews | [Review](#bytebase-v1-Review) | repeated | The issues from the specified request. |
| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
@@ -4951,7 +4970,7 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the review to add an rejecting reviewer. Format: projects/{project}/reviews/{review} |
+| name | [string](#string) | | The name of the issue to add an rejecting reviewer. Format: projects/{project}/reviews/{review} |
| comment | [string](#string) | | |
@@ -4967,7 +4986,7 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the review to request a review. Format: projects/{project}/reviews/{review} |
+| name | [string](#string) | | The name of the issue to request a review. Format: projects/{project}/reviews/{review} |
| comment | [string](#string) | | |
@@ -4983,13 +5002,13 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name of the review. `review` is a system generated ID. Format: projects/{project}/reviews/{review} |
+| name | [string](#string) | | The name of the issue. Format: projects/{project}/reviews/{review} |
| uid | [string](#string) | | The system-assigned, unique identifier for a resource. |
| title | [string](#string) | | |
-| plan | [string](#string) | | The plan associated with the review. Can be empty. Format: projects/{project}/plans/{plan} |
-| rollout | [string](#string) | | The rollout associated with the review. Can be empty. Format: projects/{project}/rollouts/{rollout} |
+| plan | [string](#string) | | The plan associated with the issue. Can be empty. Format: projects/{project}/plans/{plan} |
+| rollout | [string](#string) | | The rollout associated with the issue. Can be empty. Format: projects/{project}/rollouts/{rollout} |
| description | [string](#string) | | |
-| status | [ReviewStatus](#bytebase-v1-ReviewStatus) | | |
+| status | [IssueStatus](#bytebase-v1-IssueStatus) | | |
| assignee | [string](#string) | | Format: users/[email protected] |
| assignee_attention | [bool](#bool) | | |
| approval_templates | [ApprovalTemplate](#bytebase-v1-ApprovalTemplate) | repeated | |
@@ -5022,25 +5041,6 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
-<a name="bytebase-v1-ReviewComment"></a>
-
-### ReviewComment
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| uid | [string](#string) | | |
-| comment | [string](#string) | | |
-| payload | [string](#string) | | TODO: use struct message instead. |
-| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
-
-
-
-
-
-
<a name="bytebase-v1-UpdateIssueCommentRequest"></a>
### UpdateIssueCommentRequest
@@ -5049,8 +5049,8 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| parent | [string](#string) | | The review name Format: projects/{project}/reviews/{review} |
-| review_comment | [ReviewComment](#bytebase-v1-ReviewComment) | | |
+| parent | [string](#string) | | The issue name Format: projects/{project}/reviews/{review} |
+| issue_comment | [IssueComment](#bytebase-v1-IssueComment) | | |
| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
@@ -5066,9 +5066,9 @@ When paginating, all other parameters provided to `ListIssues` must match the ca
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| review | [Review](#bytebase-v1-Review) | | The review to update.
+| review | [Review](#bytebase-v1-Review) | | The issue to update.
-The review&#39;s `name` field is used to identify the review to update. Format: projects/{project}/reviews/{review} |
+The issue&#39;s `name` field is used to identify the issue to update. Format: projects/{project}/reviews/{review} |
| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |
@@ -5127,31 +5127,31 @@ ANY means approving any node will proceed.
-<a name="bytebase-v1-Review-Approver-Status"></a>
+<a name="bytebase-v1-IssueStatus"></a>
-### Review.Approver.Status
+### IssueStatus
| Name | Number | Description |
| ---- | ------ | ----------- |
-| STATUS_UNSPECIFIED | 0 | |
-| PENDING | 1 | |
-| APPROVED | 2 | |
-| REJECTED | 3 | |
+| ISSUE_STATUS_UNSPECIFIED | 0 | |
+| OPEN | 1 | |
+| DONE | 2 | |
+| CANCELED | 3 | |
-<a name="bytebase-v1-ReviewStatus"></a>
+<a name="bytebase-v1-Review-Approver-Status"></a>
-### ReviewStatus
+### Review.Approver.Status
| Name | Number | Description |
| ---- | ------ | ----------- |
-| REVIEW_STATUS_UNSPECIFIED | 0 | |
-| OPEN | 1 | |
-| DONE | 2 | |
-| CANCELED | 3 | |
+| STATUS_UNSPECIFIED | 0 | |
+| PENDING | 1 | |
+| APPROVED | 2 | |
+| REJECTED | 3 | |
@@ -5170,8 +5170,8 @@ ANY means approving any node will proceed.
| 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) | |
+| CreateIssueComment | [CreateIssueCommentRequest](#bytebase-v1-CreateIssueCommentRequest) | [IssueComment](#bytebase-v1-IssueComment) | |
+| UpdateIssueComment | [UpdateIssueCommentRequest](#bytebase-v1-UpdateIssueCommentRequest) | [IssueComment](#bytebase-v1-IssueComment) | |
| BatchUpdateIssues | [BatchUpdateIssuesRequest](#bytebase-v1-BatchUpdateIssuesRequest) | [BatchUpdateIssuesResponse](#bytebase-v1-BatchUpdateIssuesResponse) | |
| ApproveReview | [ApproveReviewRequest](#bytebase-v1-ApproveReviewRequest) | [Review](#bytebase-v1-Review) | |
| RejectReview | [RejectReviewRequest](#bytebase-v1-RejectReviewRequest) | [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 528eac588b..bc8aa61bc3 100644
--- a/proto/generated-go/v1/issue_service.pb.go
+++ b/proto/generated-go/v1/issue_service.pb.go
@@ -23,55 +23,55 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
-type ReviewStatus int32
+type IssueStatus int32
const (
- ReviewStatus_REVIEW_STATUS_UNSPECIFIED ReviewStatus = 0
- ReviewStatus_OPEN ReviewStatus = 1
- ReviewStatus_DONE ReviewStatus = 2
- ReviewStatus_CANCELED ReviewStatus = 3
+ IssueStatus_ISSUE_STATUS_UNSPECIFIED IssueStatus = 0
+ IssueStatus_OPEN IssueStatus = 1
+ IssueStatus_DONE IssueStatus = 2
+ IssueStatus_CANCELED IssueStatus = 3
)
-// Enum value maps for ReviewStatus.
+// Enum value maps for IssueStatus.
var (
- ReviewStatus_name = map[int32]string{
- 0: "REVIEW_STATUS_UNSPECIFIED",
+ IssueStatus_name = map[int32]string{
+ 0: "ISSUE_STATUS_UNSPECIFIED",
1: "OPEN",
2: "DONE",
3: "CANCELED",
}
- ReviewStatus_value = map[string]int32{
- "REVIEW_STATUS_UNSPECIFIED": 0,
- "OPEN": 1,
- "DONE": 2,
- "CANCELED": 3,
+ IssueStatus_value = map[string]int32{
+ "ISSUE_STATUS_UNSPECIFIED": 0,
+ "OPEN": 1,
+ "DONE": 2,
+ "CANCELED": 3,
}
)
-func (x ReviewStatus) Enum() *ReviewStatus {
- p := new(ReviewStatus)
+func (x IssueStatus) Enum() *IssueStatus {
+ p := new(IssueStatus)
*p = x
return p
}
-func (x ReviewStatus) String() string {
+func (x IssueStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (ReviewStatus) Descriptor() protoreflect.EnumDescriptor {
+func (IssueStatus) Descriptor() protoreflect.EnumDescriptor {
return file_v1_issue_service_proto_enumTypes[0].Descriptor()
}
-func (ReviewStatus) Type() protoreflect.EnumType {
+func (IssueStatus) Type() protoreflect.EnumType {
return &file_v1_issue_service_proto_enumTypes[0]
}
-func (x ReviewStatus) Number() protoreflect.EnumNumber {
+func (x IssueStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
-// Deprecated: Use ReviewStatus.Descriptor instead.
-func (ReviewStatus) EnumDescriptor() ([]byte, []int) {
+// Deprecated: Use IssueStatus.Descriptor instead.
+func (IssueStatus) EnumDescriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{0}
}
@@ -411,11 +411,11 @@ type ListIssuesRequest struct {
// The parent, which owns this collection of reviews.
// Format: projects/{project}
- // Use "projects/-" to list all reviews from all projects.
+ // Use "projects/-" to list all issues from all projects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
- // The maximum number of reviews to return. The service may return fewer than
+ // The maximum number of issues to return. The service may return fewer than
// this value.
- // If unspecified, at most 50 reviews will be returned.
+ // If unspecified, at most 50 issues 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 `ListIssues` call.
@@ -484,7 +484,7 @@ type ListIssuesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The reviews from the specified request.
+ // The issues from the specified request.
Reviews []*Review `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
@@ -542,9 +542,9 @@ type UpdateIssueRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The review to update.
+ // The issue to update.
//
- // The review's `name` field is used to identify the review to update.
+ // The issue's `name` field is used to identify the issue to update.
// Format: projects/{project}/reviews/{review}
Review *Review `protobuf:"bytes,1,opt,name=review,proto3" json:"review,omitempty"`
// The list of fields to update.
@@ -602,7 +602,7 @@ type BatchUpdateIssuesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The parent resource shared by all reviews being updated.
+ // The parent resource shared by all issues 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.
@@ -663,7 +663,7 @@ type BatchUpdateIssuesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Reviews updated.
+ // Issues updated.
Reviews []*Review `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
}
@@ -711,7 +711,7 @@ type ApproveReviewRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The name of the review to add an approver.
+ // The name of the issue to add an approver.
// Format: projects/{project}/reviews/{review}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
@@ -768,7 +768,7 @@ type RejectReviewRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The name of the review to add an rejecting reviewer.
+ // The name of the issue to add an rejecting reviewer.
// Format: projects/{project}/reviews/{review}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
@@ -825,7 +825,7 @@ type RequestReviewRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The name of the review to request a review.
+ // The name of the issue to request a review.
// Format: projects/{project}/reviews/{review}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
@@ -882,23 +882,22 @@ type Review struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The name of the review.
- // `review` is a system generated ID.
+ // The name of the issue.
// Format: projects/{project}/reviews/{review}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The system-assigned, unique identifier for a resource.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- // The plan associated with the review.
+ // The plan associated with the issue.
// Can be empty.
// Format: projects/{project}/plans/{plan}
Plan string `protobuf:"bytes,16,opt,name=plan,proto3" json:"plan,omitempty"`
- // The rollout associated with the review.
+ // The rollout associated with the issue.
// Can be empty.
// Format: projects/{project}/rollouts/{rollout}
- Rollout string `protobuf:"bytes,17,opt,name=rollout,proto3" json:"rollout,omitempty"`
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
- Status ReviewStatus `protobuf:"varint,5,opt,name=status,proto3,enum=bytebase.v1.ReviewStatus" json:"status,omitempty"`
+ Rollout string `protobuf:"bytes,17,opt,name=rollout,proto3" json:"rollout,omitempty"`
+ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
+ Status IssueStatus `protobuf:"varint,5,opt,name=status,proto3,enum=bytebase.v1.IssueStatus" json:"status,omitempty"`
// Format: users/[email protected]
Assignee string `protobuf:"bytes,6,opt,name=assignee,proto3" json:"assignee,omitempty"`
AssigneeAttention bool `protobuf:"varint,7,opt,name=assignee_attention,json=assigneeAttention,proto3" json:"assignee_attention,omitempty"`
@@ -991,11 +990,11 @@ func (x *Review) GetDescription() string {
return ""
}
-func (x *Review) GetStatus() ReviewStatus {
+func (x *Review) GetStatus() IssueStatus {
if x != nil {
return x.Status
}
- return ReviewStatus_REVIEW_STATUS_UNSPECIFIED
+ return IssueStatus_ISSUE_STATUS_UNSPECIFIED
}
func (x *Review) GetAssignee() string {
@@ -1352,10 +1351,10 @@ type CreateIssueCommentRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The review name
+ // The issue name
// Format: projects/{project}/reviews/{review}
- Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
- ReviewComment *ReviewComment `protobuf:"bytes,2,opt,name=review_comment,json=reviewComment,proto3" json:"review_comment,omitempty"`
+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
+ IssueComment *IssueComment `protobuf:"bytes,2,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
}
func (x *CreateIssueCommentRequest) Reset() {
@@ -1397,9 +1396,9 @@ func (x *CreateIssueCommentRequest) GetParent() string {
return ""
}
-func (x *CreateIssueCommentRequest) GetReviewComment() *ReviewComment {
+func (x *CreateIssueCommentRequest) GetIssueComment() *IssueComment {
if x != nil {
- return x.ReviewComment
+ return x.IssueComment
}
return nil
}
@@ -1409,10 +1408,10 @@ type UpdateIssueCommentRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The review name
+ // The issue name
// Format: projects/{project}/reviews/{review}
- Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
- ReviewComment *ReviewComment `protobuf:"bytes,2,opt,name=review_comment,json=reviewComment,proto3" json:"review_comment,omitempty"`
+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
+ IssueComment *IssueComment `protobuf:"bytes,2,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
// The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
@@ -1456,9 +1455,9 @@ func (x *UpdateIssueCommentRequest) GetParent() string {
return ""
}
-func (x *UpdateIssueCommentRequest) GetReviewComment() *ReviewComment {
+func (x *UpdateIssueCommentRequest) GetIssueComment() *IssueComment {
if x != nil {
- return x.ReviewComment
+ return x.IssueComment
}
return nil
}
@@ -1470,7 +1469,7 @@ func (x *UpdateIssueCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
return nil
}
-type ReviewComment struct {
+type IssueComment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -1483,8 +1482,8 @@ type ReviewComment struct {
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
}
-func (x *ReviewComment) Reset() {
- *x = ReviewComment{}
+func (x *IssueComment) Reset() {
+ *x = IssueComment{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_issue_service_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1492,13 +1491,13 @@ func (x *ReviewComment) Reset() {
}
}
-func (x *ReviewComment) String() string {
+func (x *IssueComment) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*ReviewComment) ProtoMessage() {}
+func (*IssueComment) ProtoMessage() {}
-func (x *ReviewComment) ProtoReflect() protoreflect.Message {
+func (x *IssueComment) ProtoReflect() protoreflect.Message {
mi := &file_v1_issue_service_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1510,40 +1509,40 @@ func (x *ReviewComment) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use ReviewComment.ProtoReflect.Descriptor instead.
-func (*ReviewComment) Descriptor() ([]byte, []int) {
+// Deprecated: Use IssueComment.ProtoReflect.Descriptor instead.
+func (*IssueComment) Descriptor() ([]byte, []int) {
return file_v1_issue_service_proto_rawDescGZIP(), []int{17}
}
-func (x *ReviewComment) GetUid() string {
+func (x *IssueComment) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
-func (x *ReviewComment) GetComment() string {
+func (x *IssueComment) GetComment() string {
if x != nil {
return x.Comment
}
return ""
}
-func (x *ReviewComment) GetPayload() string {
+func (x *IssueComment) GetPayload() string {
if x != nil {
return x.Payload
}
return ""
}
-func (x *ReviewComment) GetCreateTime() *timestamppb.Timestamp {
+func (x *IssueComment) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
-func (x *ReviewComment) GetUpdateTime() *timestamppb.Timestamp {
+func (x *IssueComment) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
@@ -1681,7 +1680,7 @@ var file_v1_issue_service_proto_rawDesc = []byte{
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,
+ 0x87, 0x07, 0x0a, 0x06, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15,
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03,
@@ -1691,194 +1690,193 @@ var file_v1_issue_service_proto_rawDesc = []byte{
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, 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, 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,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
+ 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67,
+ 0x6e, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67,
+ 0x6e, 0x65, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x5f,
+ 0x61, 0x74, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x11, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6e, 0x74, 0x69,
+ 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x12, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x74,
+ 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70,
+ 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x11, 0x61,
+ 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73,
+ 0x12, 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, 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, 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,
+ 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a,
+ 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52,
+ 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x22, 0x93, 0x01, 0x0a, 0x10, 0x41, 0x70,
+ 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2d,
+ 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f,
+ 0x76, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a,
+ 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
+ 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22,
+ 0x3f, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12,
+ 0x2f, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70,
+ 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73,
+ 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65,
+ 0x70, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70,
+ 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x65, 0x70, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52,
+ 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
+ 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a,
+ 0x03, 0x41, 0x4e, 0x59, 0x10, 0x02, 0x22, 0x83, 0x03, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x72, 0x6f,
+ 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65,
+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
+ 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56,
+ 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x78,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
+ 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
+ 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x4e, 0x59, 0x5f, 0x49, 0x4e, 0x5f, 0x47,
+ 0x52, 0x4f, 0x55, 0x50, 0x10, 0x01, 0x22, 0x79, 0x0a, 0x0a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56,
+ 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x41,
+ 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x4c, 0x45, 0x44,
+ 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f,
+ 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x57, 0x4f, 0x52, 0x4b, 0x53,
+ 0x50, 0x41, 0x43, 0x45, 0x5f, 0x44, 0x42, 0x41, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52,
+ 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a,
+ 0x0e, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10,
+ 0x04, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x73, 0x0a, 0x19,
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
+ 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
+ 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
+ 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75,
+ 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x73, 0x73, 0x75, 0x65,
+ 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73,
+ 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65,
+ 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
+ 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xdd, 0x01, 0x0a, 0x0c, 0x49, 0x73,
+ 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69,
+ 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70,
+ 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61,
+ 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x4d, 0x0a, 0x0b, 0x49, 0x73, 0x73,
+ 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x53, 0x53, 0x55,
+ 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01,
+ 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41,
+ 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x32, 0x9b, 0x0b, 0x0a, 0x0c, 0x49, 0x73, 0x73,
+ 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x08, 0x47, 0x65, 0x74,
+ 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 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,
+ 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x2e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65,
+ 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x84, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73,
+ 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x3f,
+ 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x1f,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12,
+ 0x7f, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x1e, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
+ 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
+ 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30,
+ 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12,
+ 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73,
+ 0x12, 0x90, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65,
+ 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x4b, 0xda, 0x41, 0x12, 0x72, 0x65, 0x76, 0x69, 0x65,
+ 0x77, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,
+ 0x93, 0x02, 0x30, 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x32, 0x26, 0x2f, 0x76, 0x31,
+ 0x2f, 0x7b, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x73,
0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49,
+ 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, 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,
+ 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x57, 0xda,
+ 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x0d, 0x69, 0x73,
+ 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x29, 0x2f, 0x76, 0x31,
+ 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xbc, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
+ 0x22, 0x63, 0xda, 0x41, 0x20, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x73, 0x73, 0x75,
+ 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x0d, 0x69, 0x73, 0x73,
+ 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x29, 0x2f, 0x76, 0x31, 0x2f,
0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f,
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55,
@@ -1934,7 +1932,7 @@ 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
+ (IssueStatus)(0), // 0: bytebase.v1.IssueStatus
(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
@@ -1956,7 +1954,7 @@ var file_v1_issue_service_proto_goTypes = []interface{}{
(*ApprovalNode)(nil), // 19: bytebase.v1.ApprovalNode
(*CreateIssueCommentRequest)(nil), // 20: bytebase.v1.CreateIssueCommentRequest
(*UpdateIssueCommentRequest)(nil), // 21: bytebase.v1.UpdateIssueCommentRequest
- (*ReviewComment)(nil), // 22: bytebase.v1.ReviewComment
+ (*IssueComment)(nil), // 22: bytebase.v1.IssueComment
(*Review_Approver)(nil), // 23: bytebase.v1.Review.Approver
(*fieldmaskpb.FieldMask)(nil), // 24: google.protobuf.FieldMask
(*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
@@ -1968,7 +1966,7 @@ var file_v1_issue_service_proto_depIdxs = []int32{
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
+ 0, // 6: bytebase.v1.Review.status:type_name -> bytebase.v1.IssueStatus
16, // 7: bytebase.v1.Review.approval_templates:type_name -> bytebase.v1.ApprovalTemplate
23, // 8: bytebase.v1.Review.approvers:type_name -> bytebase.v1.Review.Approver
25, // 9: bytebase.v1.Review.create_time:type_name -> google.protobuf.Timestamp
@@ -1979,11 +1977,11 @@ 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.CreateIssueCommentRequest.review_comment:type_name -> bytebase.v1.ReviewComment
- 22, // 18: bytebase.v1.UpdateIssueCommentRequest.review_comment:type_name -> bytebase.v1.ReviewComment
+ 22, // 17: bytebase.v1.CreateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
+ 22, // 18: bytebase.v1.UpdateIssueCommentRequest.issue_comment:type_name -> bytebase.v1.IssueComment
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
+ 25, // 20: bytebase.v1.IssueComment.create_time:type_name -> google.protobuf.Timestamp
+ 25, // 21: bytebase.v1.IssueComment.update_time:type_name -> google.protobuf.Timestamp
1, // 22: bytebase.v1.Review.Approver.status:type_name -> bytebase.v1.Review.Approver.Status
5, // 23: bytebase.v1.IssueService.GetIssue:input_type -> bytebase.v1.GetIssueRequest
6, // 24: bytebase.v1.IssueService.CreateIssue:input_type -> bytebase.v1.CreateIssueRequest
@@ -1999,8 +1997,8 @@ var file_v1_issue_service_proto_depIdxs = []int32{
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
+ 22, // 37: bytebase.v1.IssueService.CreateIssueComment:output_type -> bytebase.v1.IssueComment
+ 22, // 38: bytebase.v1.IssueService.UpdateIssueComment:output_type -> bytebase.v1.IssueComment
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
@@ -2223,7 +2221,7 @@ func file_v1_issue_service_proto_init() {
}
}
file_v1_issue_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ReviewComment); i {
+ switch v := v.(*IssueComment); 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 0bd8eb7e1a..b98bd8f079 100644
--- a/proto/generated-go/v1/issue_service.pb.gw.go
+++ b/proto/generated-go/v1/issue_service.pb.gw.go
@@ -347,7 +347,7 @@ func request_IssueService_CreateIssueComment_0(ctx context.Context, marshaler ru
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.ReviewComment); err != nil && err != io.EOF {
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.IssueComment); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -381,7 +381,7 @@ func local_request_IssueService_CreateIssueComment_0(ctx context.Context, marsha
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.ReviewComment); err != nil && err != io.EOF {
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.IssueComment); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -408,7 +408,7 @@ func local_request_IssueService_CreateIssueComment_0(ctx context.Context, marsha
}
var (
- 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}}
+ filter_IssueService_UpdateIssueComment_0 = &utilities.DoubleArray{Encoding: map[string]int{"issue_comment": 0, "issueComment": 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_UpdateIssueComment_0(ctx context.Context, marshaler runtime.Marshaler, client IssueServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
@@ -419,11 +419,11 @@ func request_IssueService_UpdateIssueComment_0(ctx context.Context, marshaler ru
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.ReviewComment); err != nil && err != io.EOF {
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.IssueComment); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 {
- if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.ReviewComment); err != nil {
+ if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.IssueComment); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
} else {
protoReq.UpdateMask = fieldMask
@@ -467,11 +467,11 @@ func local_request_IssueService_UpdateIssueComment_0(ctx context.Context, marsha
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.ReviewComment); err != nil && err != io.EOF {
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.IssueComment); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 {
- if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.ReviewComment); err != nil {
+ if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.IssueComment); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
} else {
protoReq.UpdateMask = fieldMask
diff --git a/proto/generated-go/v1/issue_service_grpc.pb.go b/proto/generated-go/v1/issue_service_grpc.pb.go
index 29d6721af7..db99684794 100644
--- a/proto/generated-go/v1/issue_service_grpc.pb.go
+++ b/proto/generated-go/v1/issue_service_grpc.pb.go
@@ -39,8 +39,8 @@ type IssueServiceClient interface {
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)
+ CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)
+ UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)
BatchUpdateIssues(ctx context.Context, in *BatchUpdateIssuesRequest, opts ...grpc.CallOption) (*BatchUpdateIssuesResponse, error)
ApproveReview(ctx context.Context, in *ApproveReviewRequest, opts ...grpc.CallOption) (*Review, error)
RejectReview(ctx context.Context, in *RejectReviewRequest, opts ...grpc.CallOption) (*Review, error)
@@ -91,8 +91,8 @@ func (c *issueServiceClient) UpdateIssue(ctx context.Context, in *UpdateIssueReq
return out, nil
}
-func (c *issueServiceClient) CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error) {
- out := new(ReviewComment)
+func (c *issueServiceClient) CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error) {
+ out := new(IssueComment)
err := c.cc.Invoke(ctx, IssueService_CreateIssueComment_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
@@ -100,8 +100,8 @@ func (c *issueServiceClient) CreateIssueComment(ctx context.Context, in *CreateI
return out, nil
}
-func (c *issueServiceClient) UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*ReviewComment, error) {
- out := new(ReviewComment)
+func (c *issueServiceClient) UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error) {
+ out := new(IssueComment)
err := c.cc.Invoke(ctx, IssueService_UpdateIssueComment_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
@@ -153,8 +153,8 @@ type IssueServiceServer interface {
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)
+ CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*IssueComment, error)
+ UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*IssueComment, error)
BatchUpdateIssues(context.Context, *BatchUpdateIssuesRequest) (*BatchUpdateIssuesResponse, error)
ApproveReview(context.Context, *ApproveReviewRequest) (*Review, error)
RejectReview(context.Context, *RejectReviewRequest) (*Review, error)
@@ -178,10 +178,10 @@ func (UnimplementedIssueServiceServer) ListIssues(context.Context, *ListIssuesRe
func (UnimplementedIssueServiceServer) UpdateIssue(context.Context, *UpdateIssueRequest) (*Review, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateIssue not implemented")
}
-func (UnimplementedIssueServiceServer) CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*ReviewComment, error) {
+func (UnimplementedIssueServiceServer) CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*IssueComment, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateIssueComment not implemented")
}
-func (UnimplementedIssueServiceServer) UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*ReviewComment, error) {
+func (UnimplementedIssueServiceServer) UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*IssueComment, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateIssueComment not implemented")
}
func (UnimplementedIssueServiceServer) BatchUpdateIssues(context.Context, *BatchUpdateIssuesRequest) (*BatchUpdateIssuesResponse, error) {
diff --git a/proto/v1/issue_service.proto b/proto/v1/issue_service.proto
index 075fdc9da3..0ea93b24ac 100644
--- a/proto/v1/issue_service.proto
+++ b/proto/v1/issue_service.proto
@@ -37,20 +37,20 @@ service IssueService {
option (google.api.method_signature) = "review,update_mask";
}
- rpc CreateIssueComment(CreateIssueCommentRequest) returns (ReviewComment) {
+ rpc CreateIssueComment(CreateIssueCommentRequest) returns (IssueComment) {
option (google.api.http) = {
post: "/v1/{parent=projects/*/reviews/*}:comment"
- body: "review_comment"
+ body: "issue_comment"
};
- option (google.api.method_signature) = "parent,review_comment";
+ option (google.api.method_signature) = "parent,issue_comment";
}
- rpc UpdateIssueComment(UpdateIssueCommentRequest) returns (ReviewComment) {
+ rpc UpdateIssueComment(UpdateIssueCommentRequest) returns (IssueComment) {
option (google.api.http) = {
patch: "/v1/{parent=projects/*/reviews/*}:comment"
- body: "review_comment"
+ body: "issue_comment"
};
- option (google.api.method_signature) = "parent,review_comment,update_mask";
+ option (google.api.method_signature) = "parent,issue_comment,update_mask";
}
rpc BatchUpdateIssues(BatchUpdateIssuesRequest) returns (BatchUpdateIssuesResponse) {
@@ -102,12 +102,12 @@ message CreateIssueRequest {
message ListIssuesRequest {
// The parent, which owns this collection of reviews.
// Format: projects/{project}
- // Use "projects/-" to list all reviews from all projects.
+ // Use "projects/-" to list all issues from all projects.
string parent = 1 [(google.api.field_behavior) = REQUIRED];
- // The maximum number of reviews to return. The service may return fewer than
+ // The maximum number of issues to return. The service may return fewer than
// this value.
- // If unspecified, at most 50 reviews will be returned.
+ // If unspecified, at most 50 issues will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2;
@@ -120,7 +120,7 @@ message ListIssuesRequest {
}
message ListIssuesResponse {
- // The reviews from the specified request.
+ // The issues from the specified request.
repeated Review reviews = 1;
// A token, which can be sent as `page_token` to retrieve the next page.
@@ -129,9 +129,9 @@ message ListIssuesResponse {
}
message UpdateIssueRequest {
- // The review to update.
+ // The issue to update.
//
- // The review's `name` field is used to identify the review to update.
+ // The issue's `name` field is used to identify the issue to update.
// Format: projects/{project}/reviews/{review}
Review review = 1 [(google.api.field_behavior) = REQUIRED];
@@ -140,7 +140,7 @@ message UpdateIssueRequest {
}
message BatchUpdateIssuesRequest {
- // The parent resource shared by all reviews being updated.
+ // The parent resource shared by all issues 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.
@@ -152,34 +152,33 @@ message BatchUpdateIssuesRequest {
}
message BatchUpdateIssuesResponse {
- // Reviews updated.
+ // Issues updated.
repeated Review reviews = 1;
}
message ApproveReviewRequest {
- // The name of the review to add an approver.
+ // The name of the issue to add an approver.
// Format: projects/{project}/reviews/{review}
string name = 1 [(google.api.field_behavior) = REQUIRED];
string comment = 2;
}
message RejectReviewRequest {
- // The name of the review to add an rejecting reviewer.
+ // The name of the issue to add an rejecting reviewer.
// Format: projects/{project}/reviews/{review}
string name = 1 [(google.api.field_behavior) = REQUIRED];
string comment = 2;
}
message RequestReviewRequest {
- // The name of the review to request a review.
+ // The name of the issue to request a review.
// Format: projects/{project}/reviews/{review}
string name = 1 [(google.api.field_behavior) = REQUIRED];
string comment = 2;
}
message Review {
- // The name of the review.
- // `review` is a system generated ID.
+ // The name of the issue.
// Format: projects/{project}/reviews/{review}
string name = 1;
@@ -188,19 +187,19 @@ message Review {
string title = 3;
- // The plan associated with the review.
+ // The plan associated with the issue.
// Can be empty.
// Format: projects/{project}/plans/{plan}
string plan = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
- // The rollout associated with the review.
+ // The rollout associated with the issue.
// Can be empty.
// Format: projects/{project}/rollouts/{rollout}
string rollout = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
string description = 4;
- ReviewStatus status = 5;
+ IssueStatus status = 5;
// Format: users/[email protected]
string assignee = 6;
@@ -241,8 +240,8 @@ message Review {
google.protobuf.Timestamp update_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
}
-enum ReviewStatus {
- REVIEW_STATUS_UNSPECIFIED = 0;
+enum IssueStatus {
+ ISSUE_STATUS_UNSPECIFIED = 0;
OPEN = 1;
DONE = 2;
CANCELED = 3;
@@ -307,25 +306,25 @@ message ApprovalNode {
}
message CreateIssueCommentRequest {
- // The review name
+ // The issue name
// Format: projects/{project}/reviews/{review}
string parent = 1;
- ReviewComment review_comment = 2;
+ IssueComment issue_comment = 2;
}
message UpdateIssueCommentRequest {
- // The review name
+ // The issue name
// Format: projects/{project}/reviews/{review}
string parent = 1;
- ReviewComment review_comment = 2;
+ IssueComment issue_comment = 2;
// The list of fields to update.
google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED];
}
-message ReviewComment {
+message IssueComment {
string uid = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
string comment = 2;