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(api): implement the proto definition of the webhook part of the project service (#4974)
h3n4la3cf0a4f03f0
diff --git a/frontend/src/types/proto/v1/project_service.ts b/frontend/src/types/proto/v1/project_service.tsindex 0bdd4bef6e..896ea24264 100644--- a/frontend/src/types/proto/v1/project_service.ts+++ b/frontend/src/types/proto/v1/project_service.ts@@ -502,6 +502,7 @@ export interface Project {schemaVersion: SchemaVersion;schemaChange: SchemaChange;lgtmCheck: LgtmCheck;+ webhooks: Webhook[];}export interface IamPolicy {@@ -599,6 +600,146 @@ export interface BatchUpdateReviewsResponse {reviews: Review[];}+export interface AddWebhookRequest {+ /**+ * The name of the project to add the webhook to.+ * Format: projects/{project}+ */+ project: string;+ /** The webhook to add. */+ webhook?: Webhook;+}++export interface UpdateWebhookRequest {+ /**+ * The name of the project which owns the webhook to be updated.+ * Format: projects/{project}+ */+ project: string;+ /**+ * The webhook to modify.+ * Identified by its url.+ */+ webhook?: Webhook;+ /** The list of fields to update. */+ updateMask?: string[];+}++export interface RemoveWebhookRequest {+ /**+ * The name of the project to remove the webhook from.+ * Format: projects/{project}+ */+ project: string;+ /** The webhook to remove. Identified by its url. */+ webhook?: Webhook;+}++export interface TestWebhookRequest {+ /**+ * The name of the project which owns the webhook to test.+ * Format: projects/{project}+ */+ project: string;+ /** The webhook to test. Identified by its url. */+ webhook?: Webhook;+}++export interface TestWebhookResponse {+ /** The result of the test, empty if the test is successful. */+ error: string;+}++export interface Webhook {+ /** type is the type of the webhook. */+ type: Webhook_Type;+ /** title is the title of the webhook. */+ title: string;+ /** url is the url of the webhook, should be unique within the project. */+ url: string;+ /**+ * notification_types is the list of activities types that the webhook is interested in.+ * Bytebase will only send notifications to the webhook if the activity type is in the list.+ * It should not be empty, and shoule be a subset of the following:+ * - TYPE_ISSUE_CREATED+ * - TYPE_ISSUE_STATUS_UPDATE+ * - TYPE_ISSUE_PIPELINE_STAGE_UPDATE+ * - TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE+ * - TYPE_ISSUE_FIELD_UPDATE+ * - TYPE_ISSUE_COMMENT_CREAT+ */+ notificationTypes: Activity_Type[];+}++export enum Webhook_Type {+ TYPE_UNSPECIFIED = 0,+ TYPE_SLACK = 1,+ TYPE_DISCORD = 2,+ TYPE_TEAMS = 3,+ TYPE_DINGTALK = 4,+ TYPE_FEISHU = 5,+ TYPE_WECOM = 6,+ TYPE_CUSTOM = 7,+ UNRECOGNIZED = -1,+}++export function webhook_TypeFromJSON(object: any): Webhook_Type {+ switch (object) {+ case 0:+ case "TYPE_UNSPECIFIED":+ return Webhook_Type.TYPE_UNSPECIFIED;+ case 1:+ case "TYPE_SLACK":+ return Webhook_Type.TYPE_SLACK;+ case 2:+ case "TYPE_DISCORD":+ return Webhook_Type.TYPE_DISCORD;+ case 3:+ case "TYPE_TEAMS":+ return Webhook_Type.TYPE_TEAMS;+ case 4:+ case "TYPE_DINGTALK":+ return Webhook_Type.TYPE_DINGTALK;+ case 5:+ case "TYPE_FEISHU":+ return Webhook_Type.TYPE_FEISHU;+ case 6:+ case "TYPE_WECOM":+ return Webhook_Type.TYPE_WECOM;+ case 7:+ case "TYPE_CUSTOM":+ return Webhook_Type.TYPE_CUSTOM;+ case -1:+ case "UNRECOGNIZED":+ default:+ return Webhook_Type.UNRECOGNIZED;+ }+}++export function webhook_TypeToJSON(object: Webhook_Type): string {+ switch (object) {+ case Webhook_Type.TYPE_UNSPECIFIED:+ return "TYPE_UNSPECIFIED";+ case Webhook_Type.TYPE_SLACK:+ return "TYPE_SLACK";+ case Webhook_Type.TYPE_DISCORD:+ return "TYPE_DISCORD";+ case Webhook_Type.TYPE_TEAMS:+ return "TYPE_TEAMS";+ case Webhook_Type.TYPE_DINGTALK:+ return "TYPE_DINGTALK";+ case Webhook_Type.TYPE_FEISHU:+ return "TYPE_FEISHU";+ case Webhook_Type.TYPE_WECOM:+ return "TYPE_WECOM";+ case Webhook_Type.TYPE_CUSTOM:+ return "TYPE_CUSTOM";+ case Webhook_Type.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}+export interface Review {/*** The name of the review.@@ -660,6 +801,195 @@ export interface LabelSelectorRequirement {values: string[];}+/** TODO(zp): move to activity later. */+export interface Activity {+}++export enum Activity_Type {+ TYPE_UNSPECIFIED = 0,+ /**+ * TYPE_ISSUE_CREATE - Issue related activity types.+ *+ * TYPE_ISSUE_CREATE represents creating an issue.+ */+ TYPE_ISSUE_CREATE = 1,+ /** TYPE_ISSUE_COMMENT_CREATE - TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue. */+ TYPE_ISSUE_COMMENT_CREATE = 2,+ /** TYPE_ISSUE_FIELD_UPDATE - TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, assignee, etc. */+ TYPE_ISSUE_FIELD_UPDATE = 3,+ /** TYPE_ISSUE_STATUS_UPDATE - TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now. */+ TYPE_ISSUE_STATUS_UPDATE = 4,+ /** TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE - TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now. */+ TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE = 5,+ /** TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE - TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now. */+ TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE = 6,+ /** TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT - TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT represents the VCS trigger to commit a file to update the task statement. */+ TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT = 7,+ /** TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE - TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement. */+ TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE = 8,+ /** TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE - TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time. */+ TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE = 9,+ /**+ * TYPE_MEMBER_CREATE - Member related activity types.+ *+ * TYPE_MEMBER_CREATE represents creating a members.+ */+ TYPE_MEMBER_CREATE = 10,+ /** TYPE_MEMBER_ROLE_UPDATE - TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER. */+ TYPE_MEMBER_ROLE_UPDATE = 11,+ /** TYPE_MEMBER_ACTIVATE - TYPE_MEMBER_ACTIVATE represents activating a deactivated member. */+ TYPE_MEMBER_ACTIVATE = 12,+ /** TYPE_MEMBER_DEACTIVATE - TYPE_MEMBER_DEACTIVATE represents deactivating an active member. */+ TYPE_MEMBER_DEACTIVATE = 13,+ /**+ * TYPE_PROJECT_REPOSITORY_PUSH - Project related activity types.+ *+ * TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository.+ */+ TYPE_PROJECT_REPOSITORY_PUSH = 14,+ /** TYPE_PROJECT_DATABASE_TRANSFER - TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another. */+ TYPE_PROJECT_DATABASE_TRANSFER = 15,+ /** TYPE_PROJECT_MEMBER_CREATE - TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project. */+ TYPE_PROJECT_MEMBER_CREATE = 16,+ /** TYPE_PROJECT_MEMBER_DELETE - TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project. */+ TYPE_PROJECT_MEMBER_DELETE = 17,+ /** TYPE_PROJECT_MEMBER_ROLE_UPDATE - TYPE_PROJECT_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER. */+ TYPE_PROJECT_MEMBER_ROLE_UPDATE = 18,+ /**+ * TYPE_SQL_EDITOR_QUERY - SQL Editor related activity types.+ * TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.+ */+ TYPE_SQL_EDITOR_QUERY = 19,+ /**+ * TYPE_DATABASE_RECOVERY_PITR_DONE - Database related activity types.+ * TYPE_DATABASE_RECOVERY_PITR_DONE represents the database recovery to a point in time is done.+ */+ TYPE_DATABASE_RECOVERY_PITR_DONE = 20,+ UNRECOGNIZED = -1,+}++export function activity_TypeFromJSON(object: any): Activity_Type {+ switch (object) {+ case 0:+ case "TYPE_UNSPECIFIED":+ return Activity_Type.TYPE_UNSPECIFIED;+ case 1:+ case "TYPE_ISSUE_CREATE":+ return Activity_Type.TYPE_ISSUE_CREATE;+ case 2:+ case "TYPE_ISSUE_COMMENT_CREATE":+ return Activity_Type.TYPE_ISSUE_COMMENT_CREATE;+ case 3:+ case "TYPE_ISSUE_FIELD_UPDATE":+ return Activity_Type.TYPE_ISSUE_FIELD_UPDATE;+ case 4:+ case "TYPE_ISSUE_STATUS_UPDATE":+ return Activity_Type.TYPE_ISSUE_STATUS_UPDATE;+ case 5:+ case "TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE":+ return Activity_Type.TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE;+ case 6:+ case "TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE":+ return Activity_Type.TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE;+ case 7:+ case "TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT":+ return Activity_Type.TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT;+ case 8:+ case "TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE":+ return Activity_Type.TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE;+ case 9:+ case "TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE":+ return Activity_Type.TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE;+ case 10:+ case "TYPE_MEMBER_CREATE":+ return Activity_Type.TYPE_MEMBER_CREATE;+ case 11:+ case "TYPE_MEMBER_ROLE_UPDATE":+ return Activity_Type.TYPE_MEMBER_ROLE_UPDATE;+ case 12:+ case "TYPE_MEMBER_ACTIVATE":+ return Activity_Type.TYPE_MEMBER_ACTIVATE;+ case 13:+ case "TYPE_MEMBER_DEACTIVATE":+ return Activity_Type.TYPE_MEMBER_DEACTIVATE;+ case 14:+ case "TYPE_PROJECT_REPOSITORY_PUSH":+ return Activity_Type.TYPE_PROJECT_REPOSITORY_PUSH;+ case 15:+ case "TYPE_PROJECT_DATABASE_TRANSFER":+ return Activity_Type.TYPE_PROJECT_DATABASE_TRANSFER;+ case 16:+ case "TYPE_PROJECT_MEMBER_CREATE":+ return Activity_Type.TYPE_PROJECT_MEMBER_CREATE;+ case 17:+ case "TYPE_PROJECT_MEMBER_DELETE":+ return Activity_Type.TYPE_PROJECT_MEMBER_DELETE;+ case 18:+ case "TYPE_PROJECT_MEMBER_ROLE_UPDATE":+ return Activity_Type.TYPE_PROJECT_MEMBER_ROLE_UPDATE;+ case 19:+ case "TYPE_SQL_EDITOR_QUERY":+ return Activity_Type.TYPE_SQL_EDITOR_QUERY;+ case 20:+ case "TYPE_DATABASE_RECOVERY_PITR_DONE":+ return Activity_Type.TYPE_DATABASE_RECOVERY_PITR_DONE;+ case -1:+ case "UNRECOGNIZED":+ default:+ return Activity_Type.UNRECOGNIZED;+ }+}++export function activity_TypeToJSON(object: Activity_Type): string {+ switch (object) {+ case Activity_Type.TYPE_UNSPECIFIED:+ return "TYPE_UNSPECIFIED";+ case Activity_Type.TYPE_ISSUE_CREATE:+ return "TYPE_ISSUE_CREATE";+ case Activity_Type.TYPE_ISSUE_COMMENT_CREATE:+ return "TYPE_ISSUE_COMMENT_CREATE";+ case Activity_Type.TYPE_ISSUE_FIELD_UPDATE:+ return "TYPE_ISSUE_FIELD_UPDATE";+ case Activity_Type.TYPE_ISSUE_STATUS_UPDATE:+ return "TYPE_ISSUE_STATUS_UPDATE";+ case Activity_Type.TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE:+ return "TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE";+ case Activity_Type.TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE:+ return "TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE";+ case Activity_Type.TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT:+ return "TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT";+ case Activity_Type.TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE:+ return "TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE";+ case Activity_Type.TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE:+ return "TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE";+ case Activity_Type.TYPE_MEMBER_CREATE:+ return "TYPE_MEMBER_CREATE";+ case Activity_Type.TYPE_MEMBER_ROLE_UPDATE:+ return "TYPE_MEMBER_ROLE_UPDATE";+ case Activity_Type.TYPE_MEMBER_ACTIVATE:+ return "TYPE_MEMBER_ACTIVATE";+ case Activity_Type.TYPE_MEMBER_DEACTIVATE:+ return "TYPE_MEMBER_DEACTIVATE";+ case Activity_Type.TYPE_PROJECT_REPOSITORY_PUSH:+ return "TYPE_PROJECT_REPOSITORY_PUSH";+ case Activity_Type.TYPE_PROJECT_DATABASE_TRANSFER:+ return "TYPE_PROJECT_DATABASE_TRANSFER";+ case Activity_Type.TYPE_PROJECT_MEMBER_CREATE:+ return "TYPE_PROJECT_MEMBER_CREATE";+ case Activity_Type.TYPE_PROJECT_MEMBER_DELETE:+ return "TYPE_PROJECT_MEMBER_DELETE";+ case Activity_Type.TYPE_PROJECT_MEMBER_ROLE_UPDATE:+ return "TYPE_PROJECT_MEMBER_ROLE_UPDATE";+ case Activity_Type.TYPE_SQL_EDITOR_QUERY:+ return "TYPE_SQL_EDITOR_QUERY";+ case Activity_Type.TYPE_DATABASE_RECOVERY_PITR_DONE:+ return "TYPE_DATABASE_RECOVERY_PITR_DONE";+ case Activity_Type.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}+function createBaseGetProjectRequest(): GetProjectRequest {return { name: "" };}@@ -1267,6 +1597,7 @@ function createBaseProject(): Project {schemaVersion: 0,schemaChange: 0,lgtmCheck: 0,+ webhooks: [],};}@@ -1308,6 +1639,9 @@ export const Project = {if (message.lgtmCheck !== 0) {writer.uint32(96).int32(message.lgtmCheck);}+ for (const v of message.webhooks) {+ Webhook.encode(v!, writer.uint32(106).fork()).ldelim();+ }return writer;},@@ -1354,6 +1688,9 @@ export const Project = {case 12:message.lgtmCheck = reader.int32() as any;break;+ case 13:+ message.webhooks.push(Webhook.decode(reader, reader.uint32()));+ break;default:reader.skipType(tag & 7);break;@@ -1376,6 +1713,7 @@ export const Project = {schemaVersion: isSet(object.schemaVersion) ? schemaVersionFromJSON(object.schemaVersion) : 0,schemaChange: isSet(object.schemaChange) ? schemaChangeFromJSON(object.schemaChange) : 0,lgtmCheck: isSet(object.lgtmCheck) ? lgtmCheckFromJSON(object.lgtmCheck) : 0,+ webhooks: Array.isArray(object?.webhooks) ? object.webhooks.map((e: any) => Webhook.fromJSON(e)) : [],};},@@ -1393,6 +1731,11 @@ export const Project = {message.schemaVersion !== undefined && (obj.schemaVersion = schemaVersionToJSON(message.schemaVersion));message.schemaChange !== undefined && (obj.schemaChange = schemaChangeToJSON(message.schemaChange));message.lgtmCheck !== undefined && (obj.lgtmCheck = lgtmCheckToJSON(message.lgtmCheck));+ if (message.webhooks) {+ obj.webhooks = message.webhooks.map((e) => e ? Webhook.toJSON(e) : undefined);+ } else {+ obj.webhooks = [];+ }return obj;},@@ -1410,6 +1753,7 @@ export const Project = {message.schemaVersion = object.schemaVersion ?? 0;message.schemaChange = object.schemaChange ?? 0;message.lgtmCheck = object.lgtmCheck ?? 0;+ message.webhooks = object.webhooks?.map((e) => Webhook.fromPartial(e)) || [];return message;},};@@ -1876,6 +2220,393 @@ export const BatchUpdateReviewsResponse = {},};+function createBaseAddWebhookRequest(): AddWebhookRequest {+ return { project: "", webhook: undefined };+}++export const AddWebhookRequest = {+ encode(message: AddWebhookRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.project !== "") {+ writer.uint32(10).string(message.project);+ }+ if (message.webhook !== undefined) {+ Webhook.encode(message.webhook, writer.uint32(18).fork()).ldelim();+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): AddWebhookRequest {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseAddWebhookRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ message.project = reader.string();+ break;+ case 2:+ message.webhook = Webhook.decode(reader, reader.uint32());+ break;+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(object: any): AddWebhookRequest {+ return {+ project: isSet(object.project) ? String(object.project) : "",+ webhook: isSet(object.webhook) ? Webhook.fromJSON(object.webhook) : undefined,+ };+ },++ toJSON(message: AddWebhookRequest): unknown {+ const obj: any = {};+ message.project !== undefined && (obj.project = message.project);+ message.webhook !== undefined && (obj.webhook = message.webhook ? Webhook.toJSON(message.webhook) : undefined);+ return obj;+ },++ fromPartial(object: DeepPartial<AddWebhookRequest>): AddWebhookRequest {+ const message = createBaseAddWebhookRequest();+ message.project = object.project ?? "";+ message.webhook = (object.webhook !== undefined && object.webhook !== null)+ ? Webhook.fromPartial(object.webhook)+ : undefined;+ return message;+ },+};++function createBaseUpdateWebhookRequest(): UpdateWebhookRequest {+ return { project: "", webhook: undefined, updateMask: undefined };+}++export const UpdateWebhookRequest = {+ encode(message: UpdateWebhookRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.project !== "") {+ writer.uint32(10).string(message.project);+ }+ if (message.webhook !== undefined) {+ Webhook.encode(message.webhook, writer.uint32(18).fork()).ldelim();+ }+ if (message.updateMask !== undefined) {+ FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(26).fork()).ldelim();+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateWebhookRequest {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseUpdateWebhookRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ message.project = reader.string();+ break;+ case 2:+ message.webhook = Webhook.decode(reader, reader.uint32());+ break;+ case 3:+ message.updateMask = FieldMask.unwrap(FieldMask.decode(reader, reader.uint32()));+ break;+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(object: any): UpdateWebhookRequest {+ return {+ project: isSet(object.project) ? String(object.project) : "",+ webhook: isSet(object.webhook) ? Webhook.fromJSON(object.webhook) : undefined,+ updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,+ };+ },++ toJSON(message: UpdateWebhookRequest): unknown {+ const obj: any = {};+ message.project !== undefined && (obj.project = message.project);+ message.webhook !== undefined && (obj.webhook = message.webhook ? Webhook.toJSON(message.webhook) : undefined);+ message.updateMask !== undefined && (obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask)));+ return obj;+ },++ fromPartial(object: DeepPartial<UpdateWebhookRequest>): UpdateWebhookRequest {+ const message = createBaseUpdateWebhookRequest();+ message.project = object.project ?? "";+ message.webhook = (object.webhook !== undefined && object.webhook !== null)+ ? Webhook.fromPartial(object.webhook)+ : undefined;+ message.updateMask = object.updateMask ?? undefined;+ return message;+ },+};++function createBaseRemoveWebhookRequest(): RemoveWebhookRequest {+ return { project: "", webhook: undefined };+}++export const RemoveWebhookRequest = {+ encode(message: RemoveWebhookRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.project !== "") {+ writer.uint32(10).string(message.project);+ }+ if (message.webhook !== undefined) {+ Webhook.encode(message.webhook, writer.uint32(18).fork()).ldelim();+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): RemoveWebhookRequest {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseRemoveWebhookRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ message.project = reader.string();+ break;+ case 2:+ message.webhook = Webhook.decode(reader, reader.uint32());+ break;+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(object: any): RemoveWebhookRequest {+ return {+ project: isSet(object.project) ? String(object.project) : "",+ webhook: isSet(object.webhook) ? Webhook.fromJSON(object.webhook) : undefined,+ };+ },++ toJSON(message: RemoveWebhookRequest): unknown {+ const obj: any = {};+ message.project !== undefined && (obj.project = message.project);+ message.webhook !== undefined && (obj.webhook = message.webhook ? Webhook.toJSON(message.webhook) : undefined);+ return obj;+ },++ fromPartial(object: DeepPartial<RemoveWebhookRequest>): RemoveWebhookRequest {+ const message = createBaseRemoveWebhookRequest();+ message.project = object.project ?? "";+ message.webhook = (object.webhook !== undefined && object.webhook !== null)+ ? Webhook.fromPartial(object.webhook)+ : undefined;+ return message;+ },+};++function createBaseTestWebhookRequest(): TestWebhookRequest {+ return { project: "", webhook: undefined };+}++export const TestWebhookRequest = {+ encode(message: TestWebhookRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.project !== "") {+ writer.uint32(10).string(message.project);+ }+ if (message.webhook !== undefined) {+ Webhook.encode(message.webhook, writer.uint32(18).fork()).ldelim();+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): TestWebhookRequest {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseTestWebhookRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ message.project = reader.string();+ break;+ case 2:+ message.webhook = Webhook.decode(reader, reader.uint32());+ break;+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(object: any): TestWebhookRequest {+ return {+ project: isSet(object.project) ? String(object.project) : "",+ webhook: isSet(object.webhook) ? Webhook.fromJSON(object.webhook) : undefined,+ };+ },++ toJSON(message: TestWebhookRequest): unknown {+ const obj: any = {};+ message.project !== undefined && (obj.project = message.project);+ message.webhook !== undefined && (obj.webhook = message.webhook ? Webhook.toJSON(message.webhook) : undefined);+ return obj;+ },++ fromPartial(object: DeepPartial<TestWebhookRequest>): TestWebhookRequest {+ const message = createBaseTestWebhookRequest();+ message.project = object.project ?? "";+ message.webhook = (object.webhook !== undefined && object.webhook !== null)+ ? Webhook.fromPartial(object.webhook)+ : undefined;+ return message;+ },+};++function createBaseTestWebhookResponse(): TestWebhookResponse {+ return { error: "" };+}++export const TestWebhookResponse = {+ encode(message: TestWebhookResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.error !== "") {+ writer.uint32(10).string(message.error);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): TestWebhookResponse {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseTestWebhookResponse();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ message.error = reader.string();+ break;+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(object: any): TestWebhookResponse {+ return { error: isSet(object.error) ? String(object.error) : "" };+ },++ toJSON(message: TestWebhookResponse): unknown {+ const obj: any = {};+ message.error !== undefined && (obj.error = message.error);+ return obj;+ },++ fromPartial(object: DeepPartial<TestWebhookResponse>): TestWebhookResponse {+ const message = createBaseTestWebhookResponse();+ message.error = object.error ?? "";+ return message;+ },+};++function createBaseWebhook(): Webhook {+ return { type: 0, title: "", url: "", notificationTypes: [] };+}++export const Webhook = {+ encode(message: Webhook, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.type !== 0) {+ writer.uint32(8).int32(message.type);+ }+ if (message.title !== "") {+ writer.uint32(18).string(message.title);+ }+ if (message.url !== "") {+ writer.uint32(26).string(message.url);+ }+ writer.uint32(34).fork();+ for (const v of message.notificationTypes) {+ writer.int32(v);+ }+ writer.ldelim();+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): Webhook {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseWebhook();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ message.type = reader.int32() as any;+ break;+ case 2:+ message.title = reader.string();+ break;+ case 3:+ message.url = reader.string();+ break;+ case 4:+ if ((tag & 7) === 2) {+ const end2 = reader.uint32() + reader.pos;+ while (reader.pos < end2) {+ message.notificationTypes.push(reader.int32() as any);+ }+ } else {+ message.notificationTypes.push(reader.int32() as any);+ }+ break;+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(object: any): Webhook {+ return {+ type: isSet(object.type) ? webhook_TypeFromJSON(object.type) : 0,+ title: isSet(object.title) ? String(object.title) : "",+ url: isSet(object.url) ? String(object.url) : "",+ notificationTypes: Array.isArray(object?.notificationTypes)+ ? object.notificationTypes.map((e: any) => activity_TypeFromJSON(e))+ : [],+ };+ },++ toJSON(message: Webhook): unknown {+ const obj: any = {};+ message.type !== undefined && (obj.type = webhook_TypeToJSON(message.type));+ message.title !== undefined && (obj.title = message.title);+ message.url !== undefined && (obj.url = message.url);+ if (message.notificationTypes) {+ obj.notificationTypes = message.notificationTypes.map((e) => activity_TypeToJSON(e));+ } else {+ obj.notificationTypes = [];+ }+ return obj;+ },++ fromPartial(object: DeepPartial<Webhook>): Webhook {+ const message = createBaseWebhook();+ message.type = object.type ?? 0;+ message.title = object.title ?? "";+ message.url = object.url ?? "";+ message.notificationTypes = object.notificationTypes?.map((e) => e) || [];+ return message;+ },+};+function createBaseReview(): Review {return {name: "",@@ -2391,6 +3122,45 @@ export const LabelSelectorRequirement = {},};+function createBaseActivity(): Activity {+ return {};+}++export const Activity = {+ encode(_: Activity, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): Activity {+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseActivity();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ default:+ reader.skipType(tag & 7);+ break;+ }+ }+ return message;+ },++ fromJSON(_: any): Activity {+ return {};+ },++ toJSON(_: Activity): unknown {+ const obj: any = {};+ return obj;+ },++ fromPartial(_: DeepPartial<Activity>): Activity {+ const message = createBaseActivity();+ return message;+ },+};+export type ProjectServiceDefinition = typeof ProjectServiceDefinition;export const ProjectServiceDefinition = {name: "ProjectService",@@ -2508,6 +3278,38 @@ export const ProjectServiceDefinition = {responseStream: false,options: {},},+ addWebhook: {+ name: "AddWebhook",+ requestType: AddWebhookRequest,+ requestStream: false,+ responseType: Project,+ responseStream: false,+ options: {},+ },+ updateWebhook: {+ name: "UpdateWebhook",+ requestType: UpdateWebhookRequest,+ requestStream: false,+ responseType: Project,+ responseStream: false,+ options: {},+ },+ removeWebhook: {+ name: "RemoveWebhook",+ requestType: RemoveWebhookRequest,+ requestStream: false,+ responseType: Project,+ responseStream: false,+ options: {},+ },+ testWebhook: {+ name: "TestWebhook",+ requestType: TestWebhookRequest,+ requestStream: false,+ responseType: TestWebhookResponse,+ responseStream: false,+ options: {},+ },},} as const;@@ -2544,6 +3346,13 @@ export interface ProjectServiceImplementation<CallContextExt = {}> {request: UpdateDeploymentConfigRequest,context: CallContext & CallContextExt,): Promise<DeepPartial<DeploymentConfig>>;+ addWebhook(request: AddWebhookRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Project>>;+ updateWebhook(request: UpdateWebhookRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Project>>;+ removeWebhook(request: RemoveWebhookRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Project>>;+ testWebhook(+ request: TestWebhookRequest,+ context: CallContext & CallContextExt,+ ): Promise<DeepPartial<TestWebhookResponse>>;}export interface ProjectServiceClient<CallOptionsExt = {}> {@@ -2579,6 +3388,13 @@ export interface ProjectServiceClient<CallOptionsExt = {}> {request: DeepPartial<UpdateDeploymentConfigRequest>,options?: CallOptions & CallOptionsExt,): Promise<DeploymentConfig>;+ addWebhook(request: DeepPartial<AddWebhookRequest>, options?: CallOptions & CallOptionsExt): Promise<Project>;+ updateWebhook(request: DeepPartial<UpdateWebhookRequest>, options?: CallOptions & CallOptionsExt): Promise<Project>;+ removeWebhook(request: DeepPartial<RemoveWebhookRequest>, options?: CallOptions & CallOptionsExt): Promise<Project>;+ testWebhook(+ request: DeepPartial<TestWebhookRequest>,+ options?: CallOptions & CallOptionsExt,+ ): Promise<TestWebhookResponse>;}type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex ad94fd2452..2a35fb31c2 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -188,6 +188,8 @@- [OrgPolicyService](#bytebase-v1-OrgPolicyService)- [v1/project_service.proto](#v1_project_service-proto)+ - [Activity](#bytebase-v1-Activity)+ - [AddWebhookRequest](#bytebase-v1-AddWebhookRequest)- [BatchUpdateReviewsRequest](#bytebase-v1-BatchUpdateReviewsRequest)- [BatchUpdateReviewsResponse](#bytebase-v1-BatchUpdateReviewsResponse)- [Binding](#bytebase-v1-Binding)@@ -207,15 +209,21 @@- [ListReviewsRequest](#bytebase-v1-ListReviewsRequest)- [ListReviewsResponse](#bytebase-v1-ListReviewsResponse)- [Project](#bytebase-v1-Project)+ - [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest)- [Review](#bytebase-v1-Review)- [Schedule](#bytebase-v1-Schedule)- [ScheduleDeployment](#bytebase-v1-ScheduleDeployment)- [SetIamPolicyRequest](#bytebase-v1-SetIamPolicyRequest)+ - [TestWebhookRequest](#bytebase-v1-TestWebhookRequest)+ - [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)- [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)- [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest)- [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest)- [UpdateReviewRequest](#bytebase-v1-UpdateReviewRequest)+ - [UpdateWebhookRequest](#bytebase-v1-UpdateWebhookRequest)+ - [Webhook](#bytebase-v1-Webhook)+ - [Activity.Type](#bytebase-v1-Activity-Type)- [LgtmCheck](#bytebase-v1-LgtmCheck)- [OperatorType](#bytebase-v1-OperatorType)- [ProjectRole](#bytebase-v1-ProjectRole)@@ -224,6 +232,7 @@- [SchemaVersion](#bytebase-v1-SchemaVersion)- [TenantMode](#bytebase-v1-TenantMode)- [Visibility](#bytebase-v1-Visibility)+ - [Webhook.Type](#bytebase-v1-Webhook-Type)- [Workflow](#bytebase-v1-Workflow)- [ProjectService](#bytebase-v1-ProjectService)@@ -2828,6 +2837,32 @@ The policy's `name` field is used to identify the instance to update. Format+<a name="bytebase-v1-Activity"></a>++### Activity+TODO(zp): move to activity later.+++++++<a name="bytebase-v1-AddWebhookRequest"></a>++### AddWebhookRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| project | [string](#string) | | The name of the project to add the webhook to. Format: projects/{project} |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to add. |++++++<a name="bytebase-v1-BatchUpdateReviewsRequest"></a>### BatchUpdateReviewsRequest@@ -3139,6 +3174,23 @@ When paginating, all other parameters provided to `ListReviews` must match the c| schema_version | [SchemaVersion](#bytebase-v1-SchemaVersion) | | || schema_change | [SchemaChange](#bytebase-v1-SchemaChange) | | || lgtm_check | [LgtmCheck](#bytebase-v1-LgtmCheck) | | |+| webhooks | [Webhook](#bytebase-v1-Webhook) | repeated | |+++++++<a name="bytebase-v1-RemoveWebhookRequest"></a>++### RemoveWebhookRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| project | [string](#string) | | The name of the project to remove the webhook from. Format: projects/{project} |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to remove. Identified by its url. |@@ -3217,6 +3269,37 @@ When paginating, all other parameters provided to `ListReviews` must match the c+<a name="bytebase-v1-TestWebhookRequest"></a>++### TestWebhookRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| project | [string](#string) | | The name of the project which owns the webhook to test. Format: projects/{project} |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to test. Identified by its url. |+++++++<a name="bytebase-v1-TestWebhookResponse"></a>++### TestWebhookResponse++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| error | [string](#string) | | The result of the test, empty if the test is successful. |++++++<a name="bytebase-v1-UndeleteProjectRequest"></a>### UndeleteProjectRequest@@ -3282,9 +3365,81 @@ The review's `name` field is used to identify the review to update. Format:++<a name="bytebase-v1-UpdateWebhookRequest"></a>++### UpdateWebhookRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| project | [string](#string) | | The name of the project which owns the webhook to be updated. Format: projects/{project} |+| webhook | [Webhook](#bytebase-v1-Webhook) | | The webhook to modify. Identified by its url. |+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |+++++++<a name="bytebase-v1-Webhook"></a>++### Webhook++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| type | [Webhook.Type](#bytebase-v1-Webhook-Type) | | type is the type of the webhook. |+| title | [string](#string) | | title is the title of the webhook. |+| url | [string](#string) | | url is the url of the webhook, should be unique within the project. |+| notification_types | [Activity.Type](#bytebase-v1-Activity-Type) | repeated | notification_types is the list of activities types that the webhook is interested in. Bytebase will only send notifications to the webhook if the activity type is in the list. It should not be empty, and shoule be a subset of the following: - TYPE_ISSUE_CREATED - TYPE_ISSUE_STATUS_UPDATE - TYPE_ISSUE_PIPELINE_STAGE_UPDATE - TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE - TYPE_ISSUE_FIELD_UPDATE - TYPE_ISSUE_COMMENT_CREAT |++++++<a name="bytebase-v1-Activity-Type"></a>++### Activity.Type+++| Name | Number | Description |+| ---- | ------ | ----------- |+| TYPE_UNSPECIFIED | 0 | |+| TYPE_ISSUE_CREATE | 1 | Issue related activity types.++TYPE_ISSUE_CREATE represents creating an issue. |+| TYPE_ISSUE_COMMENT_CREATE | 2 | TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue. |+| TYPE_ISSUE_FIELD_UPDATE | 3 | TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, assignee, etc. |+| TYPE_ISSUE_STATUS_UPDATE | 4 | TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now. |+| TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE | 5 | TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now. |+| TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE | 6 | TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now. |+| TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT | 7 | TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT represents the VCS trigger to commit a file to update the task statement. |+| TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE | 8 | TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement. |+| TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE | 9 | TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time. |+| TYPE_MEMBER_CREATE | 10 | Member related activity types.++TYPE_MEMBER_CREATE represents creating a members. |+| TYPE_MEMBER_ROLE_UPDATE | 11 | TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER. |+| TYPE_MEMBER_ACTIVATE | 12 | TYPE_MEMBER_ACTIVATE represents activating a deactivated member. |+| TYPE_MEMBER_DEACTIVATE | 13 | TYPE_MEMBER_DEACTIVATE represents deactivating an active member. |+| TYPE_PROJECT_REPOSITORY_PUSH | 14 | Project related activity types.++TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository. |+| TYPE_PROJECT_DATABASE_TRANSFER | 15 | TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another. |+| TYPE_PROJECT_MEMBER_CREATE | 16 | TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project. |+| TYPE_PROJECT_MEMBER_DELETE | 17 | TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project. |+| TYPE_PROJECT_MEMBER_ROLE_UPDATE | 18 | TYPE_PROJECT_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER. |+| TYPE_SQL_EDITOR_QUERY | 19 | SQL Editor related activity types. TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor. |+| TYPE_DATABASE_RECOVERY_PITR_DONE | 20 | Database related activity types. TYPE_DATABASE_RECOVERY_PITR_DONE represents the database recovery to a point in time is done. |+++<a name="bytebase-v1-LgtmCheck"></a>### LgtmCheck@@ -3391,6 +3546,24 @@ The review's `name` field is used to identify the review to update. Format:+<a name="bytebase-v1-Webhook-Type"></a>++### Webhook.Type+++| Name | Number | Description |+| ---- | ------ | ----------- |+| TYPE_UNSPECIFIED | 0 | |+| TYPE_SLACK | 1 | |+| TYPE_DISCORD | 2 | |+| TYPE_TEAMS | 3 | |+| TYPE_DINGTALK | 4 | |+| TYPE_FEISHU | 5 | |+| TYPE_WECOM | 6 | |+| TYPE_CUSTOM | 7 | |+++<a name="bytebase-v1-Workflow"></a>### Workflow@@ -3429,6 +3602,10 @@ The review's `name` field is used to identify the review to update. Format:| BatchUpdateReviews | [BatchUpdateReviewsRequest](#bytebase-v1-BatchUpdateReviewsRequest) | [BatchUpdateReviewsResponse](#bytebase-v1-BatchUpdateReviewsResponse) | || GetDeploymentConfig | [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest) | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | || UpdateDeploymentConfig | [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest) | [DeploymentConfig](#bytebase-v1-DeploymentConfig) | |+| AddWebhook | [AddWebhookRequest](#bytebase-v1-AddWebhookRequest) | [Project](#bytebase-v1-Project) | |+| UpdateWebhook | [UpdateWebhookRequest](#bytebase-v1-UpdateWebhookRequest) | [Project](#bytebase-v1-Project) | |+| RemoveWebhook | [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest) | [Project](#bytebase-v1-Project) | |+| TestWebhook | [TestWebhookRequest](#bytebase-v1-TestWebhookRequest) | [TestWebhookResponse](#bytebase-v1-TestWebhookResponse) | |diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.goindex 1064da581d..099db455c9 100644--- a/proto/generated-go/v1/project_service.pb.go+++ b/proto/generated-go/v1/project_service.pb.go@@ -474,6 +474,201 @@ func (OperatorType) EnumDescriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{8}}+type Webhook_Type int32++const (+ Webhook_TYPE_UNSPECIFIED Webhook_Type = 0+ Webhook_TYPE_SLACK Webhook_Type = 1+ Webhook_TYPE_DISCORD Webhook_Type = 2+ Webhook_TYPE_TEAMS Webhook_Type = 3+ Webhook_TYPE_DINGTALK Webhook_Type = 4+ Webhook_TYPE_FEISHU Webhook_Type = 5+ Webhook_TYPE_WECOM Webhook_Type = 6+ Webhook_TYPE_CUSTOM Webhook_Type = 7+)++// Enum value maps for Webhook_Type.+var (+ Webhook_Type_name = map[int32]string{+ 0: "TYPE_UNSPECIFIED",+ 1: "TYPE_SLACK",+ 2: "TYPE_DISCORD",+ 3: "TYPE_TEAMS",+ 4: "TYPE_DINGTALK",+ 5: "TYPE_FEISHU",+ 6: "TYPE_WECOM",+ 7: "TYPE_CUSTOM",+ }+ Webhook_Type_value = map[string]int32{+ "TYPE_UNSPECIFIED": 0,+ "TYPE_SLACK": 1,+ "TYPE_DISCORD": 2,+ "TYPE_TEAMS": 3,+ "TYPE_DINGTALK": 4,+ "TYPE_FEISHU": 5,+ "TYPE_WECOM": 6,+ "TYPE_CUSTOM": 7,+ }+)++func (x Webhook_Type) Enum() *Webhook_Type {+ p := new(Webhook_Type)+ *p = x+ return p+}++func (x Webhook_Type) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (Webhook_Type) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_project_service_proto_enumTypes[9].Descriptor()+}++func (Webhook_Type) Type() protoreflect.EnumType {+ return &file_v1_project_service_proto_enumTypes[9]+}++func (x Webhook_Type) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use Webhook_Type.Descriptor instead.+func (Webhook_Type) EnumDescriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{25, 0}+}++type Activity_Type int32++const (+ Activity_TYPE_UNSPECIFIED Activity_Type = 0+ // Issue related activity types.+ //+ // TYPE_ISSUE_CREATE represents creating an issue.+ Activity_TYPE_ISSUE_CREATE Activity_Type = 1+ // TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue.+ Activity_TYPE_ISSUE_COMMENT_CREATE Activity_Type = 2+ // TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, assignee, etc.+ Activity_TYPE_ISSUE_FIELD_UPDATE Activity_Type = 3+ // TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now.+ Activity_TYPE_ISSUE_STATUS_UPDATE Activity_Type = 4+ // TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now.+ Activity_TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE Activity_Type = 5+ // TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now.+ Activity_TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE Activity_Type = 6+ // TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT represents the VCS trigger to commit a file to update the task statement.+ Activity_TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT Activity_Type = 7+ // TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement.+ Activity_TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE Activity_Type = 8+ // TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time.+ Activity_TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE Activity_Type = 9+ // Member related activity types.+ //+ // TYPE_MEMBER_CREATE represents creating a members.+ Activity_TYPE_MEMBER_CREATE Activity_Type = 10+ // TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER.+ Activity_TYPE_MEMBER_ROLE_UPDATE Activity_Type = 11+ // TYPE_MEMBER_ACTIVATE represents activating a deactivated member.+ Activity_TYPE_MEMBER_ACTIVATE Activity_Type = 12+ // TYPE_MEMBER_DEACTIVATE represents deactivating an active member.+ Activity_TYPE_MEMBER_DEACTIVATE Activity_Type = 13+ // Project related activity types.+ //+ // TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository.+ Activity_TYPE_PROJECT_REPOSITORY_PUSH Activity_Type = 14+ // TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another.+ Activity_TYPE_PROJECT_DATABASE_TRANSFER Activity_Type = 15+ // TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project.+ Activity_TYPE_PROJECT_MEMBER_CREATE Activity_Type = 16+ // TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project.+ Activity_TYPE_PROJECT_MEMBER_DELETE Activity_Type = 17+ // TYPE_PROJECT_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER.+ Activity_TYPE_PROJECT_MEMBER_ROLE_UPDATE Activity_Type = 18+ // SQL Editor related activity types.+ // TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.+ Activity_TYPE_SQL_EDITOR_QUERY Activity_Type = 19+ // Database related activity types.+ // TYPE_DATABASE_RECOVERY_PITR_DONE represents the database recovery to a point in time is done.+ Activity_TYPE_DATABASE_RECOVERY_PITR_DONE Activity_Type = 20+)++// Enum value maps for Activity_Type.+var (+ Activity_Type_name = map[int32]string{+ 0: "TYPE_UNSPECIFIED",+ 1: "TYPE_ISSUE_CREATE",+ 2: "TYPE_ISSUE_COMMENT_CREATE",+ 3: "TYPE_ISSUE_FIELD_UPDATE",+ 4: "TYPE_ISSUE_STATUS_UPDATE",+ 5: "TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE",+ 6: "TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE",+ 7: "TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT",+ 8: "TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE",+ 9: "TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE",+ 10: "TYPE_MEMBER_CREATE",+ 11: "TYPE_MEMBER_ROLE_UPDATE",+ 12: "TYPE_MEMBER_ACTIVATE",+ 13: "TYPE_MEMBER_DEACTIVATE",+ 14: "TYPE_PROJECT_REPOSITORY_PUSH",+ 15: "TYPE_PROJECT_DATABASE_TRANSFER",+ 16: "TYPE_PROJECT_MEMBER_CREATE",+ 17: "TYPE_PROJECT_MEMBER_DELETE",+ 18: "TYPE_PROJECT_MEMBER_ROLE_UPDATE",+ 19: "TYPE_SQL_EDITOR_QUERY",+ 20: "TYPE_DATABASE_RECOVERY_PITR_DONE",+ }+ Activity_Type_value = map[string]int32{+ "TYPE_UNSPECIFIED": 0,+ "TYPE_ISSUE_CREATE": 1,+ "TYPE_ISSUE_COMMENT_CREATE": 2,+ "TYPE_ISSUE_FIELD_UPDATE": 3,+ "TYPE_ISSUE_STATUS_UPDATE": 4,+ "TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE": 5,+ "TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE": 6,+ "TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT": 7,+ "TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE": 8,+ "TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE": 9,+ "TYPE_MEMBER_CREATE": 10,+ "TYPE_MEMBER_ROLE_UPDATE": 11,+ "TYPE_MEMBER_ACTIVATE": 12,+ "TYPE_MEMBER_DEACTIVATE": 13,+ "TYPE_PROJECT_REPOSITORY_PUSH": 14,+ "TYPE_PROJECT_DATABASE_TRANSFER": 15,+ "TYPE_PROJECT_MEMBER_CREATE": 16,+ "TYPE_PROJECT_MEMBER_DELETE": 17,+ "TYPE_PROJECT_MEMBER_ROLE_UPDATE": 18,+ "TYPE_SQL_EDITOR_QUERY": 19,+ "TYPE_DATABASE_RECOVERY_PITR_DONE": 20,+ }+)++func (x Activity_Type) Enum() *Activity_Type {+ p := new(Activity_Type)+ *p = x+ return p+}++func (x Activity_Type) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (Activity_Type) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_project_service_proto_enumTypes[10].Descriptor()+}++func (Activity_Type) Type() protoreflect.EnumType {+ return &file_v1_project_service_proto_enumTypes[10]+}++func (x Activity_Type) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use Activity_Type.Descriptor instead.+func (Activity_Type) EnumDescriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{33, 0}+}+type GetProjectRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1097,6 +1292,7 @@ type Project struct {SchemaVersion SchemaVersion `protobuf:"varint,10,opt,name=schema_version,json=schemaVersion,proto3,enum=bytebase.v1.SchemaVersion" json:"schema_version,omitempty"`SchemaChange SchemaChange `protobuf:"varint,11,opt,name=schema_change,json=schemaChange,proto3,enum=bytebase.v1.SchemaChange" json:"schema_change,omitempty"`LgtmCheck LgtmCheck `protobuf:"varint,12,opt,name=lgtm_check,json=lgtmCheck,proto3,enum=bytebase.v1.LgtmCheck" json:"lgtm_check,omitempty"`+ Webhooks []*Webhook `protobuf:"bytes,13,rep,name=webhooks,proto3" json:"webhooks,omitempty"`}func (x *Project) Reset() {@@ -1215,6 +1411,13 @@ func (x *Project) GetLgtmCheck() LgtmCheck {return LgtmCheck_LGTM_CHECK_UNSPECIFIED}+func (x *Project) GetWebhooks() []*Webhook {+ if x != nil {+ return x.Webhooks+ }+ return nil+}+type IamPolicy struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1676,6 +1879,379 @@ func (x *BatchUpdateReviewsResponse) GetReviews() []*Review {return nil}+type AddWebhookRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the project to add the webhook to.+ // Format: projects/{project}+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`+ // The webhook to add.+ Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`+}++func (x *AddWebhookRequest) Reset() {+ *x = AddWebhookRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[20]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *AddWebhookRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*AddWebhookRequest) ProtoMessage() {}++func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[20]+ 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 AddWebhookRequest.ProtoReflect.Descriptor instead.+func (*AddWebhookRequest) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{20}+}++func (x *AddWebhookRequest) GetProject() string {+ if x != nil {+ return x.Project+ }+ return ""+}++func (x *AddWebhookRequest) GetWebhook() *Webhook {+ if x != nil {+ return x.Webhook+ }+ return nil+}++type UpdateWebhookRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the project which owns the webhook to be updated.+ // Format: projects/{project}+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`+ // The webhook to modify.+ // Identified by its url.+ Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`+ // The list of fields to update.+ UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`+}++func (x *UpdateWebhookRequest) Reset() {+ *x = UpdateWebhookRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[21]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *UpdateWebhookRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*UpdateWebhookRequest) ProtoMessage() {}++func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[21]+ 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 UpdateWebhookRequest.ProtoReflect.Descriptor instead.+func (*UpdateWebhookRequest) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{21}+}++func (x *UpdateWebhookRequest) GetProject() string {+ if x != nil {+ return x.Project+ }+ return ""+}++func (x *UpdateWebhookRequest) GetWebhook() *Webhook {+ if x != nil {+ return x.Webhook+ }+ return nil+}++func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask {+ if x != nil {+ return x.UpdateMask+ }+ return nil+}++type RemoveWebhookRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the project to remove the webhook from.+ // Format: projects/{project}+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`+ // The webhook to remove. Identified by its url.+ Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`+}++func (x *RemoveWebhookRequest) Reset() {+ *x = RemoveWebhookRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[22]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *RemoveWebhookRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*RemoveWebhookRequest) ProtoMessage() {}++func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[22]+ 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 RemoveWebhookRequest.ProtoReflect.Descriptor instead.+func (*RemoveWebhookRequest) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{22}+}++func (x *RemoveWebhookRequest) GetProject() string {+ if x != nil {+ return x.Project+ }+ return ""+}++func (x *RemoveWebhookRequest) GetWebhook() *Webhook {+ if x != nil {+ return x.Webhook+ }+ return nil+}++type TestWebhookRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the project which owns the webhook to test.+ // Format: projects/{project}+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`+ // The webhook to test. Identified by its url.+ Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`+}++func (x *TestWebhookRequest) Reset() {+ *x = TestWebhookRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[23]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *TestWebhookRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TestWebhookRequest) ProtoMessage() {}++func (x *TestWebhookRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[23]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use TestWebhookRequest.ProtoReflect.Descriptor instead.+func (*TestWebhookRequest) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{23}+}++func (x *TestWebhookRequest) GetProject() string {+ if x != nil {+ return x.Project+ }+ return ""+}++func (x *TestWebhookRequest) GetWebhook() *Webhook {+ if x != nil {+ return x.Webhook+ }+ return nil+}++type TestWebhookResponse struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The result of the test, empty if the test is successful.+ Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`+}++func (x *TestWebhookResponse) Reset() {+ *x = TestWebhookResponse{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[24]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *TestWebhookResponse) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*TestWebhookResponse) ProtoMessage() {}++func (x *TestWebhookResponse) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[24]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use TestWebhookResponse.ProtoReflect.Descriptor instead.+func (*TestWebhookResponse) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{24}+}++func (x *TestWebhookResponse) GetError() string {+ if x != nil {+ return x.Error+ }+ return ""+}++type Webhook struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // type is the type of the webhook.+ Type Webhook_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.Webhook_Type" json:"type,omitempty"`+ // title is the title of the webhook.+ Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`+ // url is the url of the webhook, should be unique within the project.+ Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`+ // notification_types is the list of activities types that the webhook is interested in.+ // Bytebase will only send notifications to the webhook if the activity type is in the list.+ // It should not be empty, and shoule be a subset of the following:+ // - TYPE_ISSUE_CREATED+ // - TYPE_ISSUE_STATUS_UPDATE+ // - TYPE_ISSUE_PIPELINE_STAGE_UPDATE+ // - TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE+ // - TYPE_ISSUE_FIELD_UPDATE+ // - TYPE_ISSUE_COMMENT_CREAT+ NotificationTypes []Activity_Type `protobuf:"varint,4,rep,packed,name=notification_types,json=notificationTypes,proto3,enum=bytebase.v1.Activity_Type" json:"notification_types,omitempty"`+}++func (x *Webhook) Reset() {+ *x = Webhook{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[25]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *Webhook) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*Webhook) ProtoMessage() {}++func (x *Webhook) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[25]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use Webhook.ProtoReflect.Descriptor instead.+func (*Webhook) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{25}+}++func (x *Webhook) GetType() Webhook_Type {+ if x != nil {+ return x.Type+ }+ return Webhook_TYPE_UNSPECIFIED+}++func (x *Webhook) GetTitle() string {+ if x != nil {+ return x.Title+ }+ return ""+}++func (x *Webhook) GetUrl() string {+ if x != nil {+ return x.Url+ }+ return ""+}++func (x *Webhook) GetNotificationTypes() []Activity_Type {+ if x != nil {+ return x.NotificationTypes+ }+ return nil+}+type Review struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -1705,7 +2281,7 @@ type Review struct {func (x *Review) Reset() {*x = Review{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[20]+ mi := &file_v1_project_service_proto_msgTypes[26]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1718,7 +2294,7 @@ func (x *Review) String() string {func (*Review) ProtoMessage() {}func (x *Review) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[20]+ mi := &file_v1_project_service_proto_msgTypes[26]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1731,7 +2307,7 @@ func (x *Review) ProtoReflect() protoreflect.Message {// Deprecated: Use Review.ProtoReflect.Descriptor instead.func (*Review) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{20}+ return file_v1_project_service_proto_rawDescGZIP(), []int{26}}func (x *Review) GetName() string {@@ -1827,7 +2403,7 @@ type DeploymentConfig struct {func (x *DeploymentConfig) Reset() {*x = DeploymentConfig{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[21]+ mi := &file_v1_project_service_proto_msgTypes[27]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1840,7 +2416,7 @@ func (x *DeploymentConfig) String() string {func (*DeploymentConfig) ProtoMessage() {}func (x *DeploymentConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[21]+ mi := &file_v1_project_service_proto_msgTypes[27]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1853,7 +2429,7 @@ func (x *DeploymentConfig) ProtoReflect() protoreflect.Message {// Deprecated: Use DeploymentConfig.ProtoReflect.Descriptor instead.func (*DeploymentConfig) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{21}+ return file_v1_project_service_proto_rawDescGZIP(), []int{27}}func (x *DeploymentConfig) GetName() string {@@ -1888,7 +2464,7 @@ type Schedule struct {func (x *Schedule) Reset() {*x = Schedule{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[22]+ mi := &file_v1_project_service_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1901,7 +2477,7 @@ func (x *Schedule) String() string {func (*Schedule) ProtoMessage() {}func (x *Schedule) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[22]+ mi := &file_v1_project_service_proto_msgTypes[28]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1914,7 +2490,7 @@ func (x *Schedule) ProtoReflect() protoreflect.Message {// Deprecated: Use Schedule.ProtoReflect.Descriptor instead.func (*Schedule) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{22}+ return file_v1_project_service_proto_rawDescGZIP(), []int{28}}func (x *Schedule) GetDeployments() []*ScheduleDeployment {@@ -1937,7 +2513,7 @@ type ScheduleDeployment struct {func (x *ScheduleDeployment) Reset() {*x = ScheduleDeployment{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[23]+ mi := &file_v1_project_service_proto_msgTypes[29]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1950,7 +2526,7 @@ func (x *ScheduleDeployment) String() string {func (*ScheduleDeployment) ProtoMessage() {}func (x *ScheduleDeployment) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[23]+ mi := &file_v1_project_service_proto_msgTypes[29]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1963,7 +2539,7 @@ func (x *ScheduleDeployment) ProtoReflect() protoreflect.Message {// Deprecated: Use ScheduleDeployment.ProtoReflect.Descriptor instead.func (*ScheduleDeployment) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{23}+ return file_v1_project_service_proto_rawDescGZIP(), []int{29}}func (x *ScheduleDeployment) GetTitle() string {@@ -1991,7 +2567,7 @@ type DeploymentSpec struct {func (x *DeploymentSpec) Reset() {*x = DeploymentSpec{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[24]+ mi := &file_v1_project_service_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2004,7 +2580,7 @@ func (x *DeploymentSpec) String() string {func (*DeploymentSpec) ProtoMessage() {}func (x *DeploymentSpec) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[24]+ mi := &file_v1_project_service_proto_msgTypes[30]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2017,7 +2593,7 @@ func (x *DeploymentSpec) ProtoReflect() protoreflect.Message {// Deprecated: Use DeploymentSpec.ProtoReflect.Descriptor instead.func (*DeploymentSpec) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{24}+ return file_v1_project_service_proto_rawDescGZIP(), []int{30}}func (x *DeploymentSpec) GetLabelSelector() *LabelSelector {@@ -2038,7 +2614,7 @@ type LabelSelector struct {func (x *LabelSelector) Reset() {*x = LabelSelector{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[25]+ mi := &file_v1_project_service_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2051,7 +2627,7 @@ func (x *LabelSelector) String() string {func (*LabelSelector) ProtoMessage() {}func (x *LabelSelector) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[25]+ mi := &file_v1_project_service_proto_msgTypes[31]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2064,7 +2640,7 @@ func (x *LabelSelector) ProtoReflect() protoreflect.Message {// Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.func (*LabelSelector) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{25}+ return file_v1_project_service_proto_rawDescGZIP(), []int{31}}func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement {@@ -2087,7 +2663,7 @@ type LabelSelectorRequirement struct {func (x *LabelSelectorRequirement) Reset() {*x = LabelSelectorRequirement{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[26]+ mi := &file_v1_project_service_proto_msgTypes[32]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2100,7 +2676,7 @@ func (x *LabelSelectorRequirement) String() string {func (*LabelSelectorRequirement) ProtoMessage() {}func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[26]+ mi := &file_v1_project_service_proto_msgTypes[32]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2113,7 +2689,7 @@ func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message {// Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{26}+ return file_v1_project_service_proto_rawDescGZIP(), []int{32}}func (x *LabelSelectorRequirement) GetKey() string {@@ -2137,6 +2713,45 @@ func (x *LabelSelectorRequirement) GetValues() []string {return nil}+// TODO(zp): move to activity later.+type Activity struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields+}++func (x *Activity) Reset() {+ *x = Activity{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_project_service_proto_msgTypes[33]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *Activity) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*Activity) ProtoMessage() {}++func (x *Activity) ProtoReflect() protoreflect.Message {+ mi := &file_v1_project_service_proto_msgTypes[33]+ 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 Activity.ProtoReflect.Descriptor instead.+func (*Activity) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{33}+}+var File_v1_project_service_proto protoreflect.FileDescriptorvar file_v1_project_service_proto_rawDesc = []byte{@@ -2214,7 +2829,7 @@ var file_v1_project_service_proto_rawDesc = []byte{0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,0x69, 0x67, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x22, 0x91, 0x04, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04,+ 0x22, 0xc3, 0x04, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04,0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,0x12, 0x16, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,0x41, 0x01, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,@@ -2247,283 +2862,419 @@ var file_v1_project_service_proto_rawDesc = []byte{0x0a, 0x6c, 0x67, 0x74, 0x6d, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28,0x0e, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,0x4c, 0x67, 0x74, 0x6d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x09, 0x6c, 0x67, 0x74, 0x6d, 0x43,- 0x68, 0x65, 0x63, 0x6b, 0x22, 0x3d, 0x0a, 0x09, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,- 0x79, 0x12, 0x30, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69,- 0x6e, 0x67, 0x73, 0x22, 0x51, 0x0a, 0x07, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2c,- 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07,- 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d,- 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0x2c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69,- 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 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,+ 0x68, 0x65, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73,+ 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65,+ 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x3d, 0x0a, 0x09, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,+ 0x69, 0x63, 0x79, 0x12, 0x30, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18,+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x62, 0x69, 0x6e,+ 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x51, 0x0a, 0x07, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,+ 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x18,+ 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,+ 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0x2c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,+ 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,+ 0x01, 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, 0x85, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,+ 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 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, 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, 0x85, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76,- 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 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,- 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x3b, 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, 0x52, 0x0a,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x77, 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,- 0x42, 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, 0x04, 0xe2, 0x41, 0x01, 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, 0xac, 0x03, 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,- 0x16, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,- 0x01, 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, 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, 0x20, 0x0a,- 0x0b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x18, 0x08, 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, 0x09, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 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, 0x04, 0xe2, 0x41, 0x01, 0x03,- 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0b,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,+ 0x77, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12,+ 0x3b, 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,+ 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x77, 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, 0x42, 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, 0x04, 0xe2, 0x41, 0x01, 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, 0x69, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0xa9, 0x01,+ 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f,+ 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2,+ 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3b, 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, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22,- 0x6f, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x31, 0x0a,- 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63,- 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,- 0x22, 0x4d, 0x0a, 0x08, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x0b,- 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,- 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,- 0x5b, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x73,- 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,- 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x53, 0x0a, 0x0e,- 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x41,- 0x0a, 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,- 0x6f, 0x72, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f,- 0x72, 0x22, 0x63, 0x0a, 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,- 0x6f, 0x72, 0x12, 0x52, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70, 0x72,- 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65,- 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,- 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65,- 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53,- 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65,- 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70,- 0x65, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76,- 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c,- 0x75, 0x65, 0x73, 0x2a, 0x35, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12,- 0x18, 0x0a, 0x14, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50,- 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x55, 0x49, 0x10,- 0x01, 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02, 0x2a, 0x57, 0x0a, 0x0a, 0x56, 0x69,- 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49,- 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,- 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49,- 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x56,- 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54,- 0x45, 0x10, 0x02, 0x2a, 0x5c, 0x0a, 0x0a, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64,- 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45,- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18,- 0x0a, 0x14, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x49,- 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x45, 0x4e, 0x41,- 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10,- 0x02, 0x2a, 0x4c, 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69,- 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x56, 0x45, 0x52,- 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,- 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10,- 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x4d, 0x41, 0x4e, 0x54, 0x49, 0x43, 0x10, 0x02, 0x2a,- 0x3f, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,- 0x1d, 0x0a, 0x19, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45,- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07,- 0x0a, 0x03, 0x44, 0x44, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x44, 0x4c, 0x10, 0x02,- 0x2a, 0x7d, 0x0a, 0x09, 0x4c, 0x67, 0x74, 0x6d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1a, 0x0a,- 0x16, 0x4c, 0x47, 0x54, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x55, 0x4e, 0x53, 0x50,- 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x47, 0x54,- 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44,- 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x47, 0x54, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b,- 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x02,- 0x12, 0x1d, 0x0a, 0x19, 0x4c, 0x47, 0x54, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x50,- 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x03, 0x2a,- 0x5f, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1c,- 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55,- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12,- 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e,- 0x45, 0x52, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f,- 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x02,- 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, 0x2a, 0x5d, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70,- 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59,- 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,- 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50,- 0x45, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54,- 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x02,- 0x32, 0xa5, 0x0e, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76,- 0x69, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c, 0x0a,- 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,- 0x73, 0x65, 0x22, 0x17, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f,- 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x6a, 0x0a, 0x0d, 0x43,- 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,- 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x20, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17,- 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x8e, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61,+ 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x6c, 0x0a, 0x14, 0x52, 0x65, 0x6d,+ 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x1e, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07,+ 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x6a, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x57,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a,+ 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34, 0x0a,+ 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x22, 0x2b, 0x0a, 0x13, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,+ 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,+ 0x22, 0xd9, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x33, 0x0a, 0x04,+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70,+ 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a,+ 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,+ 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x4f, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,+ 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xe2,+ 0x41, 0x01, 0x06, 0x52, 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x93, 0x01, 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, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x4c,+ 0x41, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49,+ 0x53, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f,+ 0x54, 0x45, 0x41, 0x4d, 0x53, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f,+ 0x44, 0x49, 0x4e, 0x47, 0x54, 0x41, 0x4c, 0x4b, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x46, 0x45, 0x49, 0x53, 0x48, 0x55, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x54,+ 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x43, 0x4f, 0x4d, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x54,+ 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x07, 0x22, 0xac, 0x03, 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, 0x16, 0x0a, 0x03, 0x75,+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 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,+ 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, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62,+ 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x18, 0x08, 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, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 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, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 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, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,+ 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x10, 0x44,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,+ 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x73, 0x63, 0x68,+ 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,+ 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x4d, 0x0a, 0x08,+ 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c,+ 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65,+ 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b,+ 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x5b, 0x0a, 0x12, 0x53,+ 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,+ 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70,+ 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x53, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c,+ 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x41, 0x0a, 0x0e, 0x6c, 0x61,+ 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d,+ 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x63, 0x0a,+ 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x52,+ 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,+ 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c,+ 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,+ 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f,+ 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63,+ 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10,+ 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,+ 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6f,+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22,+ 0xde, 0x05, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0xd1, 0x05, 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, 0x15, 0x0a, 0x11, 0x54,+ 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45,+ 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45,+ 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10,+ 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f,+ 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x1c,+ 0x0a, 0x18, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x53, 0x54, 0x41,+ 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x2b, 0x0a, 0x27,+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c,+ 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,+ 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x05, 0x12, 0x2a, 0x0a, 0x26, 0x54, 0x59, 0x50,+ 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45,+ 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44,+ 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x28, 0x0a, 0x24, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53,+ 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53,+ 0x4b, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x07, 0x12,+ 0x2d, 0x0a, 0x29, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49,+ 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54,+ 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x39,+ 0x0a, 0x35, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x50, 0x49, 0x50,+ 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x45, 0x41, 0x52, 0x4c, 0x49,+ 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45,+ 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x09, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x59, 0x50,+ 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10,+ 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52,+ 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0b, 0x12, 0x18,+ 0x0a, 0x14, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x41, 0x43,+ 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x0c, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x59, 0x50, 0x45,+ 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41,+ 0x54, 0x45, 0x10, 0x0d, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f,+ 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f,+ 0x50, 0x55, 0x53, 0x48, 0x10, 0x0e, 0x12, 0x22, 0x0a, 0x1e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50,+ 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f,+ 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x0f, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,+ 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x10, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,+ 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x11, 0x12, 0x23, 0x0a, 0x1f, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,+ 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x12, 0x12,+ 0x19, 0x0a, 0x15, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x45, 0x44, 0x49, 0x54,+ 0x4f, 0x52, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x13, 0x12, 0x24, 0x0a, 0x20, 0x54, 0x59,+ 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f,+ 0x56, 0x45, 0x52, 0x59, 0x5f, 0x50, 0x49, 0x54, 0x52, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x14,+ 0x2a, 0x35, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x18, 0x0a, 0x14,+ 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x55, 0x49, 0x10, 0x01, 0x12, 0x07,+ 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02, 0x2a, 0x57, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62,+ 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c,+ 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,+ 0x00, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f,+ 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49,+ 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x02,+ 0x2a, 0x5c, 0x0a, 0x0a, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b,+ 0x0a, 0x17, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e,+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x54,+ 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42,+ 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x54, 0x5f,+ 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x4c,+ 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,+ 0x1e, 0x0a, 0x1a, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f,+ 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,+ 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x01, 0x12, 0x0c,+ 0x0a, 0x08, 0x53, 0x45, 0x4d, 0x41, 0x4e, 0x54, 0x49, 0x43, 0x10, 0x02, 0x2a, 0x3f, 0x0a, 0x0c,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x19,+ 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x55, 0x4e,+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44,+ 0x44, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x44, 0x4c, 0x10, 0x02, 0x2a, 0x7d, 0x0a,+ 0x09, 0x4c, 0x67, 0x74, 0x6d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x16, 0x4c, 0x47,+ 0x54, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x47, 0x54, 0x4d, 0x5f, 0x43,+ 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12,+ 0x1c, 0x0a, 0x18, 0x4c, 0x47, 0x54, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x50, 0x52,+ 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1d, 0x0a,+ 0x19, 0x4c, 0x47, 0x54, 0x4d, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x50, 0x52, 0x4f, 0x4a,+ 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x03, 0x2a, 0x5f, 0x0a, 0x0b,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x50,+ 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f,+ 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10,+ 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c,+ 0x45, 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x02, 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, 0x2a, 0x5d,+ 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d,+ 0x0a, 0x19, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a,+ 0x10, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49,+ 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f,+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x02, 0x32, 0x97, 0x12,+ 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,+ 0x12, 0x68, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c, 0x0a, 0x0c, 0x4c, 0x69,+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x17, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x6a, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61,0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72,0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62,0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x22, 0x44, 0xda, 0x41, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28,- 0x3a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x70, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,- 0x6d, 0x70, 0x74, 0x79, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x17, 0x2a, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x77, 0x0a, 0x0f, 0x55, 0x6e,- 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23,- 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c,- 0x65, 0x74, 0x65, 0x12, 0x77, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,- 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x2d, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,- 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x7a, 0x0a, 0x0c,- 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61,- 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d,- 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01,- 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49,- 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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, 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,+ 0x63, 0x74, 0x22, 0x20, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x07, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x12, 0x8e, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22,+ 0x44, 0xda, 0x41, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x70, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,+ 0x79, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17,+ 0x2a, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x77, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x6c,+ 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a,+ 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,+ 0x12, 0x77, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,+ 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,+ 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74,+ 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x7a, 0x0a, 0x0c, 0x53, 0x65, 0x74,+ 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f,+ 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,+ 0x69, 0x63, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 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, 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, 0x8d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70,- 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x7d, 0x12, 0xa2, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65,- 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x37, 0x3a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,- 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 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,+ 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, 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, 0x8d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,+ 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,+ 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64,+ 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d,+ 0x12, 0xa2, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f,+ 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x06,+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f,+ 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x12, 0x72, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x28, 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61,+ 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x7b, 0x0a, 0x0d, 0x55, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x32, 0x26,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x7b, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,+ 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x12, 0x81, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01,+ 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3d,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74,+ 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 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 (@@ -2538,8 +3289,8 @@ func file_v1_project_service_proto_rawDescGZIP() []byte {return file_v1_project_service_proto_rawDescData}-var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)-var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 27)+var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 11)+var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 34)var file_v1_project_service_proto_goTypes = []interface{}{(Workflow)(0), // 0: bytebase.v1.Workflow(Visibility)(0), // 1: bytebase.v1.Visibility@@ -2550,101 +3301,126 @@ var file_v1_project_service_proto_goTypes = []interface{}{(ProjectRole)(0), // 6: bytebase.v1.ProjectRole(ReviewStatus)(0), // 7: bytebase.v1.ReviewStatus(OperatorType)(0), // 8: bytebase.v1.OperatorType- (*GetProjectRequest)(nil), // 9: bytebase.v1.GetProjectRequest- (*ListProjectsRequest)(nil), // 10: bytebase.v1.ListProjectsRequest- (*ListProjectsResponse)(nil), // 11: bytebase.v1.ListProjectsResponse- (*CreateProjectRequest)(nil), // 12: bytebase.v1.CreateProjectRequest- (*UpdateProjectRequest)(nil), // 13: bytebase.v1.UpdateProjectRequest- (*DeleteProjectRequest)(nil), // 14: bytebase.v1.DeleteProjectRequest- (*UndeleteProjectRequest)(nil), // 15: bytebase.v1.UndeleteProjectRequest- (*GetIamPolicyRequest)(nil), // 16: bytebase.v1.GetIamPolicyRequest- (*SetIamPolicyRequest)(nil), // 17: bytebase.v1.SetIamPolicyRequest- (*GetDeploymentConfigRequest)(nil), // 18: bytebase.v1.GetDeploymentConfigRequest- (*UpdateDeploymentConfigRequest)(nil), // 19: bytebase.v1.UpdateDeploymentConfigRequest- (*Project)(nil), // 20: bytebase.v1.Project- (*IamPolicy)(nil), // 21: bytebase.v1.IamPolicy- (*Binding)(nil), // 22: bytebase.v1.Binding- (*GetReviewRequest)(nil), // 23: bytebase.v1.GetReviewRequest- (*ListReviewsRequest)(nil), // 24: bytebase.v1.ListReviewsRequest- (*ListReviewsResponse)(nil), // 25: bytebase.v1.ListReviewsResponse- (*UpdateReviewRequest)(nil), // 26: bytebase.v1.UpdateReviewRequest- (*BatchUpdateReviewsRequest)(nil), // 27: bytebase.v1.BatchUpdateReviewsRequest- (*BatchUpdateReviewsResponse)(nil), // 28: bytebase.v1.BatchUpdateReviewsResponse- (*Review)(nil), // 29: bytebase.v1.Review- (*DeploymentConfig)(nil), // 30: bytebase.v1.DeploymentConfig- (*Schedule)(nil), // 31: bytebase.v1.Schedule- (*ScheduleDeployment)(nil), // 32: bytebase.v1.ScheduleDeployment- (*DeploymentSpec)(nil), // 33: bytebase.v1.DeploymentSpec- (*LabelSelector)(nil), // 34: bytebase.v1.LabelSelector- (*LabelSelectorRequirement)(nil), // 35: bytebase.v1.LabelSelectorRequirement- (*fieldmaskpb.FieldMask)(nil), // 36: google.protobuf.FieldMask- (State)(0), // 37: bytebase.v1.State- (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp- (*emptypb.Empty)(nil), // 39: google.protobuf.Empty+ (Webhook_Type)(0), // 9: bytebase.v1.Webhook.Type+ (Activity_Type)(0), // 10: bytebase.v1.Activity.Type+ (*GetProjectRequest)(nil), // 11: bytebase.v1.GetProjectRequest+ (*ListProjectsRequest)(nil), // 12: bytebase.v1.ListProjectsRequest+ (*ListProjectsResponse)(nil), // 13: bytebase.v1.ListProjectsResponse+ (*CreateProjectRequest)(nil), // 14: bytebase.v1.CreateProjectRequest+ (*UpdateProjectRequest)(nil), // 15: bytebase.v1.UpdateProjectRequest+ (*DeleteProjectRequest)(nil), // 16: bytebase.v1.DeleteProjectRequest+ (*UndeleteProjectRequest)(nil), // 17: bytebase.v1.UndeleteProjectRequest+ (*GetIamPolicyRequest)(nil), // 18: bytebase.v1.GetIamPolicyRequest+ (*SetIamPolicyRequest)(nil), // 19: bytebase.v1.SetIamPolicyRequest+ (*GetDeploymentConfigRequest)(nil), // 20: bytebase.v1.GetDeploymentConfigRequest+ (*UpdateDeploymentConfigRequest)(nil), // 21: bytebase.v1.UpdateDeploymentConfigRequest+ (*Project)(nil), // 22: bytebase.v1.Project+ (*IamPolicy)(nil), // 23: bytebase.v1.IamPolicy+ (*Binding)(nil), // 24: bytebase.v1.Binding+ (*GetReviewRequest)(nil), // 25: bytebase.v1.GetReviewRequest+ (*ListReviewsRequest)(nil), // 26: bytebase.v1.ListReviewsRequest+ (*ListReviewsResponse)(nil), // 27: bytebase.v1.ListReviewsResponse+ (*UpdateReviewRequest)(nil), // 28: bytebase.v1.UpdateReviewRequest+ (*BatchUpdateReviewsRequest)(nil), // 29: bytebase.v1.BatchUpdateReviewsRequest+ (*BatchUpdateReviewsResponse)(nil), // 30: bytebase.v1.BatchUpdateReviewsResponse+ (*AddWebhookRequest)(nil), // 31: bytebase.v1.AddWebhookRequest+ (*UpdateWebhookRequest)(nil), // 32: bytebase.v1.UpdateWebhookRequest+ (*RemoveWebhookRequest)(nil), // 33: bytebase.v1.RemoveWebhookRequest+ (*TestWebhookRequest)(nil), // 34: bytebase.v1.TestWebhookRequest+ (*TestWebhookResponse)(nil), // 35: bytebase.v1.TestWebhookResponse+ (*Webhook)(nil), // 36: bytebase.v1.Webhook+ (*Review)(nil), // 37: bytebase.v1.Review+ (*DeploymentConfig)(nil), // 38: bytebase.v1.DeploymentConfig+ (*Schedule)(nil), // 39: bytebase.v1.Schedule+ (*ScheduleDeployment)(nil), // 40: bytebase.v1.ScheduleDeployment+ (*DeploymentSpec)(nil), // 41: bytebase.v1.DeploymentSpec+ (*LabelSelector)(nil), // 42: bytebase.v1.LabelSelector+ (*LabelSelectorRequirement)(nil), // 43: bytebase.v1.LabelSelectorRequirement+ (*Activity)(nil), // 44: bytebase.v1.Activity+ (*fieldmaskpb.FieldMask)(nil), // 45: google.protobuf.FieldMask+ (State)(0), // 46: bytebase.v1.State+ (*timestamppb.Timestamp)(nil), // 47: google.protobuf.Timestamp+ (*emptypb.Empty)(nil), // 48: google.protobuf.Empty}var file_v1_project_service_proto_depIdxs = []int32{- 20, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project- 20, // 1: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project- 20, // 2: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project- 36, // 3: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask- 21, // 4: bytebase.v1.SetIamPolicyRequest.policy:type_name -> bytebase.v1.IamPolicy- 30, // 5: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig- 37, // 6: bytebase.v1.Project.state:type_name -> bytebase.v1.State+ 22, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project+ 22, // 1: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project+ 22, // 2: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project+ 45, // 3: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask+ 23, // 4: bytebase.v1.SetIamPolicyRequest.policy:type_name -> bytebase.v1.IamPolicy+ 38, // 5: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig+ 46, // 6: bytebase.v1.Project.state:type_name -> bytebase.v1.State0, // 7: bytebase.v1.Project.workflow:type_name -> bytebase.v1.Workflow1, // 8: bytebase.v1.Project.visibility:type_name -> bytebase.v1.Visibility2, // 9: bytebase.v1.Project.tenant_mode:type_name -> bytebase.v1.TenantMode3, // 10: bytebase.v1.Project.schema_version:type_name -> bytebase.v1.SchemaVersion4, // 11: bytebase.v1.Project.schema_change:type_name -> bytebase.v1.SchemaChange5, // 12: bytebase.v1.Project.lgtm_check:type_name -> bytebase.v1.LgtmCheck- 22, // 13: bytebase.v1.IamPolicy.bindings:type_name -> bytebase.v1.Binding- 6, // 14: bytebase.v1.Binding.role:type_name -> bytebase.v1.ProjectRole- 29, // 15: bytebase.v1.ListReviewsResponse.reviews:type_name -> bytebase.v1.Review- 29, // 16: bytebase.v1.UpdateReviewRequest.review:type_name -> bytebase.v1.Review- 36, // 17: bytebase.v1.UpdateReviewRequest.update_mask:type_name -> google.protobuf.FieldMask- 26, // 18: bytebase.v1.BatchUpdateReviewsRequest.requests:type_name -> bytebase.v1.UpdateReviewRequest- 29, // 19: bytebase.v1.BatchUpdateReviewsResponse.reviews:type_name -> bytebase.v1.Review- 7, // 20: bytebase.v1.Review.status:type_name -> bytebase.v1.ReviewStatus- 38, // 21: bytebase.v1.Review.create_time:type_name -> google.protobuf.Timestamp- 38, // 22: bytebase.v1.Review.update_time:type_name -> google.protobuf.Timestamp- 31, // 23: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule- 32, // 24: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment- 33, // 25: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec- 34, // 26: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector- 35, // 27: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement- 8, // 28: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType- 9, // 29: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest- 10, // 30: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest- 12, // 31: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest- 13, // 32: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest- 14, // 33: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest- 15, // 34: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest- 16, // 35: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest- 17, // 36: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest- 23, // 37: bytebase.v1.ProjectService.GetReview:input_type -> bytebase.v1.GetReviewRequest- 24, // 38: bytebase.v1.ProjectService.ListReviews:input_type -> bytebase.v1.ListReviewsRequest- 26, // 39: bytebase.v1.ProjectService.UpdateReview:input_type -> bytebase.v1.UpdateReviewRequest- 27, // 40: bytebase.v1.ProjectService.BatchUpdateReviews:input_type -> bytebase.v1.BatchUpdateReviewsRequest- 18, // 41: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest- 19, // 42: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest- 20, // 43: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project- 11, // 44: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse- 20, // 45: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project- 20, // 46: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project- 39, // 47: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty- 20, // 48: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project- 21, // 49: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy- 21, // 50: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy- 29, // 51: bytebase.v1.ProjectService.GetReview:output_type -> bytebase.v1.Review- 25, // 52: bytebase.v1.ProjectService.ListReviews:output_type -> bytebase.v1.ListReviewsResponse- 29, // 53: bytebase.v1.ProjectService.UpdateReview:output_type -> bytebase.v1.Review- 28, // 54: bytebase.v1.ProjectService.BatchUpdateReviews:output_type -> bytebase.v1.BatchUpdateReviewsResponse- 30, // 55: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 30, // 56: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 43, // [43:57] is the sub-list for method output_type- 29, // [29:43] is the sub-list for method input_type- 29, // [29:29] is the sub-list for extension type_name- 29, // [29:29] is the sub-list for extension extendee- 0, // [0:29] is the sub-list for field type_name+ 36, // 13: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook+ 24, // 14: bytebase.v1.IamPolicy.bindings:type_name -> bytebase.v1.Binding+ 6, // 15: bytebase.v1.Binding.role:type_name -> bytebase.v1.ProjectRole+ 37, // 16: bytebase.v1.ListReviewsResponse.reviews:type_name -> bytebase.v1.Review+ 37, // 17: bytebase.v1.UpdateReviewRequest.review:type_name -> bytebase.v1.Review+ 45, // 18: bytebase.v1.UpdateReviewRequest.update_mask:type_name -> google.protobuf.FieldMask+ 28, // 19: bytebase.v1.BatchUpdateReviewsRequest.requests:type_name -> bytebase.v1.UpdateReviewRequest+ 37, // 20: bytebase.v1.BatchUpdateReviewsResponse.reviews:type_name -> bytebase.v1.Review+ 36, // 21: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 36, // 22: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 45, // 23: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask+ 36, // 24: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 36, // 25: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 9, // 26: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type+ 10, // 27: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type+ 7, // 28: bytebase.v1.Review.status:type_name -> bytebase.v1.ReviewStatus+ 47, // 29: bytebase.v1.Review.create_time:type_name -> google.protobuf.Timestamp+ 47, // 30: bytebase.v1.Review.update_time:type_name -> google.protobuf.Timestamp+ 39, // 31: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule+ 40, // 32: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment+ 41, // 33: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec+ 42, // 34: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector+ 43, // 35: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement+ 8, // 36: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType+ 11, // 37: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest+ 12, // 38: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest+ 14, // 39: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest+ 15, // 40: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest+ 16, // 41: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest+ 17, // 42: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest+ 18, // 43: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest+ 19, // 44: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest+ 25, // 45: bytebase.v1.ProjectService.GetReview:input_type -> bytebase.v1.GetReviewRequest+ 26, // 46: bytebase.v1.ProjectService.ListReviews:input_type -> bytebase.v1.ListReviewsRequest+ 28, // 47: bytebase.v1.ProjectService.UpdateReview:input_type -> bytebase.v1.UpdateReviewRequest+ 29, // 48: bytebase.v1.ProjectService.BatchUpdateReviews:input_type -> bytebase.v1.BatchUpdateReviewsRequest+ 20, // 49: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest+ 21, // 50: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest+ 31, // 51: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest+ 32, // 52: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest+ 33, // 53: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest+ 34, // 54: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest+ 22, // 55: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project+ 13, // 56: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse+ 22, // 57: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project+ 22, // 58: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project+ 48, // 59: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty+ 22, // 60: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project+ 23, // 61: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 23, // 62: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 37, // 63: bytebase.v1.ProjectService.GetReview:output_type -> bytebase.v1.Review+ 27, // 64: bytebase.v1.ProjectService.ListReviews:output_type -> bytebase.v1.ListReviewsResponse+ 37, // 65: bytebase.v1.ProjectService.UpdateReview:output_type -> bytebase.v1.Review+ 30, // 66: bytebase.v1.ProjectService.BatchUpdateReviews:output_type -> bytebase.v1.BatchUpdateReviewsResponse+ 38, // 67: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 38, // 68: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 22, // 69: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project+ 22, // 70: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project+ 22, // 71: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project+ 35, // 72: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse+ 55, // [55:73] is the sub-list for method output_type+ 37, // [37:55] is the sub-list for method input_type+ 37, // [37:37] is the sub-list for extension type_name+ 37, // [37:37] is the sub-list for extension extendee+ 0, // [0:37] is the sub-list for field type_name}func init() { file_v1_project_service_proto_init() }@@ -2895,7 +3671,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Review); i {+ switch v := v.(*AddWebhookRequest); i {case 0:return &v.statecase 1:@@ -2907,7 +3683,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DeploymentConfig); i {+ switch v := v.(*UpdateWebhookRequest); i {case 0:return &v.statecase 1:@@ -2919,7 +3695,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Schedule); i {+ switch v := v.(*RemoveWebhookRequest); i {case 0:return &v.statecase 1:@@ -2931,7 +3707,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*ScheduleDeployment); i {+ switch v := v.(*TestWebhookRequest); i {case 0:return &v.statecase 1:@@ -2943,7 +3719,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*DeploymentSpec); i {+ switch v := v.(*TestWebhookResponse); i {case 0:return &v.statecase 1:@@ -2955,7 +3731,7 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*LabelSelector); i {+ switch v := v.(*Webhook); i {case 0:return &v.statecase 1:@@ -2967,6 +3743,78 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*Review); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*DeploymentConfig); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*Schedule); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*ScheduleDeployment); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*DeploymentSpec); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*LabelSelector); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_project_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*LabelSelectorRequirement); i {case 0:return &v.state@@ -2978,14 +3826,26 @@ func file_v1_project_service_proto_init() {return nil}}+ file_v1_project_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {+ switch v := v.(*Activity); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }}type x struct{}out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_project_service_proto_rawDesc,- NumEnums: 9,- NumMessages: 27,+ NumEnums: 11,+ NumMessages: 34,NumExtensions: 0,NumServices: 1,},diff --git a/proto/generated-go/v1/project_service.pb.gw.go b/proto/generated-go/v1/project_service.pb.gw.goindex e5e6d2e6ba..93fb08153c 100644--- a/proto/generated-go/v1/project_service.pb.gw.go+++ b/proto/generated-go/v1/project_service.pb.gw.go@@ -921,6 +921,278 @@ func local_request_ProjectService_UpdateDeploymentConfig_0(ctx context.Context,}+func request_ProjectService_AddWebhook_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq AddWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := client.AddWebhook(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_ProjectService_AddWebhook_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq AddWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := server.AddWebhook(ctx, &protoReq)+ return msg, metadata, err++}++func request_ProjectService_UpdateWebhook_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq UpdateWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := client.UpdateWebhook(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_ProjectService_UpdateWebhook_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq UpdateWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := server.UpdateWebhook(ctx, &protoReq)+ return msg, metadata, err++}++func request_ProjectService_RemoveWebhook_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq RemoveWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := client.RemoveWebhook(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_ProjectService_RemoveWebhook_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq RemoveWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := server.RemoveWebhook(ctx, &protoReq)+ return msg, metadata, err++}++func request_ProjectService_TestWebhook_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq TestWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := client.TestWebhook(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_ProjectService_TestWebhook_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq TestWebhookRequest+ 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); 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["project"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project")+ }++ protoReq.Project, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err)+ }++ msg, err := server.TestWebhook(ctx, &protoReq)+ return msg, metadata, err++}+// RegisterProjectServiceHandlerServer registers the http handlers for service ProjectService to "mux".// UnaryRPC :call ProjectServiceServer directly.// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.@@ -1277,6 +1549,106 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve})+ mux.Handle("POST", pattern_ProjectService_AddWebhook_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.ProjectService/AddWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:addWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_ProjectService_AddWebhook_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_ProjectService_AddWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("PATCH", pattern_ProjectService_UpdateWebhook_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.ProjectService/UpdateWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:updateWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_ProjectService_UpdateWebhook_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_ProjectService_UpdateWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("POST", pattern_ProjectService_RemoveWebhook_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.ProjectService/RemoveWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:removeWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_ProjectService_RemoveWebhook_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_ProjectService_RemoveWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("POST", pattern_ProjectService_TestWebhook_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.ProjectService/TestWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:testWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_ProjectService_TestWebhook_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_ProjectService_TestWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })+return nil}@@ -1626,6 +1998,94 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve})+ mux.Handle("POST", pattern_ProjectService_AddWebhook_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.ProjectService/AddWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:addWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_ProjectService_AddWebhook_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ProjectService_AddWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("PATCH", pattern_ProjectService_UpdateWebhook_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.ProjectService/UpdateWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:updateWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_ProjectService_UpdateWebhook_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ProjectService_UpdateWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("POST", pattern_ProjectService_RemoveWebhook_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.ProjectService/RemoveWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:removeWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_ProjectService_RemoveWebhook_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ProjectService_RemoveWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("POST", pattern_ProjectService_TestWebhook_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.ProjectService/TestWebhook", runtime.WithHTTPPathPattern("/v1/{project=projects/*}:testWebhook"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_ProjectService_TestWebhook_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_ProjectService_TestWebhook_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })+return nil}@@ -1657,6 +2117,14 @@ var (pattern_ProjectService_GetDeploymentConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "deploymentConfig", "name"}, ""))pattern_ProjectService_UpdateDeploymentConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "deploymentConfig", "config.name"}, ""))++ pattern_ProjectService_AddWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "addWebhook"))++ pattern_ProjectService_UpdateWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "updateWebhook"))++ pattern_ProjectService_RemoveWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "removeWebhook"))++ pattern_ProjectService_TestWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "testWebhook")))var (@@ -1687,4 +2155,12 @@ var (forward_ProjectService_GetDeploymentConfig_0 = runtime.ForwardResponseMessageforward_ProjectService_UpdateDeploymentConfig_0 = runtime.ForwardResponseMessage++ forward_ProjectService_AddWebhook_0 = runtime.ForwardResponseMessage++ forward_ProjectService_UpdateWebhook_0 = runtime.ForwardResponseMessage++ forward_ProjectService_RemoveWebhook_0 = runtime.ForwardResponseMessage++ forward_ProjectService_TestWebhook_0 = runtime.ForwardResponseMessage)diff --git a/proto/generated-go/v1/project_service_grpc.pb.go b/proto/generated-go/v1/project_service_grpc.pb.goindex 61598a449a..e5b5cfdac3 100644--- a/proto/generated-go/v1/project_service_grpc.pb.go+++ b/proto/generated-go/v1/project_service_grpc.pb.go@@ -37,6 +37,10 @@ type ProjectServiceClient interface {BatchUpdateReviews(ctx context.Context, in *BatchUpdateReviewsRequest, opts ...grpc.CallOption) (*BatchUpdateReviewsResponse, error)GetDeploymentConfig(ctx context.Context, in *GetDeploymentConfigRequest, opts ...grpc.CallOption) (*DeploymentConfig, error)UpdateDeploymentConfig(ctx context.Context, in *UpdateDeploymentConfigRequest, opts ...grpc.CallOption) (*DeploymentConfig, error)+ AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*Project, error)+ UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Project, error)+ RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*Project, error)+ TestWebhook(ctx context.Context, in *TestWebhookRequest, opts ...grpc.CallOption) (*TestWebhookResponse, error)}type projectServiceClient struct {@@ -173,6 +177,42 @@ func (c *projectServiceClient) UpdateDeploymentConfig(ctx context.Context, in *Ureturn out, nil}+func (c *projectServiceClient) AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*Project, error) {+ out := new(Project)+ err := c.cc.Invoke(ctx, "/bytebase.v1.ProjectService/AddWebhook", in, out, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *projectServiceClient) UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Project, error) {+ out := new(Project)+ err := c.cc.Invoke(ctx, "/bytebase.v1.ProjectService/UpdateWebhook", in, out, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *projectServiceClient) RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*Project, error) {+ out := new(Project)+ err := c.cc.Invoke(ctx, "/bytebase.v1.ProjectService/RemoveWebhook", in, out, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *projectServiceClient) TestWebhook(ctx context.Context, in *TestWebhookRequest, opts ...grpc.CallOption) (*TestWebhookResponse, error) {+ out := new(TestWebhookResponse)+ err := c.cc.Invoke(ctx, "/bytebase.v1.ProjectService/TestWebhook", in, out, opts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}+// ProjectServiceServer is the server API for ProjectService service.// All implementations must embed UnimplementedProjectServiceServer// for forward compatibility@@ -191,6 +231,10 @@ type ProjectServiceServer interface {BatchUpdateReviews(context.Context, *BatchUpdateReviewsRequest) (*BatchUpdateReviewsResponse, error)GetDeploymentConfig(context.Context, *GetDeploymentConfigRequest) (*DeploymentConfig, error)UpdateDeploymentConfig(context.Context, *UpdateDeploymentConfigRequest) (*DeploymentConfig, error)+ AddWebhook(context.Context, *AddWebhookRequest) (*Project, error)+ UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Project, error)+ RemoveWebhook(context.Context, *RemoveWebhookRequest) (*Project, error)+ TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error)mustEmbedUnimplementedProjectServiceServer()}@@ -240,6 +284,18 @@ func (UnimplementedProjectServiceServer) GetDeploymentConfig(context.Context, *Gfunc (UnimplementedProjectServiceServer) UpdateDeploymentConfig(context.Context, *UpdateDeploymentConfigRequest) (*DeploymentConfig, error) {return nil, status.Errorf(codes.Unimplemented, "method UpdateDeploymentConfig not implemented")}+func (UnimplementedProjectServiceServer) AddWebhook(context.Context, *AddWebhookRequest) (*Project, error) {+ return nil, status.Errorf(codes.Unimplemented, "method AddWebhook not implemented")+}+func (UnimplementedProjectServiceServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Project, error) {+ return nil, status.Errorf(codes.Unimplemented, "method UpdateWebhook not implemented")+}+func (UnimplementedProjectServiceServer) RemoveWebhook(context.Context, *RemoveWebhookRequest) (*Project, error) {+ return nil, status.Errorf(codes.Unimplemented, "method RemoveWebhook not implemented")+}+func (UnimplementedProjectServiceServer) TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error) {+ return nil, status.Errorf(codes.Unimplemented, "method TestWebhook not implemented")+}func (UnimplementedProjectServiceServer) mustEmbedUnimplementedProjectServiceServer() {}// UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service.@@ -505,6 +561,78 @@ func _ProjectService_UpdateDeploymentConfig_Handler(srv interface{}, ctx contextreturn interceptor(ctx, in, info, handler)}+func _ProjectService_AddWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(AddWebhookRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(ProjectServiceServer).AddWebhook(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/bytebase.v1.ProjectService/AddWebhook",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(ProjectServiceServer).AddWebhook(ctx, req.(*AddWebhookRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _ProjectService_UpdateWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(UpdateWebhookRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(ProjectServiceServer).UpdateWebhook(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/bytebase.v1.ProjectService/UpdateWebhook",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(ProjectServiceServer).UpdateWebhook(ctx, req.(*UpdateWebhookRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _ProjectService_RemoveWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(RemoveWebhookRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(ProjectServiceServer).RemoveWebhook(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/bytebase.v1.ProjectService/RemoveWebhook",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(ProjectServiceServer).RemoveWebhook(ctx, req.(*RemoveWebhookRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _ProjectService_TestWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(TestWebhookRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(ProjectServiceServer).TestWebhook(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: "/bytebase.v1.ProjectService/TestWebhook",+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(ProjectServiceServer).TestWebhook(ctx, req.(*TestWebhookRequest))+ }+ return interceptor(ctx, in, info, handler)+}+// ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service.// It's only intended for direct use with grpc.RegisterService,// and not to be introspected or modified (even as a copy)@@ -568,6 +696,22 @@ var ProjectService_ServiceDesc = grpc.ServiceDesc{MethodName: "UpdateDeploymentConfig",Handler: _ProjectService_UpdateDeploymentConfig_Handler,},+ {+ MethodName: "AddWebhook",+ Handler: _ProjectService_AddWebhook_Handler,+ },+ {+ MethodName: "UpdateWebhook",+ Handler: _ProjectService_UpdateWebhook_Handler,+ },+ {+ MethodName: "RemoveWebhook",+ Handler: _ProjectService_RemoveWebhook_Handler,+ },+ {+ MethodName: "TestWebhook",+ Handler: _ProjectService_TestWebhook_Handler,+ },},Streams: []grpc.StreamDesc{},Metadata: "v1/project_service.proto",diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.protoindex 1e7f5cc976..822767e146 100644--- a/proto/v1/project_service.proto+++ b/proto/v1/project_service.proto@@ -112,6 +112,34 @@ service ProjectService {body: "config"};}++ rpc AddWebhook(AddWebhookRequest) returns (Project) {+ option (google.api.http) = {+ post: "/v1/{project=projects/*}:addWebhook"+ body: "*"+ };+ }++ rpc UpdateWebhook(UpdateWebhookRequest) returns (Project) {+ option (google.api.http) = {+ patch: "/v1/{project=projects/*}:updateWebhook"+ body: "*"+ };+ }++ rpc RemoveWebhook(RemoveWebhookRequest) returns (Project) {+ option (google.api.http) = {+ post: "/v1/{project=projects/*}:removeWebhook"+ body: "*"+ };+ }++ rpc TestWebhook(TestWebhookRequest) returns (TestWebhookResponse) {+ option (google.api.http) = {+ post: "/v1/{project=projects/*}:testWebhook"+ body: "*"+ };+ }}message GetProjectRequest {@@ -235,6 +263,8 @@ message Project {SchemaChange schema_change = 11;LgtmCheck lgtm_check = 12;++ repeated Webhook webhooks = 13;}message IamPolicy {@@ -364,6 +394,84 @@ message BatchUpdateReviewsResponse {repeated Review reviews = 1;}+message AddWebhookRequest {+ // The name of the project to add the webhook to.+ // Format: projects/{project}+ string project = 1 [(google.api.field_behavior) = REQUIRED];++ // The webhook to add.+ Webhook webhook = 2 [(google.api.field_behavior) = REQUIRED];+}++message UpdateWebhookRequest {+ // The name of the project which owns the webhook to be updated.+ // Format: projects/{project}+ string project = 1 [(google.api.field_behavior) = REQUIRED];++ // The webhook to modify.+ // Identified by its url.+ Webhook webhook = 2 [(google.api.field_behavior) = REQUIRED];++ // The list of fields to update.+ google.protobuf.FieldMask update_mask = 3;+}++message RemoveWebhookRequest {+ // The name of the project to remove the webhook from.+ // Format: projects/{project}+ string project = 1 [(google.api.field_behavior) = REQUIRED];++ // The webhook to remove. Identified by its url.+ Webhook webhook = 2 [(google.api.field_behavior) = REQUIRED];+}++message TestWebhookRequest {+ // The name of the project which owns the webhook to test.+ // Format: projects/{project}+ string project = 1 [(google.api.field_behavior) = REQUIRED];++ // The webhook to test. Identified by its url.+ Webhook webhook = 2 [(google.api.field_behavior) = REQUIRED];+}++message TestWebhookResponse {+ // The result of the test, empty if the test is successful.+ string error = 1;+}++message Webhook {+ enum Type {+ TYPE_UNSPECIFIED = 0;+ TYPE_SLACK = 1;+ TYPE_DISCORD = 2;+ TYPE_TEAMS = 3;+ TYPE_DINGTALK = 4;+ TYPE_FEISHU = 5;+ TYPE_WECOM = 6;+ TYPE_CUSTOM = 7;+ }++ // type is the type of the webhook.+ Type type = 1 [(google.api.field_behavior) = REQUIRED];++ // title is the title of the webhook.+ string title = 2 [(google.api.field_behavior) = REQUIRED];++ // url is the url of the webhook, should be unique within the project.+ string url = 3 [(google.api.field_behavior) = REQUIRED];++ // notification_types is the list of activities types that the webhook is interested in.+ // Bytebase will only send notifications to the webhook if the activity type is in the list.+ // It should not be empty, and shoule be a subset of the following:+ // - TYPE_ISSUE_CREATED+ // - TYPE_ISSUE_STATUS_UPDATE+ // - TYPE_ISSUE_PIPELINE_STAGE_UPDATE+ // - TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE+ // - TYPE_ISSUE_FIELD_UPDATE+ // - TYPE_ISSUE_COMMENT_CREAT+ repeated Activity.Type notification_types = 4 [(google.api.field_behavior) = UNORDERED_LIST];+}+message Review {// The name of the review.// `review` is a system generated ID.@@ -446,3 +554,63 @@ enum OperatorType {// The operator is "Exists".OPERATOR_TYPE_EXISTS = 2;}+++// TODO(zp): move to activity later.+message Activity {+ enum Type {+ TYPE_UNSPECIFIED = 0;+ // Issue related activity types.+ //+ // TYPE_ISSUE_CREATE represents creating an issue.+ TYPE_ISSUE_CREATE = 1;+ // TYPE_ISSUE_COMMENT_CREATE represents commenting on an issue.+ TYPE_ISSUE_COMMENT_CREATE = 2;+ // TYPE_ISSUE_FIELD_UPDATE represents updating the issue field, likes title, description, assignee, etc.+ TYPE_ISSUE_FIELD_UPDATE = 3;+ // TYPE_ISSUE_STATUS_UPDATE represents the issue status change, including OPEN, CLOSE, CANCEL fow now.+ TYPE_ISSUE_STATUS_UPDATE = 4;+ // TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE represents the pipeline stage status change, including BEGIN, END for now.+ TYPE_ISSUE_PIPELINE_STAGE_STATUS_UPDATE = 5;+ // TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE represents the pipeline task status change, including PENDING, PENDING_APPROVAL, RUNNING, SUCCESS, FAILURE, CANCELED for now.+ TYPE_ISSUE_PIPELINE_TASK_STATUS_UPDATE = 6;+ // TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT represents the VCS trigger to commit a file to update the task statement.+ TYPE_ISSUE_PIPELINE_TASK_FILE_COMMIT = 7;+ // TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE represents the manual update of the task statement.+ TYPE_ISSUE_PIPELINE_TASK_STATEMENT_UPDATE = 8;+ // TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE represents the manual update of the task earliest allowed time.+ TYPE_ISSUE_PIPELINE_TASK_EARLIEST_ALLOWED_TIME_UPDATE = 9;++ // Member related activity types.+ //+ // TYPE_MEMBER_CREATE represents creating a members.+ TYPE_MEMBER_CREATE = 10;+ // TYPE_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER.+ TYPE_MEMBER_ROLE_UPDATE = 11;+ // TYPE_MEMBER_ACTIVATE represents activating a deactivated member.+ TYPE_MEMBER_ACTIVATE = 12;+ // TYPE_MEMBER_DEACTIVATE represents deactivating an active member.+ TYPE_MEMBER_DEACTIVATE = 13;++ // Project related activity types.+ //+ // TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the project repository.+ TYPE_PROJECT_REPOSITORY_PUSH = 14;+ // TYPE_PROJECT_DATABASE_TRANFER represents transfering the database from one project to another.+ TYPE_PROJECT_DATABASE_TRANSFER = 15;+ // TYPE_PROJECT_MEMBER_CREATE represents adding a member to the project.+ TYPE_PROJECT_MEMBER_CREATE = 16;+ // TYPE_PROJECT_MEMBER_DELETE represents removing a member from the project.+ TYPE_PROJECT_MEMBER_DELETE = 17;+ // TYPE_PROJECT_MEMBER_ROLE_UPDATE represents updating the member role, for example, from ADMIN to MEMBER.+ TYPE_PROJECT_MEMBER_ROLE_UPDATE = 18;++ // SQL Editor related activity types.+ // TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.+ TYPE_SQL_EDITOR_QUERY = 19;++ // Database related activity types.+ // TYPE_DATABASE_RECOVERY_PITR_DONE represents the database recovery to a point in time is done.+ TYPE_DATABASE_RECOVERY_PITR_DONE = 20;+ }+}\ No newline at end of file