Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat(proto): review service: create review (#6254)
p0ny29a1531b6a84
diff --git a/frontend/src/types/proto/v1/review_service.ts b/frontend/src/types/proto/v1/review_service.tsindex cd42c07880..9d31969e3e 100644--- a/frontend/src/types/proto/v1/review_service.ts+++ b/frontend/src/types/proto/v1/review_service.ts@@ -59,6 +59,16 @@ export interface GetReviewRequest {name: string;}+export interface CreateReviewRequest {+ /**+ * The parent, which owns this collection of reviews.+ * Format: projects/{project}+ */+ parent: string;+ /** The review to create. */+ review?: Review;+}+export interface ListReviewsRequest {/*** The parent, which owns this collection of reviews.@@ -143,6 +153,18 @@ export interface Review {/** The system-assigned, unique identifier for a resource. */uid: string;title: string;+ /**+ * The plan associated with the review.+ * Can be empty.+ * Format: projects/{project}/plans/{plan}+ */+ plan: string;+ /**+ * The rollout associated with the review.+ * Can be empty.+ * Format: projects/{project}/rollouts/{rollout}+ */+ rollout: string;description: string;status: ReviewStatus;/** Format: users/[email protected] */@@ -439,6 +461,79 @@ export const GetReviewRequest = {},};+function createBaseCreateReviewRequest(): CreateReviewRequest {+ return { parent: "", review: undefined };+}++export const CreateReviewRequest = {+ encode(message: CreateReviewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.parent !== "") {+ writer.uint32(10).string(message.parent);+ }+ if (message.review !== undefined) {+ Review.encode(message.review, writer.uint32(18).fork()).ldelim();+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): CreateReviewRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseCreateReviewRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.parent = reader.string();+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.review = Review.decode(reader, reader.uint32());+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): CreateReviewRequest {+ return {+ parent: isSet(object.parent) ? String(object.parent) : "",+ review: isSet(object.review) ? Review.fromJSON(object.review) : undefined,+ };+ },++ toJSON(message: CreateReviewRequest): unknown {+ const obj: any = {};+ message.parent !== undefined && (obj.parent = message.parent);+ message.review !== undefined && (obj.review = message.review ? Review.toJSON(message.review) : undefined);+ return obj;+ },++ create(base?: DeepPartial<CreateReviewRequest>): CreateReviewRequest {+ return CreateReviewRequest.fromPartial(base ?? {});+ },++ fromPartial(object: DeepPartial<CreateReviewRequest>): CreateReviewRequest {+ const message = createBaseCreateReviewRequest();+ message.parent = object.parent ?? "";+ message.review = (object.review !== undefined && object.review !== null)+ ? Review.fromPartial(object.review)+ : undefined;+ return message;+ },+};+function createBaseListReviewsRequest(): ListReviewsRequest {return { parent: "", pageSize: 0, pageToken: "" };}@@ -867,6 +962,8 @@ function createBaseReview(): Review {name: "",uid: "",title: "",+ plan: "",+ rollout: "",description: "",status: 0,assignee: "",@@ -893,6 +990,12 @@ export const Review = {if (message.title !== "") {writer.uint32(26).string(message.title);}+ if (message.plan !== "") {+ writer.uint32(130).string(message.plan);+ }+ if (message.rollout !== "") {+ writer.uint32(138).string(message.rollout);+ }if (message.description !== "") {writer.uint32(34).string(message.description);}@@ -960,6 +1063,20 @@ export const Review = {message.title = reader.string();continue;+ case 16:+ if (tag !== 130) {+ break;+ }++ message.plan = reader.string();+ continue;+ case 17:+ if (tag !== 138) {+ break;+ }++ message.rollout = reader.string();+ continue;case 4:if (tag !== 34) {break;@@ -1058,6 +1175,8 @@ export const Review = {name: isSet(object.name) ? String(object.name) : "",uid: isSet(object.uid) ? String(object.uid) : "",title: isSet(object.title) ? String(object.title) : "",+ 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,assignee: isSet(object.assignee) ? String(object.assignee) : "",@@ -1080,6 +1199,8 @@ export const Review = {message.name !== undefined && (obj.name = message.name);message.uid !== undefined && (obj.uid = message.uid);message.title !== undefined && (obj.title = message.title);+ 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.assignee !== undefined && (obj.assignee = message.assignee);@@ -1116,6 +1237,8 @@ export const Review = {message.name = object.name ?? "";message.uid = object.uid ?? "";message.title = object.title ?? "";+ message.plan = object.plan ?? "";+ message.rollout = object.rollout ?? "";message.description = object.description ?? "";message.status = object.status ?? 0;message.assignee = object.assignee ?? "";@@ -1579,6 +1702,64 @@ export const ReviewServiceDefinition = {},},},+ createReview: {+ name: "CreateReview",+ requestType: CreateReviewRequest,+ requestStream: false,+ responseType: Review,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([13, 112, 97, 114, 101, 110, 116, 44, 114, 101, 118, 105, 101, 119])],+ 578365826: [+ new Uint8Array([+ 41,+ 58,+ 6,+ 114,+ 101,+ 118,+ 105,+ 101,+ 119,+ 34,+ 31,+ 47,+ 118,+ 49,+ 47,+ 123,+ 112,+ 97,+ 114,+ 101,+ 110,+ 116,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 125,+ 47,+ 114,+ 101,+ 118,+ 105,+ 101,+ 119,+ 115,+ ]),+ ],+ },+ },+ },listReviews: {name: "ListReviews",requestType: ListReviewsRequest,@@ -1825,6 +2006,7 @@ export const ReviewServiceDefinition = {export interface ReviewServiceImplementation<CallContextExt = {}> {getReview(request: GetReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;+ createReview(request: CreateReviewRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Review>>;listReviews(request: ListReviewsRequest,context: CallContext & CallContextExt,@@ -1839,6 +2021,7 @@ export interface ReviewServiceImplementation<CallContextExt = {}> {export interface ReviewServiceClient<CallOptionsExt = {}> {getReview(request: DeepPartial<GetReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;+ createReview(request: DeepPartial<CreateReviewRequest>, options?: CallOptions & CallOptionsExt): Promise<Review>;listReviews(request: DeepPartial<ListReviewsRequest>,options?: CallOptions & CallOptionsExt,diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 92cdaf9cd3..49a7129df9 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -315,6 +315,7 @@- [ApproveReviewRequest](#bytebase-v1-ApproveReviewRequest)- [BatchUpdateReviewsRequest](#bytebase-v1-BatchUpdateReviewsRequest)- [BatchUpdateReviewsResponse](#bytebase-v1-BatchUpdateReviewsResponse)+ - [CreateReviewRequest](#bytebase-v1-CreateReviewRequest)- [GetReviewRequest](#bytebase-v1-GetReviewRequest)- [ListReviewsRequest](#bytebase-v1-ListReviewsRequest)- [ListReviewsResponse](#bytebase-v1-ListReviewsResponse)@@ -5033,6 +5034,22 @@ TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the+<a name="bytebase-v1-CreateReviewRequest"></a>++### CreateReviewRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| parent | [string](#string) | | The parent, which owns this collection of reviews. Format: projects/{project} |+| review | [Review](#bytebase-v1-Review) | | The review to create. |++++++<a name="bytebase-v1-GetReviewRequest"></a>### GetReviewRequest@@ -5094,6 +5111,8 @@ When paginating, all other parameters provided to `ListReviews` must match the c| name | [string](#string) | | The name of the review. `review` is a system generated ID. 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} || description | [string](#string) | | || status | [ReviewStatus](#bytebase-v1-ReviewStatus) | | || assignee | [string](#string) | | Format: users/[email protected] |@@ -5236,6 +5255,7 @@ ANY means approving any node will proceed.| Method Name | Request Type | Response Type | Description || ----------- | ------------ | ------------- | ------------|| GetReview | [GetReviewRequest](#bytebase-v1-GetReviewRequest) | [Review](#bytebase-v1-Review) | |+| CreateReview | [CreateReviewRequest](#bytebase-v1-CreateReviewRequest) | [Review](#bytebase-v1-Review) | || ListReviews | [ListReviewsRequest](#bytebase-v1-ListReviewsRequest) | [ListReviewsResponse](#bytebase-v1-ListReviewsResponse) | || UpdateReview | [UpdateReviewRequest](#bytebase-v1-UpdateReviewRequest) | [Review](#bytebase-v1-Review) | || BatchUpdateReviews | [BatchUpdateReviewsRequest](#bytebase-v1-BatchUpdateReviewsRequest) | [BatchUpdateReviewsResponse](#bytebase-v1-BatchUpdateReviewsResponse) | |diff --git a/proto/generated-go/v1/review_service.pb.go b/proto/generated-go/v1/review_service.pb.goindex 3c5129abcd..ffb9a2beab 100644--- a/proto/generated-go/v1/review_service.pb.go+++ b/proto/generated-go/v1/review_service.pb.go@@ -121,7 +121,7 @@ func (x Review_Approver_Status) Number() protoreflect.EnumNumber {// Deprecated: Use Review_Approver_Status.Descriptor instead.func (Review_Approver_Status) EnumDescriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{7, 0, 0}+ return file_v1_review_service_proto_rawDescGZIP(), []int{8, 0, 0}}// Type of the ApprovalStep@@ -173,7 +173,7 @@ func (x ApprovalStep_Type) Number() protoreflect.EnumNumber {// Deprecated: Use ApprovalStep_Type.Descriptor instead.func (ApprovalStep_Type) EnumDescriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{10, 0}+ return file_v1_review_service_proto_rawDescGZIP(), []int{11, 0}}// Type of the ApprovalNode.@@ -223,7 +223,7 @@ func (x ApprovalNode_Type) Number() protoreflect.EnumNumber {// Deprecated: Use ApprovalNode_Type.Descriptor instead.func (ApprovalNode_Type) EnumDescriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{11, 0}+ return file_v1_review_service_proto_rawDescGZIP(), []int{12, 0}}// The predefined user groups are:@@ -283,7 +283,7 @@ func (x ApprovalNode_GroupValue) Number() protoreflect.EnumNumber {// Deprecated: Use ApprovalNode_GroupValue.Descriptor instead.func (ApprovalNode_GroupValue) EnumDescriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{11, 1}+ return file_v1_review_service_proto_rawDescGZIP(), []int{12, 1}}type GetReviewRequest struct {@@ -335,6 +335,64 @@ func (x *GetReviewRequest) GetName() string {return ""}+type CreateReviewRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The parent, which owns this collection of reviews.+ // Format: projects/{project}+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`+ // The review to create.+ Review *Review `protobuf:"bytes,2,opt,name=review,proto3" json:"review,omitempty"`+}++func (x *CreateReviewRequest) Reset() {+ *x = CreateReviewRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_review_service_proto_msgTypes[1]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *CreateReviewRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*CreateReviewRequest) ProtoMessage() {}++func (x *CreateReviewRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_review_service_proto_msgTypes[1]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use CreateReviewRequest.ProtoReflect.Descriptor instead.+func (*CreateReviewRequest) Descriptor() ([]byte, []int) {+ return file_v1_review_service_proto_rawDescGZIP(), []int{1}+}++func (x *CreateReviewRequest) GetParent() string {+ if x != nil {+ return x.Parent+ }+ return ""+}++func (x *CreateReviewRequest) GetReview() *Review {+ if x != nil {+ return x.Review+ }+ return nil+}+type ListReviewsRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -360,7 +418,7 @@ type ListReviewsRequest struct {func (x *ListReviewsRequest) Reset() {*x = ListReviewsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[1]+ mi := &file_v1_review_service_proto_msgTypes[2]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -373,7 +431,7 @@ func (x *ListReviewsRequest) String() string {func (*ListReviewsRequest) ProtoMessage() {}func (x *ListReviewsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[1]+ mi := &file_v1_review_service_proto_msgTypes[2]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -386,7 +444,7 @@ func (x *ListReviewsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListReviewsRequest.ProtoReflect.Descriptor instead.func (*ListReviewsRequest) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{1}+ return file_v1_review_service_proto_rawDescGZIP(), []int{2}}func (x *ListReviewsRequest) GetParent() string {@@ -425,7 +483,7 @@ type ListReviewsResponse struct {func (x *ListReviewsResponse) Reset() {*x = ListReviewsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[2]+ mi := &file_v1_review_service_proto_msgTypes[3]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -438,7 +496,7 @@ func (x *ListReviewsResponse) String() string {func (*ListReviewsResponse) ProtoMessage() {}func (x *ListReviewsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[2]+ mi := &file_v1_review_service_proto_msgTypes[3]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -451,7 +509,7 @@ func (x *ListReviewsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListReviewsResponse.ProtoReflect.Descriptor instead.func (*ListReviewsResponse) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{2}+ return file_v1_review_service_proto_rawDescGZIP(), []int{3}}func (x *ListReviewsResponse) GetReviews() []*Review {@@ -485,7 +543,7 @@ type UpdateReviewRequest struct {func (x *UpdateReviewRequest) Reset() {*x = UpdateReviewRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[3]+ mi := &file_v1_review_service_proto_msgTypes[4]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -498,7 +556,7 @@ func (x *UpdateReviewRequest) String() string {func (*UpdateReviewRequest) ProtoMessage() {}func (x *UpdateReviewRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[3]+ mi := &file_v1_review_service_proto_msgTypes[4]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -511,7 +569,7 @@ func (x *UpdateReviewRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateReviewRequest.ProtoReflect.Descriptor instead.func (*UpdateReviewRequest) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{3}+ return file_v1_review_service_proto_rawDescGZIP(), []int{4}}func (x *UpdateReviewRequest) GetReview() *Review {@@ -546,7 +604,7 @@ type BatchUpdateReviewsRequest struct {func (x *BatchUpdateReviewsRequest) Reset() {*x = BatchUpdateReviewsRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[4]+ mi := &file_v1_review_service_proto_msgTypes[5]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -559,7 +617,7 @@ func (x *BatchUpdateReviewsRequest) String() string {func (*BatchUpdateReviewsRequest) ProtoMessage() {}func (x *BatchUpdateReviewsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[4]+ mi := &file_v1_review_service_proto_msgTypes[5]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -572,7 +630,7 @@ func (x *BatchUpdateReviewsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use BatchUpdateReviewsRequest.ProtoReflect.Descriptor instead.func (*BatchUpdateReviewsRequest) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{4}+ return file_v1_review_service_proto_rawDescGZIP(), []int{5}}func (x *BatchUpdateReviewsRequest) GetParent() string {@@ -601,7 +659,7 @@ type BatchUpdateReviewsResponse struct {func (x *BatchUpdateReviewsResponse) Reset() {*x = BatchUpdateReviewsResponse{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[5]+ mi := &file_v1_review_service_proto_msgTypes[6]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -614,7 +672,7 @@ func (x *BatchUpdateReviewsResponse) String() string {func (*BatchUpdateReviewsResponse) ProtoMessage() {}func (x *BatchUpdateReviewsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[5]+ mi := &file_v1_review_service_proto_msgTypes[6]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -627,7 +685,7 @@ func (x *BatchUpdateReviewsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use BatchUpdateReviewsResponse.ProtoReflect.Descriptor instead.func (*BatchUpdateReviewsResponse) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{5}+ return file_v1_review_service_proto_rawDescGZIP(), []int{6}}func (x *BatchUpdateReviewsResponse) GetReviews() []*Review {@@ -650,7 +708,7 @@ type ApproveReviewRequest struct {func (x *ApproveReviewRequest) Reset() {*x = ApproveReviewRequest{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[6]+ mi := &file_v1_review_service_proto_msgTypes[7]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -663,7 +721,7 @@ func (x *ApproveReviewRequest) String() string {func (*ApproveReviewRequest) ProtoMessage() {}func (x *ApproveReviewRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[6]+ mi := &file_v1_review_service_proto_msgTypes[7]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -676,7 +734,7 @@ func (x *ApproveReviewRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ApproveReviewRequest.ProtoReflect.Descriptor instead.func (*ApproveReviewRequest) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{6}+ return file_v1_review_service_proto_rawDescGZIP(), []int{7}}func (x *ApproveReviewRequest) GetName() string {@@ -696,8 +754,16 @@ type Review struct {// 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"`+ 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.+ // 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.+ // 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"`// Format: users/[email protected]@@ -721,7 +787,7 @@ type Review struct {func (x *Review) Reset() {*x = Review{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[7]+ mi := &file_v1_review_service_proto_msgTypes[8]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -734,7 +800,7 @@ func (x *Review) String() string {func (*Review) ProtoMessage() {}func (x *Review) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[7]+ mi := &file_v1_review_service_proto_msgTypes[8]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -747,7 +813,7 @@ func (x *Review) ProtoReflect() protoreflect.Message {// Deprecated: Use Review.ProtoReflect.Descriptor instead.func (*Review) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{7}+ return file_v1_review_service_proto_rawDescGZIP(), []int{8}}func (x *Review) GetName() string {@@ -771,6 +837,20 @@ func (x *Review) GetTitle() string {return ""}+func (x *Review) GetPlan() string {+ if x != nil {+ return x.Plan+ }+ return ""+}++func (x *Review) GetRollout() string {+ if x != nil {+ return x.Rollout+ }+ return ""+}+func (x *Review) GetDescription() string {if x != nil {return x.Description@@ -871,7 +951,7 @@ type ApprovalTemplate struct {func (x *ApprovalTemplate) Reset() {*x = ApprovalTemplate{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[8]+ mi := &file_v1_review_service_proto_msgTypes[9]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -884,7 +964,7 @@ func (x *ApprovalTemplate) String() string {func (*ApprovalTemplate) ProtoMessage() {}func (x *ApprovalTemplate) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[8]+ mi := &file_v1_review_service_proto_msgTypes[9]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -897,7 +977,7 @@ func (x *ApprovalTemplate) ProtoReflect() protoreflect.Message {// Deprecated: Use ApprovalTemplate.ProtoReflect.Descriptor instead.func (*ApprovalTemplate) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{8}+ return file_v1_review_service_proto_rawDescGZIP(), []int{9}}func (x *ApprovalTemplate) GetFlow() *ApprovalFlow {@@ -939,7 +1019,7 @@ type ApprovalFlow struct {func (x *ApprovalFlow) Reset() {*x = ApprovalFlow{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[9]+ mi := &file_v1_review_service_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -952,7 +1032,7 @@ func (x *ApprovalFlow) String() string {func (*ApprovalFlow) ProtoMessage() {}func (x *ApprovalFlow) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[9]+ mi := &file_v1_review_service_proto_msgTypes[10]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -965,7 +1045,7 @@ func (x *ApprovalFlow) ProtoReflect() protoreflect.Message {// Deprecated: Use ApprovalFlow.ProtoReflect.Descriptor instead.func (*ApprovalFlow) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{9}+ return file_v1_review_service_proto_rawDescGZIP(), []int{10}}func (x *ApprovalFlow) GetSteps() []*ApprovalStep {@@ -987,7 +1067,7 @@ type ApprovalStep struct {func (x *ApprovalStep) Reset() {*x = ApprovalStep{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[10]+ mi := &file_v1_review_service_proto_msgTypes[11]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1000,7 +1080,7 @@ func (x *ApprovalStep) String() string {func (*ApprovalStep) ProtoMessage() {}func (x *ApprovalStep) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[10]+ mi := &file_v1_review_service_proto_msgTypes[11]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1013,7 +1093,7 @@ func (x *ApprovalStep) ProtoReflect() protoreflect.Message {// Deprecated: Use ApprovalStep.ProtoReflect.Descriptor instead.func (*ApprovalStep) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{10}+ return file_v1_review_service_proto_rawDescGZIP(), []int{11}}func (x *ApprovalStep) GetType() ApprovalStep_Type {@@ -1046,7 +1126,7 @@ type ApprovalNode struct {func (x *ApprovalNode) Reset() {*x = ApprovalNode{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[11]+ mi := &file_v1_review_service_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1059,7 +1139,7 @@ func (x *ApprovalNode) String() string {func (*ApprovalNode) ProtoMessage() {}func (x *ApprovalNode) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[11]+ mi := &file_v1_review_service_proto_msgTypes[12]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1072,7 +1152,7 @@ func (x *ApprovalNode) ProtoReflect() protoreflect.Message {// Deprecated: Use ApprovalNode.ProtoReflect.Descriptor instead.func (*ApprovalNode) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{11}+ return file_v1_review_service_proto_rawDescGZIP(), []int{12}}func (x *ApprovalNode) GetType() ApprovalNode_Type {@@ -1134,7 +1214,7 @@ type Review_Approver struct {func (x *Review_Approver) Reset() {*x = Review_Approver{}if protoimpl.UnsafeEnabled {- mi := &file_v1_review_service_proto_msgTypes[12]+ mi := &file_v1_review_service_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1147,7 +1227,7 @@ func (x *Review_Approver) String() string {func (*Review_Approver) ProtoMessage() {}func (x *Review_Approver) ProtoReflect() protoreflect.Message {- mi := &file_v1_review_service_proto_msgTypes[12]+ mi := &file_v1_review_service_proto_msgTypes[13]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1160,7 +1240,7 @@ func (x *Review_Approver) ProtoReflect() protoreflect.Message {// Deprecated: Use Review_Approver.ProtoReflect.Descriptor instead.func (*Review_Approver) Descriptor() ([]byte, []int) {- return file_v1_review_service_proto_rawDescGZIP(), []int{7, 0}+ return file_v1_review_service_proto_rawDescGZIP(), []int{8, 0}}func (x *Review_Approver) GetStatus() Review_Approver_Status {@@ -1194,193 +1274,212 @@ var file_v1_review_service_proto_rawDesc = []byte{0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,0x6f, 0x22, 0x2b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65,0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6d,- 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,- 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6c, 0x0a,- 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18,- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69,- 0x65, 0x77, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,- 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,- 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x13,- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,- 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,- 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x76, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68,- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x08,- 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22,- 0x4b, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,- 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a,- 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x22, 0x2f, 0x0a, 0x14,- 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc2, 0x06,- 0x0a, 0x06, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03,- 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03,- 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 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,+ 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x64,+ 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x22, 0x6d, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,+ 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,+ 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,+ 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,+ 0x6b, 0x65, 0x6e, 0x22, 0x6c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x72, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79,0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,- 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,+ 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,+ 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,+ 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x72, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x42, 0x03,+ 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x40, 0x0a, 0x0b, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,+ 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,+ 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41,+ 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x76, 0x0a,+ 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x4b, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x01,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x73, 0x22, 0x2f, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x22, 0xfa, 0x06, 0x0a, 0x06, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x12,+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,+ 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74,+ 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12,+ 0x17, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,+ 0x41, 0x03, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x1d, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x6c,+ 0x6f, 0x75, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07,+ 0x72, 0x6f, 0x6c, 0x6c, 0x6f, 0x75, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,+ 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,+ 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61,+ 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74,+ 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08,+ 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,+ 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x73, 0x73, 0x69,+ 0x67, 0x6e, 0x65, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07,+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x65, 0x41, 0x74,+ 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x12, 0x61, 0x70, 0x70, 0x72, 0x6f,+ 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,+ 0x74, 0x65, 0x52, 0x11, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70,+ 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65,+ 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x41, 0x70,+ 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72,+ 0x73, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x66, 0x69,+ 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08,+ 0x52, 0x13, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e,+ 0x67, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,+ 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,+ 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x46,+ 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x73,+ 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09,+ 0x52, 0x0b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a,+ 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,+ 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63,+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,- 0x0a, 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, 0xa2, 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, 0x3b, 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, 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,- 0xd7, 0x02, 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, 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, 0x2a, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x56,- 0x49, 0x45, 0x57, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e,- 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08,- 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb7, 0x05, 0x0a, 0x0d, 0x52,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x09,- 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65,- 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x2e, 0xda,- 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x82, 0x01,- 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x1f, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,- 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,- 0x22, 0x30, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,+ 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0xa2, 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, 0x3b, 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,+ 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, 0xd7, 0x02,+ 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, 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, 0x2a, 0x4f, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x56, 0x49, 0x45,+ 0x57, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01,+ 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41,+ 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x32, 0xc0, 0x06, 0x0a, 0x0d, 0x52, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x47, 0x65,+ 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x2e, 0xda, 0x41, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f,+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x86, 0x01, 0x0a, 0x0c,+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x20, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,+ 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x22, 0x3f, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x06, 0x72, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x73, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,+ 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x0c, 0x55, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x22, 0x4b, 0xda, 0x41, 0x12, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x06,+ 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x76,+ 0x69, 0x65, 0x77, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9d,+ 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63,+ 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01,+ 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65,- 0x77, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x4b, 0xda, 0x41, 0x12, 0x72,- 0x65, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,- 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x32,- 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63,- 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x26,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,- 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,- 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63,- 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x7b, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x72, 0x6f,- 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65,- 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,- 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x70, 0x70,- 0x72, 0x6f, 0x76, 0x65, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,- 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x77, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x7b,+ 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12,+ 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70,+ 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a,+ 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73,+ 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x42, 0x11, 0x5a, 0x0f, 0x67,+ 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -1396,7 +1495,7 @@ func file_v1_review_service_proto_rawDescGZIP() []byte {}var file_v1_review_service_proto_enumTypes = make([]protoimpl.EnumInfo, 5)-var file_v1_review_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13)+var file_v1_review_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)var file_v1_review_service_proto_goTypes = []interface{}{(ReviewStatus)(0), // 0: bytebase.v1.ReviewStatus(Review_Approver_Status)(0), // 1: bytebase.v1.Review.Approver.Status@@ -1404,54 +1503,58 @@ var file_v1_review_service_proto_goTypes = []interface{}{(ApprovalNode_Type)(0), // 3: bytebase.v1.ApprovalNode.Type(ApprovalNode_GroupValue)(0), // 4: bytebase.v1.ApprovalNode.GroupValue(*GetReviewRequest)(nil), // 5: bytebase.v1.GetReviewRequest- (*ListReviewsRequest)(nil), // 6: bytebase.v1.ListReviewsRequest- (*ListReviewsResponse)(nil), // 7: bytebase.v1.ListReviewsResponse- (*UpdateReviewRequest)(nil), // 8: bytebase.v1.UpdateReviewRequest- (*BatchUpdateReviewsRequest)(nil), // 9: bytebase.v1.BatchUpdateReviewsRequest- (*BatchUpdateReviewsResponse)(nil), // 10: bytebase.v1.BatchUpdateReviewsResponse- (*ApproveReviewRequest)(nil), // 11: bytebase.v1.ApproveReviewRequest- (*Review)(nil), // 12: bytebase.v1.Review- (*ApprovalTemplate)(nil), // 13: bytebase.v1.ApprovalTemplate- (*ApprovalFlow)(nil), // 14: bytebase.v1.ApprovalFlow- (*ApprovalStep)(nil), // 15: bytebase.v1.ApprovalStep- (*ApprovalNode)(nil), // 16: bytebase.v1.ApprovalNode- (*Review_Approver)(nil), // 17: bytebase.v1.Review.Approver- (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask- (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp+ (*CreateReviewRequest)(nil), // 6: bytebase.v1.CreateReviewRequest+ (*ListReviewsRequest)(nil), // 7: bytebase.v1.ListReviewsRequest+ (*ListReviewsResponse)(nil), // 8: bytebase.v1.ListReviewsResponse+ (*UpdateReviewRequest)(nil), // 9: bytebase.v1.UpdateReviewRequest+ (*BatchUpdateReviewsRequest)(nil), // 10: bytebase.v1.BatchUpdateReviewsRequest+ (*BatchUpdateReviewsResponse)(nil), // 11: bytebase.v1.BatchUpdateReviewsResponse+ (*ApproveReviewRequest)(nil), // 12: bytebase.v1.ApproveReviewRequest+ (*Review)(nil), // 13: bytebase.v1.Review+ (*ApprovalTemplate)(nil), // 14: bytebase.v1.ApprovalTemplate+ (*ApprovalFlow)(nil), // 15: bytebase.v1.ApprovalFlow+ (*ApprovalStep)(nil), // 16: bytebase.v1.ApprovalStep+ (*ApprovalNode)(nil), // 17: bytebase.v1.ApprovalNode+ (*Review_Approver)(nil), // 18: bytebase.v1.Review.Approver+ (*fieldmaskpb.FieldMask)(nil), // 19: google.protobuf.FieldMask+ (*timestamppb.Timestamp)(nil), // 20: google.protobuf.Timestamp}var file_v1_review_service_proto_depIdxs = []int32{- 12, // 0: bytebase.v1.ListReviewsResponse.reviews:type_name -> bytebase.v1.Review- 12, // 1: bytebase.v1.UpdateReviewRequest.review:type_name -> bytebase.v1.Review- 18, // 2: bytebase.v1.UpdateReviewRequest.update_mask:type_name -> google.protobuf.FieldMask- 8, // 3: bytebase.v1.BatchUpdateReviewsRequest.requests:type_name -> bytebase.v1.UpdateReviewRequest- 12, // 4: bytebase.v1.BatchUpdateReviewsResponse.reviews:type_name -> bytebase.v1.Review- 0, // 5: bytebase.v1.Review.status:type_name -> bytebase.v1.ReviewStatus- 13, // 6: bytebase.v1.Review.approval_templates:type_name -> bytebase.v1.ApprovalTemplate- 17, // 7: bytebase.v1.Review.approvers:type_name -> bytebase.v1.Review.Approver- 19, // 8: bytebase.v1.Review.create_time:type_name -> google.protobuf.Timestamp- 19, // 9: bytebase.v1.Review.update_time:type_name -> google.protobuf.Timestamp- 14, // 10: bytebase.v1.ApprovalTemplate.flow:type_name -> bytebase.v1.ApprovalFlow- 15, // 11: bytebase.v1.ApprovalFlow.steps:type_name -> bytebase.v1.ApprovalStep- 2, // 12: bytebase.v1.ApprovalStep.type:type_name -> bytebase.v1.ApprovalStep.Type- 16, // 13: bytebase.v1.ApprovalStep.nodes:type_name -> bytebase.v1.ApprovalNode- 3, // 14: bytebase.v1.ApprovalNode.type:type_name -> bytebase.v1.ApprovalNode.Type- 4, // 15: bytebase.v1.ApprovalNode.group_value:type_name -> bytebase.v1.ApprovalNode.GroupValue- 1, // 16: bytebase.v1.Review.Approver.status:type_name -> bytebase.v1.Review.Approver.Status- 5, // 17: bytebase.v1.ReviewService.GetReview:input_type -> bytebase.v1.GetReviewRequest- 6, // 18: bytebase.v1.ReviewService.ListReviews:input_type -> bytebase.v1.ListReviewsRequest- 8, // 19: bytebase.v1.ReviewService.UpdateReview:input_type -> bytebase.v1.UpdateReviewRequest- 9, // 20: bytebase.v1.ReviewService.BatchUpdateReviews:input_type -> bytebase.v1.BatchUpdateReviewsRequest- 11, // 21: bytebase.v1.ReviewService.ApproveReview:input_type -> bytebase.v1.ApproveReviewRequest- 12, // 22: bytebase.v1.ReviewService.GetReview:output_type -> bytebase.v1.Review- 7, // 23: bytebase.v1.ReviewService.ListReviews:output_type -> bytebase.v1.ListReviewsResponse- 12, // 24: bytebase.v1.ReviewService.UpdateReview:output_type -> bytebase.v1.Review- 10, // 25: bytebase.v1.ReviewService.BatchUpdateReviews:output_type -> bytebase.v1.BatchUpdateReviewsResponse- 12, // 26: bytebase.v1.ReviewService.ApproveReview:output_type -> bytebase.v1.Review- 22, // [22:27] is the sub-list for method output_type- 17, // [17:22] is the sub-list for method input_type- 17, // [17:17] is the sub-list for extension type_name- 17, // [17:17] is the sub-list for extension extendee- 0, // [0:17] is the sub-list for field type_name+ 13, // 0: bytebase.v1.CreateReviewRequest.review:type_name -> bytebase.v1.Review+ 13, // 1: bytebase.v1.ListReviewsResponse.reviews:type_name -> bytebase.v1.Review+ 13, // 2: bytebase.v1.UpdateReviewRequest.review:type_name -> bytebase.v1.Review+ 19, // 3: bytebase.v1.UpdateReviewRequest.update_mask:type_name -> google.protobuf.FieldMask+ 9, // 4: bytebase.v1.BatchUpdateReviewsRequest.requests:type_name -> bytebase.v1.UpdateReviewRequest+ 13, // 5: bytebase.v1.BatchUpdateReviewsResponse.reviews:type_name -> bytebase.v1.Review+ 0, // 6: bytebase.v1.Review.status:type_name -> bytebase.v1.ReviewStatus+ 14, // 7: bytebase.v1.Review.approval_templates:type_name -> bytebase.v1.ApprovalTemplate+ 18, // 8: bytebase.v1.Review.approvers:type_name -> bytebase.v1.Review.Approver+ 20, // 9: bytebase.v1.Review.create_time:type_name -> google.protobuf.Timestamp+ 20, // 10: bytebase.v1.Review.update_time:type_name -> google.protobuf.Timestamp+ 15, // 11: bytebase.v1.ApprovalTemplate.flow:type_name -> bytebase.v1.ApprovalFlow+ 16, // 12: bytebase.v1.ApprovalFlow.steps:type_name -> bytebase.v1.ApprovalStep+ 2, // 13: bytebase.v1.ApprovalStep.type:type_name -> bytebase.v1.ApprovalStep.Type+ 17, // 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+ 1, // 17: bytebase.v1.Review.Approver.status:type_name -> bytebase.v1.Review.Approver.Status+ 5, // 18: bytebase.v1.ReviewService.GetReview:input_type -> bytebase.v1.GetReviewRequest+ 6, // 19: bytebase.v1.ReviewService.CreateReview:input_type -> bytebase.v1.CreateReviewRequest+ 7, // 20: bytebase.v1.ReviewService.ListReviews:input_type -> bytebase.v1.ListReviewsRequest+ 9, // 21: bytebase.v1.ReviewService.UpdateReview:input_type -> bytebase.v1.UpdateReviewRequest+ 10, // 22: bytebase.v1.ReviewService.BatchUpdateReviews:input_type -> bytebase.v1.BatchUpdateReviewsRequest+ 12, // 23: bytebase.v1.ReviewService.ApproveReview:input_type -> bytebase.v1.ApproveReviewRequest+ 13, // 24: bytebase.v1.ReviewService.GetReview:output_type -> bytebase.v1.Review+ 13, // 25: bytebase.v1.ReviewService.CreateReview:output_type -> bytebase.v1.Review+ 8, // 26: bytebase.v1.ReviewService.ListReviews:output_type -> bytebase.v1.ListReviewsResponse+ 13, // 27: bytebase.v1.ReviewService.UpdateReview:output_type -> bytebase.v1.Review+ 11, // 28: bytebase.v1.ReviewService.BatchUpdateReviews:output_type -> bytebase.v1.BatchUpdateReviewsResponse+ 13, // 29: bytebase.v1.ReviewService.ApproveReview:output_type -> bytebase.v1.Review+ 24, // [24:30] is the sub-list for method output_type+ 18, // [18:24] is the sub-list for method input_type+ 18, // [18:18] is the sub-list for extension type_name+ 18, // [18:18] is the sub-list for extension extendee+ 0, // [0:18] is the sub-list for field type_name}func init() { file_v1_review_service_proto_init() }@@ -1473,7 +1576,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ListReviewsRequest); i {+ switch v := v.(*CreateReviewRequest); i {case 0:return &v.statecase 1:@@ -1485,7 +1588,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ListReviewsResponse); i {+ switch v := v.(*ListReviewsRequest); i {case 0:return &v.statecase 1:@@ -1497,7 +1600,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*UpdateReviewRequest); i {+ switch v := v.(*ListReviewsResponse); i {case 0:return &v.statecase 1:@@ -1509,7 +1612,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*BatchUpdateReviewsRequest); i {+ switch v := v.(*UpdateReviewRequest); i {case 0:return &v.statecase 1:@@ -1521,7 +1624,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*BatchUpdateReviewsResponse); i {+ switch v := v.(*BatchUpdateReviewsRequest); i {case 0:return &v.statecase 1:@@ -1533,7 +1636,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ApproveReviewRequest); i {+ switch v := v.(*BatchUpdateReviewsResponse); i {case 0:return &v.statecase 1:@@ -1545,7 +1648,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Review); i {+ switch v := v.(*ApproveReviewRequest); i {case 0:return &v.statecase 1:@@ -1557,7 +1660,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ApprovalTemplate); i {+ switch v := v.(*Review); i {case 0:return &v.statecase 1:@@ -1569,7 +1672,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ApprovalFlow); i {+ switch v := v.(*ApprovalTemplate); i {case 0:return &v.statecase 1:@@ -1581,7 +1684,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ApprovalStep); i {+ switch v := v.(*ApprovalFlow); i {case 0:return &v.statecase 1:@@ -1593,7 +1696,7 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ApprovalNode); i {+ switch v := v.(*ApprovalStep); i {case 0:return &v.statecase 1:@@ -1605,6 +1708,18 @@ func file_v1_review_service_proto_init() {}}file_v1_review_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*ApprovalNode); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_review_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*Review_Approver); i {case 0:return &v.state@@ -1617,7 +1732,7 @@ func file_v1_review_service_proto_init() {}}}- file_v1_review_service_proto_msgTypes[11].OneofWrappers = []interface{}{+ file_v1_review_service_proto_msgTypes[12].OneofWrappers = []interface{}{(*ApprovalNode_GroupValue_)(nil),(*ApprovalNode_Role)(nil),}@@ -1627,7 +1742,7 @@ func file_v1_review_service_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_review_service_proto_rawDesc,NumEnums: 5,- NumMessages: 13,+ NumMessages: 14,NumExtensions: 0,NumServices: 1,},diff --git a/proto/generated-go/v1/review_service.pb.gw.go b/proto/generated-go/v1/review_service.pb.gw.goindex 5c87379ece..4d5a7cafba 100644--- a/proto/generated-go/v1/review_service.pb.gw.go+++ b/proto/generated-go/v1/review_service.pb.gw.go@@ -83,6 +83,74 @@ func local_request_ReviewService_GetReview_0(ctx context.Context, marshaler runt}+func request_ReviewService_CreateReview_0(ctx context.Context, marshaler runtime.Marshaler, client ReviewServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq CreateReviewRequest+ var metadata runtime.ServerMetadata++ newReader, berr := utilities.IOReaderFactory(req.Body)+ if berr != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)+ }+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Review); err != nil && err != io.EOF {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ msg, err := client.CreateReview(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_ReviewService_CreateReview_0(ctx context.Context, marshaler runtime.Marshaler, server ReviewServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq CreateReviewRequest+ var metadata runtime.ServerMetadata++ newReader, berr := utilities.IOReaderFactory(req.Body)+ if berr != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)+ }+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Review); err != nil && err != io.EOF {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ msg, err := server.CreateReview(ctx, &protoReq)+ return msg, metadata, err++}+var (filter_ReviewService_ListReviews_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}})@@ -420,6 +488,31 @@ func RegisterReviewServiceHandlerServer(ctx context.Context, mux *runtime.ServeM})+ mux.Handle("POST", pattern_ReviewService_CreateReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ var stream runtime.ServerTransportStream+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.ReviewService/CreateReview", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_ReviewService_CreateReview_0(annotatedContext, inboundMarshaler, server, req, pathParams)+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ReviewService_CreateReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })+mux.Handle("GET", pattern_ReviewService_ListReviews_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -583,6 +676,28 @@ func RegisterReviewServiceHandlerClient(ctx context.Context, mux *runtime.ServeM})+ mux.Handle("POST", pattern_ReviewService_CreateReview_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ReviewService/CreateReview", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/reviews"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_ReviewService_CreateReview_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ReviewService_CreateReview_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })+mux.Handle("GET", pattern_ReviewService_ListReviews_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -677,6 +792,8 @@ func RegisterReviewServiceHandlerClient(ctx context.Context, mux *runtime.ServeMvar (pattern_ReviewService_GetReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "name"}, ""))+ pattern_ReviewService_CreateReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, ""))+pattern_ReviewService_ListReviews_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "reviews"}, ""))pattern_ReviewService_UpdateReview_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "reviews", "review.name"}, ""))@@ -689,6 +806,8 @@ var (var (forward_ReviewService_GetReview_0 = runtime.ForwardResponseMessage+ forward_ReviewService_CreateReview_0 = runtime.ForwardResponseMessage+forward_ReviewService_ListReviews_0 = runtime.ForwardResponseMessageforward_ReviewService_UpdateReview_0 = runtime.ForwardResponseMessagediff --git a/proto/generated-go/v1/review_service_grpc.pb.go b/proto/generated-go/v1/review_service_grpc.pb.goindex 82e650305f..9fe829b74d 100644--- a/proto/generated-go/v1/review_service_grpc.pb.go+++ b/proto/generated-go/v1/review_service_grpc.pb.go@@ -20,6 +20,7 @@ const _ = grpc.SupportPackageIsVersion7const (ReviewService_GetReview_FullMethodName = "/bytebase.v1.ReviewService/GetReview"+ ReviewService_CreateReview_FullMethodName = "/bytebase.v1.ReviewService/CreateReview"ReviewService_ListReviews_FullMethodName = "/bytebase.v1.ReviewService/ListReviews"ReviewService_UpdateReview_FullMethodName = "/bytebase.v1.ReviewService/UpdateReview"ReviewService_BatchUpdateReviews_FullMethodName = "/bytebase.v1.ReviewService/BatchUpdateReviews"@@ -31,6 +32,7 @@ const (// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.type ReviewServiceClient interface {GetReview(ctx context.Context, in *GetReviewRequest, opts ...grpc.CallOption) (*Review, error)+ CreateReview(ctx context.Context, in *CreateReviewRequest, opts ...grpc.CallOption) (*Review, error)ListReviews(ctx context.Context, in *ListReviewsRequest, opts ...grpc.CallOption) (*ListReviewsResponse, error)UpdateReview(ctx context.Context, in *UpdateReviewRequest, opts ...grpc.CallOption) (*Review, error)BatchUpdateReviews(ctx context.Context, in *BatchUpdateReviewsRequest, opts ...grpc.CallOption) (*BatchUpdateReviewsResponse, error)@@ -54,6 +56,15 @@ func (c *reviewServiceClient) GetReview(ctx context.Context, in *GetReviewRequesreturn out, nil}+func (c *reviewServiceClient) CreateReview(ctx context.Context, in *CreateReviewRequest, opts ...grpc.CallOption) (*Review, error) {+ out := new(Review)+ err := c.cc.Invoke(ctx, ReviewService_CreateReview_FullMethodName, in, out, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}+func (c *reviewServiceClient) ListReviews(ctx context.Context, in *ListReviewsRequest, opts ...grpc.CallOption) (*ListReviewsResponse, error) {out := new(ListReviewsResponse)err := c.cc.Invoke(ctx, ReviewService_ListReviews_FullMethodName, in, out, opts...)@@ -95,6 +106,7 @@ func (c *reviewServiceClient) ApproveReview(ctx context.Context, in *ApproveRevi// for forward compatibilitytype ReviewServiceServer interface {GetReview(context.Context, *GetReviewRequest) (*Review, error)+ CreateReview(context.Context, *CreateReviewRequest) (*Review, error)ListReviews(context.Context, *ListReviewsRequest) (*ListReviewsResponse, error)UpdateReview(context.Context, *UpdateReviewRequest) (*Review, error)BatchUpdateReviews(context.Context, *BatchUpdateReviewsRequest) (*BatchUpdateReviewsResponse, error)@@ -109,6 +121,9 @@ type UnimplementedReviewServiceServer struct {func (UnimplementedReviewServiceServer) GetReview(context.Context, *GetReviewRequest) (*Review, error) {return nil, status.Errorf(codes.Unimplemented, "method GetReview not implemented")}+func (UnimplementedReviewServiceServer) CreateReview(context.Context, *CreateReviewRequest) (*Review, error) {+ return nil, status.Errorf(codes.Unimplemented, "method CreateReview not implemented")+}func (UnimplementedReviewServiceServer) ListReviews(context.Context, *ListReviewsRequest) (*ListReviewsResponse, error) {return nil, status.Errorf(codes.Unimplemented, "method ListReviews not implemented")}@@ -152,6 +167,24 @@ func _ReviewService_GetReview_Handler(srv interface{}, ctx context.Context, decreturn interceptor(ctx, in, info, handler)}+func _ReviewService_CreateReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(CreateReviewRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(ReviewServiceServer).CreateReview(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: ReviewService_CreateReview_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(ReviewServiceServer).CreateReview(ctx, req.(*CreateReviewRequest))+ }+ return interceptor(ctx, in, info, handler)+}+func _ReviewService_ListReviews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(ListReviewsRequest)if err := dec(in); err != nil {@@ -235,6 +268,10 @@ var ReviewService_ServiceDesc = grpc.ServiceDesc{MethodName: "GetReview",Handler: _ReviewService_GetReview_Handler,},+ {+ MethodName: "CreateReview",+ Handler: _ReviewService_CreateReview_Handler,+ },{MethodName: "ListReviews",Handler: _ReviewService_ListReviews_Handler,diff --git a/proto/v1/review_service.proto b/proto/v1/review_service.protoindex 0a1985ce63..34abf0ba1c 100644--- a/proto/v1/review_service.proto+++ b/proto/v1/review_service.proto@@ -16,6 +16,14 @@ service ReviewService {option (google.api.method_signature) = "name";}+ rpc CreateReview(CreateReviewRequest) returns (Review) {+ option (google.api.http) = {+ post: "/v1/{parent=projects/*}/reviews"+ body: "review"+ };+ option (google.api.method_signature) = "parent,review";+ }+rpc ListReviews(ListReviewsRequest) returns (ListReviewsResponse) {option (google.api.http) = {get: "/v1/{parent=projects/*}/reviews"};option (google.api.method_signature) = "parent";@@ -50,6 +58,15 @@ message GetReviewRequest {string name = 1 [(google.api.field_behavior) = REQUIRED];}+message CreateReviewRequest {+ // The parent, which owns this collection of reviews.+ // Format: projects/{project}+ string parent = 1 [(google.api.field_behavior) = REQUIRED];++ // The review to create.+ Review review = 2 [(google.api.field_behavior) = REQUIRED];+}+message ListReviewsRequest {// The parent, which owns this collection of reviews.// Format: projects/{project}@@ -124,6 +141,16 @@ message Review {string title = 3;+ // The plan associated with the review.+ // Can be empty.+ // Format: projects/{project}/plans/{plan}+ string plan = 16 [(google.api.field_behavior) = OUTPUT_ONLY];++ // The rollout associated with the review.+ // Can be empty.+ // Format: projects/{project}/rollouts/{rollout}+ string rollout = 17 [(google.api.field_behavior) = OUTPUT_ONLY];+string description = 4;ReviewStatus status = 5;