Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: db group proto (#12910)
Danny Xu5c52a031c18c
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vueindex b51235c66e..00a9e2d9d4 100644--- a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue@@ -94,7 +94,7 @@ import type {ResourceId,ValidatedMessage,} from "@/types";-import type { DatabaseGroup } from "@/types/proto/v1/project_service";+import type { DatabaseGroup } from "@/types/proto/v1/database_group_service";import { getErrorCode } from "@/utils/grpcweb";import { ProjectSelect, ResourceIdField } from "../v2";import MatchedDatabaseView from "./MatchedDatabaseView.vue";diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vueindex e30186f6cb..1895f61c55 100644--- a/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue@@ -56,7 +56,7 @@ import { pushNotification, useDBGroupStore } from "@/store";import type { ComposedDatabaseGroup, ComposedProject } from "@/types";import { ParsedExpr } from "@/types/proto/google/api/expr/v1alpha1/syntax";import { Expr } from "@/types/proto/google/type/expr";-import type { DatabaseGroup } from "@/types/proto/v1/project_service";+import type { DatabaseGroup } from "@/types/proto/v1/database_group_service";import { batchConvertParsedExprToCELString } from "@/utils";import DatabaseGroupForm from "./DatabaseGroupForm.vue";diff --git a/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue b/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vueindex 5c099ebe1b..0df2017764 100644--- a/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue+++ b/frontend/src/components/DatabaseGroup/ProjectDatabaseGroupPanel.vue@@ -35,7 +35,7 @@ import DatabaseGroupDataTable from "@/components/DatabaseGroup/DatabaseGroupDataimport { PROJECT_V1_ROUTE_DATABASE_GROUP_DETAIL } from "@/router/dashboard/projectV1";import { useDBGroupStore, hasFeature } from "@/store";import type { ComposedDatabaseGroup, ComposedProject } from "@/types";-import type { DatabaseGroup } from "@/types/proto/v1/project_service";+import type { DatabaseGroup } from "@/types/proto/v1/database_group_service";import DatabaseGroupPanel from "./DatabaseGroupPanel.vue";interface LocalState {diff --git a/frontend/src/components/IssueV1/components/GrantRequest/DatabaseResourceTable.vue b/frontend/src/components/IssueV1/components/GrantRequest/DatabaseResourceTable.vueindex 35fa55b68b..436acdcc98 100644--- a/frontend/src/components/IssueV1/components/GrantRequest/DatabaseResourceTable.vue+++ b/frontend/src/components/IssueV1/components/GrantRequest/DatabaseResourceTable.vue@@ -37,7 +37,7 @@ import type { BBGridColumn } from "@/bbkit";import { EnvironmentV1Name, InstanceV1Name } from "@/components/v2";import { useDatabaseV1Store } from "@/store";import type { DatabaseResource } from "@/types";-import type { DatabaseGroup } from "@/types/proto/v1/project_service";+import type { DatabaseGroup } from "@/types/proto/v1/database_group_service";const props = defineProps<{databaseResourceList: DatabaseResource[];diff --git a/frontend/src/components/Plan/components/SpecListSection/SpecCard.vue b/frontend/src/components/Plan/components/SpecListSection/SpecCard.vueindex 668d9ec713..a6c3fd826e 100644--- a/frontend/src/components/Plan/components/SpecListSection/SpecCard.vue+++ b/frontend/src/components/Plan/components/SpecListSection/SpecCard.vue@@ -66,7 +66,7 @@ import {PlanCheckRun_Result_Status,type Plan_Spec,} from "@/types/proto/v1/plan_service";-import { DatabaseGroupView } from "@/types/proto/v1/project_service";+import { DatabaseGroupView } from "@/types/proto/v1/database_group_service";import {databaseForSpec,isDatabaseChangeSpec,diff --git a/frontend/src/components/v2/Select/DatabaseGroupSelect.vue b/frontend/src/components/v2/Select/DatabaseGroupSelect.vueindex d6d483637d..728b5aecb7 100644--- a/frontend/src/components/v2/Select/DatabaseGroupSelect.vue+++ b/frontend/src/components/v2/Select/DatabaseGroupSelect.vue@@ -14,7 +14,7 @@ import { head } from "lodash-es";import type { SelectOption } from "naive-ui";import { computed, reactive, watch } from "vue";import { useDBGroupStore } from "@/store";-import type { DatabaseGroup } from "@/types/proto/v1/project_service";+import type { DatabaseGroup } from "@/types/proto/v1/database_group_service";interface LocalState {selectedDatabaseGroup?: string;diff --git a/frontend/src/store/modules/dbGroup.ts b/frontend/src/store/modules/dbGroup.tsindex ccc1584958..dc0b072a98 100644--- a/frontend/src/store/modules/dbGroup.ts+++ b/frontend/src/store/modules/dbGroup.ts@@ -18,8 +18,8 @@ import type {} from "@/types";import { ParsedExpr } from "@/types/proto/google/api/expr/v1alpha1/syntax";import { Expr } from "@/types/proto/google/type/expr";-import { DatabaseGroup } from "@/types/proto/v1/project_service";-import { DatabaseGroupView } from "@/types/proto/v1/project_service";+import { DatabaseGroup } from "@/types/proto/v1/database_group_service";+import { DatabaseGroupView } from "@/types/proto/v1/database_group_service";import {batchConvertParsedExprToCELString,batchConvertCELStringToParsedExpr,diff --git a/frontend/src/types/dbGroup.ts b/frontend/src/types/dbGroup.tsindex b028c87631..c6ffbf5050 100644--- a/frontend/src/types/dbGroup.ts+++ b/frontend/src/types/dbGroup.ts@@ -1,6 +1,6 @@import type { ConditionGroupExpr } from "@/plugins/cel";import type { ComposedProject } from "@/types";-import type { DatabaseGroup } from "./proto/v1/project_service";+import type { DatabaseGroup } from "./proto/v1/database_group_service";export interface ComposedDatabaseGroup extends DatabaseGroup {databaseGroupName: string;diff --git a/frontend/src/types/proto/v1/database_group_service.ts b/frontend/src/types/proto/v1/database_group_service.tsnew file mode 100644index 0000000000..9deb58333f--- /dev/null+++ b/frontend/src/types/proto/v1/database_group_service.ts@@ -0,0 +1,1290 @@+/* eslint-disable */+import Long from "long";+import _m0 from "protobufjs/minimal";+import { Empty } from "../google/protobuf/empty";+import { FieldMask } from "../google/protobuf/field_mask";+import { Expr } from "../google/type/expr";++export const protobufPackage = "bytebase.v1";++export enum DatabaseGroupView {+ /**+ * DATABASE_GROUP_VIEW_UNSPECIFIED - The default / unset value.+ * The API will default to the BASIC view.+ */+ DATABASE_GROUP_VIEW_UNSPECIFIED = "DATABASE_GROUP_VIEW_UNSPECIFIED",+ /** DATABASE_GROUP_VIEW_BASIC - Include basic information about the database group, but exclude the list of matched databases and unmatched databases. */+ DATABASE_GROUP_VIEW_BASIC = "DATABASE_GROUP_VIEW_BASIC",+ /** DATABASE_GROUP_VIEW_FULL - Include everything. */+ DATABASE_GROUP_VIEW_FULL = "DATABASE_GROUP_VIEW_FULL",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function databaseGroupViewFromJSON(object: any): DatabaseGroupView {+ switch (object) {+ case 0:+ case "DATABASE_GROUP_VIEW_UNSPECIFIED":+ return DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED;+ case 1:+ case "DATABASE_GROUP_VIEW_BASIC":+ return DatabaseGroupView.DATABASE_GROUP_VIEW_BASIC;+ case 2:+ case "DATABASE_GROUP_VIEW_FULL":+ return DatabaseGroupView.DATABASE_GROUP_VIEW_FULL;+ case -1:+ case "UNRECOGNIZED":+ default:+ return DatabaseGroupView.UNRECOGNIZED;+ }+}++export function databaseGroupViewToJSON(object: DatabaseGroupView): string {+ switch (object) {+ case DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED:+ return "DATABASE_GROUP_VIEW_UNSPECIFIED";+ case DatabaseGroupView.DATABASE_GROUP_VIEW_BASIC:+ return "DATABASE_GROUP_VIEW_BASIC";+ case DatabaseGroupView.DATABASE_GROUP_VIEW_FULL:+ return "DATABASE_GROUP_VIEW_FULL";+ case DatabaseGroupView.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function databaseGroupViewToNumber(object: DatabaseGroupView): number {+ switch (object) {+ case DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED:+ return 0;+ case DatabaseGroupView.DATABASE_GROUP_VIEW_BASIC:+ return 1;+ case DatabaseGroupView.DATABASE_GROUP_VIEW_FULL:+ return 2;+ case DatabaseGroupView.UNRECOGNIZED:+ default:+ return -1;+ }+}++export interface ListDatabaseGroupsRequest {+ /**+ * The parent resource whose database groups are to be listed.+ * Format: projects/{project}+ */+ parent: string;+ /**+ * Not used. The maximum number of anomalies to return. The service may return fewer than+ * this value.+ * If unspecified, at most 50 anomalies will be returned.+ * The maximum value is 1000; values above 1000 will be coerced to 1000.+ */+ pageSize: number;+ /**+ * Not used. A page token, received from a previous `ListDatabaseGroups` call.+ * Provide this to retrieve the subsequent page.+ *+ * When paginating, all other parameters provided to `ListDatabaseGroups` must match+ * the call that provided the page token.+ */+ pageToken: string;+}++export interface ListDatabaseGroupsResponse {+ /** database_groups is the list of database groups. */+ databaseGroups: DatabaseGroup[];+ /**+ * Not used. A token, which can be sent as `page_token` to retrieve the next page.+ * If this field is omitted, there are no subsequent pages.+ */+ nextPageToken: string;+}++export interface GetDatabaseGroupRequest {+ /**+ * The name of the database group to retrieve.+ * Format: projects/{project}/databaseGroups/{databaseGroup}+ */+ name: string;+ /** The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. */+ view: DatabaseGroupView;+}++export interface CreateDatabaseGroupRequest {+ /**+ * The parent resource where this database group will be created.+ * Format: projects/{project}+ */+ parent: string;+ /** The database group to create. */+ databaseGroup:+ | DatabaseGroup+ | undefined;+ /**+ * The ID to use for the database group, which will become the final component of+ * the database group's resource name.+ *+ * This value should be 4-63 characters, and valid characters+ * are /[a-z][0-9]-/.+ */+ databaseGroupId: string;+ /** If set, validate the create request and preview the full database group response, but do not actually create it. */+ validateOnly: boolean;+}++export interface UpdateDatabaseGroupRequest {+ /**+ * The database group to update.+ *+ * The database group's `name` field is used to identify the database group to update.+ * Format: projects/{project}/databaseGroups/{databaseGroup}+ */+ databaseGroup:+ | DatabaseGroup+ | undefined;+ /** The list of fields to update. */+ updateMask: string[] | undefined;+}++export interface DeleteDatabaseGroupRequest {+ /**+ * The name of the database group to delete.+ * Format: projects/{project}/databaseGroups/{databaseGroup}+ */+ name: string;+}++export interface DatabaseGroup {+ /**+ * The name of the database group.+ * Format: projects/{project}/databaseGroups/{databaseGroup}+ */+ name: string;+ /**+ * The short name used in actual databases specified by users.+ * For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1".+ */+ databasePlaceholder: string;+ /** The condition that is associated with this database group. */+ databaseExpr:+ | Expr+ | undefined;+ /** The list of databases that match the database group condition. */+ matchedDatabases: DatabaseGroup_Database[];+ /** The list of databases that match the database group condition. */+ unmatchedDatabases: DatabaseGroup_Database[];+ multitenancy: boolean;+}++export interface DatabaseGroup_Database {+ /**+ * The resource name of the database.+ * Format: instances/{instance}/databases/{database}+ */+ name: string;+}++function createBaseListDatabaseGroupsRequest(): ListDatabaseGroupsRequest {+ return { parent: "", pageSize: 0, pageToken: "" };+}++export const ListDatabaseGroupsRequest = {+ encode(message: ListDatabaseGroupsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.parent !== "") {+ writer.uint32(10).string(message.parent);+ }+ if (message.pageSize !== 0) {+ writer.uint32(16).int32(message.pageSize);+ }+ if (message.pageToken !== "") {+ writer.uint32(26).string(message.pageToken);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): ListDatabaseGroupsRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseListDatabaseGroupsRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.parent = reader.string();+ continue;+ case 2:+ if (tag !== 16) {+ break;+ }++ message.pageSize = reader.int32();+ continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.pageToken = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): ListDatabaseGroupsRequest {+ return {+ parent: isSet(object.parent) ? globalThis.String(object.parent) : "",+ pageSize: isSet(object.pageSize) ? globalThis.Number(object.pageSize) : 0,+ pageToken: isSet(object.pageToken) ? globalThis.String(object.pageToken) : "",+ };+ },++ toJSON(message: ListDatabaseGroupsRequest): unknown {+ const obj: any = {};+ if (message.parent !== "") {+ obj.parent = message.parent;+ }+ if (message.pageSize !== 0) {+ obj.pageSize = Math.round(message.pageSize);+ }+ if (message.pageToken !== "") {+ obj.pageToken = message.pageToken;+ }+ return obj;+ },++ create(base?: DeepPartial<ListDatabaseGroupsRequest>): ListDatabaseGroupsRequest {+ return ListDatabaseGroupsRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<ListDatabaseGroupsRequest>): ListDatabaseGroupsRequest {+ const message = createBaseListDatabaseGroupsRequest();+ message.parent = object.parent ?? "";+ message.pageSize = object.pageSize ?? 0;+ message.pageToken = object.pageToken ?? "";+ return message;+ },+};++function createBaseListDatabaseGroupsResponse(): ListDatabaseGroupsResponse {+ return { databaseGroups: [], nextPageToken: "" };+}++export const ListDatabaseGroupsResponse = {+ encode(message: ListDatabaseGroupsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ for (const v of message.databaseGroups) {+ DatabaseGroup.encode(v!, writer.uint32(10).fork()).ldelim();+ }+ if (message.nextPageToken !== "") {+ writer.uint32(18).string(message.nextPageToken);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): ListDatabaseGroupsResponse {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseListDatabaseGroupsResponse();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.databaseGroups.push(DatabaseGroup.decode(reader, reader.uint32()));+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.nextPageToken = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): ListDatabaseGroupsResponse {+ return {+ databaseGroups: globalThis.Array.isArray(object?.databaseGroups)+ ? object.databaseGroups.map((e: any) => DatabaseGroup.fromJSON(e))+ : [],+ nextPageToken: isSet(object.nextPageToken) ? globalThis.String(object.nextPageToken) : "",+ };+ },++ toJSON(message: ListDatabaseGroupsResponse): unknown {+ const obj: any = {};+ if (message.databaseGroups?.length) {+ obj.databaseGroups = message.databaseGroups.map((e) => DatabaseGroup.toJSON(e));+ }+ if (message.nextPageToken !== "") {+ obj.nextPageToken = message.nextPageToken;+ }+ return obj;+ },++ create(base?: DeepPartial<ListDatabaseGroupsResponse>): ListDatabaseGroupsResponse {+ return ListDatabaseGroupsResponse.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<ListDatabaseGroupsResponse>): ListDatabaseGroupsResponse {+ const message = createBaseListDatabaseGroupsResponse();+ message.databaseGroups = object.databaseGroups?.map((e) => DatabaseGroup.fromPartial(e)) || [];+ message.nextPageToken = object.nextPageToken ?? "";+ return message;+ },+};++function createBaseGetDatabaseGroupRequest(): GetDatabaseGroupRequest {+ return { name: "", view: DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED };+}++export const GetDatabaseGroupRequest = {+ encode(message: GetDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ if (message.view !== DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED) {+ writer.uint32(16).int32(databaseGroupViewToNumber(message.view));+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): GetDatabaseGroupRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseGetDatabaseGroupRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.name = reader.string();+ continue;+ case 2:+ if (tag !== 16) {+ break;+ }++ message.view = databaseGroupViewFromJSON(reader.int32());+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): GetDatabaseGroupRequest {+ return {+ name: isSet(object.name) ? globalThis.String(object.name) : "",+ view: isSet(object.view)+ ? databaseGroupViewFromJSON(object.view)+ : DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED,+ };+ },++ toJSON(message: GetDatabaseGroupRequest): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ if (message.view !== DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED) {+ obj.view = databaseGroupViewToJSON(message.view);+ }+ return obj;+ },++ create(base?: DeepPartial<GetDatabaseGroupRequest>): GetDatabaseGroupRequest {+ return GetDatabaseGroupRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<GetDatabaseGroupRequest>): GetDatabaseGroupRequest {+ const message = createBaseGetDatabaseGroupRequest();+ message.name = object.name ?? "";+ message.view = object.view ?? DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED;+ return message;+ },+};++function createBaseCreateDatabaseGroupRequest(): CreateDatabaseGroupRequest {+ return { parent: "", databaseGroup: undefined, databaseGroupId: "", validateOnly: false };+}++export const CreateDatabaseGroupRequest = {+ encode(message: CreateDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.parent !== "") {+ writer.uint32(10).string(message.parent);+ }+ if (message.databaseGroup !== undefined) {+ DatabaseGroup.encode(message.databaseGroup, writer.uint32(18).fork()).ldelim();+ }+ if (message.databaseGroupId !== "") {+ writer.uint32(26).string(message.databaseGroupId);+ }+ if (message.validateOnly === true) {+ writer.uint32(32).bool(message.validateOnly);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): CreateDatabaseGroupRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseCreateDatabaseGroupRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.parent = reader.string();+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.databaseGroup = DatabaseGroup.decode(reader, reader.uint32());+ continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.databaseGroupId = reader.string();+ continue;+ case 4:+ if (tag !== 32) {+ break;+ }++ message.validateOnly = reader.bool();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): CreateDatabaseGroupRequest {+ return {+ parent: isSet(object.parent) ? globalThis.String(object.parent) : "",+ databaseGroup: isSet(object.databaseGroup) ? DatabaseGroup.fromJSON(object.databaseGroup) : undefined,+ databaseGroupId: isSet(object.databaseGroupId) ? globalThis.String(object.databaseGroupId) : "",+ validateOnly: isSet(object.validateOnly) ? globalThis.Boolean(object.validateOnly) : false,+ };+ },++ toJSON(message: CreateDatabaseGroupRequest): unknown {+ const obj: any = {};+ if (message.parent !== "") {+ obj.parent = message.parent;+ }+ if (message.databaseGroup !== undefined) {+ obj.databaseGroup = DatabaseGroup.toJSON(message.databaseGroup);+ }+ if (message.databaseGroupId !== "") {+ obj.databaseGroupId = message.databaseGroupId;+ }+ if (message.validateOnly === true) {+ obj.validateOnly = message.validateOnly;+ }+ return obj;+ },++ create(base?: DeepPartial<CreateDatabaseGroupRequest>): CreateDatabaseGroupRequest {+ return CreateDatabaseGroupRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<CreateDatabaseGroupRequest>): CreateDatabaseGroupRequest {+ const message = createBaseCreateDatabaseGroupRequest();+ message.parent = object.parent ?? "";+ message.databaseGroup = (object.databaseGroup !== undefined && object.databaseGroup !== null)+ ? DatabaseGroup.fromPartial(object.databaseGroup)+ : undefined;+ message.databaseGroupId = object.databaseGroupId ?? "";+ message.validateOnly = object.validateOnly ?? false;+ return message;+ },+};++function createBaseUpdateDatabaseGroupRequest(): UpdateDatabaseGroupRequest {+ return { databaseGroup: undefined, updateMask: undefined };+}++export const UpdateDatabaseGroupRequest = {+ encode(message: UpdateDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.databaseGroup !== undefined) {+ DatabaseGroup.encode(message.databaseGroup, writer.uint32(10).fork()).ldelim();+ }+ if (message.updateMask !== undefined) {+ FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(18).fork()).ldelim();+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateDatabaseGroupRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseUpdateDatabaseGroupRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.databaseGroup = DatabaseGroup.decode(reader, reader.uint32());+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.updateMask = FieldMask.unwrap(FieldMask.decode(reader, reader.uint32()));+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): UpdateDatabaseGroupRequest {+ return {+ databaseGroup: isSet(object.databaseGroup) ? DatabaseGroup.fromJSON(object.databaseGroup) : undefined,+ updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,+ };+ },++ toJSON(message: UpdateDatabaseGroupRequest): unknown {+ const obj: any = {};+ if (message.databaseGroup !== undefined) {+ obj.databaseGroup = DatabaseGroup.toJSON(message.databaseGroup);+ }+ if (message.updateMask !== undefined) {+ obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask));+ }+ return obj;+ },++ create(base?: DeepPartial<UpdateDatabaseGroupRequest>): UpdateDatabaseGroupRequest {+ return UpdateDatabaseGroupRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<UpdateDatabaseGroupRequest>): UpdateDatabaseGroupRequest {+ const message = createBaseUpdateDatabaseGroupRequest();+ message.databaseGroup = (object.databaseGroup !== undefined && object.databaseGroup !== null)+ ? DatabaseGroup.fromPartial(object.databaseGroup)+ : undefined;+ message.updateMask = object.updateMask ?? undefined;+ return message;+ },+};++function createBaseDeleteDatabaseGroupRequest(): DeleteDatabaseGroupRequest {+ return { name: "" };+}++export const DeleteDatabaseGroupRequest = {+ encode(message: DeleteDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): DeleteDatabaseGroupRequest {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseDeleteDatabaseGroupRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.name = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): DeleteDatabaseGroupRequest {+ return { name: isSet(object.name) ? globalThis.String(object.name) : "" };+ },++ toJSON(message: DeleteDatabaseGroupRequest): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ return obj;+ },++ create(base?: DeepPartial<DeleteDatabaseGroupRequest>): DeleteDatabaseGroupRequest {+ return DeleteDatabaseGroupRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<DeleteDatabaseGroupRequest>): DeleteDatabaseGroupRequest {+ const message = createBaseDeleteDatabaseGroupRequest();+ message.name = object.name ?? "";+ return message;+ },+};++function createBaseDatabaseGroup(): DatabaseGroup {+ return {+ name: "",+ databasePlaceholder: "",+ databaseExpr: undefined,+ matchedDatabases: [],+ unmatchedDatabases: [],+ multitenancy: false,+ };+}++export const DatabaseGroup = {+ encode(message: DatabaseGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ if (message.databasePlaceholder !== "") {+ writer.uint32(18).string(message.databasePlaceholder);+ }+ if (message.databaseExpr !== undefined) {+ Expr.encode(message.databaseExpr, writer.uint32(26).fork()).ldelim();+ }+ for (const v of message.matchedDatabases) {+ DatabaseGroup_Database.encode(v!, writer.uint32(34).fork()).ldelim();+ }+ for (const v of message.unmatchedDatabases) {+ DatabaseGroup_Database.encode(v!, writer.uint32(42).fork()).ldelim();+ }+ if (message.multitenancy === true) {+ writer.uint32(48).bool(message.multitenancy);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): DatabaseGroup {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseDatabaseGroup();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.name = reader.string();+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.databasePlaceholder = reader.string();+ continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.databaseExpr = Expr.decode(reader, reader.uint32());+ continue;+ case 4:+ if (tag !== 34) {+ break;+ }++ message.matchedDatabases.push(DatabaseGroup_Database.decode(reader, reader.uint32()));+ continue;+ case 5:+ if (tag !== 42) {+ break;+ }++ message.unmatchedDatabases.push(DatabaseGroup_Database.decode(reader, reader.uint32()));+ continue;+ case 6:+ if (tag !== 48) {+ break;+ }++ message.multitenancy = reader.bool();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): DatabaseGroup {+ return {+ name: isSet(object.name) ? globalThis.String(object.name) : "",+ databasePlaceholder: isSet(object.databasePlaceholder) ? globalThis.String(object.databasePlaceholder) : "",+ databaseExpr: isSet(object.databaseExpr) ? Expr.fromJSON(object.databaseExpr) : undefined,+ matchedDatabases: globalThis.Array.isArray(object?.matchedDatabases)+ ? object.matchedDatabases.map((e: any) => DatabaseGroup_Database.fromJSON(e))+ : [],+ unmatchedDatabases: globalThis.Array.isArray(object?.unmatchedDatabases)+ ? object.unmatchedDatabases.map((e: any) => DatabaseGroup_Database.fromJSON(e))+ : [],+ multitenancy: isSet(object.multitenancy) ? globalThis.Boolean(object.multitenancy) : false,+ };+ },++ toJSON(message: DatabaseGroup): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ if (message.databasePlaceholder !== "") {+ obj.databasePlaceholder = message.databasePlaceholder;+ }+ if (message.databaseExpr !== undefined) {+ obj.databaseExpr = Expr.toJSON(message.databaseExpr);+ }+ if (message.matchedDatabases?.length) {+ obj.matchedDatabases = message.matchedDatabases.map((e) => DatabaseGroup_Database.toJSON(e));+ }+ if (message.unmatchedDatabases?.length) {+ obj.unmatchedDatabases = message.unmatchedDatabases.map((e) => DatabaseGroup_Database.toJSON(e));+ }+ if (message.multitenancy === true) {+ obj.multitenancy = message.multitenancy;+ }+ return obj;+ },++ create(base?: DeepPartial<DatabaseGroup>): DatabaseGroup {+ return DatabaseGroup.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<DatabaseGroup>): DatabaseGroup {+ const message = createBaseDatabaseGroup();+ message.name = object.name ?? "";+ message.databasePlaceholder = object.databasePlaceholder ?? "";+ message.databaseExpr = (object.databaseExpr !== undefined && object.databaseExpr !== null)+ ? Expr.fromPartial(object.databaseExpr)+ : undefined;+ message.matchedDatabases = object.matchedDatabases?.map((e) => DatabaseGroup_Database.fromPartial(e)) || [];+ message.unmatchedDatabases = object.unmatchedDatabases?.map((e) => DatabaseGroup_Database.fromPartial(e)) || [];+ message.multitenancy = object.multitenancy ?? false;+ return message;+ },+};++function createBaseDatabaseGroup_Database(): DatabaseGroup_Database {+ return { name: "" };+}++export const DatabaseGroup_Database = {+ encode(message: DatabaseGroup_Database, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ return writer;+ },++ decode(input: _m0.Reader | Uint8Array, length?: number): DatabaseGroup_Database {+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseDatabaseGroup_Database();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.name = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skipType(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): DatabaseGroup_Database {+ return { name: isSet(object.name) ? globalThis.String(object.name) : "" };+ },++ toJSON(message: DatabaseGroup_Database): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ return obj;+ },++ create(base?: DeepPartial<DatabaseGroup_Database>): DatabaseGroup_Database {+ return DatabaseGroup_Database.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<DatabaseGroup_Database>): DatabaseGroup_Database {+ const message = createBaseDatabaseGroup_Database();+ message.name = object.name ?? "";+ return message;+ },+};++export type DatabaseGroupServiceDefinition = typeof DatabaseGroupServiceDefinition;+export const DatabaseGroupServiceDefinition = {+ name: "DatabaseGroupService",+ fullName: "bytebase.v1.DatabaseGroupService",+ methods: {+ listDatabaseGroups: {+ name: "ListDatabaseGroups",+ requestType: ListDatabaseGroupsRequest,+ requestStream: false,+ responseType: ListDatabaseGroupsResponse,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([6, 112, 97, 114, 101, 110, 116])],+ 800010: [new Uint8Array([15, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 103, 101, 116])],+ 578365826: [+ new Uint8Array([+ 40,+ 18,+ 38,+ 47,+ 118,+ 49,+ 47,+ 123,+ 112,+ 97,+ 114,+ 101,+ 110,+ 116,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 125,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 71,+ 114,+ 111,+ 117,+ 112,+ 115,+ ]),+ ],+ },+ },+ },+ getDatabaseGroup: {+ name: "GetDatabaseGroup",+ requestType: GetDatabaseGroupRequest,+ requestStream: false,+ responseType: DatabaseGroup,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([4, 110, 97, 109, 101])],+ 800010: [new Uint8Array([15, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 103, 101, 116])],+ 578365826: [+ new Uint8Array([+ 40,+ 18,+ 38,+ 47,+ 118,+ 49,+ 47,+ 123,+ 110,+ 97,+ 109,+ 101,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 71,+ 114,+ 111,+ 117,+ 112,+ 115,+ 47,+ 42,+ 125,+ ]),+ ],+ },+ },+ },+ createDatabaseGroup: {+ name: "CreateDatabaseGroup",+ requestType: CreateDatabaseGroupRequest,+ requestStream: false,+ responseType: DatabaseGroup,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [+ new Uint8Array([+ 20,+ 112,+ 97,+ 114,+ 101,+ 110,+ 116,+ 44,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 71,+ 114,+ 111,+ 117,+ 112,+ ]),+ ],+ 800010: [+ new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),+ ],+ 578365826: [+ new Uint8Array([+ 56,+ 58,+ 14,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 95,+ 103,+ 114,+ 111,+ 117,+ 112,+ 34,+ 38,+ 47,+ 118,+ 49,+ 47,+ 123,+ 112,+ 97,+ 114,+ 101,+ 110,+ 116,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 125,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 71,+ 114,+ 111,+ 117,+ 112,+ 115,+ ]),+ ],+ },+ },+ },+ updateDatabaseGroup: {+ name: "UpdateDatabaseGroup",+ requestType: UpdateDatabaseGroupRequest,+ requestStream: false,+ responseType: DatabaseGroup,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [+ new Uint8Array([+ 26,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 95,+ 103,+ 114,+ 111,+ 117,+ 112,+ 44,+ 117,+ 112,+ 100,+ 97,+ 116,+ 101,+ 95,+ 109,+ 97,+ 115,+ 107,+ ]),+ ],+ 800010: [+ new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),+ ],+ 578365826: [+ new Uint8Array([+ 71,+ 58,+ 14,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 95,+ 103,+ 114,+ 111,+ 117,+ 112,+ 50,+ 53,+ 47,+ 118,+ 49,+ 47,+ 123,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 95,+ 103,+ 114,+ 111,+ 117,+ 112,+ 46,+ 110,+ 97,+ 109,+ 101,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 71,+ 114,+ 111,+ 117,+ 112,+ 115,+ 47,+ 42,+ 125,+ ]),+ ],+ },+ },+ },+ deleteDatabaseGroup: {+ name: "DeleteDatabaseGroup",+ requestType: DeleteDatabaseGroupRequest,+ requestStream: false,+ responseType: Empty,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([4, 110, 97, 109, 101])],+ 800010: [+ new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),+ ],+ 578365826: [+ new Uint8Array([+ 40,+ 42,+ 38,+ 47,+ 118,+ 49,+ 47,+ 123,+ 110,+ 97,+ 109,+ 101,+ 61,+ 112,+ 114,+ 111,+ 106,+ 101,+ 99,+ 116,+ 115,+ 47,+ 42,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 71,+ 114,+ 111,+ 117,+ 112,+ 115,+ 47,+ 42,+ 125,+ ]),+ ],+ },+ },+ },+ },+} as const;++type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;++export type DeepPartial<T> = T extends Builtin ? T+ : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>+ : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>+ : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }+ : Partial<T>;++if (_m0.util.Long !== Long) {+ _m0.util.Long = Long as any;+ _m0.configure();+}++function isSet(value: any): boolean {+ return value !== null && value !== undefined;+}diff --git a/frontend/src/types/proto/v1/project_service.ts b/frontend/src/types/proto/v1/project_service.tsindex ebe0ed4281..134ae344b0 100644--- a/frontend/src/types/proto/v1/project_service.ts+++ b/frontend/src/types/proto/v1/project_service.ts@@ -3,8 +3,16 @@ import Long from "long";import _m0 from "protobufjs/minimal";import { Empty } from "../google/protobuf/empty";import { FieldMask } from "../google/protobuf/field_mask";-import { Expr } from "../google/type/expr";import { State, stateFromJSON, stateToJSON, stateToNumber } from "./common";+import {+ CreateDatabaseGroupRequest,+ DatabaseGroup,+ DeleteDatabaseGroupRequest,+ GetDatabaseGroupRequest,+ ListDatabaseGroupsRequest,+ ListDatabaseGroupsResponse,+ UpdateDatabaseGroupRequest,+} from "./database_group_service";import { GetIamPolicyRequest, IamPolicy, SetIamPolicyRequest } from "./iam_policy";export const protobufPackage = "bytebase.v1";@@ -127,65 +135,6 @@ export function operatorTypeToNumber(object: OperatorType): number {}}-export enum DatabaseGroupView {- /**- * DATABASE_GROUP_VIEW_UNSPECIFIED - The default / unset value.- * The API will default to the BASIC view.- */- DATABASE_GROUP_VIEW_UNSPECIFIED = "DATABASE_GROUP_VIEW_UNSPECIFIED",- /** DATABASE_GROUP_VIEW_BASIC - Include basic information about the database group, but exclude the list of matched databases and unmatched databases. */- DATABASE_GROUP_VIEW_BASIC = "DATABASE_GROUP_VIEW_BASIC",- /** DATABASE_GROUP_VIEW_FULL - Include everything. */- DATABASE_GROUP_VIEW_FULL = "DATABASE_GROUP_VIEW_FULL",- UNRECOGNIZED = "UNRECOGNIZED",-}--export function databaseGroupViewFromJSON(object: any): DatabaseGroupView {- switch (object) {- case 0:- case "DATABASE_GROUP_VIEW_UNSPECIFIED":- return DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED;- case 1:- case "DATABASE_GROUP_VIEW_BASIC":- return DatabaseGroupView.DATABASE_GROUP_VIEW_BASIC;- case 2:- case "DATABASE_GROUP_VIEW_FULL":- return DatabaseGroupView.DATABASE_GROUP_VIEW_FULL;- case -1:- case "UNRECOGNIZED":- default:- return DatabaseGroupView.UNRECOGNIZED;- }-}--export function databaseGroupViewToJSON(object: DatabaseGroupView): string {- switch (object) {- case DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED:- return "DATABASE_GROUP_VIEW_UNSPECIFIED";- case DatabaseGroupView.DATABASE_GROUP_VIEW_BASIC:- return "DATABASE_GROUP_VIEW_BASIC";- case DatabaseGroupView.DATABASE_GROUP_VIEW_FULL:- return "DATABASE_GROUP_VIEW_FULL";- case DatabaseGroupView.UNRECOGNIZED:- default:- return "UNRECOGNIZED";- }-}--export function databaseGroupViewToNumber(object: DatabaseGroupView): number {- switch (object) {- case DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED:- return 0;- case DatabaseGroupView.DATABASE_GROUP_VIEW_BASIC:- return 1;- case DatabaseGroupView.DATABASE_GROUP_VIEW_FULL:- return 2;- case DatabaseGroupView.UNRECOGNIZED:- default:- return -1;- }-}-export interface GetProjectRequest {/*** The name of the project to retrieve.@@ -787,123 +736,6 @@ export function activity_TypeToNumber(object: Activity_Type): number {}}-export interface ListDatabaseGroupsRequest {- /**- * The parent resource whose database groups are to be listed.- * Format: projects/{project}- */- parent: string;- /**- * Not used. The maximum number of anomalies to return. The service may return fewer than- * this value.- * If unspecified, at most 50 anomalies will be returned.- * The maximum value is 1000; values above 1000 will be coerced to 1000.- */- pageSize: number;- /**- * Not used. A page token, received from a previous `ListDatabaseGroups` call.- * Provide this to retrieve the subsequent page.- *- * When paginating, all other parameters provided to `ListDatabaseGroups` must match- * the call that provided the page token.- */- pageToken: string;-}--export interface ListDatabaseGroupsResponse {- /** database_groups is the list of database groups. */- databaseGroups: DatabaseGroup[];- /**- * Not used. A token, which can be sent as `page_token` to retrieve the next page.- * If this field is omitted, there are no subsequent pages.- */- nextPageToken: string;-}--export interface GetDatabaseGroupRequest {- /**- * The name of the database group to retrieve.- * Format: projects/{project}/databaseGroups/{databaseGroup}- */- name: string;- /** The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. */- view: DatabaseGroupView;-}--export interface CreateDatabaseGroupRequest {- /**- * The parent resource where this database group will be created.- * Format: projects/{project}- */- parent: string;- /** The database group to create. */- databaseGroup:- | DatabaseGroup- | undefined;- /**- * The ID to use for the database group, which will become the final component of- * the database group's resource name.- *- * This value should be 4-63 characters, and valid characters- * are /[a-z][0-9]-/.- */- databaseGroupId: string;- /** If set, validate the create request and preview the full database group response, but do not actually create it. */- validateOnly: boolean;-}--export interface UpdateDatabaseGroupRequest {- /**- * The database group to update.- *- * The database group's `name` field is used to identify the database group to update.- * Format: projects/{project}/databaseGroups/{databaseGroup}- */- databaseGroup:- | DatabaseGroup- | undefined;- /** The list of fields to update. */- updateMask: string[] | undefined;-}--export interface DeleteDatabaseGroupRequest {- /**- * The name of the database group to delete.- * Format: projects/{project}/databaseGroups/{databaseGroup}- */- name: string;-}--export interface DatabaseGroup {- /**- * The name of the database group.- * Format: projects/{project}/databaseGroups/{databaseGroup}- */- name: string;- /**- * The short name used in actual databases specified by users.- * For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1".- */- databasePlaceholder: string;- /** The condition that is associated with this database group. */- databaseExpr:- | Expr- | undefined;- /** The list of databases that match the database group condition. */- matchedDatabases: DatabaseGroup_Database[];- /** The list of databases that match the database group condition. */- unmatchedDatabases: DatabaseGroup_Database[];- multitenancy: boolean;-}--export interface DatabaseGroup_Database {- /**- * The resource name of the database.- * Format: instances/{instance}/databases/{database}- */- name: string;-}-export interface GetProjectProtectionRulesRequest {/*** The name of the protection rules.@@ -3296,28 +3128,22 @@ export const Activity = {},};-function createBaseListDatabaseGroupsRequest(): ListDatabaseGroupsRequest {- return { parent: "", pageSize: 0, pageToken: "" };+function createBaseGetProjectProtectionRulesRequest(): GetProjectProtectionRulesRequest {+ return { name: "" };}-export const ListDatabaseGroupsRequest = {- encode(message: ListDatabaseGroupsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.parent !== "") {- writer.uint32(10).string(message.parent);- }- if (message.pageSize !== 0) {- writer.uint32(16).int32(message.pageSize);- }- if (message.pageToken !== "") {- writer.uint32(26).string(message.pageToken);+export const GetProjectProtectionRulesRequest = {+ encode(message: GetProjectProtectionRulesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);}return writer;},- decode(input: _m0.Reader | Uint8Array, length?: number): ListDatabaseGroupsRequest {+ decode(input: _m0.Reader | Uint8Array, length?: number): GetProjectProtectionRulesRequest {const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseListDatabaseGroupsRequest();+ const message = createBaseGetProjectProtectionRulesRequest();while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {@@ -3326,21 +3152,7 @@ export const ListDatabaseGroupsRequest = {break;}- message.parent = reader.string();- continue;- case 2:- if (tag !== 16) {- break;- }-- message.pageSize = reader.int32();- continue;- case 3:- if (tag !== 26) {- break;- }-- message.pageToken = reader.string();+ message.name = reader.string();continue;}if ((tag & 7) === 4 || tag === 0) {@@ -3351,75 +3163,53 @@ export const ListDatabaseGroupsRequest = {return message;},- fromJSON(object: any): ListDatabaseGroupsRequest {- return {- parent: isSet(object.parent) ? globalThis.String(object.parent) : "",- pageSize: isSet(object.pageSize) ? globalThis.Number(object.pageSize) : 0,- pageToken: isSet(object.pageToken) ? globalThis.String(object.pageToken) : "",- };+ fromJSON(object: any): GetProjectProtectionRulesRequest {+ return { name: isSet(object.name) ? globalThis.String(object.name) : "" };},- toJSON(message: ListDatabaseGroupsRequest): unknown {+ toJSON(message: GetProjectProtectionRulesRequest): unknown {const obj: any = {};- if (message.parent !== "") {- obj.parent = message.parent;- }- if (message.pageSize !== 0) {- obj.pageSize = Math.round(message.pageSize);- }- if (message.pageToken !== "") {- obj.pageToken = message.pageToken;+ if (message.name !== "") {+ obj.name = message.name;}return obj;},- create(base?: DeepPartial<ListDatabaseGroupsRequest>): ListDatabaseGroupsRequest {- return ListDatabaseGroupsRequest.fromPartial(base ?? {});+ create(base?: DeepPartial<GetProjectProtectionRulesRequest>): GetProjectProtectionRulesRequest {+ return GetProjectProtectionRulesRequest.fromPartial(base ?? {});},- fromPartial(object: DeepPartial<ListDatabaseGroupsRequest>): ListDatabaseGroupsRequest {- const message = createBaseListDatabaseGroupsRequest();- message.parent = object.parent ?? "";- message.pageSize = object.pageSize ?? 0;- message.pageToken = object.pageToken ?? "";+ fromPartial(object: DeepPartial<GetProjectProtectionRulesRequest>): GetProjectProtectionRulesRequest {+ const message = createBaseGetProjectProtectionRulesRequest();+ message.name = object.name ?? "";return message;},};-function createBaseListDatabaseGroupsResponse(): ListDatabaseGroupsResponse {- return { databaseGroups: [], nextPageToken: "" };+function createBaseUpdateProjectProtectionRulesRequest(): UpdateProjectProtectionRulesRequest {+ return { protectionRules: undefined };}-export const ListDatabaseGroupsResponse = {- encode(message: ListDatabaseGroupsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- for (const v of message.databaseGroups) {- DatabaseGroup.encode(v!, writer.uint32(10).fork()).ldelim();- }- if (message.nextPageToken !== "") {- writer.uint32(18).string(message.nextPageToken);+export const UpdateProjectProtectionRulesRequest = {+ encode(message: UpdateProjectProtectionRulesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.protectionRules !== undefined) {+ ProtectionRules.encode(message.protectionRules, writer.uint32(18).fork()).ldelim();}return writer;},- decode(input: _m0.Reader | Uint8Array, length?: number): ListDatabaseGroupsResponse {+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateProjectProtectionRulesRequest {const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseListDatabaseGroupsResponse();+ const message = createBaseUpdateProjectProtectionRulesRequest();while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.databaseGroups.push(DatabaseGroup.decode(reader, reader.uint32()));- continue;case 2:if (tag !== 18) {break;}- message.nextPageToken = reader.string();+ message.protectionRules = ProtectionRules.decode(reader, reader.uint32());continue;}if ((tag & 7) === 4 || tag === 0) {@@ -3430,56 +3220,51 @@ export const ListDatabaseGroupsResponse = {return message;},- fromJSON(object: any): ListDatabaseGroupsResponse {+ fromJSON(object: any): UpdateProjectProtectionRulesRequest {return {- databaseGroups: globalThis.Array.isArray(object?.databaseGroups)- ? object.databaseGroups.map((e: any) => DatabaseGroup.fromJSON(e))- : [],- nextPageToken: isSet(object.nextPageToken) ? globalThis.String(object.nextPageToken) : "",+ protectionRules: isSet(object.protectionRules) ? ProtectionRules.fromJSON(object.protectionRules) : undefined,};},- toJSON(message: ListDatabaseGroupsResponse): unknown {+ toJSON(message: UpdateProjectProtectionRulesRequest): unknown {const obj: any = {};- if (message.databaseGroups?.length) {- obj.databaseGroups = message.databaseGroups.map((e) => DatabaseGroup.toJSON(e));- }- if (message.nextPageToken !== "") {- obj.nextPageToken = message.nextPageToken;+ if (message.protectionRules !== undefined) {+ obj.protectionRules = ProtectionRules.toJSON(message.protectionRules);}return obj;},- create(base?: DeepPartial<ListDatabaseGroupsResponse>): ListDatabaseGroupsResponse {- return ListDatabaseGroupsResponse.fromPartial(base ?? {});+ create(base?: DeepPartial<UpdateProjectProtectionRulesRequest>): UpdateProjectProtectionRulesRequest {+ return UpdateProjectProtectionRulesRequest.fromPartial(base ?? {});},- fromPartial(object: DeepPartial<ListDatabaseGroupsResponse>): ListDatabaseGroupsResponse {- const message = createBaseListDatabaseGroupsResponse();- message.databaseGroups = object.databaseGroups?.map((e) => DatabaseGroup.fromPartial(e)) || [];- message.nextPageToken = object.nextPageToken ?? "";+ fromPartial(object: DeepPartial<UpdateProjectProtectionRulesRequest>): UpdateProjectProtectionRulesRequest {+ const message = createBaseUpdateProjectProtectionRulesRequest();+ message.protectionRules = (object.protectionRules !== undefined && object.protectionRules !== null)+ ? ProtectionRules.fromPartial(object.protectionRules)+ : undefined;return message;},};-function createBaseGetDatabaseGroupRequest(): GetDatabaseGroupRequest {- return { name: "", view: DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED };+function createBaseProtectionRules(): ProtectionRules {+ return { name: "", rules: [] };}-export const GetDatabaseGroupRequest = {- encode(message: GetDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+export const ProtectionRules = {+ encode(message: ProtectionRules, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {if (message.name !== "") {writer.uint32(10).string(message.name);}- if (message.view !== DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED) {- writer.uint32(16).int32(databaseGroupViewToNumber(message.view));+ for (const v of message.rules) {+ ProtectionRule.encode(v!, writer.uint32(18).fork()).ldelim();}return writer;},- decode(input: _m0.Reader | Uint8Array, length?: number): GetDatabaseGroupRequest {+ decode(input: _m0.Reader | Uint8Array, length?: number): ProtectionRules {const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseGetDatabaseGroupRequest();+ const message = createBaseProtectionRules();while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {@@ -3491,11 +3276,11 @@ export const GetDatabaseGroupRequest = {message.name = reader.string();continue;case 2:- if (tag !== 16) {+ if (tag !== 18) {break;}- message.view = databaseGroupViewFromJSON(reader.int32());+ message.rules.push(ProtectionRule.decode(reader, reader.uint32()));continue;}if ((tag & 7) === 4 || tag === 0) {@@ -3506,62 +3291,69 @@ export const GetDatabaseGroupRequest = {return message;},- fromJSON(object: any): GetDatabaseGroupRequest {+ fromJSON(object: any): ProtectionRules {return {name: isSet(object.name) ? globalThis.String(object.name) : "",- view: isSet(object.view)- ? databaseGroupViewFromJSON(object.view)- : DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED,+ rules: globalThis.Array.isArray(object?.rules) ? object.rules.map((e: any) => ProtectionRule.fromJSON(e)) : [],};},- toJSON(message: GetDatabaseGroupRequest): unknown {+ toJSON(message: ProtectionRules): unknown {const obj: any = {};if (message.name !== "") {obj.name = message.name;}- if (message.view !== DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED) {- obj.view = databaseGroupViewToJSON(message.view);+ if (message.rules?.length) {+ obj.rules = message.rules.map((e) => ProtectionRule.toJSON(e));}return obj;},- create(base?: DeepPartial<GetDatabaseGroupRequest>): GetDatabaseGroupRequest {- return GetDatabaseGroupRequest.fromPartial(base ?? {});+ create(base?: DeepPartial<ProtectionRules>): ProtectionRules {+ return ProtectionRules.fromPartial(base ?? {});},- fromPartial(object: DeepPartial<GetDatabaseGroupRequest>): GetDatabaseGroupRequest {- const message = createBaseGetDatabaseGroupRequest();+ fromPartial(object: DeepPartial<ProtectionRules>): ProtectionRules {+ const message = createBaseProtectionRules();message.name = object.name ?? "";- message.view = object.view ?? DatabaseGroupView.DATABASE_GROUP_VIEW_UNSPECIFIED;+ message.rules = object.rules?.map((e) => ProtectionRule.fromPartial(e)) || [];return message;},};-function createBaseCreateDatabaseGroupRequest(): CreateDatabaseGroupRequest {- return { parent: "", databaseGroup: undefined, databaseGroupId: "", validateOnly: false };+function createBaseProtectionRule(): ProtectionRule {+ return {+ id: "",+ target: ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED,+ nameFilter: "",+ allowedRoles: [],+ branchSource: ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED,+ };}-export const CreateDatabaseGroupRequest = {- encode(message: CreateDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.parent !== "") {- writer.uint32(10).string(message.parent);+export const ProtectionRule = {+ encode(message: ProtectionRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {+ if (message.id !== "") {+ writer.uint32(10).string(message.id);+ }+ if (message.target !== ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED) {+ writer.uint32(16).int32(protectionRule_TargetToNumber(message.target));}- if (message.databaseGroup !== undefined) {- DatabaseGroup.encode(message.databaseGroup, writer.uint32(18).fork()).ldelim();+ if (message.nameFilter !== "") {+ writer.uint32(26).string(message.nameFilter);}- if (message.databaseGroupId !== "") {- writer.uint32(26).string(message.databaseGroupId);+ for (const v of message.allowedRoles) {+ writer.uint32(34).string(v!);}- if (message.validateOnly === true) {- writer.uint32(32).bool(message.validateOnly);+ if (message.branchSource !== ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED) {+ writer.uint32(40).int32(protectionRule_BranchSourceToNumber(message.branchSource));}return writer;},- decode(input: _m0.Reader | Uint8Array, length?: number): CreateDatabaseGroupRequest {+ decode(input: _m0.Reader | Uint8Array, length?: number): ProtectionRule {const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseCreateDatabaseGroupRequest();+ const message = createBaseProtectionRule();while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {@@ -3570,28 +3362,35 @@ export const CreateDatabaseGroupRequest = {break;}- message.parent = reader.string();+ message.id = reader.string();continue;case 2:- if (tag !== 18) {+ if (tag !== 16) {break;}- message.databaseGroup = DatabaseGroup.decode(reader, reader.uint32());+ message.target = protectionRule_TargetFromJSON(reader.int32());continue;case 3:if (tag !== 26) {break;}- message.databaseGroupId = reader.string();+ message.nameFilter = reader.string();continue;case 4:- if (tag !== 32) {+ if (tag !== 34) {+ break;+ }++ message.allowedRoles.push(reader.string());+ continue;+ case 5:+ if (tag !== 40) {break;}- message.validateOnly = reader.bool();+ message.branchSource = protectionRule_BranchSourceFromJSON(reader.int32());continue;}if ((tag & 7) === 4 || tag === 0) {@@ -3602,680 +3401,29 @@ export const CreateDatabaseGroupRequest = {return message;},- fromJSON(object: any): CreateDatabaseGroupRequest {+ fromJSON(object: any): ProtectionRule {return {- parent: isSet(object.parent) ? globalThis.String(object.parent) : "",- databaseGroup: isSet(object.databaseGroup) ? DatabaseGroup.fromJSON(object.databaseGroup) : undefined,- databaseGroupId: isSet(object.databaseGroupId) ? globalThis.String(object.databaseGroupId) : "",- validateOnly: isSet(object.validateOnly) ? globalThis.Boolean(object.validateOnly) : false,+ id: isSet(object.id) ? globalThis.String(object.id) : "",+ target: isSet(object.target)+ ? protectionRule_TargetFromJSON(object.target)+ : ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED,+ nameFilter: isSet(object.nameFilter) ? globalThis.String(object.nameFilter) : "",+ allowedRoles: globalThis.Array.isArray(object?.allowedRoles)+ ? object.allowedRoles.map((e: any) => globalThis.String(e))+ : [],+ branchSource: isSet(object.branchSource)+ ? protectionRule_BranchSourceFromJSON(object.branchSource)+ : ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED,};},- toJSON(message: CreateDatabaseGroupRequest): unknown {+ toJSON(message: ProtectionRule): unknown {const obj: any = {};- if (message.parent !== "") {- obj.parent = message.parent;- }- if (message.databaseGroup !== undefined) {- obj.databaseGroup = DatabaseGroup.toJSON(message.databaseGroup);+ if (message.id !== "") {+ obj.id = message.id;}- if (message.databaseGroupId !== "") {- obj.databaseGroupId = message.databaseGroupId;- }- if (message.validateOnly === true) {- obj.validateOnly = message.validateOnly;- }- return obj;- },-- create(base?: DeepPartial<CreateDatabaseGroupRequest>): CreateDatabaseGroupRequest {- return CreateDatabaseGroupRequest.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<CreateDatabaseGroupRequest>): CreateDatabaseGroupRequest {- const message = createBaseCreateDatabaseGroupRequest();- message.parent = object.parent ?? "";- message.databaseGroup = (object.databaseGroup !== undefined && object.databaseGroup !== null)- ? DatabaseGroup.fromPartial(object.databaseGroup)- : undefined;- message.databaseGroupId = object.databaseGroupId ?? "";- message.validateOnly = object.validateOnly ?? false;- return message;- },-};--function createBaseUpdateDatabaseGroupRequest(): UpdateDatabaseGroupRequest {- return { databaseGroup: undefined, updateMask: undefined };-}--export const UpdateDatabaseGroupRequest = {- encode(message: UpdateDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.databaseGroup !== undefined) {- DatabaseGroup.encode(message.databaseGroup, writer.uint32(10).fork()).ldelim();- }- if (message.updateMask !== undefined) {- FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(18).fork()).ldelim();- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): UpdateDatabaseGroupRequest {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseUpdateDatabaseGroupRequest();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.databaseGroup = DatabaseGroup.decode(reader, reader.uint32());- continue;- case 2:- if (tag !== 18) {- break;- }-- message.updateMask = FieldMask.unwrap(FieldMask.decode(reader, reader.uint32()));- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): UpdateDatabaseGroupRequest {- return {- databaseGroup: isSet(object.databaseGroup) ? DatabaseGroup.fromJSON(object.databaseGroup) : undefined,- updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,- };- },-- toJSON(message: UpdateDatabaseGroupRequest): unknown {- const obj: any = {};- if (message.databaseGroup !== undefined) {- obj.databaseGroup = DatabaseGroup.toJSON(message.databaseGroup);- }- if (message.updateMask !== undefined) {- obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask));- }- return obj;- },-- create(base?: DeepPartial<UpdateDatabaseGroupRequest>): UpdateDatabaseGroupRequest {- return UpdateDatabaseGroupRequest.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<UpdateDatabaseGroupRequest>): UpdateDatabaseGroupRequest {- const message = createBaseUpdateDatabaseGroupRequest();- message.databaseGroup = (object.databaseGroup !== undefined && object.databaseGroup !== null)- ? DatabaseGroup.fromPartial(object.databaseGroup)- : undefined;- message.updateMask = object.updateMask ?? undefined;- return message;- },-};--function createBaseDeleteDatabaseGroupRequest(): DeleteDatabaseGroupRequest {- return { name: "" };-}--export const DeleteDatabaseGroupRequest = {- encode(message: DeleteDatabaseGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): DeleteDatabaseGroupRequest {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseDeleteDatabaseGroupRequest();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): DeleteDatabaseGroupRequest {- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };- },-- toJSON(message: DeleteDatabaseGroupRequest): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- return obj;- },-- create(base?: DeepPartial<DeleteDatabaseGroupRequest>): DeleteDatabaseGroupRequest {- return DeleteDatabaseGroupRequest.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<DeleteDatabaseGroupRequest>): DeleteDatabaseGroupRequest {- const message = createBaseDeleteDatabaseGroupRequest();- message.name = object.name ?? "";- return message;- },-};--function createBaseDatabaseGroup(): DatabaseGroup {- return {- name: "",- databasePlaceholder: "",- databaseExpr: undefined,- matchedDatabases: [],- unmatchedDatabases: [],- multitenancy: false,- };-}--export const DatabaseGroup = {- encode(message: DatabaseGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.databasePlaceholder !== "") {- writer.uint32(18).string(message.databasePlaceholder);- }- if (message.databaseExpr !== undefined) {- Expr.encode(message.databaseExpr, writer.uint32(26).fork()).ldelim();- }- for (const v of message.matchedDatabases) {- DatabaseGroup_Database.encode(v!, writer.uint32(34).fork()).ldelim();- }- for (const v of message.unmatchedDatabases) {- DatabaseGroup_Database.encode(v!, writer.uint32(42).fork()).ldelim();- }- if (message.multitenancy === true) {- writer.uint32(48).bool(message.multitenancy);- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): DatabaseGroup {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseDatabaseGroup();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- case 2:- if (tag !== 18) {- break;- }-- message.databasePlaceholder = reader.string();- continue;- case 3:- if (tag !== 26) {- break;- }-- message.databaseExpr = Expr.decode(reader, reader.uint32());- continue;- case 4:- if (tag !== 34) {- break;- }-- message.matchedDatabases.push(DatabaseGroup_Database.decode(reader, reader.uint32()));- continue;- case 5:- if (tag !== 42) {- break;- }-- message.unmatchedDatabases.push(DatabaseGroup_Database.decode(reader, reader.uint32()));- continue;- case 6:- if (tag !== 48) {- break;- }-- message.multitenancy = reader.bool();- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): DatabaseGroup {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- databasePlaceholder: isSet(object.databasePlaceholder) ? globalThis.String(object.databasePlaceholder) : "",- databaseExpr: isSet(object.databaseExpr) ? Expr.fromJSON(object.databaseExpr) : undefined,- matchedDatabases: globalThis.Array.isArray(object?.matchedDatabases)- ? object.matchedDatabases.map((e: any) => DatabaseGroup_Database.fromJSON(e))- : [],- unmatchedDatabases: globalThis.Array.isArray(object?.unmatchedDatabases)- ? object.unmatchedDatabases.map((e: any) => DatabaseGroup_Database.fromJSON(e))- : [],- multitenancy: isSet(object.multitenancy) ? globalThis.Boolean(object.multitenancy) : false,- };- },-- toJSON(message: DatabaseGroup): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.databasePlaceholder !== "") {- obj.databasePlaceholder = message.databasePlaceholder;- }- if (message.databaseExpr !== undefined) {- obj.databaseExpr = Expr.toJSON(message.databaseExpr);- }- if (message.matchedDatabases?.length) {- obj.matchedDatabases = message.matchedDatabases.map((e) => DatabaseGroup_Database.toJSON(e));- }- if (message.unmatchedDatabases?.length) {- obj.unmatchedDatabases = message.unmatchedDatabases.map((e) => DatabaseGroup_Database.toJSON(e));- }- if (message.multitenancy === true) {- obj.multitenancy = message.multitenancy;- }- return obj;- },-- create(base?: DeepPartial<DatabaseGroup>): DatabaseGroup {- return DatabaseGroup.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<DatabaseGroup>): DatabaseGroup {- const message = createBaseDatabaseGroup();- message.name = object.name ?? "";- message.databasePlaceholder = object.databasePlaceholder ?? "";- message.databaseExpr = (object.databaseExpr !== undefined && object.databaseExpr !== null)- ? Expr.fromPartial(object.databaseExpr)- : undefined;- message.matchedDatabases = object.matchedDatabases?.map((e) => DatabaseGroup_Database.fromPartial(e)) || [];- message.unmatchedDatabases = object.unmatchedDatabases?.map((e) => DatabaseGroup_Database.fromPartial(e)) || [];- message.multitenancy = object.multitenancy ?? false;- return message;- },-};--function createBaseDatabaseGroup_Database(): DatabaseGroup_Database {- return { name: "" };-}--export const DatabaseGroup_Database = {- encode(message: DatabaseGroup_Database, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): DatabaseGroup_Database {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseDatabaseGroup_Database();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): DatabaseGroup_Database {- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };- },-- toJSON(message: DatabaseGroup_Database): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- return obj;- },-- create(base?: DeepPartial<DatabaseGroup_Database>): DatabaseGroup_Database {- return DatabaseGroup_Database.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<DatabaseGroup_Database>): DatabaseGroup_Database {- const message = createBaseDatabaseGroup_Database();- message.name = object.name ?? "";- return message;- },-};--function createBaseGetProjectProtectionRulesRequest(): GetProjectProtectionRulesRequest {- return { name: "" };-}--export const GetProjectProtectionRulesRequest = {- encode(message: GetProjectProtectionRulesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): GetProjectProtectionRulesRequest {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseGetProjectProtectionRulesRequest();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): GetProjectProtectionRulesRequest {- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };- },-- toJSON(message: GetProjectProtectionRulesRequest): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- return obj;- },-- create(base?: DeepPartial<GetProjectProtectionRulesRequest>): GetProjectProtectionRulesRequest {- return GetProjectProtectionRulesRequest.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<GetProjectProtectionRulesRequest>): GetProjectProtectionRulesRequest {- const message = createBaseGetProjectProtectionRulesRequest();- message.name = object.name ?? "";- return message;- },-};--function createBaseUpdateProjectProtectionRulesRequest(): UpdateProjectProtectionRulesRequest {- return { protectionRules: undefined };-}--export const UpdateProjectProtectionRulesRequest = {- encode(message: UpdateProjectProtectionRulesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.protectionRules !== undefined) {- ProtectionRules.encode(message.protectionRules, writer.uint32(18).fork()).ldelim();- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): UpdateProjectProtectionRulesRequest {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseUpdateProjectProtectionRulesRequest();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 2:- if (tag !== 18) {- break;- }-- message.protectionRules = ProtectionRules.decode(reader, reader.uint32());- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): UpdateProjectProtectionRulesRequest {- return {- protectionRules: isSet(object.protectionRules) ? ProtectionRules.fromJSON(object.protectionRules) : undefined,- };- },-- toJSON(message: UpdateProjectProtectionRulesRequest): unknown {- const obj: any = {};- if (message.protectionRules !== undefined) {- obj.protectionRules = ProtectionRules.toJSON(message.protectionRules);- }- return obj;- },-- create(base?: DeepPartial<UpdateProjectProtectionRulesRequest>): UpdateProjectProtectionRulesRequest {- return UpdateProjectProtectionRulesRequest.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<UpdateProjectProtectionRulesRequest>): UpdateProjectProtectionRulesRequest {- const message = createBaseUpdateProjectProtectionRulesRequest();- message.protectionRules = (object.protectionRules !== undefined && object.protectionRules !== null)- ? ProtectionRules.fromPartial(object.protectionRules)- : undefined;- return message;- },-};--function createBaseProtectionRules(): ProtectionRules {- return { name: "", rules: [] };-}--export const ProtectionRules = {- encode(message: ProtectionRules, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- for (const v of message.rules) {- ProtectionRule.encode(v!, writer.uint32(18).fork()).ldelim();- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): ProtectionRules {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseProtectionRules();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- case 2:- if (tag !== 18) {- break;- }-- message.rules.push(ProtectionRule.decode(reader, reader.uint32()));- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): ProtectionRules {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- rules: globalThis.Array.isArray(object?.rules) ? object.rules.map((e: any) => ProtectionRule.fromJSON(e)) : [],- };- },-- toJSON(message: ProtectionRules): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.rules?.length) {- obj.rules = message.rules.map((e) => ProtectionRule.toJSON(e));- }- return obj;- },-- create(base?: DeepPartial<ProtectionRules>): ProtectionRules {- return ProtectionRules.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ProtectionRules>): ProtectionRules {- const message = createBaseProtectionRules();- message.name = object.name ?? "";- message.rules = object.rules?.map((e) => ProtectionRule.fromPartial(e)) || [];- return message;- },-};--function createBaseProtectionRule(): ProtectionRule {- return {- id: "",- target: ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED,- nameFilter: "",- allowedRoles: [],- branchSource: ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED,- };-}--export const ProtectionRule = {- encode(message: ProtectionRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.id !== "") {- writer.uint32(10).string(message.id);- }- if (message.target !== ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED) {- writer.uint32(16).int32(protectionRule_TargetToNumber(message.target));- }- if (message.nameFilter !== "") {- writer.uint32(26).string(message.nameFilter);- }- for (const v of message.allowedRoles) {- writer.uint32(34).string(v!);- }- if (message.branchSource !== ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED) {- writer.uint32(40).int32(protectionRule_BranchSourceToNumber(message.branchSource));- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): ProtectionRule {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseProtectionRule();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.id = reader.string();- continue;- case 2:- if (tag !== 16) {- break;- }-- message.target = protectionRule_TargetFromJSON(reader.int32());- continue;- case 3:- if (tag !== 26) {- break;- }-- message.nameFilter = reader.string();- continue;- case 4:- if (tag !== 34) {- break;- }-- message.allowedRoles.push(reader.string());- continue;- case 5:- if (tag !== 40) {- break;- }-- message.branchSource = protectionRule_BranchSourceFromJSON(reader.int32());- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): ProtectionRule {- return {- id: isSet(object.id) ? globalThis.String(object.id) : "",- target: isSet(object.target)- ? protectionRule_TargetFromJSON(object.target)- : ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED,- nameFilter: isSet(object.nameFilter) ? globalThis.String(object.nameFilter) : "",- allowedRoles: globalThis.Array.isArray(object?.allowedRoles)- ? object.allowedRoles.map((e: any) => globalThis.String(e))- : [],- branchSource: isSet(object.branchSource)- ? protectionRule_BranchSourceFromJSON(object.branchSource)- : ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED,- };- },-- toJSON(message: ProtectionRule): unknown {- const obj: any = {};- if (message.id !== "") {- obj.id = message.id;- }- if (message.target !== ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED) {- obj.target = protectionRule_TargetToJSON(message.target);+ if (message.target !== ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED) {+ obj.target = protectionRule_TargetToJSON(message.target);}if (message.nameFilter !== "") {obj.nameFilter = message.nameFilter;@@ -5308,62 +4456,7 @@ export const ProjectServiceDefinition = {111,106,101,- 99,- 116,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 125,- 58,- 116,- 101,- 115,- 116,- 87,- 101,- 98,- 104,- 111,- 111,- 107,- ]),- ],- },- },- },- listDatabaseGroups: {- name: "ListDatabaseGroups",- requestType: ListDatabaseGroupsRequest,- requestStream: false,- responseType: ListDatabaseGroupsResponse,- responseStream: false,- options: {- _unknownFields: {- 8410: [new Uint8Array([6, 112, 97, 114, 101, 110, 116])],- 800010: [new Uint8Array([15, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 103, 101, 116])],- 578365826: [- new Uint8Array([- 40,- 18,- 38,- 47,- 118,- 49,- 47,- 123,- 112,- 97,- 114,- 101,- 110,+ 99,116,61,112,@@ -5377,26 +4470,38 @@ export const ProjectServiceDefinition = {47,42,125,- 47,- 100,- 97,+ 58,116,- 97,- 98,- 97,+ 101,115,+ 116,+ 87,101,- 71,- 114,+ 98,+ 104,111,- 117,- 112,- 115,+ 111,+ 107,]),],},},},+ /** Deprecated. */+ listDatabaseGroups: {+ name: "ListDatabaseGroups",+ requestType: ListDatabaseGroupsRequest,+ requestStream: false,+ responseType: ListDatabaseGroupsResponse,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([6, 112, 97, 114, 101, 110, 116])],+ 800010: [new Uint8Array([15, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 103, 101, 116])],+ },+ },+ },+ /** Deprecated. */getDatabaseGroup: {name: "GetDatabaseGroup",requestType: GetDatabaseGroupRequest,@@ -5407,54 +4512,10 @@ export const ProjectServiceDefinition = {_unknownFields: {8410: [new Uint8Array([4, 110, 97, 109, 101])],800010: [new Uint8Array([15, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 103, 101, 116])],- 578365826: [- new Uint8Array([- 40,- 18,- 38,- 47,- 118,- 49,- 47,- 123,- 110,- 97,- 109,- 101,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 47,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 71,- 114,- 111,- 117,- 112,- 115,- 47,- 42,- 125,- ]),- ],},},},+ /** Deprecated. */createDatabaseGroup: {name: "CreateDatabaseGroup",requestType: CreateDatabaseGroupRequest,@@ -5491,70 +4552,10 @@ export const ProjectServiceDefinition = {800010: [new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),],- 578365826: [- new Uint8Array([- 56,- 58,- 14,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 95,- 103,- 114,- 111,- 117,- 112,- 34,- 38,- 47,- 118,- 49,- 47,- 123,- 112,- 97,- 114,- 101,- 110,- 116,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 125,- 47,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 71,- 114,- 111,- 117,- 112,- 115,- ]),- ],},},},+ /** Deprecated. */updateDatabaseGroup: {name: "UpdateDatabaseGroup",requestType: UpdateDatabaseGroupRequest,@@ -5597,85 +4598,10 @@ export const ProjectServiceDefinition = {800010: [new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),],- 578365826: [- new Uint8Array([- 71,- 58,- 14,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 95,- 103,- 114,- 111,- 117,- 112,- 50,- 53,- 47,- 118,- 49,- 47,- 123,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 95,- 103,- 114,- 111,- 117,- 112,- 46,- 110,- 97,- 109,- 101,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 47,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 71,- 114,- 111,- 117,- 112,- 115,- 47,- 42,- 125,- ]),- ],},},},+ /** Deprecated. */deleteDatabaseGroup: {name: "DeleteDatabaseGroup",requestType: DeleteDatabaseGroupRequest,@@ -5688,51 +4614,6 @@ export const ProjectServiceDefinition = {800010: [new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),],- 578365826: [- new Uint8Array([- 40,- 42,- 38,- 47,- 118,- 49,- 47,- 123,- 110,- 97,- 109,- 101,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 47,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 71,- 114,- 111,- 117,- 112,- 115,- 47,- 42,- 125,- ]),- ],},},},diff --git a/frontend/src/views/DatabaseGroupDetail.vue b/frontend/src/views/DatabaseGroupDetail.vueindex 660c41f783..13d0ba28b6 100644--- a/frontend/src/views/DatabaseGroupDetail.vue+++ b/frontend/src/views/DatabaseGroupDetail.vue@@ -122,7 +122,7 @@ import type { ComposedDatabase, ComposedDatabaseGroup } from "@/types";import {DatabaseGroupView,type DatabaseGroup,-} from "@/types/proto/v1/project_service";+} from "@/types/proto/v1/database_group_service";import { hasPermissionToCreateChangeDatabaseIssueInProject } from "@/utils";import { generateDatabaseGroupIssueRoute } from "@/utils/databaseGroup/issue";diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 8edf6101c4..313265542c 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -4288,8 +4288,8 @@ paths:/v1/projects/{project}/databaseGroups:get:tags:- - ProjectService- operationId: ProjectService_ListDatabaseGroups+ - DatabaseGroupService+ operationId: DatabaseGroupService_ListDatabaseGroupsparameters:- name: projectin: path@@ -4332,8 +4332,8 @@ paths:$ref: '#/components/schemas/Status'post:tags:- - ProjectService- operationId: ProjectService_CreateDatabaseGroup+ - DatabaseGroupService+ operationId: DatabaseGroupService_CreateDatabaseGroupparameters:- name: projectin: path@@ -4378,8 +4378,8 @@ paths:/v1/projects/{project}/databaseGroups/{databaseGroup}:get:tags:- - ProjectService- operationId: ProjectService_GetDatabaseGroup+ - DatabaseGroupService+ operationId: DatabaseGroupService_GetDatabaseGroupparameters:- name: projectin: path@@ -4418,8 +4418,8 @@ paths:$ref: '#/components/schemas/Status'delete:tags:- - ProjectService- operationId: ProjectService_DeleteDatabaseGroup+ - DatabaseGroupService+ operationId: DatabaseGroupService_DeleteDatabaseGroupparameters:- name: projectin: path@@ -4445,8 +4445,8 @@ paths:$ref: '#/components/schemas/Status'patch:tags:- - ProjectService- operationId: ProjectService_UpdateDatabaseGroup+ - DatabaseGroupService+ operationId: DatabaseGroupService_UpdateDatabaseGroupparameters:- name: projectin: path@@ -14540,6 +14540,7 @@ tags:- name: BranchService- name: CelService- name: ChangelistService+ - name: DatabaseGroupService- name: DatabaseService- name: EnvironmentService- name: IdentityProviderServicediff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex b5529164a1..013e1fc7e5 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -234,6 +234,20 @@- [ChangelistService](#bytebase-v1-ChangelistService)+- [v1/database_group_service.proto](#v1_database_group_service-proto)+ - [CreateDatabaseGroupRequest](#bytebase-v1-CreateDatabaseGroupRequest)+ - [DatabaseGroup](#bytebase-v1-DatabaseGroup)+ - [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database)+ - [DeleteDatabaseGroupRequest](#bytebase-v1-DeleteDatabaseGroupRequest)+ - [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest)+ - [ListDatabaseGroupsRequest](#bytebase-v1-ListDatabaseGroupsRequest)+ - [ListDatabaseGroupsResponse](#bytebase-v1-ListDatabaseGroupsResponse)+ - [UpdateDatabaseGroupRequest](#bytebase-v1-UpdateDatabaseGroupRequest)++ - [DatabaseGroupView](#bytebase-v1-DatabaseGroupView)++ - [DatabaseGroupService](#bytebase-v1-DatabaseGroupService)+- [v1/environment_service.proto](#v1_environment_service-proto)- [CreateEnvironmentRequest](#bytebase-v1-CreateEnvironmentRequest)- [DeleteEnvironmentRequest](#bytebase-v1-DeleteEnvironmentRequest)@@ -406,23 +420,16 @@- [BatchGetIamPolicyRequest](#bytebase-v1-BatchGetIamPolicyRequest)- [BatchGetIamPolicyResponse](#bytebase-v1-BatchGetIamPolicyResponse)- [BatchGetIamPolicyResponse.PolicyResult](#bytebase-v1-BatchGetIamPolicyResponse-PolicyResult)- - [CreateDatabaseGroupRequest](#bytebase-v1-CreateDatabaseGroupRequest)- [CreateProjectRequest](#bytebase-v1-CreateProjectRequest)- - [DatabaseGroup](#bytebase-v1-DatabaseGroup)- - [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database)- - [DeleteDatabaseGroupRequest](#bytebase-v1-DeleteDatabaseGroupRequest)- [DeleteProjectRequest](#bytebase-v1-DeleteProjectRequest)- [DeploymentConfig](#bytebase-v1-DeploymentConfig)- [DeploymentSpec](#bytebase-v1-DeploymentSpec)- - [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest)- [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest)- [GetProjectProtectionRulesRequest](#bytebase-v1-GetProjectProtectionRulesRequest)- [GetProjectRequest](#bytebase-v1-GetProjectRequest)- [Label](#bytebase-v1-Label)- [LabelSelector](#bytebase-v1-LabelSelector)- [LabelSelectorRequirement](#bytebase-v1-LabelSelectorRequirement)- - [ListDatabaseGroupsRequest](#bytebase-v1-ListDatabaseGroupsRequest)- - [ListDatabaseGroupsResponse](#bytebase-v1-ListDatabaseGroupsResponse)- [ListProjectsRequest](#bytebase-v1-ListProjectsRequest)- [ListProjectsResponse](#bytebase-v1-ListProjectsResponse)- [Project](#bytebase-v1-Project)@@ -436,7 +443,6 @@- [TestWebhookRequest](#bytebase-v1-TestWebhookRequest)- [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)- [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)- - [UpdateDatabaseGroupRequest](#bytebase-v1-UpdateDatabaseGroupRequest)- [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest)- [UpdateProjectProtectionRulesRequest](#bytebase-v1-UpdateProjectProtectionRulesRequest)- [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest)@@ -444,7 +450,6 @@- [Webhook](#bytebase-v1-Webhook)- [Activity.Type](#bytebase-v1-Activity-Type)- - [DatabaseGroupView](#bytebase-v1-DatabaseGroupView)- [OperatorType](#bytebase-v1-OperatorType)- [ProtectionRule.BranchSource](#bytebase-v1-ProtectionRule-BranchSource)- [ProtectionRule.Target](#bytebase-v1-ProtectionRule-Target)@@ -4176,6 +4181,188 @@ The changelist's `name` field is used to identify the changelist to update.+<a name="v1_database_group_service-proto"></a>+<p align="right"><a href="#top">Top</a></p>++## v1/database_group_service.proto++++<a name="bytebase-v1-CreateDatabaseGroupRequest"></a>++### CreateDatabaseGroupRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| parent | [string](#string) | | The parent resource where this database group will be created. Format: projects/{project} |+| database_group | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | | The database group to create. |+| database_group_id | [string](#string) | | The ID to use for the database group, which will become the final component of the database group's resource name.++This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |+| validate_only | [bool](#bool) | | If set, validate the create request and preview the full database group response, but do not actually create it. |+++++++<a name="bytebase-v1-DatabaseGroup"></a>++### DatabaseGroup++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | The name of the database group. Format: projects/{project}/databaseGroups/{databaseGroup} |+| database_placeholder | [string](#string) | | The short name used in actual databases specified by users. For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1". |+| database_expr | [google.type.Expr](#google-type-Expr) | | The condition that is associated with this database group. |+| matched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |+| unmatched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |+| multitenancy | [bool](#bool) | | |+++++++<a name="bytebase-v1-DatabaseGroup-Database"></a>++### DatabaseGroup.Database++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | The resource name of the database. Format: instances/{instance}/databases/{database} |+++++++<a name="bytebase-v1-DeleteDatabaseGroupRequest"></a>++### DeleteDatabaseGroupRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | The name of the database group to delete. Format: projects/{project}/databaseGroups/{databaseGroup} |+++++++<a name="bytebase-v1-GetDatabaseGroupRequest"></a>++### GetDatabaseGroupRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | The name of the database group to retrieve. Format: projects/{project}/databaseGroups/{databaseGroup} |+| view | [DatabaseGroupView](#bytebase-v1-DatabaseGroupView) | | The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. |+++++++<a name="bytebase-v1-ListDatabaseGroupsRequest"></a>++### ListDatabaseGroupsRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| parent | [string](#string) | | The parent resource whose database groups are to be listed. Format: projects/{project} |+| page_size | [int32](#int32) | | Not used. The maximum number of anomalies to return. The service may return fewer than this value. If unspecified, at most 50 anomalies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | Not used. A page token, received from a previous `ListDatabaseGroups` call. Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListDatabaseGroups` must match the call that provided the page token. |+++++++<a name="bytebase-v1-ListDatabaseGroupsResponse"></a>++### ListDatabaseGroupsResponse++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| database_groups | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | repeated | database_groups is the list of database groups. |+| next_page_token | [string](#string) | | Not used. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |+++++++<a name="bytebase-v1-UpdateDatabaseGroupRequest"></a>++### UpdateDatabaseGroupRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| database_group | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | | The database group to update.++The database group's `name` field is used to identify the database group to update. Format: projects/{project}/databaseGroups/{databaseGroup} |+| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |+++++++++<a name="bytebase-v1-DatabaseGroupView"></a>++### DatabaseGroupView+++| Name | Number | Description |+| ---- | ------ | ----------- |+| DATABASE_GROUP_VIEW_UNSPECIFIED | 0 | The default / unset value. The API will default to the BASIC view. |+| DATABASE_GROUP_VIEW_BASIC | 1 | Include basic information about the database group, but exclude the list of matched databases and unmatched databases. |+| DATABASE_GROUP_VIEW_FULL | 2 | Include everything. |++++++++<a name="bytebase-v1-DatabaseGroupService"></a>++### DatabaseGroupService+++| Method Name | Request Type | Response Type | Description |+| ----------- | ------------ | ------------- | ------------|+| ListDatabaseGroups | [ListDatabaseGroupsRequest](#bytebase-v1-ListDatabaseGroupsRequest) | [ListDatabaseGroupsResponse](#bytebase-v1-ListDatabaseGroupsResponse) | |+| GetDatabaseGroup | [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |+| CreateDatabaseGroup | [CreateDatabaseGroupRequest](#bytebase-v1-CreateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |+| UpdateDatabaseGroup | [UpdateDatabaseGroupRequest](#bytebase-v1-UpdateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |+| DeleteDatabaseGroup | [DeleteDatabaseGroupRequest](#bytebase-v1-DeleteDatabaseGroupRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |+++++<a name="v1_environment_service-proto"></a><p align="right"><a href="#top">Top</a></p>@@ -6779,26 +6966,6 @@ TODO(zp): move to activity later.-<a name="bytebase-v1-CreateDatabaseGroupRequest"></a>--### CreateDatabaseGroupRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent resource where this database group will be created. Format: projects/{project} |-| database_group | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | | The database group to create. |-| database_group_id | [string](#string) | | The ID to use for the database group, which will become the final component of the database group's resource name.--This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |-| validate_only | [bool](#bool) | | If set, validate the create request and preview the full database group response, but do not actually create it. |------<a name="bytebase-v1-CreateProjectRequest"></a>### CreateProjectRequest@@ -6817,56 +6984,6 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |-<a name="bytebase-v1-DatabaseGroup"></a>--### DatabaseGroup----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the database group. Format: projects/{project}/databaseGroups/{databaseGroup} |-| database_placeholder | [string](#string) | | The short name used in actual databases specified by users. For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1". |-| database_expr | [google.type.Expr](#google-type-Expr) | | The condition that is associated with this database group. |-| matched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |-| unmatched_databases | [DatabaseGroup.Database](#bytebase-v1-DatabaseGroup-Database) | repeated | The list of databases that match the database group condition. |-| multitenancy | [bool](#bool) | | |-------<a name="bytebase-v1-DatabaseGroup-Database"></a>--### DatabaseGroup.Database----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The resource name of the database. Format: instances/{instance}/databases/{database} |-------<a name="bytebase-v1-DeleteDatabaseGroupRequest"></a>--### DeleteDatabaseGroupRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the database group to delete. Format: projects/{project}/databaseGroups/{databaseGroup} |------<a name="bytebase-v1-DeleteProjectRequest"></a>### DeleteProjectRequest@@ -6915,22 +7032,6 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |-<a name="bytebase-v1-GetDatabaseGroupRequest"></a>--### GetDatabaseGroupRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the database group to retrieve. Format: projects/{project}/databaseGroups/{databaseGroup} |-| view | [DatabaseGroupView](#bytebase-v1-DatabaseGroupView) | | The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. |------<a name="bytebase-v1-GetDeploymentConfigRequest"></a>### GetDeploymentConfigRequest@@ -7025,41 +7126,6 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |-<a name="bytebase-v1-ListDatabaseGroupsRequest"></a>--### ListDatabaseGroupsRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| parent | [string](#string) | | The parent resource whose database groups are to be listed. Format: projects/{project} |-| page_size | [int32](#int32) | | Not used. The maximum number of anomalies to return. The service may return fewer than this value. If unspecified, at most 50 anomalies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |-| page_token | [string](#string) | | Not used. A page token, received from a previous `ListDatabaseGroups` call. Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `ListDatabaseGroups` must match the call that provided the page token. |-------<a name="bytebase-v1-ListDatabaseGroupsResponse"></a>--### ListDatabaseGroupsResponse----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| database_groups | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | repeated | database_groups is the list of database groups. |-| next_page_token | [string](#string) | | Not used. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |------<a name="bytebase-v1-ListProjectsRequest"></a>### ListProjectsRequest@@ -7278,24 +7344,6 @@ When paginating, all other parameters provided to `ListProjects` must match the-<a name="bytebase-v1-UpdateDatabaseGroupRequest"></a>--### UpdateDatabaseGroupRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| database_group | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | | The database group to update.--The database group's `name` field is used to identify the database group to update. Format: projects/{project}/databaseGroups/{databaseGroup} |-| update_mask | [google.protobuf.FieldMask](#google-protobuf-FieldMask) | | The list of fields to update. |------<a name="bytebase-v1-UpdateDeploymentConfigRequest"></a>### UpdateDeploymentConfigRequest@@ -7422,19 +7470,6 @@ TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the-<a name="bytebase-v1-DatabaseGroupView"></a>--### DatabaseGroupView---| Name | Number | Description |-| ---- | ------ | ----------- |-| DATABASE_GROUP_VIEW_UNSPECIFIED | 0 | The default / unset value. The API will default to the BASIC view. |-| DATABASE_GROUP_VIEW_BASIC | 1 | Include basic information about the database group, but exclude the list of matched databases and unmatched databases. |-| DATABASE_GROUP_VIEW_FULL | 2 | Include everything. |---<a name="bytebase-v1-OperatorType"></a>### OperatorType@@ -7532,11 +7567,11 @@ The type of target.| 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) | |-| ListDatabaseGroups | [ListDatabaseGroupsRequest](#bytebase-v1-ListDatabaseGroupsRequest) | [ListDatabaseGroupsResponse](#bytebase-v1-ListDatabaseGroupsResponse) | |-| GetDatabaseGroup | [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |-| CreateDatabaseGroup | [CreateDatabaseGroupRequest](#bytebase-v1-CreateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |-| UpdateDatabaseGroup | [UpdateDatabaseGroupRequest](#bytebase-v1-UpdateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | |-| DeleteDatabaseGroup | [DeleteDatabaseGroupRequest](#bytebase-v1-DeleteDatabaseGroupRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |+| ListDatabaseGroups | [ListDatabaseGroupsRequest](#bytebase-v1-ListDatabaseGroupsRequest) | [ListDatabaseGroupsResponse](#bytebase-v1-ListDatabaseGroupsResponse) | Deprecated. |+| GetDatabaseGroup | [GetDatabaseGroupRequest](#bytebase-v1-GetDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | Deprecated. |+| CreateDatabaseGroup | [CreateDatabaseGroupRequest](#bytebase-v1-CreateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | Deprecated. |+| UpdateDatabaseGroup | [UpdateDatabaseGroupRequest](#bytebase-v1-UpdateDatabaseGroupRequest) | [DatabaseGroup](#bytebase-v1-DatabaseGroup) | Deprecated. |+| DeleteDatabaseGroup | [DeleteDatabaseGroupRequest](#bytebase-v1-DeleteDatabaseGroupRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | Deprecated. || GetProjectProtectionRules | [GetProjectProtectionRulesRequest](#bytebase-v1-GetProjectProtectionRulesRequest) | [ProtectionRules](#bytebase-v1-ProtectionRules) | || UpdateProjectProtectionRules | [UpdateProjectProtectionRulesRequest](#bytebase-v1-UpdateProjectProtectionRulesRequest) | [ProtectionRules](#bytebase-v1-ProtectionRules) | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex e47032098d..c6ddc617ec 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -1063,6 +1063,57 @@</li>+ <li>+ <a href="#v1%2fdatabase_group_service.proto">v1/database_group_service.proto</a>+ <ul>++ <li>+ <a href="#bytebase.v1.CreateDatabaseGroupRequest"><span class="badge">M</span>CreateDatabaseGroupRequest</a>+ </li>++ <li>+ <a href="#bytebase.v1.DatabaseGroup"><span class="badge">M</span>DatabaseGroup</a>+ </li>++ <li>+ <a href="#bytebase.v1.DatabaseGroup.Database"><span class="badge">M</span>DatabaseGroup.Database</a>+ </li>++ <li>+ <a href="#bytebase.v1.DeleteDatabaseGroupRequest"><span class="badge">M</span>DeleteDatabaseGroupRequest</a>+ </li>++ <li>+ <a href="#bytebase.v1.GetDatabaseGroupRequest"><span class="badge">M</span>GetDatabaseGroupRequest</a>+ </li>++ <li>+ <a href="#bytebase.v1.ListDatabaseGroupsRequest"><span class="badge">M</span>ListDatabaseGroupsRequest</a>+ </li>++ <li>+ <a href="#bytebase.v1.ListDatabaseGroupsResponse"><span class="badge">M</span>ListDatabaseGroupsResponse</a>+ </li>++ <li>+ <a href="#bytebase.v1.UpdateDatabaseGroupRequest"><span class="badge">M</span>UpdateDatabaseGroupRequest</a>+ </li>+++ <li>+ <a href="#bytebase.v1.DatabaseGroupView"><span class="badge">E</span>DatabaseGroupView</a>+ </li>++++ <li>+ <a href="#bytebase.v1.DatabaseGroupService"><span class="badge">S</span>DatabaseGroupService</a>+ </li>++ </ul>+ </li>++<li><a href="#v1%2fenvironment_service.proto">v1/environment_service.proto</a><ul>@@ -1728,26 +1779,10 @@<a href="#bytebase.v1.BatchGetIamPolicyResponse.PolicyResult"><span class="badge">M</span>BatchGetIamPolicyResponse.PolicyResult</a></li>- <li>- <a href="#bytebase.v1.CreateDatabaseGroupRequest"><span class="badge">M</span>CreateDatabaseGroupRequest</a>- </li>-<li><a href="#bytebase.v1.CreateProjectRequest"><span class="badge">M</span>CreateProjectRequest</a></li>- <li>- <a href="#bytebase.v1.DatabaseGroup"><span class="badge">M</span>DatabaseGroup</a>- </li>-- <li>- <a href="#bytebase.v1.DatabaseGroup.Database"><span class="badge">M</span>DatabaseGroup.Database</a>- </li>-- <li>- <a href="#bytebase.v1.DeleteDatabaseGroupRequest"><span class="badge">M</span>DeleteDatabaseGroupRequest</a>- </li>-<li><a href="#bytebase.v1.DeleteProjectRequest"><span class="badge">M</span>DeleteProjectRequest</a></li>@@ -1760,10 +1795,6 @@<a href="#bytebase.v1.DeploymentSpec"><span class="badge">M</span>DeploymentSpec</a></li>- <li>- <a href="#bytebase.v1.GetDatabaseGroupRequest"><span class="badge">M</span>GetDatabaseGroupRequest</a>- </li>-<li><a href="#bytebase.v1.GetDeploymentConfigRequest"><span class="badge">M</span>GetDeploymentConfigRequest</a></li>@@ -1788,14 +1819,6 @@<a href="#bytebase.v1.LabelSelectorRequirement"><span class="badge">M</span>LabelSelectorRequirement</a></li>- <li>- <a href="#bytebase.v1.ListDatabaseGroupsRequest"><span class="badge">M</span>ListDatabaseGroupsRequest</a>- </li>-- <li>- <a href="#bytebase.v1.ListDatabaseGroupsResponse"><span class="badge">M</span>ListDatabaseGroupsResponse</a>- </li>-<li><a href="#bytebase.v1.ListProjectsRequest"><span class="badge">M</span>ListProjectsRequest</a></li>@@ -1848,10 +1871,6 @@<a href="#bytebase.v1.UndeleteProjectRequest"><span class="badge">M</span>UndeleteProjectRequest</a></li>- <li>- <a href="#bytebase.v1.UpdateDatabaseGroupRequest"><span class="badge">M</span>UpdateDatabaseGroupRequest</a>- </li>-<li><a href="#bytebase.v1.UpdateDeploymentConfigRequest"><span class="badge">M</span>UpdateDeploymentConfigRequest</a></li>@@ -1877,10 +1896,6 @@<a href="#bytebase.v1.Activity.Type"><span class="badge">E</span>Activity.Type</a></li>- <li>- <a href="#bytebase.v1.DatabaseGroupView"><span class="badge">E</span>DatabaseGroupView</a>- </li>-<li><a href="#bytebase.v1.OperatorType"><span class="badge">E</span>OperatorType</a></li>@@ -12383,12 +12398,12 @@ Format: projects/{project}/changelists/{changelist} </p></td><div class="file-heading">- <h2 id="v1/environment_service.proto">v1/environment_service.proto</h2><a href="#title">Top</a>+ <h2 id="v1/database_group_service.proto">v1/database_group_service.proto</h2><a href="#title">Top</a></div><p></p>- <h3 id="bytebase.v1.CreateEnvironmentRequest">CreateEnvironmentRequest</h3>+ <h3 id="bytebase.v1.CreateDatabaseGroupRequest">CreateDatabaseGroupRequest</h3><p></p>@@ -12399,46 +12414,36 @@ Format: projects/{project}/changelists/{changelist} </p></td><tbody><tr>- <td>environment</td>- <td><a href="#bytebase.v1.Environment">Environment</a></td>+ <td>parent</td>+ <td><a href="#string">string</a></td><td></td>- <td><p>The environment to create. </p></td>+ <td><p>The parent resource where this database group will be created.+Format: projects/{project} </p></td></tr><tr>- <td>environment_id</td>+ <td>database_group</td>+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>+ <td></td>+ <td><p>The database group to create. </p></td>+ </tr>++ <tr>+ <td>database_group_id</td><td><a href="#string">string</a></td><td></td>- <td><p>The ID to use for the environment, which will become the final component of-the environment's resource name.+ <td><p>The ID to use for the database group, which will become the final component of+the database group's resource name.This value should be 4-63 characters, and valid charactersare /[a-z][0-9]-/. </p></td></tr>- </tbody>- </table>------ <h3 id="bytebase.v1.DeleteEnvironmentRequest">DeleteEnvironmentRequest</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-<tr>- <td>name</td>- <td><a href="#string">string</a></td>+ <td>validate_only</td>+ <td><a href="#bool">bool</a></td><td></td>- <td><p>The name of the environment to delete.-Format: environments/{environment} </p></td>+ <td><p>If set, validate the create request and preview the full database group response, but do not actually create it. </p></td></tr></tbody>@@ -12448,7 +12453,7 @@ Format: environments/{environment} </p></td>- <h3 id="bytebase.v1.Environment">Environment</h3>+ <h3 id="bytebase.v1.DatabaseGroup">DatabaseGroup</h3><p></p>@@ -12462,41 +12467,42 @@ Format: environments/{environment} </p></td><td>name</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the environment.-Format: environments/{environment} </p></td>+ <td><p>The name of the database group.+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td></tr><tr>- <td>uid</td>+ <td>database_placeholder</td><td><a href="#string">string</a></td><td></td>- <td><p>The system-assigned, unique identifier for a resource. </p></td>+ <td><p>The short name used in actual databases specified by users.+For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1". </p></td></tr><tr>- <td>state</td>- <td><a href="#bytebase.v1.State">State</a></td>+ <td>database_expr</td>+ <td><a href="#google.type.Expr">google.type.Expr</a></td><td></td>- <td><p> </p></td>+ <td><p>The condition that is associated with this database group. </p></td></tr><tr>- <td>title</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p> </p></td>+ <td>matched_databases</td>+ <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>+ <td>repeated</td>+ <td><p>The list of databases that match the database group condition. </p></td></tr><tr>- <td>order</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p> </p></td>+ <td>unmatched_databases</td>+ <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>+ <td>repeated</td>+ <td><p>The list of databases that match the database group condition. </p></td></tr><tr>- <td>tier</td>- <td><a href="#bytebase.v1.EnvironmentTier">EnvironmentTier</a></td>+ <td>multitenancy</td>+ <td><a href="#bool">bool</a></td><td></td><td><p> </p></td></tr>@@ -12508,7 +12514,7 @@ Format: environments/{environment} </p></td>- <h3 id="bytebase.v1.GetEnvironmentRequest">GetEnvironmentRequest</h3>+ <h3 id="bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</h3><p></p>@@ -12522,8 +12528,8 @@ Format: environments/{environment} </p></td><td>name</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the environment to retrieve.-Format: environments/{environment} </p></td>+ <td><p>The resource name of the database.+Format: instances/{instance}/databases/{database} </p></td></tr></tbody>@@ -12533,7 +12539,7 @@ Format: environments/{environment} </p></td>- <h3 id="bytebase.v1.ListEnvironmentsRequest">ListEnvironmentsRequest</h3>+ <h3 id="bytebase.v1.DeleteDatabaseGroupRequest">DeleteDatabaseGroupRequest</h3><p></p>@@ -12544,31 +12550,11 @@ Format: environments/{environment} </p></td><tbody><tr>- <td>page_size</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p>The maximum number of environments to return. The service may return fewer than-this value.-If unspecified, at most 50 environments will be returned.-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>- </tr>-- <tr>- <td>page_token</td>+ <td>name</td><td><a href="#string">string</a></td><td></td>- <td><p>A page token, received from a previous `ListEnvironments` call.-Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `ListEnvironments` must match-the call that provided the page token. </p></td>- </tr>-- <tr>- <td>show_deleted</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>Show deleted environments if specified. </p></td>+ <td><p>The name of the database group to delete.+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td></tr></tbody>@@ -12578,7 +12564,7 @@ the call that provided the page token. </p></td>- <h3 id="bytebase.v1.ListEnvironmentsResponse">ListEnvironmentsResponse</h3>+ <h3 id="bytebase.v1.GetDatabaseGroupRequest">GetDatabaseGroupRequest</h3><p></p>@@ -12589,18 +12575,18 @@ the call that provided the page token. </p></td><tbody><tr>- <td>environments</td>- <td><a href="#bytebase.v1.Environment">Environment</a></td>- <td>repeated</td>- <td><p>The environments from the specified request. </p></td>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the database group to retrieve.+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td></tr><tr>- <td>next_page_token</td>- <td><a href="#string">string</a></td>+ <td>view</td>+ <td><a href="#bytebase.v1.DatabaseGroupView">DatabaseGroupView</a></td><td></td>- <td><p>A token, which can be sent as `page_token` to retrieve the next page.-If this field is omitted, there are no subsequent pages. </p></td>+ <td><p>The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. </p></td></tr></tbody>@@ -12610,7 +12596,7 @@ If this field is omitted, there are no subsequent pages. </p></td>- <h3 id="bytebase.v1.UndeleteEnvironmentRequest">UndeleteEnvironmentRequest</h3>+ <h3 id="bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</h3><p></p>@@ -12621,11 +12607,32 @@ If this field is omitted, there are no subsequent pages. </p></td><tbody><tr>- <td>name</td>+ <td>parent</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the deleted environment.-Format: environments/{environment} </p></td>+ <td><p>The parent resource whose database groups are to be listed.+Format: projects/{project} </p></td>+ </tr>++ <tr>+ <td>page_size</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>Not used. The maximum number of anomalies to return. The service may return fewer than+this value.+If unspecified, at most 50 anomalies will be returned.+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>+ </tr>++ <tr>+ <td>page_token</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Not used. A page token, received from a previous `ListDatabaseGroups` call.+Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListDatabaseGroups` must match+the call that provided the page token. </p></td></tr></tbody>@@ -12635,7 +12642,7 @@ Format: environments/{environment} </p></td>- <h3 id="bytebase.v1.UpdateEnvironmentRequest">UpdateEnvironmentRequest</h3>+ <h3 id="bytebase.v1.ListDatabaseGroupsResponse">ListDatabaseGroupsResponse</h3><p></p>@@ -12646,10 +12653,482 @@ Format: environments/{environment} </p></td><tbody><tr>- <td>environment</td>- <td><a href="#bytebase.v1.Environment">Environment</a></td>- <td></td>- <td><p>The environment to update.+ <td>database_groups</td>+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>+ <td>repeated</td>+ <td><p>database_groups is the list of database groups. </p></td>+ </tr>++ <tr>+ <td>next_page_token</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.+If this field is omitted, there are no subsequent pages. </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.UpdateDatabaseGroupRequest">UpdateDatabaseGroupRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>database_group</td>+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>+ <td></td>+ <td><p>The database group to update.++The database group's `name` field is used to identify the database group to update.+Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>+ </tr>++ <tr>+ <td>update_mask</td>+ <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>+ <td></td>+ <td><p>The list of fields to update. </p></td>+ </tr>++ </tbody>+ </table>++++++++ <h3 id="bytebase.v1.DatabaseGroupView">DatabaseGroupView</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>DATABASE_GROUP_VIEW_UNSPECIFIED</td>+ <td>0</td>+ <td><p>The default / unset value.+The API will default to the BASIC view.</p></td>+ </tr>++ <tr>+ <td>DATABASE_GROUP_VIEW_BASIC</td>+ <td>1</td>+ <td><p>Include basic information about the database group, but exclude the list of matched databases and unmatched databases.</p></td>+ </tr>++ <tr>+ <td>DATABASE_GROUP_VIEW_FULL</td>+ <td>2</td>+ <td><p>Include everything.</p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.DatabaseGroupService">DatabaseGroupService</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>ListDatabaseGroups</td>+ <td><a href="#bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</a></td>+ <td><a href="#bytebase.v1.ListDatabaseGroupsResponse">ListDatabaseGroupsResponse</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>GetDatabaseGroup</td>+ <td><a href="#bytebase.v1.GetDatabaseGroupRequest">GetDatabaseGroupRequest</a></td>+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>CreateDatabaseGroup</td>+ <td><a href="#bytebase.v1.CreateDatabaseGroupRequest">CreateDatabaseGroupRequest</a></td>+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>UpdateDatabaseGroup</td>+ <td><a href="#bytebase.v1.UpdateDatabaseGroupRequest">UpdateDatabaseGroupRequest</a></td>+ <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>DeleteDatabaseGroup</td>+ <td><a href="#bytebase.v1.DeleteDatabaseGroupRequest">DeleteDatabaseGroupRequest</a></td>+ <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>+++++ <h4>Methods with HTTP bindings</h4>+ <table>+ <thead>+ <tr>+ <td>Method Name</td>+ <td>Method</td>+ <td>Pattern</td>+ <td>Body</td>+ </tr>+ </thead>+ <tbody>++++ <tr>+ <td>ListDatabaseGroups</td>+ <td>GET</td>+ <td>/v1/{parent=projects/*}/databaseGroups</td>+ <td></td>+ </tr>+++++ <tr>+ <td>GetDatabaseGroup</td>+ <td>GET</td>+ <td>/v1/{name=projects/*/databaseGroups/*}</td>+ <td></td>+ </tr>+++++ <tr>+ <td>CreateDatabaseGroup</td>+ <td>POST</td>+ <td>/v1/{parent=projects/*}/databaseGroups</td>+ <td>database_group</td>+ </tr>+++++ <tr>+ <td>UpdateDatabaseGroup</td>+ <td>PATCH</td>+ <td>/v1/{database_group.name=projects/*/databaseGroups/*}</td>+ <td>database_group</td>+ </tr>+++++ <tr>+ <td>DeleteDatabaseGroup</td>+ <td>DELETE</td>+ <td>/v1/{name=projects/*/databaseGroups/*}</td>+ <td></td>+ </tr>+++ </tbody>+ </table>+++++ <div class="file-heading">+ <h2 id="v1/environment_service.proto">v1/environment_service.proto</h2><a href="#title">Top</a>+ </div>+ <p></p>+++ <h3 id="bytebase.v1.CreateEnvironmentRequest">CreateEnvironmentRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>environment</td>+ <td><a href="#bytebase.v1.Environment">Environment</a></td>+ <td></td>+ <td><p>The environment to create. </p></td>+ </tr>++ <tr>+ <td>environment_id</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The ID to use for the environment, which will become the final component of+the environment's resource name.++This value should be 4-63 characters, and valid characters+are /[a-z][0-9]-/. </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.DeleteEnvironmentRequest">DeleteEnvironmentRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the environment to delete.+Format: environments/{environment} </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.Environment">Environment</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the environment.+Format: environments/{environment} </p></td>+ </tr>++ <tr>+ <td>uid</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The system-assigned, unique identifier for a resource. </p></td>+ </tr>++ <tr>+ <td>state</td>+ <td><a href="#bytebase.v1.State">State</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>title</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>order</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>tier</td>+ <td><a href="#bytebase.v1.EnvironmentTier">EnvironmentTier</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.GetEnvironmentRequest">GetEnvironmentRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the environment to retrieve.+Format: environments/{environment} </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.ListEnvironmentsRequest">ListEnvironmentsRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>page_size</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The maximum number of environments to return. The service may return fewer than+this value.+If unspecified, at most 50 environments will be returned.+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>+ </tr>++ <tr>+ <td>page_token</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>A page token, received from a previous `ListEnvironments` call.+Provide this to retrieve the subsequent page.++When paginating, all other parameters provided to `ListEnvironments` must match+the call that provided the page token. </p></td>+ </tr>++ <tr>+ <td>show_deleted</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>Show deleted environments if specified. </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.ListEnvironmentsResponse">ListEnvironmentsResponse</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>environments</td>+ <td><a href="#bytebase.v1.Environment">Environment</a></td>+ <td>repeated</td>+ <td><p>The environments from the specified request. </p></td>+ </tr>++ <tr>+ <td>next_page_token</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>A token, which can be sent as `page_token` to retrieve the next page.+If this field is omitted, there are no subsequent pages. </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.UndeleteEnvironmentRequest">UndeleteEnvironmentRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>name</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the deleted environment.+Format: environments/{environment} </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.UpdateEnvironmentRequest">UpdateEnvironmentRequest</h3>+ <p></p>+++ <table class="field-table">+ <thead>+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>environment</td>+ <td><a href="#bytebase.v1.Environment">Environment</a></td>+ <td></td>+ <td><p>The environment to update.The environment's `name` field is used to identify the environment to update.Format: environments/{environment} </p></td>@@ -19213,180 +19692,9 @@ Format: projects/{project} </p></td><tr><td>policy</td>- <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.CreateDatabaseGroupRequest">CreateDatabaseGroupRequest</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>parent</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The parent resource where this database group will be created.-Format: projects/{project} </p></td>- </tr>-- <tr>- <td>database_group</td>- <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>- <td></td>- <td><p>The database group to create. </p></td>- </tr>-- <tr>- <td>database_group_id</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The ID to use for the database group, which will become the final component of-the database group's resource name.--This value should be 4-63 characters, and valid characters-are /[a-z][0-9]-/. </p></td>- </tr>-- <tr>- <td>validate_only</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p>If set, validate the create request and preview the full database group response, but do not actually create it. </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.CreateProjectRequest">CreateProjectRequest</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>project</td>- <td><a href="#bytebase.v1.Project">Project</a></td>- <td></td>- <td><p>The project to create. </p></td>- </tr>-- <tr>- <td>project_id</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The ID to use for the project, which will become the final component of-the project's resource name.--This value should be 4-63 characters, and valid characters-are /[a-z][0-9]-/. </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.DatabaseGroup">DatabaseGroup</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name of the database group.-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>- </tr>-- <tr>- <td>database_placeholder</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The short name used in actual databases specified by users.-For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1". </p></td>- </tr>-- <tr>- <td>database_expr</td>- <td><a href="#google.type.Expr">google.type.Expr</a></td>- <td></td>- <td><p>The condition that is associated with this database group. </p></td>- </tr>-- <tr>- <td>matched_databases</td>- <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>- <td>repeated</td>- <td><p>The list of databases that match the database group condition. </p></td>- </tr>-- <tr>- <td>unmatched_databases</td>- <td><a href="#bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</a></td>- <td>repeated</td>- <td><p>The list of databases that match the database group condition. </p></td>- </tr>-- <tr>- <td>multitenancy</td>- <td><a href="#bool">bool</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.DatabaseGroup.Database">DatabaseGroup.Database</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>+ <td><a href="#bytebase.v1.IamPolicy">IamPolicy</a></td><td></td>- <td><p>The resource name of the database.-Format: instances/{instance}/databases/{database} </p></td>+ <td><p> </p></td></tr></tbody>@@ -19396,7 +19704,7 @@ Format: instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.DeleteDatabaseGroupRequest">DeleteDatabaseGroupRequest</h3>+ <h3 id="bytebase.v1.CreateProjectRequest">CreateProjectRequest</h3><p></p>@@ -19407,11 +19715,21 @@ Format: instances/{instance}/databases/{database} </p></td><tbody><tr>- <td>name</td>+ <td>project</td>+ <td><a href="#bytebase.v1.Project">Project</a></td>+ <td></td>+ <td><p>The project to create. </p></td>+ </tr>++ <tr>+ <td>project_id</td><td><a href="#string">string</a></td><td></td>- <td><p>The name of the database group to delete.-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>+ <td><p>The ID to use for the project, which will become the final component of+the project's resource name.++This value should be 4-63 characters, and valid characters+are /[a-z][0-9]-/. </p></td></tr></tbody>@@ -19516,38 +19834,6 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>- <h3 id="bytebase.v1.GetDatabaseGroupRequest">GetDatabaseGroupRequest</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name of the database group to retrieve.-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>- </tr>-- <tr>- <td>view</td>- <td><a href="#bytebase.v1.DatabaseGroupView">DatabaseGroupView</a></td>- <td></td>- <td><p>The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.GetDeploymentConfigRequest">GetDeploymentConfigRequest</h3><p></p>@@ -19723,84 +20009,6 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>parent</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The parent resource whose database groups are to be listed.-Format: projects/{project} </p></td>- </tr>-- <tr>- <td>page_size</td>- <td><a href="#int32">int32</a></td>- <td></td>- <td><p>Not used. The maximum number of anomalies to return. The service may return fewer than-this value.-If unspecified, at most 50 anomalies will be returned.-The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>- </tr>-- <tr>- <td>page_token</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Not used. A page token, received from a previous `ListDatabaseGroups` call.-Provide this to retrieve the subsequent page.--When paginating, all other parameters provided to `ListDatabaseGroups` must match-the call that provided the page token. </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.ListDatabaseGroupsResponse">ListDatabaseGroupsResponse</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>database_groups</td>- <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>- <td>repeated</td>- <td><p>database_groups is the list of database groups. </p></td>- </tr>-- <tr>- <td>next_page_token</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Not used. A token, which can be sent as `page_token` to retrieve the next page.-If this field is omitted, there are no subsequent pages. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.ListProjectsRequest">ListProjectsRequest</h3><p></p>@@ -20273,40 +20481,6 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.UpdateDatabaseGroupRequest">UpdateDatabaseGroupRequest</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>database_group</td>- <td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>- <td></td>- <td><p>The database group to update.--The database group's `name` field is used to identify the database group to update.-Format: projects/{project}/databaseGroups/{databaseGroup} </p></td>- </tr>-- <tr>- <td>update_mask</td>- <td><a href="#google.protobuf.FieldMask">google.protobuf.FieldMask</a></td>- <td></td>- <td><p>The list of fields to update. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.UpdateDeploymentConfigRequest">UpdateDeploymentConfigRequest</h3><p></p>@@ -20644,36 +20818,6 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td></tbody></table>- <h3 id="bytebase.v1.DatabaseGroupView">DatabaseGroupView</h3>- <p></p>- <table class="enum-table">- <thead>- <tr><td>Name</td><td>Number</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>DATABASE_GROUP_VIEW_UNSPECIFIED</td>- <td>0</td>- <td><p>The default / unset value.-The API will default to the BASIC view.</p></td>- </tr>-- <tr>- <td>DATABASE_GROUP_VIEW_BASIC</td>- <td>1</td>- <td><p>Include basic information about the database group, but exclude the list of matched databases and unmatched databases.</p></td>- </tr>-- <tr>- <td>DATABASE_GROUP_VIEW_FULL</td>- <td>2</td>- <td><p>Include everything.</p></td>- </tr>-- </tbody>- </table>-<h3 id="bytebase.v1.OperatorType">OperatorType</h3><p></p><table class="enum-table">@@ -20977,35 +21121,35 @@ The API will default to the BASIC view.</p></td><td>ListDatabaseGroups</td><td><a href="#bytebase.v1.ListDatabaseGroupsRequest">ListDatabaseGroupsRequest</a></td><td><a href="#bytebase.v1.ListDatabaseGroupsResponse">ListDatabaseGroupsResponse</a></td>- <td><p></p></td>+ <td><p>Deprecated.</p></td></tr><tr><td>GetDatabaseGroup</td><td><a href="#bytebase.v1.GetDatabaseGroupRequest">GetDatabaseGroupRequest</a></td><td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>- <td><p></p></td>+ <td><p>Deprecated.</p></td></tr><tr><td>CreateDatabaseGroup</td><td><a href="#bytebase.v1.CreateDatabaseGroupRequest">CreateDatabaseGroupRequest</a></td><td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>- <td><p></p></td>+ <td><p>Deprecated.</p></td></tr><tr><td>UpdateDatabaseGroup</td><td><a href="#bytebase.v1.UpdateDatabaseGroupRequest">UpdateDatabaseGroupRequest</a></td><td><a href="#bytebase.v1.DatabaseGroup">DatabaseGroup</a></td>- <td><p></p></td>+ <td><p>Deprecated.</p></td></tr><tr><td>DeleteDatabaseGroup</td><td><a href="#bytebase.v1.DeleteDatabaseGroupRequest">DeleteDatabaseGroupRequest</a></td><td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>- <td><p></p></td>+ <td><p>Deprecated.</p></td></tr><tr>@@ -21202,56 +21346,6 @@ The API will default to the BASIC view.</p></td>- <tr>- <td>ListDatabaseGroups</td>- <td>GET</td>- <td>/v1/{parent=projects/*}/databaseGroups</td>- <td></td>- </tr>----- <tr>- <td>GetDatabaseGroup</td>- <td>GET</td>- <td>/v1/{name=projects/*/databaseGroups/*}</td>- <td></td>- </tr>----- <tr>- <td>CreateDatabaseGroup</td>- <td>POST</td>- <td>/v1/{parent=projects/*}/databaseGroups</td>- <td>database_group</td>- </tr>----- <tr>- <td>UpdateDatabaseGroup</td>- <td>PATCH</td>- <td>/v1/{database_group.name=projects/*/databaseGroups/*}</td>- <td>database_group</td>- </tr>----- <tr>- <td>DeleteDatabaseGroup</td>- <td>DELETE</td>- <td>/v1/{name=projects/*/databaseGroups/*}</td>- <td></td>- </tr>----<tr><td>GetProjectProtectionRules</td><td>GET</td>diff --git a/proto/generated-go/v1/database_group_service.pb.go b/proto/generated-go/v1/database_group_service.pb.gonew file mode 100644index 0000000000..12c318e635--- /dev/null+++ b/proto/generated-go/v1/database_group_service.pb.go@@ -0,0 +1,946 @@+// Code generated by protoc-gen-go. DO NOT EDIT.+// versions:+// protoc-gen-go v1.34.2+// protoc (unknown)+// source: v1/database_group_service.proto++package v1++import (+ _ "google.golang.org/genproto/googleapis/api/annotations"+ expr "google.golang.org/genproto/googleapis/type/expr"+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"+ emptypb "google.golang.org/protobuf/types/known/emptypb"+ fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"+ _ "google.golang.org/protobuf/types/known/timestamppb"+ reflect "reflect"+ sync "sync"+)++const (+ // Verify that this generated code is sufficiently up-to-date.+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)+ // Verify that runtime/protoimpl is sufficiently up-to-date.+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)+)++type DatabaseGroupView int32++const (+ // The default / unset value.+ // The API will default to the BASIC view.+ DatabaseGroupView_DATABASE_GROUP_VIEW_UNSPECIFIED DatabaseGroupView = 0+ // Include basic information about the database group, but exclude the list of matched databases and unmatched databases.+ DatabaseGroupView_DATABASE_GROUP_VIEW_BASIC DatabaseGroupView = 1+ // Include everything.+ DatabaseGroupView_DATABASE_GROUP_VIEW_FULL DatabaseGroupView = 2+)++// Enum value maps for DatabaseGroupView.+var (+ DatabaseGroupView_name = map[int32]string{+ 0: "DATABASE_GROUP_VIEW_UNSPECIFIED",+ 1: "DATABASE_GROUP_VIEW_BASIC",+ 2: "DATABASE_GROUP_VIEW_FULL",+ }+ DatabaseGroupView_value = map[string]int32{+ "DATABASE_GROUP_VIEW_UNSPECIFIED": 0,+ "DATABASE_GROUP_VIEW_BASIC": 1,+ "DATABASE_GROUP_VIEW_FULL": 2,+ }+)++func (x DatabaseGroupView) Enum() *DatabaseGroupView {+ p := new(DatabaseGroupView)+ *p = x+ return p+}++func (x DatabaseGroupView) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (DatabaseGroupView) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_database_group_service_proto_enumTypes[0].Descriptor()+}++func (DatabaseGroupView) Type() protoreflect.EnumType {+ return &file_v1_database_group_service_proto_enumTypes[0]+}++func (x DatabaseGroupView) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use DatabaseGroupView.Descriptor instead.+func (DatabaseGroupView) EnumDescriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{0}+}++type ListDatabaseGroupsRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The parent resource whose database groups are to be listed.+ // Format: projects/{project}+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`+ // Not used. The maximum number of anomalies to return. The service may return fewer than+ // this value.+ // If unspecified, at most 50 anomalies will be returned.+ // The maximum value is 1000; values above 1000 will be coerced to 1000.+ PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`+ // Not used. A page token, received from a previous `ListDatabaseGroups` call.+ // Provide this to retrieve the subsequent page.+ //+ // When paginating, all other parameters provided to `ListDatabaseGroups` must match+ // the call that provided the page token.+ PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`+}++func (x *ListDatabaseGroupsRequest) Reset() {+ *x = ListDatabaseGroupsRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[0]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *ListDatabaseGroupsRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*ListDatabaseGroupsRequest) ProtoMessage() {}++func (x *ListDatabaseGroupsRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[0]+ 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 ListDatabaseGroupsRequest.ProtoReflect.Descriptor instead.+func (*ListDatabaseGroupsRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{0}+}++func (x *ListDatabaseGroupsRequest) GetParent() string {+ if x != nil {+ return x.Parent+ }+ return ""+}++func (x *ListDatabaseGroupsRequest) GetPageSize() int32 {+ if x != nil {+ return x.PageSize+ }+ return 0+}++func (x *ListDatabaseGroupsRequest) GetPageToken() string {+ if x != nil {+ return x.PageToken+ }+ return ""+}++type ListDatabaseGroupsResponse struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // database_groups is the list of database groups.+ DatabaseGroups []*DatabaseGroup `protobuf:"bytes,1,rep,name=database_groups,json=databaseGroups,proto3" json:"database_groups,omitempty"`+ // Not used. A token, which can be sent as `page_token` to retrieve the next page.+ // If this field is omitted, there are no subsequent pages.+ NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`+}++func (x *ListDatabaseGroupsResponse) Reset() {+ *x = ListDatabaseGroupsResponse{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[1]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *ListDatabaseGroupsResponse) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*ListDatabaseGroupsResponse) ProtoMessage() {}++func (x *ListDatabaseGroupsResponse) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[1]+ if protoimpl.UnsafeEnabled && x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use ListDatabaseGroupsResponse.ProtoReflect.Descriptor instead.+func (*ListDatabaseGroupsResponse) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{1}+}++func (x *ListDatabaseGroupsResponse) GetDatabaseGroups() []*DatabaseGroup {+ if x != nil {+ return x.DatabaseGroups+ }+ return nil+}++func (x *ListDatabaseGroupsResponse) GetNextPageToken() string {+ if x != nil {+ return x.NextPageToken+ }+ return ""+}++type GetDatabaseGroupRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the database group to retrieve.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ // The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC.+ View DatabaseGroupView `protobuf:"varint,2,opt,name=view,proto3,enum=bytebase.v1.DatabaseGroupView" json:"view,omitempty"`+}++func (x *GetDatabaseGroupRequest) Reset() {+ *x = GetDatabaseGroupRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[2]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *GetDatabaseGroupRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*GetDatabaseGroupRequest) ProtoMessage() {}++func (x *GetDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[2]+ 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 GetDatabaseGroupRequest.ProtoReflect.Descriptor instead.+func (*GetDatabaseGroupRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{2}+}++func (x *GetDatabaseGroupRequest) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++func (x *GetDatabaseGroupRequest) GetView() DatabaseGroupView {+ if x != nil {+ return x.View+ }+ return DatabaseGroupView_DATABASE_GROUP_VIEW_UNSPECIFIED+}++type CreateDatabaseGroupRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The parent resource where this database group will be created.+ // Format: projects/{project}+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`+ // The database group to create.+ DatabaseGroup *DatabaseGroup `protobuf:"bytes,2,opt,name=database_group,json=databaseGroup,proto3" json:"database_group,omitempty"`+ // The ID to use for the database group, which will become the final component of+ // the database group's resource name.+ //+ // This value should be 4-63 characters, and valid characters+ // are /[a-z][0-9]-/.+ DatabaseGroupId string `protobuf:"bytes,3,opt,name=database_group_id,json=databaseGroupId,proto3" json:"database_group_id,omitempty"`+ // If set, validate the create request and preview the full database group response, but do not actually create it.+ ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`+}++func (x *CreateDatabaseGroupRequest) Reset() {+ *x = CreateDatabaseGroupRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[3]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *CreateDatabaseGroupRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*CreateDatabaseGroupRequest) ProtoMessage() {}++func (x *CreateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[3]+ 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 CreateDatabaseGroupRequest.ProtoReflect.Descriptor instead.+func (*CreateDatabaseGroupRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{3}+}++func (x *CreateDatabaseGroupRequest) GetParent() string {+ if x != nil {+ return x.Parent+ }+ return ""+}++func (x *CreateDatabaseGroupRequest) GetDatabaseGroup() *DatabaseGroup {+ if x != nil {+ return x.DatabaseGroup+ }+ return nil+}++func (x *CreateDatabaseGroupRequest) GetDatabaseGroupId() string {+ if x != nil {+ return x.DatabaseGroupId+ }+ return ""+}++func (x *CreateDatabaseGroupRequest) GetValidateOnly() bool {+ if x != nil {+ return x.ValidateOnly+ }+ return false+}++type UpdateDatabaseGroupRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The database group to update.+ //+ // The database group's `name` field is used to identify the database group to update.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ DatabaseGroup *DatabaseGroup `protobuf:"bytes,1,opt,name=database_group,json=databaseGroup,proto3" json:"database_group,omitempty"`+ // The list of fields to update.+ UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`+}++func (x *UpdateDatabaseGroupRequest) Reset() {+ *x = UpdateDatabaseGroupRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[4]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *UpdateDatabaseGroupRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*UpdateDatabaseGroupRequest) ProtoMessage() {}++func (x *UpdateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[4]+ 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 UpdateDatabaseGroupRequest.ProtoReflect.Descriptor instead.+func (*UpdateDatabaseGroupRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{4}+}++func (x *UpdateDatabaseGroupRequest) GetDatabaseGroup() *DatabaseGroup {+ if x != nil {+ return x.DatabaseGroup+ }+ return nil+}++func (x *UpdateDatabaseGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask {+ if x != nil {+ return x.UpdateMask+ }+ return nil+}++type DeleteDatabaseGroupRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the database group to delete.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+}++func (x *DeleteDatabaseGroupRequest) Reset() {+ *x = DeleteDatabaseGroupRequest{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[5]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *DeleteDatabaseGroupRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*DeleteDatabaseGroupRequest) ProtoMessage() {}++func (x *DeleteDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[5]+ 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 DeleteDatabaseGroupRequest.ProtoReflect.Descriptor instead.+func (*DeleteDatabaseGroupRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{5}+}++func (x *DeleteDatabaseGroupRequest) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++type DatabaseGroup struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the database group.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ // The short name used in actual databases specified by users.+ // For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1".+ DatabasePlaceholder string `protobuf:"bytes,2,opt,name=database_placeholder,json=databasePlaceholder,proto3" json:"database_placeholder,omitempty"`+ // The condition that is associated with this database group.+ DatabaseExpr *expr.Expr `protobuf:"bytes,3,opt,name=database_expr,json=databaseExpr,proto3" json:"database_expr,omitempty"`+ // The list of databases that match the database group condition.+ MatchedDatabases []*DatabaseGroup_Database `protobuf:"bytes,4,rep,name=matched_databases,json=matchedDatabases,proto3" json:"matched_databases,omitempty"`+ // The list of databases that match the database group condition.+ UnmatchedDatabases []*DatabaseGroup_Database `protobuf:"bytes,5,rep,name=unmatched_databases,json=unmatchedDatabases,proto3" json:"unmatched_databases,omitempty"`+ Multitenancy bool `protobuf:"varint,6,opt,name=multitenancy,proto3" json:"multitenancy,omitempty"`+}++func (x *DatabaseGroup) Reset() {+ *x = DatabaseGroup{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[6]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *DatabaseGroup) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*DatabaseGroup) ProtoMessage() {}++func (x *DatabaseGroup) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[6]+ 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 DatabaseGroup.ProtoReflect.Descriptor instead.+func (*DatabaseGroup) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{6}+}++func (x *DatabaseGroup) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++func (x *DatabaseGroup) GetDatabasePlaceholder() string {+ if x != nil {+ return x.DatabasePlaceholder+ }+ return ""+}++func (x *DatabaseGroup) GetDatabaseExpr() *expr.Expr {+ if x != nil {+ return x.DatabaseExpr+ }+ return nil+}++func (x *DatabaseGroup) GetMatchedDatabases() []*DatabaseGroup_Database {+ if x != nil {+ return x.MatchedDatabases+ }+ return nil+}++func (x *DatabaseGroup) GetUnmatchedDatabases() []*DatabaseGroup_Database {+ if x != nil {+ return x.UnmatchedDatabases+ }+ return nil+}++func (x *DatabaseGroup) GetMultitenancy() bool {+ if x != nil {+ return x.Multitenancy+ }+ return false+}++type DatabaseGroup_Database struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The resource name of the database.+ // Format: instances/{instance}/databases/{database}+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+}++func (x *DatabaseGroup_Database) Reset() {+ *x = DatabaseGroup_Database{}+ if protoimpl.UnsafeEnabled {+ mi := &file_v1_database_group_service_proto_msgTypes[7]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+ }+}++func (x *DatabaseGroup_Database) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*DatabaseGroup_Database) ProtoMessage() {}++func (x *DatabaseGroup_Database) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_group_service_proto_msgTypes[7]+ 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 DatabaseGroup_Database.ProtoReflect.Descriptor instead.+func (*DatabaseGroup_Database) Descriptor() ([]byte, []int) {+ return file_v1_database_group_service_proto_rawDescGZIP(), []int{6, 0}+}++func (x *DatabaseGroup_Database) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++var File_v1_database_group_service_proto protoreflect.FileDescriptor++var file_v1_database_group_service_proto_rawDesc = []byte{+ 0x0a, 0x1f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72,+ 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x12, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,+ 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,+ 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74,+ 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13,+ 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x89, 0x01, 0x0a, 0x1a, 0x4c,+ 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x67, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x12, 0x32, 0x0a, 0x04, 0x76,+ 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22,+ 0xd4, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x47, 0x0a, 0x0e,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,+ 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e,+ 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,+ 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xa2, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,+ 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x36, 0x0a, 0x1a, 0x44,+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,+ 0x75, 0x70, 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, 0x86, 0x03, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65,+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x0d,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x03, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70,+ 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x45, 0x78, 0x70, 0x72, 0x12, 0x56, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63,+ 0x68, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x13,+ 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74,+ 0x69, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,+ 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x79, 0x1a, 0x1e, 0x0a, 0x08,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x75, 0x0a, 0x11,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x69, 0x65,+ 0x77, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52,+ 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,+ 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41,+ 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53,+ 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c,+ 0x4c, 0x10, 0x02, 0x32, 0xbb, 0x07, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb1, 0x01, 0x0a,+ 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,+ 0x75, 0x70, 0x73, 0x12, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a,+ 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67,+ 0x65, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,+ 0x12, 0x9e, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,+ 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x48, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,+ 0x67, 0x65, 0x74, 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, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,+ 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x6b,+ 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x38, 0x3a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72,+ 0x6f, 0x75, 0x70, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xdd, 0x01, 0x0a, 0x13,+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x80, 0x01, 0xda, 0x41, 0x1a, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x47, 0x3a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67,+ 0x72, 0x6f, 0x75, 0x70, 0x32, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x13,+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x4b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,+ 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,+ 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,+}++var (+ file_v1_database_group_service_proto_rawDescOnce sync.Once+ file_v1_database_group_service_proto_rawDescData = file_v1_database_group_service_proto_rawDesc+)++func file_v1_database_group_service_proto_rawDescGZIP() []byte {+ file_v1_database_group_service_proto_rawDescOnce.Do(func() {+ file_v1_database_group_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_database_group_service_proto_rawDescData)+ })+ return file_v1_database_group_service_proto_rawDescData+}++var file_v1_database_group_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)+var file_v1_database_group_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)+var file_v1_database_group_service_proto_goTypes = []any{+ (DatabaseGroupView)(0), // 0: bytebase.v1.DatabaseGroupView+ (*ListDatabaseGroupsRequest)(nil), // 1: bytebase.v1.ListDatabaseGroupsRequest+ (*ListDatabaseGroupsResponse)(nil), // 2: bytebase.v1.ListDatabaseGroupsResponse+ (*GetDatabaseGroupRequest)(nil), // 3: bytebase.v1.GetDatabaseGroupRequest+ (*CreateDatabaseGroupRequest)(nil), // 4: bytebase.v1.CreateDatabaseGroupRequest+ (*UpdateDatabaseGroupRequest)(nil), // 5: bytebase.v1.UpdateDatabaseGroupRequest+ (*DeleteDatabaseGroupRequest)(nil), // 6: bytebase.v1.DeleteDatabaseGroupRequest+ (*DatabaseGroup)(nil), // 7: bytebase.v1.DatabaseGroup+ (*DatabaseGroup_Database)(nil), // 8: bytebase.v1.DatabaseGroup.Database+ (*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask+ (*expr.Expr)(nil), // 10: google.type.Expr+ (*emptypb.Empty)(nil), // 11: google.protobuf.Empty+}+var file_v1_database_group_service_proto_depIdxs = []int32{+ 7, // 0: bytebase.v1.ListDatabaseGroupsResponse.database_groups:type_name -> bytebase.v1.DatabaseGroup+ 0, // 1: bytebase.v1.GetDatabaseGroupRequest.view:type_name -> bytebase.v1.DatabaseGroupView+ 7, // 2: bytebase.v1.CreateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup+ 7, // 3: bytebase.v1.UpdateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup+ 9, // 4: bytebase.v1.UpdateDatabaseGroupRequest.update_mask:type_name -> google.protobuf.FieldMask+ 10, // 5: bytebase.v1.DatabaseGroup.database_expr:type_name -> google.type.Expr+ 8, // 6: bytebase.v1.DatabaseGroup.matched_databases:type_name -> bytebase.v1.DatabaseGroup.Database+ 8, // 7: bytebase.v1.DatabaseGroup.unmatched_databases:type_name -> bytebase.v1.DatabaseGroup.Database+ 1, // 8: bytebase.v1.DatabaseGroupService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest+ 3, // 9: bytebase.v1.DatabaseGroupService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest+ 4, // 10: bytebase.v1.DatabaseGroupService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest+ 5, // 11: bytebase.v1.DatabaseGroupService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest+ 6, // 12: bytebase.v1.DatabaseGroupService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest+ 2, // 13: bytebase.v1.DatabaseGroupService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse+ 7, // 14: bytebase.v1.DatabaseGroupService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 7, // 15: bytebase.v1.DatabaseGroupService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 7, // 16: bytebase.v1.DatabaseGroupService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 11, // 17: bytebase.v1.DatabaseGroupService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty+ 13, // [13:18] is the sub-list for method output_type+ 8, // [8:13] is the sub-list for method input_type+ 8, // [8:8] is the sub-list for extension type_name+ 8, // [8:8] is the sub-list for extension extendee+ 0, // [0:8] is the sub-list for field type_name+}++func init() { file_v1_database_group_service_proto_init() }+func file_v1_database_group_service_proto_init() {+ if File_v1_database_group_service_proto != nil {+ return+ }+ file_v1_annotation_proto_init()+ if !protoimpl.UnsafeEnabled {+ file_v1_database_group_service_proto_msgTypes[0].Exporter = func(v any, i int) any {+ switch v := v.(*ListDatabaseGroupsRequest); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[1].Exporter = func(v any, i int) any {+ switch v := v.(*ListDatabaseGroupsResponse); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[2].Exporter = func(v any, i int) any {+ switch v := v.(*GetDatabaseGroupRequest); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[3].Exporter = func(v any, i int) any {+ switch v := v.(*CreateDatabaseGroupRequest); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[4].Exporter = func(v any, i int) any {+ switch v := v.(*UpdateDatabaseGroupRequest); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[5].Exporter = func(v any, i int) any {+ switch v := v.(*DeleteDatabaseGroupRequest); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[6].Exporter = func(v any, i int) any {+ switch v := v.(*DatabaseGroup); i {+ case 0:+ return &v.state+ case 1:+ return &v.sizeCache+ case 2:+ return &v.unknownFields+ default:+ return nil+ }+ }+ file_v1_database_group_service_proto_msgTypes[7].Exporter = func(v any, i int) any {+ switch v := v.(*DatabaseGroup_Database); 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_database_group_service_proto_rawDesc,+ NumEnums: 1,+ NumMessages: 8,+ NumExtensions: 0,+ NumServices: 1,+ },+ GoTypes: file_v1_database_group_service_proto_goTypes,+ DependencyIndexes: file_v1_database_group_service_proto_depIdxs,+ EnumInfos: file_v1_database_group_service_proto_enumTypes,+ MessageInfos: file_v1_database_group_service_proto_msgTypes,+ }.Build()+ File_v1_database_group_service_proto = out.File+ file_v1_database_group_service_proto_rawDesc = nil+ file_v1_database_group_service_proto_goTypes = nil+ file_v1_database_group_service_proto_depIdxs = nil+}diff --git a/proto/generated-go/v1/database_group_service.pb.gw.go b/proto/generated-go/v1/database_group_service.pb.gw.gonew file mode 100644index 0000000000..356b3510e4--- /dev/null+++ b/proto/generated-go/v1/database_group_service.pb.gw.go@@ -0,0 +1,711 @@+// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.+// source: v1/database_group_service.proto++/*+Package v1 is a reverse proxy.++It translates gRPC into RESTful JSON APIs.+*/+package v1++import (+ "context"+ "io"+ "net/http"++ "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"+ "github.com/grpc-ecosystem/grpc-gateway/v2/utilities"+ "google.golang.org/grpc"+ "google.golang.org/grpc/codes"+ "google.golang.org/grpc/grpclog"+ "google.golang.org/grpc/metadata"+ "google.golang.org/grpc/status"+ "google.golang.org/protobuf/proto"+)++// Suppress "imported and not used" errors+var _ codes.Code+var _ io.Reader+var _ status.Status+var _ = runtime.String+var _ = utilities.NewDoubleArray+var _ = metadata.Join++var (+ filter_DatabaseGroupService_ListDatabaseGroups_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}+)++func request_DatabaseGroupService_ListDatabaseGroups_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseGroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq ListDatabaseGroupsRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_ListDatabaseGroups_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := client.ListDatabaseGroups(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseGroupService_ListDatabaseGroups_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseGroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq ListDatabaseGroupsRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_ListDatabaseGroups_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := server.ListDatabaseGroups(ctx, &protoReq)+ return msg, metadata, err++}++var (+ filter_DatabaseGroupService_GetDatabaseGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}+)++func request_DatabaseGroupService_GetDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseGroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq GetDatabaseGroupRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")+ }++ protoReq.Name, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_GetDatabaseGroup_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := client.GetDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseGroupService_GetDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseGroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq GetDatabaseGroupRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")+ }++ protoReq.Name, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_GetDatabaseGroup_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := server.GetDatabaseGroup(ctx, &protoReq)+ return msg, metadata, err++}++var (+ filter_DatabaseGroupService_CreateDatabaseGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"database_group": 0, "parent": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}}+)++func request_DatabaseGroupService_CreateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseGroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq CreateDatabaseGroupRequest+ var metadata runtime.ServerMetadata++ if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.DatabaseGroup); err != nil && err != io.EOF {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_CreateDatabaseGroup_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := client.CreateDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseGroupService_CreateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseGroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq CreateDatabaseGroupRequest+ var metadata runtime.ServerMetadata++ if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.DatabaseGroup); err != nil && err != io.EOF {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_CreateDatabaseGroup_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := server.CreateDatabaseGroup(ctx, &protoReq)+ return msg, metadata, err++}++var (+ filter_DatabaseGroupService_UpdateDatabaseGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"database_group": 0, "name": 1}, Base: []int{1, 2, 1, 0, 0}, Check: []int{0, 1, 2, 3, 2}}+)++func request_DatabaseGroupService_UpdateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseGroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq UpdateDatabaseGroupRequest+ 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.DatabaseGroup); err != nil && err != io.EOF {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 {+ if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.DatabaseGroup); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ } else {+ protoReq.UpdateMask = fieldMask+ }+ }++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["database_group.name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "database_group.name")+ }++ err = runtime.PopulateFieldFromPath(&protoReq, "database_group.name", val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "database_group.name", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_UpdateDatabaseGroup_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := client.UpdateDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseGroupService_UpdateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseGroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq UpdateDatabaseGroupRequest+ 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.DatabaseGroup); err != nil && err != io.EOF {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 {+ if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.DatabaseGroup); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ } else {+ protoReq.UpdateMask = fieldMask+ }+ }++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["database_group.name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "database_group.name")+ }++ err = runtime.PopulateFieldFromPath(&protoReq, "database_group.name", val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "database_group.name", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseGroupService_UpdateDatabaseGroup_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := server.UpdateDatabaseGroup(ctx, &protoReq)+ return msg, metadata, err++}++func request_DatabaseGroupService_DeleteDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseGroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq DeleteDatabaseGroupRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")+ }++ protoReq.Name, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)+ }++ msg, err := client.DeleteDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseGroupService_DeleteDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseGroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq DeleteDatabaseGroupRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")+ }++ protoReq.Name, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)+ }++ msg, err := server.DeleteDatabaseGroup(ctx, &protoReq)+ return msg, metadata, err++}++// RegisterDatabaseGroupServiceHandlerServer registers the http handlers for service DatabaseGroupService to "mux".+// UnaryRPC :call DatabaseGroupServiceServer directly.+// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.+// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDatabaseGroupServiceHandlerFromEndpoint instead.+func RegisterDatabaseGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DatabaseGroupServiceServer) error {++ mux.Handle("GET", pattern_DatabaseGroupService_ListDatabaseGroups_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.DatabaseGroupService/ListDatabaseGroups", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseGroupService_ListDatabaseGroups_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_DatabaseGroupService_ListDatabaseGroups_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("GET", pattern_DatabaseGroupService_GetDatabaseGroup_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.DatabaseGroupService/GetDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseGroupService_GetDatabaseGroup_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_DatabaseGroupService_GetDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("POST", pattern_DatabaseGroupService_CreateDatabaseGroup_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.DatabaseGroupService/CreateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseGroupService_CreateDatabaseGroup_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_DatabaseGroupService_CreateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("PATCH", pattern_DatabaseGroupService_UpdateDatabaseGroup_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.DatabaseGroupService/UpdateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{database_group.name=projects/*/databaseGroups/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseGroupService_UpdateDatabaseGroup_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_DatabaseGroupService_UpdateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("DELETE", pattern_DatabaseGroupService_DeleteDatabaseGroup_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.DatabaseGroupService/DeleteDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseGroupService_DeleteDatabaseGroup_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_DatabaseGroupService_DeleteDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ return nil+}++// RegisterDatabaseGroupServiceHandlerFromEndpoint is same as RegisterDatabaseGroupServiceHandler but+// automatically dials to "endpoint" and closes the connection when "ctx" gets done.+func RegisterDatabaseGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {+ conn, err := grpc.NewClient(endpoint, opts...)+ if err != nil {+ return err+ }+ defer func() {+ if err != nil {+ if cerr := conn.Close(); cerr != nil {+ grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr)+ }+ return+ }+ go func() {+ <-ctx.Done()+ if cerr := conn.Close(); cerr != nil {+ grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr)+ }+ }()+ }()++ return RegisterDatabaseGroupServiceHandler(ctx, mux, conn)+}++// RegisterDatabaseGroupServiceHandler registers the http handlers for service DatabaseGroupService to "mux".+// The handlers forward requests to the grpc endpoint over "conn".+func RegisterDatabaseGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {+ return RegisterDatabaseGroupServiceHandlerClient(ctx, mux, NewDatabaseGroupServiceClient(conn))+}++// RegisterDatabaseGroupServiceHandlerClient registers the http handlers for service DatabaseGroupService+// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DatabaseGroupServiceClient".+// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DatabaseGroupServiceClient"+// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in+// "DatabaseGroupServiceClient" to call the correct interceptors.+func RegisterDatabaseGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DatabaseGroupServiceClient) error {++ mux.Handle("GET", pattern_DatabaseGroupService_ListDatabaseGroups_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.DatabaseGroupService/ListDatabaseGroups", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseGroupService_ListDatabaseGroups_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseGroupService_ListDatabaseGroups_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("GET", pattern_DatabaseGroupService_GetDatabaseGroup_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.DatabaseGroupService/GetDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseGroupService_GetDatabaseGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseGroupService_GetDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("POST", pattern_DatabaseGroupService_CreateDatabaseGroup_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.DatabaseGroupService/CreateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseGroupService_CreateDatabaseGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseGroupService_CreateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("PATCH", pattern_DatabaseGroupService_UpdateDatabaseGroup_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.DatabaseGroupService/UpdateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{database_group.name=projects/*/databaseGroups/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseGroupService_UpdateDatabaseGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseGroupService_UpdateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("DELETE", pattern_DatabaseGroupService_DeleteDatabaseGroup_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.DatabaseGroupService/DeleteDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseGroupService_DeleteDatabaseGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseGroupService_DeleteDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ return nil+}++var (+ pattern_DatabaseGroupService_ListDatabaseGroups_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "databaseGroups"}, ""))++ pattern_DatabaseGroupService_GetDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "name"}, ""))++ pattern_DatabaseGroupService_CreateDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "databaseGroups"}, ""))++ pattern_DatabaseGroupService_UpdateDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "database_group.name"}, ""))++ pattern_DatabaseGroupService_DeleteDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "name"}, ""))+)++var (+ forward_DatabaseGroupService_ListDatabaseGroups_0 = runtime.ForwardResponseMessage++ forward_DatabaseGroupService_GetDatabaseGroup_0 = runtime.ForwardResponseMessage++ forward_DatabaseGroupService_CreateDatabaseGroup_0 = runtime.ForwardResponseMessage++ forward_DatabaseGroupService_UpdateDatabaseGroup_0 = runtime.ForwardResponseMessage++ forward_DatabaseGroupService_DeleteDatabaseGroup_0 = runtime.ForwardResponseMessage+)diff --git a/proto/generated-go/v1/database_group_service_grpc.pb.go b/proto/generated-go/v1/database_group_service_grpc.pb.gonew file mode 100644index 0000000000..ef1bd627c9--- /dev/null+++ b/proto/generated-go/v1/database_group_service_grpc.pb.go@@ -0,0 +1,263 @@+// Code generated by protoc-gen-go-grpc. DO NOT EDIT.+// versions:+// - protoc-gen-go-grpc v1.4.0+// - protoc (unknown)+// source: v1/database_group_service.proto++package v1++import (+ context "context"+ grpc "google.golang.org/grpc"+ codes "google.golang.org/grpc/codes"+ status "google.golang.org/grpc/status"+ emptypb "google.golang.org/protobuf/types/known/emptypb"+)++// This is a compile-time assertion to ensure that this generated file+// is compatible with the grpc package it is being compiled against.+// Requires gRPC-Go v1.62.0 or later.+const _ = grpc.SupportPackageIsVersion8++const (+ DatabaseGroupService_ListDatabaseGroups_FullMethodName = "/bytebase.v1.DatabaseGroupService/ListDatabaseGroups"+ DatabaseGroupService_GetDatabaseGroup_FullMethodName = "/bytebase.v1.DatabaseGroupService/GetDatabaseGroup"+ DatabaseGroupService_CreateDatabaseGroup_FullMethodName = "/bytebase.v1.DatabaseGroupService/CreateDatabaseGroup"+ DatabaseGroupService_UpdateDatabaseGroup_FullMethodName = "/bytebase.v1.DatabaseGroupService/UpdateDatabaseGroup"+ DatabaseGroupService_DeleteDatabaseGroup_FullMethodName = "/bytebase.v1.DatabaseGroupService/DeleteDatabaseGroup"+)++// DatabaseGroupServiceClient is the client API for DatabaseGroupService service.+//+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.+type DatabaseGroupServiceClient interface {+ ListDatabaseGroups(ctx context.Context, in *ListDatabaseGroupsRequest, opts ...grpc.CallOption) (*ListDatabaseGroupsResponse, error)+ GetDatabaseGroup(ctx context.Context, in *GetDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)+ CreateDatabaseGroup(ctx context.Context, in *CreateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)+ UpdateDatabaseGroup(ctx context.Context, in *UpdateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)+ DeleteDatabaseGroup(ctx context.Context, in *DeleteDatabaseGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)+}++type databaseGroupServiceClient struct {+ cc grpc.ClientConnInterface+}++func NewDatabaseGroupServiceClient(cc grpc.ClientConnInterface) DatabaseGroupServiceClient {+ return &databaseGroupServiceClient{cc}+}++func (c *databaseGroupServiceClient) ListDatabaseGroups(ctx context.Context, in *ListDatabaseGroupsRequest, opts ...grpc.CallOption) (*ListDatabaseGroupsResponse, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(ListDatabaseGroupsResponse)+ err := c.cc.Invoke(ctx, DatabaseGroupService_ListDatabaseGroups_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *databaseGroupServiceClient) GetDatabaseGroup(ctx context.Context, in *GetDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(DatabaseGroup)+ err := c.cc.Invoke(ctx, DatabaseGroupService_GetDatabaseGroup_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *databaseGroupServiceClient) CreateDatabaseGroup(ctx context.Context, in *CreateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(DatabaseGroup)+ err := c.cc.Invoke(ctx, DatabaseGroupService_CreateDatabaseGroup_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *databaseGroupServiceClient) UpdateDatabaseGroup(ctx context.Context, in *UpdateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(DatabaseGroup)+ err := c.cc.Invoke(ctx, DatabaseGroupService_UpdateDatabaseGroup_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *databaseGroupServiceClient) DeleteDatabaseGroup(ctx context.Context, in *DeleteDatabaseGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(emptypb.Empty)+ err := c.cc.Invoke(ctx, DatabaseGroupService_DeleteDatabaseGroup_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++// DatabaseGroupServiceServer is the server API for DatabaseGroupService service.+// All implementations must embed UnimplementedDatabaseGroupServiceServer+// for forward compatibility+type DatabaseGroupServiceServer interface {+ ListDatabaseGroups(context.Context, *ListDatabaseGroupsRequest) (*ListDatabaseGroupsResponse, error)+ GetDatabaseGroup(context.Context, *GetDatabaseGroupRequest) (*DatabaseGroup, error)+ CreateDatabaseGroup(context.Context, *CreateDatabaseGroupRequest) (*DatabaseGroup, error)+ UpdateDatabaseGroup(context.Context, *UpdateDatabaseGroupRequest) (*DatabaseGroup, error)+ DeleteDatabaseGroup(context.Context, *DeleteDatabaseGroupRequest) (*emptypb.Empty, error)+ mustEmbedUnimplementedDatabaseGroupServiceServer()+}++// UnimplementedDatabaseGroupServiceServer must be embedded to have forward compatible implementations.+type UnimplementedDatabaseGroupServiceServer struct {+}++func (UnimplementedDatabaseGroupServiceServer) ListDatabaseGroups(context.Context, *ListDatabaseGroupsRequest) (*ListDatabaseGroupsResponse, error) {+ return nil, status.Errorf(codes.Unimplemented, "method ListDatabaseGroups not implemented")+}+func (UnimplementedDatabaseGroupServiceServer) GetDatabaseGroup(context.Context, *GetDatabaseGroupRequest) (*DatabaseGroup, error) {+ return nil, status.Errorf(codes.Unimplemented, "method GetDatabaseGroup not implemented")+}+func (UnimplementedDatabaseGroupServiceServer) CreateDatabaseGroup(context.Context, *CreateDatabaseGroupRequest) (*DatabaseGroup, error) {+ return nil, status.Errorf(codes.Unimplemented, "method CreateDatabaseGroup not implemented")+}+func (UnimplementedDatabaseGroupServiceServer) UpdateDatabaseGroup(context.Context, *UpdateDatabaseGroupRequest) (*DatabaseGroup, error) {+ return nil, status.Errorf(codes.Unimplemented, "method UpdateDatabaseGroup not implemented")+}+func (UnimplementedDatabaseGroupServiceServer) DeleteDatabaseGroup(context.Context, *DeleteDatabaseGroupRequest) (*emptypb.Empty, error) {+ return nil, status.Errorf(codes.Unimplemented, "method DeleteDatabaseGroup not implemented")+}+func (UnimplementedDatabaseGroupServiceServer) mustEmbedUnimplementedDatabaseGroupServiceServer() {}++// UnsafeDatabaseGroupServiceServer may be embedded to opt out of forward compatibility for this service.+// Use of this interface is not recommended, as added methods to DatabaseGroupServiceServer will+// result in compilation errors.+type UnsafeDatabaseGroupServiceServer interface {+ mustEmbedUnimplementedDatabaseGroupServiceServer()+}++func RegisterDatabaseGroupServiceServer(s grpc.ServiceRegistrar, srv DatabaseGroupServiceServer) {+ s.RegisterService(&DatabaseGroupService_ServiceDesc, srv)+}++func _DatabaseGroupService_ListDatabaseGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(ListDatabaseGroupsRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseGroupServiceServer).ListDatabaseGroups(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseGroupService_ListDatabaseGroups_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseGroupServiceServer).ListDatabaseGroups(ctx, req.(*ListDatabaseGroupsRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _DatabaseGroupService_GetDatabaseGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(GetDatabaseGroupRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseGroupServiceServer).GetDatabaseGroup(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseGroupService_GetDatabaseGroup_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseGroupServiceServer).GetDatabaseGroup(ctx, req.(*GetDatabaseGroupRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _DatabaseGroupService_CreateDatabaseGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(CreateDatabaseGroupRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseGroupServiceServer).CreateDatabaseGroup(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseGroupService_CreateDatabaseGroup_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseGroupServiceServer).CreateDatabaseGroup(ctx, req.(*CreateDatabaseGroupRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _DatabaseGroupService_UpdateDatabaseGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(UpdateDatabaseGroupRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseGroupServiceServer).UpdateDatabaseGroup(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseGroupService_UpdateDatabaseGroup_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseGroupServiceServer).UpdateDatabaseGroup(ctx, req.(*UpdateDatabaseGroupRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _DatabaseGroupService_DeleteDatabaseGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(DeleteDatabaseGroupRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseGroupServiceServer).DeleteDatabaseGroup(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseGroupService_DeleteDatabaseGroup_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseGroupServiceServer).DeleteDatabaseGroup(ctx, req.(*DeleteDatabaseGroupRequest))+ }+ return interceptor(ctx, in, info, handler)+}++// DatabaseGroupService_ServiceDesc is the grpc.ServiceDesc for DatabaseGroupService service.+// It's only intended for direct use with grpc.RegisterService,+// and not to be introspected or modified (even as a copy)+var DatabaseGroupService_ServiceDesc = grpc.ServiceDesc{+ ServiceName: "bytebase.v1.DatabaseGroupService",+ HandlerType: (*DatabaseGroupServiceServer)(nil),+ Methods: []grpc.MethodDesc{+ {+ MethodName: "ListDatabaseGroups",+ Handler: _DatabaseGroupService_ListDatabaseGroups_Handler,+ },+ {+ MethodName: "GetDatabaseGroup",+ Handler: _DatabaseGroupService_GetDatabaseGroup_Handler,+ },+ {+ MethodName: "CreateDatabaseGroup",+ Handler: _DatabaseGroupService_CreateDatabaseGroup_Handler,+ },+ {+ MethodName: "UpdateDatabaseGroup",+ Handler: _DatabaseGroupService_UpdateDatabaseGroup_Handler,+ },+ {+ MethodName: "DeleteDatabaseGroup",+ Handler: _DatabaseGroupService_DeleteDatabaseGroup_Handler,+ },+ },+ Streams: []grpc.StreamDesc{},+ Metadata: "v1/database_group_service.proto",+}diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.goindex 69ca133872..4e6c1ab044 100644--- a/proto/generated-go/v1/project_service.pb.go+++ b/proto/generated-go/v1/project_service.pb.go@@ -8,7 +8,7 @@ package v1import (_ "google.golang.org/genproto/googleapis/api/annotations"- expr "google.golang.org/genproto/googleapis/type/expr"+ _ "google.golang.org/genproto/googleapis/type/expr"protoreflect "google.golang.org/protobuf/reflect/protoreflect"protoimpl "google.golang.org/protobuf/runtime/protoimpl"emptypb "google.golang.org/protobuf/types/known/emptypb"@@ -129,59 +129,6 @@ func (OperatorType) EnumDescriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{1}}-type DatabaseGroupView int32--const (- // The default / unset value.- // The API will default to the BASIC view.- DatabaseGroupView_DATABASE_GROUP_VIEW_UNSPECIFIED DatabaseGroupView = 0- // Include basic information about the database group, but exclude the list of matched databases and unmatched databases.- DatabaseGroupView_DATABASE_GROUP_VIEW_BASIC DatabaseGroupView = 1- // Include everything.- DatabaseGroupView_DATABASE_GROUP_VIEW_FULL DatabaseGroupView = 2-)--// Enum value maps for DatabaseGroupView.-var (- DatabaseGroupView_name = map[int32]string{- 0: "DATABASE_GROUP_VIEW_UNSPECIFIED",- 1: "DATABASE_GROUP_VIEW_BASIC",- 2: "DATABASE_GROUP_VIEW_FULL",- }- DatabaseGroupView_value = map[string]int32{- "DATABASE_GROUP_VIEW_UNSPECIFIED": 0,- "DATABASE_GROUP_VIEW_BASIC": 1,- "DATABASE_GROUP_VIEW_FULL": 2,- }-)--func (x DatabaseGroupView) Enum() *DatabaseGroupView {- p := new(DatabaseGroupView)- *p = x- return p-}--func (x DatabaseGroupView) String() string {- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))-}--func (DatabaseGroupView) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[2].Descriptor()-}--func (DatabaseGroupView) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[2]-}--func (x DatabaseGroupView) Number() protoreflect.EnumNumber {- return protoreflect.EnumNumber(x)-}--// Deprecated: Use DatabaseGroupView.Descriptor instead.-func (DatabaseGroupView) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{2}-}-type Webhook_Type int32const (@@ -230,11 +177,11 @@ func (x Webhook_Type) String() string {}func (Webhook_Type) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[3].Descriptor()+ return file_v1_project_service_proto_enumTypes[2].Descriptor()}func (Webhook_Type) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[3]+ return &file_v1_project_service_proto_enumTypes[2]}func (x Webhook_Type) Number() protoreflect.EnumNumber {@@ -366,11 +313,11 @@ func (x Activity_Type) String() string {}func (Activity_Type) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[4].Descriptor()+ return file_v1_project_service_proto_enumTypes[3].Descriptor()}func (Activity_Type) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[4]+ return &file_v1_project_service_proto_enumTypes[3]}func (x Activity_Type) Number() protoreflect.EnumNumber {@@ -416,11 +363,11 @@ func (x ProtectionRule_Target) String() string {}func (ProtectionRule_Target) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[5].Descriptor()+ return file_v1_project_service_proto_enumTypes[4].Descriptor()}func (ProtectionRule_Target) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[5]+ return &file_v1_project_service_proto_enumTypes[4]}func (x ProtectionRule_Target) Number() protoreflect.EnumNumber {@@ -429,7 +376,7 @@ func (x ProtectionRule_Target) Number() protoreflect.EnumNumber {// Deprecated: Use ProtectionRule_Target.Descriptor instead.func (ProtectionRule_Target) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{38, 0}+ return file_v1_project_service_proto_rawDescGZIP(), []int{31, 0}}type ProtectionRule_BranchSource int32@@ -462,11 +409,11 @@ func (x ProtectionRule_BranchSource) String() string {}func (ProtectionRule_BranchSource) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[6].Descriptor()+ return file_v1_project_service_proto_enumTypes[5].Descriptor()}func (ProtectionRule_BranchSource) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[6]+ return &file_v1_project_service_proto_enumTypes[5]}func (x ProtectionRule_BranchSource) Number() protoreflect.EnumNumber {@@ -475,7 +422,7 @@ func (x ProtectionRule_BranchSource) Number() protoreflect.EnumNumber {// Deprecated: Use ProtectionRule_BranchSource.Descriptor instead.func (ProtectionRule_BranchSource) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{38, 1}+ return file_v1_project_service_proto_rawDescGZIP(), []int{31, 1}}type GetProjectRequest struct {@@ -2125,29 +2072,18 @@ func (*Activity) Descriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{27}}-type ListDatabaseGroupsRequest struct {+type GetProjectProtectionRulesRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- // The parent resource whose database groups are to be listed.- // Format: projects/{project}- Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`- // Not used. The maximum number of anomalies to return. The service may return fewer than- // this value.- // If unspecified, at most 50 anomalies will be returned.- // The maximum value is 1000; values above 1000 will be coerced to 1000.- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`- // Not used. A page token, received from a previous `ListDatabaseGroups` call.- // Provide this to retrieve the subsequent page.- //- // When paginating, all other parameters provided to `ListDatabaseGroups` must match- // the call that provided the page token.- PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`+ // The name of the protection rules.+ // Format: projects/{project}/protectionRules+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`}-func (x *ListDatabaseGroupsRequest) Reset() {- *x = ListDatabaseGroupsRequest{}+func (x *GetProjectProtectionRulesRequest) Reset() {+ *x = GetProjectProtectionRulesRequest{}if protoimpl.UnsafeEnabled {mi := &file_v1_project_service_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2155,13 +2091,13 @@ func (x *ListDatabaseGroupsRequest) Reset() {}}-func (x *ListDatabaseGroupsRequest) String() string {+func (x *GetProjectProtectionRulesRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*ListDatabaseGroupsRequest) ProtoMessage() {}+func (*GetProjectProtectionRulesRequest) ProtoMessage() {}-func (x *ListDatabaseGroupsRequest) ProtoReflect() protoreflect.Message {+func (x *GetProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {mi := &file_v1_project_service_proto_msgTypes[28]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2173,46 +2109,28 @@ func (x *ListDatabaseGroupsRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ListDatabaseGroupsRequest.ProtoReflect.Descriptor instead.-func (*ListDatabaseGroupsRequest) Descriptor() ([]byte, []int) {+// Deprecated: Use GetProjectProtectionRulesRequest.ProtoReflect.Descriptor instead.+func (*GetProjectProtectionRulesRequest) Descriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{28}}-func (x *ListDatabaseGroupsRequest) GetParent() string {- if x != nil {- return x.Parent- }- return ""-}--func (x *ListDatabaseGroupsRequest) GetPageSize() int32 {- if x != nil {- return x.PageSize- }- return 0-}--func (x *ListDatabaseGroupsRequest) GetPageToken() string {+func (x *GetProjectProtectionRulesRequest) GetName() string {if x != nil {- return x.PageToken+ return x.Name}return ""}-type ListDatabaseGroupsResponse struct {+type UpdateProjectProtectionRulesRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- // database_groups is the list of database groups.- DatabaseGroups []*DatabaseGroup `protobuf:"bytes,1,rep,name=database_groups,json=databaseGroups,proto3" json:"database_groups,omitempty"`- // Not used. A token, which can be sent as `page_token` to retrieve the next page.- // If this field is omitted, there are no subsequent pages.- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`+ ProtectionRules *ProtectionRules `protobuf:"bytes,2,opt,name=protection_rules,json=protectionRules,proto3" json:"protection_rules,omitempty"`}-func (x *ListDatabaseGroupsResponse) Reset() {- *x = ListDatabaseGroupsResponse{}+func (x *UpdateProjectProtectionRulesRequest) Reset() {+ *x = UpdateProjectProtectionRulesRequest{}if protoimpl.UnsafeEnabled {mi := &file_v1_project_service_proto_msgTypes[29]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2220,13 +2138,13 @@ func (x *ListDatabaseGroupsResponse) Reset() {}}-func (x *ListDatabaseGroupsResponse) String() string {+func (x *UpdateProjectProtectionRulesRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*ListDatabaseGroupsResponse) ProtoMessage() {}+func (*UpdateProjectProtectionRulesRequest) ProtoMessage() {}-func (x *ListDatabaseGroupsResponse) ProtoReflect() protoreflect.Message {+func (x *UpdateProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {mi := &file_v1_project_service_proto_msgTypes[29]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2238,39 +2156,31 @@ func (x *ListDatabaseGroupsResponse) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use ListDatabaseGroupsResponse.ProtoReflect.Descriptor instead.-func (*ListDatabaseGroupsResponse) Descriptor() ([]byte, []int) {+// Deprecated: Use UpdateProjectProtectionRulesRequest.ProtoReflect.Descriptor instead.+func (*UpdateProjectProtectionRulesRequest) Descriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{29}}-func (x *ListDatabaseGroupsResponse) GetDatabaseGroups() []*DatabaseGroup {+func (x *UpdateProjectProtectionRulesRequest) GetProtectionRules() *ProtectionRules {if x != nil {- return x.DatabaseGroups+ return x.ProtectionRules}return nil}-func (x *ListDatabaseGroupsResponse) GetNextPageToken() string {- if x != nil {- return x.NextPageToken- }- return ""-}--type GetDatabaseGroupRequest struct {+type ProtectionRules struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- // The name of the database group to retrieve.- // Format: projects/{project}/databaseGroups/{databaseGroup}- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC.- View DatabaseGroupView `protobuf:"varint,2,opt,name=view,proto3,enum=bytebase.v1.DatabaseGroupView" json:"view,omitempty"`+ // The name of the protection rules.+ // Format: projects/{project}/protectionRules+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ Rules []*ProtectionRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`}-func (x *GetDatabaseGroupRequest) Reset() {- *x = GetDatabaseGroupRequest{}+func (x *ProtectionRules) Reset() {+ *x = ProtectionRules{}if protoimpl.UnsafeEnabled {mi := &file_v1_project_service_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2278,13 +2188,13 @@ func (x *GetDatabaseGroupRequest) Reset() {}}-func (x *GetDatabaseGroupRequest) String() string {+func (x *ProtectionRules) String() string {return protoimpl.X.MessageStringOf(x)}-func (*GetDatabaseGroupRequest) ProtoMessage() {}+func (*ProtectionRules) ProtoMessage() {}-func (x *GetDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+func (x *ProtectionRules) ProtoReflect() protoreflect.Message {mi := &file_v1_project_service_proto_msgTypes[30]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2296,47 +2206,43 @@ func (x *GetDatabaseGroupRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use GetDatabaseGroupRequest.ProtoReflect.Descriptor instead.-func (*GetDatabaseGroupRequest) Descriptor() ([]byte, []int) {+// Deprecated: Use ProtectionRules.ProtoReflect.Descriptor instead.+func (*ProtectionRules) Descriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{30}}-func (x *GetDatabaseGroupRequest) GetName() string {+func (x *ProtectionRules) GetName() string {if x != nil {return x.Name}return ""}-func (x *GetDatabaseGroupRequest) GetView() DatabaseGroupView {+func (x *ProtectionRules) GetRules() []*ProtectionRule {if x != nil {- return x.View+ return x.Rules}- return DatabaseGroupView_DATABASE_GROUP_VIEW_UNSPECIFIED+ return nil}-type CreateDatabaseGroupRequest struct {+type ProtectionRule struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- // The parent resource where this database group will be created.- // Format: projects/{project}- Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`- // The database group to create.- DatabaseGroup *DatabaseGroup `protobuf:"bytes,2,opt,name=database_group,json=databaseGroup,proto3" json:"database_group,omitempty"`- // The ID to use for the database group, which will become the final component of- // the database group's resource name.- //- // This value should be 4-63 characters, and valid characters- // are /[a-z][0-9]-/.- DatabaseGroupId string `protobuf:"bytes,3,opt,name=database_group_id,json=databaseGroupId,proto3" json:"database_group_id,omitempty"`- // If set, validate the create request and preview the full database group response, but do not actually create it.- ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`+ // A unique identifier for a node in UUID format.+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`+ Target ProtectionRule_Target `protobuf:"varint,2,opt,name=target,proto3,enum=bytebase.v1.ProtectionRule_Target" json:"target,omitempty"`+ // The name of the branch/changelist or wildcard.+ NameFilter string `protobuf:"bytes,3,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"`+ // The roles allowed to create branches or changelists, rebase branches, delete branches.+ // Format: roles/projectOwner.+ AllowedRoles []string `protobuf:"bytes,4,rep,name=allowed_roles,json=allowedRoles,proto3" json:"allowed_roles,omitempty"`+ BranchSource ProtectionRule_BranchSource `protobuf:"varint,5,opt,name=branch_source,json=branchSource,proto3,enum=bytebase.v1.ProtectionRule_BranchSource" json:"branch_source,omitempty"`}-func (x *CreateDatabaseGroupRequest) Reset() {- *x = CreateDatabaseGroupRequest{}+func (x *ProtectionRule) Reset() {+ *x = ProtectionRule{}if protoimpl.UnsafeEnabled {mi := &file_v1_project_service_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2344,13 +2250,13 @@ func (x *CreateDatabaseGroupRequest) Reset() {}}-func (x *CreateDatabaseGroupRequest) String() string {+func (x *ProtectionRule) String() string {return protoimpl.X.MessageStringOf(x)}-func (*CreateDatabaseGroupRequest) ProtoMessage() {}+func (*ProtectionRule) ProtoMessage() {}-func (x *CreateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+func (x *ProtectionRule) ProtoReflect() protoreflect.Message {mi := &file_v1_project_service_proto_msgTypes[31]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2362,55 +2268,57 @@ func (x *CreateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use CreateDatabaseGroupRequest.ProtoReflect.Descriptor instead.-func (*CreateDatabaseGroupRequest) Descriptor() ([]byte, []int) {+// Deprecated: Use ProtectionRule.ProtoReflect.Descriptor instead.+func (*ProtectionRule) Descriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{31}}-func (x *CreateDatabaseGroupRequest) GetParent() string {+func (x *ProtectionRule) GetId() string {if x != nil {- return x.Parent+ return x.Id}return ""}-func (x *CreateDatabaseGroupRequest) GetDatabaseGroup() *DatabaseGroup {+func (x *ProtectionRule) GetTarget() ProtectionRule_Target {if x != nil {- return x.DatabaseGroup+ return x.Target}- return nil+ return ProtectionRule_PROTECTION_TARGET_UNSPECIFIED}-func (x *CreateDatabaseGroupRequest) GetDatabaseGroupId() string {+func (x *ProtectionRule) GetNameFilter() string {if x != nil {- return x.DatabaseGroupId+ return x.NameFilter}return ""}-func (x *CreateDatabaseGroupRequest) GetValidateOnly() bool {+func (x *ProtectionRule) GetAllowedRoles() []string {if x != nil {- return x.ValidateOnly+ return x.AllowedRoles}- return false+ return nil+}++func (x *ProtectionRule) GetBranchSource() ProtectionRule_BranchSource {+ if x != nil {+ return x.BranchSource+ }+ return ProtectionRule_BRANCH_SOURCE_UNSPECIFIED}-type UpdateDatabaseGroupRequest struct {+type BatchGetIamPolicyResponse_PolicyResult struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- // The database group to update.- //- // The database group's `name` field is used to identify the database group to update.- // Format: projects/{project}/databaseGroups/{databaseGroup}- DatabaseGroup *DatabaseGroup `protobuf:"bytes,1,opt,name=database_group,json=databaseGroup,proto3" json:"database_group,omitempty"`- // The list of fields to update.- UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`+ Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`+ Policy *IamPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`}-func (x *UpdateDatabaseGroupRequest) Reset() {- *x = UpdateDatabaseGroupRequest{}+func (x *BatchGetIamPolicyResponse_PolicyResult) Reset() {+ *x = BatchGetIamPolicyResponse_PolicyResult{}if protoimpl.UnsafeEnabled {mi := &file_v1_project_service_proto_msgTypes[32]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2418,13 +2326,13 @@ func (x *UpdateDatabaseGroupRequest) Reset() {}}-func (x *UpdateDatabaseGroupRequest) String() string {+func (x *BatchGetIamPolicyResponse_PolicyResult) String() string {return protoimpl.X.MessageStringOf(x)}-func (*UpdateDatabaseGroupRequest) ProtoMessage() {}+func (*BatchGetIamPolicyResponse_PolicyResult) ProtoMessage() {}-func (x *UpdateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {+func (x *BatchGetIamPolicyResponse_PolicyResult) ProtoReflect() protoreflect.Message {mi := &file_v1_project_service_proto_msgTypes[32]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -2436,1324 +2344,734 @@ func (x *UpdateDatabaseGroupRequest) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use UpdateDatabaseGroupRequest.ProtoReflect.Descriptor instead.-func (*UpdateDatabaseGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{32}+// Deprecated: Use BatchGetIamPolicyResponse_PolicyResult.ProtoReflect.Descriptor instead.+func (*BatchGetIamPolicyResponse_PolicyResult) Descriptor() ([]byte, []int) {+ return file_v1_project_service_proto_rawDescGZIP(), []int{10, 0}}-func (x *UpdateDatabaseGroupRequest) GetDatabaseGroup() *DatabaseGroup {+func (x *BatchGetIamPolicyResponse_PolicyResult) GetProject() string {if x != nil {- return x.DatabaseGroup+ return x.Project}- return nil+ return ""}-func (x *UpdateDatabaseGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask {+func (x *BatchGetIamPolicyResponse_PolicyResult) GetPolicy() *IamPolicy {if x != nil {- return x.UpdateMask+ return x.Policy}return nil}-type DeleteDatabaseGroupRequest struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields+var File_v1_project_service_proto protoreflect.FileDescriptor- // The name of the database group to delete.- // Format: projects/{project}/databaseGroups/{databaseGroup}- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+var file_v1_project_service_proto_rawDesc = []byte{+ 0x0a, 0x18, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x72,+ 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,+ 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,+ 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,+ 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,+ 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,+ 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f,+ 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69,+ 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78, 0x70, 0x72,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x31, 0x2f,+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x76, 0x31,+ 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,+ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76,+ 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 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, 0x74, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,+ 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54,+ 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c,+ 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77,+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x70, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 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, 0x3a, 0x0a, 0x15, 0x53, 0x65, 0x61,+ 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65,+ 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x4a, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x30, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x22, 0x6b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,+ 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x89,+ 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x46, 0x0a, 0x14, 0x44, 0x65,+ 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x12, 0x14, 0x0a, 0x05,+ 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72,+ 0x63, 0x65, 0x22, 0x32, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x4c, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47,+ 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14,+ 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e,+ 0x61, 0x6d, 0x65, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65,+ 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73,+ 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65,+ 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52,+ 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x58,+ 0x0a, 0x0c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18,+ 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69,+ 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,+ 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x36, 0x0a, 0x1a, 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, 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, 0x5c, 0x0a, 0x1d, 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, 0x12, 0x3b, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 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, 0x49,+ 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a,+ 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f,+ 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xfe, 0x03, 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, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,+ 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,+ 0x69, 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,+ 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,+ 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18,+ 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f,+ 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x30, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f,+ 0x6b, 0x73, 0x18, 0x0b, 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, 0x12, 0x41, 0x0a, 0x1d, 0x64, 0x61, 0x74, 0x61,+ 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x1a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0c, 0x69,+ 0x73, 0x73, 0x75, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65,+ 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75,+ 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,+ 0x66, 0x6f, 0x72, 0x63, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,+ 0x12, 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79,+ 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08,+ 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61,+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72,+ 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01,+ 0x28, 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x49,+ 0x73, 0x73, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 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, 0x89, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34,+ 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 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, 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, 0x4c, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f,+ 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 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, 0x94, 0x03, 0x0a, 0x07, 0x57, 0x65, 0x62,+ 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,+ 0x18, 0x02, 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, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x03, 0x75, 0x72,+ 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73,+ 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63,+ 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4f, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69,+ 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05,+ 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,+ 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, 0xfb, 0x05, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,+ 0x22, 0xee, 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,+ 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x49,+ 0x53, 0x53, 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x17, 0x12,+ 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x50,+ 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x4f, 0x55, 0x54, 0x10,+ 0x18, 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, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45,+ 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59,+ 0x10, 0x15, 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, 0x2e, 0x0a, 0x2a, 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, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54,+ 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x16, 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, 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, 0x22, 0x3c, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50,+ 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 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,+ 0x74, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,+ 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,+ 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,+ 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,+ 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05,+ 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22,+ 0xf7, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,+ 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,+ 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x2e,+ 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f,+ 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12,+ 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73,+ 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52,+ 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x22, 0x47, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x0a,+ 0x1d, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47,+ 0x45, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,+ 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,+ 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, 0x22, 0x3b, 0x0a, 0x0c,+ 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x19,+ 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e,+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44,+ 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x10, 0x01, 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, 0x77, 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, 0x12,+ 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45,+ 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x03, 0x32, 0x9f, 0x1b, 0x0a, 0x0e, 0x50, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 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, 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x02,+ 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, 0x80, 0x01,+ 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, 0x2b, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x12, 0x79, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xda, 0x41, 0x00,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x80, 0x01, 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, 0x36, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x12, 0x62,+ 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74,+ 0x65, 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, 0xa4,+ 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, 0x5a, 0xda, 0x41, 0x13, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,+ 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x86, 0x01, 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, 0x3a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62,+ 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74,+ 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, 0x8f,+ 0x01, 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, 0x41, 0x8a,+ 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75,+ 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 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, 0x94, 0x01, 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, 0x4a, 0x8a, 0xea, 0x30,+ 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74,+ 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12,+ 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0xac, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63,+ 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63,+ 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f,+ 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x8a, 0xea,+ 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65,+ 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26,+ 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x2a, 0x2f, 0x2a,+ 0x7d, 0x2f, 0x69, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x62, 0x61,+ 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x97, 0x01, 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, 0x4d, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72,+ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0xa3, 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, 0x44, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2e, 0x67, 0x65, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 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, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbb, 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, 0x56, 0x8a, 0xea,+ 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x06, 0x63, 0x6f, 0x6e, 0x66,+ 0x69, 0x67, 0x32, 0x30, 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,+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x88, 0x01, 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, 0x44, 0x8a, 0xea, 0x30, 0x12, 0x62,+ 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 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,+ 0xb7, 0x01, 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, 0x6d, 0xda, 0x41, 0x13, 0x77,+ 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,+ 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01,+ 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e,+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,+ 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xa1, 0x01, 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, 0x57, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68,+ 0x6f, 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,+ 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x97, 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, 0x45, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x12, 0x83, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,+ 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x1c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62,+ 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x12, 0x70, 0x0a,+ 0x10, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75,+ 0x70, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x22, 0x1a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f,+ 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x12,+ 0x89, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x2d, 0xda, 0x41,+ 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x13,+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,+ 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x33, 0xda, 0x41, 0x1a, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x75, 0x70, 0x64, 0x61,+ 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x75, 0x0a,+ 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,+ 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x1d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea,+ 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x12, 0xaa, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,+ 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65,+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22,+ 0x40, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x2e, 0x67, 0x65, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f,+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73,+ 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,+ 0x65, 0x73, 0x12, 0x30, 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, 0x50, 0x72,+ 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,+ 0x65, 0x73, 0x22, 0x57, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b,+ 0x3a, 0x01, 0x2a, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65,+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 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,}-func (x *DeleteDatabaseGroupRequest) Reset() {- *x = DeleteDatabaseGroupRequest{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[33]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}+var (+ file_v1_project_service_proto_rawDescOnce sync.Once+ file_v1_project_service_proto_rawDescData = file_v1_project_service_proto_rawDesc+)-func (x *DeleteDatabaseGroupRequest) String() string {- return protoimpl.X.MessageStringOf(x)+func file_v1_project_service_proto_rawDescGZIP() []byte {+ file_v1_project_service_proto_rawDescOnce.Do(func() {+ file_v1_project_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_project_service_proto_rawDescData)+ })+ return file_v1_project_service_proto_rawDescData}-func (*DeleteDatabaseGroupRequest) ProtoMessage() {}--func (x *DeleteDatabaseGroupRequest) 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)+var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)+var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 33)+var file_v1_project_service_proto_goTypes = []any{+ (Workflow)(0), // 0: bytebase.v1.Workflow+ (OperatorType)(0), // 1: bytebase.v1.OperatorType+ (Webhook_Type)(0), // 2: bytebase.v1.Webhook.Type+ (Activity_Type)(0), // 3: bytebase.v1.Activity.Type+ (ProtectionRule_Target)(0), // 4: bytebase.v1.ProtectionRule.Target+ (ProtectionRule_BranchSource)(0), // 5: bytebase.v1.ProtectionRule.BranchSource+ (*GetProjectRequest)(nil), // 6: bytebase.v1.GetProjectRequest+ (*ListProjectsRequest)(nil), // 7: bytebase.v1.ListProjectsRequest+ (*ListProjectsResponse)(nil), // 8: bytebase.v1.ListProjectsResponse+ (*SearchProjectsRequest)(nil), // 9: bytebase.v1.SearchProjectsRequest+ (*SearchProjectsResponse)(nil), // 10: bytebase.v1.SearchProjectsResponse+ (*CreateProjectRequest)(nil), // 11: bytebase.v1.CreateProjectRequest+ (*UpdateProjectRequest)(nil), // 12: bytebase.v1.UpdateProjectRequest+ (*DeleteProjectRequest)(nil), // 13: bytebase.v1.DeleteProjectRequest+ (*UndeleteProjectRequest)(nil), // 14: bytebase.v1.UndeleteProjectRequest+ (*BatchGetIamPolicyRequest)(nil), // 15: bytebase.v1.BatchGetIamPolicyRequest+ (*BatchGetIamPolicyResponse)(nil), // 16: bytebase.v1.BatchGetIamPolicyResponse+ (*GetDeploymentConfigRequest)(nil), // 17: bytebase.v1.GetDeploymentConfigRequest+ (*UpdateDeploymentConfigRequest)(nil), // 18: bytebase.v1.UpdateDeploymentConfigRequest+ (*Label)(nil), // 19: bytebase.v1.Label+ (*Project)(nil), // 20: bytebase.v1.Project+ (*AddWebhookRequest)(nil), // 21: bytebase.v1.AddWebhookRequest+ (*UpdateWebhookRequest)(nil), // 22: bytebase.v1.UpdateWebhookRequest+ (*RemoveWebhookRequest)(nil), // 23: bytebase.v1.RemoveWebhookRequest+ (*TestWebhookRequest)(nil), // 24: bytebase.v1.TestWebhookRequest+ (*TestWebhookResponse)(nil), // 25: bytebase.v1.TestWebhookResponse+ (*Webhook)(nil), // 26: bytebase.v1.Webhook+ (*DeploymentConfig)(nil), // 27: bytebase.v1.DeploymentConfig+ (*Schedule)(nil), // 28: bytebase.v1.Schedule+ (*ScheduleDeployment)(nil), // 29: bytebase.v1.ScheduleDeployment+ (*DeploymentSpec)(nil), // 30: bytebase.v1.DeploymentSpec+ (*LabelSelector)(nil), // 31: bytebase.v1.LabelSelector+ (*LabelSelectorRequirement)(nil), // 32: bytebase.v1.LabelSelectorRequirement+ (*Activity)(nil), // 33: bytebase.v1.Activity+ (*GetProjectProtectionRulesRequest)(nil), // 34: bytebase.v1.GetProjectProtectionRulesRequest+ (*UpdateProjectProtectionRulesRequest)(nil), // 35: bytebase.v1.UpdateProjectProtectionRulesRequest+ (*ProtectionRules)(nil), // 36: bytebase.v1.ProtectionRules+ (*ProtectionRule)(nil), // 37: bytebase.v1.ProtectionRule+ (*BatchGetIamPolicyResponse_PolicyResult)(nil), // 38: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult+ (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask+ (State)(0), // 40: bytebase.v1.State+ (*IamPolicy)(nil), // 41: bytebase.v1.IamPolicy+ (*GetIamPolicyRequest)(nil), // 42: bytebase.v1.GetIamPolicyRequest+ (*SetIamPolicyRequest)(nil), // 43: bytebase.v1.SetIamPolicyRequest+ (*ListDatabaseGroupsRequest)(nil), // 44: bytebase.v1.ListDatabaseGroupsRequest+ (*GetDatabaseGroupRequest)(nil), // 45: bytebase.v1.GetDatabaseGroupRequest+ (*CreateDatabaseGroupRequest)(nil), // 46: bytebase.v1.CreateDatabaseGroupRequest+ (*UpdateDatabaseGroupRequest)(nil), // 47: bytebase.v1.UpdateDatabaseGroupRequest+ (*DeleteDatabaseGroupRequest)(nil), // 48: bytebase.v1.DeleteDatabaseGroupRequest+ (*emptypb.Empty)(nil), // 49: google.protobuf.Empty+ (*ListDatabaseGroupsResponse)(nil), // 50: bytebase.v1.ListDatabaseGroupsResponse+ (*DatabaseGroup)(nil), // 51: bytebase.v1.DatabaseGroup}--// Deprecated: Use DeleteDatabaseGroupRequest.ProtoReflect.Descriptor instead.-func (*DeleteDatabaseGroupRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{33}+var file_v1_project_service_proto_depIdxs = []int32{+ 20, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project+ 20, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project+ 20, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project+ 20, // 3: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project+ 39, // 4: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask+ 38, // 5: bytebase.v1.BatchGetIamPolicyResponse.policy_results:type_name -> bytebase.v1.BatchGetIamPolicyResponse.PolicyResult+ 27, // 6: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig+ 40, // 7: bytebase.v1.Project.state:type_name -> bytebase.v1.State+ 0, // 8: bytebase.v1.Project.workflow:type_name -> bytebase.v1.Workflow+ 26, // 9: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook+ 19, // 10: bytebase.v1.Project.issue_labels:type_name -> bytebase.v1.Label+ 26, // 11: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 26, // 12: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 39, // 13: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask+ 26, // 14: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 26, // 15: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 2, // 16: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type+ 3, // 17: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type+ 28, // 18: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule+ 29, // 19: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment+ 30, // 20: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec+ 31, // 21: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector+ 32, // 22: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement+ 1, // 23: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType+ 36, // 24: bytebase.v1.UpdateProjectProtectionRulesRequest.protection_rules:type_name -> bytebase.v1.ProtectionRules+ 37, // 25: bytebase.v1.ProtectionRules.rules:type_name -> bytebase.v1.ProtectionRule+ 4, // 26: bytebase.v1.ProtectionRule.target:type_name -> bytebase.v1.ProtectionRule.Target+ 5, // 27: bytebase.v1.ProtectionRule.branch_source:type_name -> bytebase.v1.ProtectionRule.BranchSource+ 41, // 28: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy+ 6, // 29: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest+ 7, // 30: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest+ 9, // 31: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest+ 11, // 32: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest+ 12, // 33: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest+ 13, // 34: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest+ 14, // 35: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest+ 42, // 36: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest+ 15, // 37: bytebase.v1.ProjectService.BatchGetIamPolicy:input_type -> bytebase.v1.BatchGetIamPolicyRequest+ 43, // 38: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest+ 17, // 39: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest+ 18, // 40: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest+ 21, // 41: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest+ 22, // 42: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest+ 23, // 43: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest+ 24, // 44: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest+ 44, // 45: bytebase.v1.ProjectService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest+ 45, // 46: bytebase.v1.ProjectService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest+ 46, // 47: bytebase.v1.ProjectService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest+ 47, // 48: bytebase.v1.ProjectService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest+ 48, // 49: bytebase.v1.ProjectService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest+ 34, // 50: bytebase.v1.ProjectService.GetProjectProtectionRules:input_type -> bytebase.v1.GetProjectProtectionRulesRequest+ 35, // 51: bytebase.v1.ProjectService.UpdateProjectProtectionRules:input_type -> bytebase.v1.UpdateProjectProtectionRulesRequest+ 20, // 52: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project+ 8, // 53: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse+ 10, // 54: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse+ 20, // 55: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project+ 20, // 56: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project+ 49, // 57: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty+ 20, // 58: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project+ 41, // 59: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 16, // 60: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse+ 41, // 61: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 27, // 62: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 27, // 63: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 20, // 64: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project+ 20, // 65: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project+ 20, // 66: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project+ 25, // 67: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse+ 50, // 68: bytebase.v1.ProjectService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse+ 51, // 69: bytebase.v1.ProjectService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 51, // 70: bytebase.v1.ProjectService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 51, // 71: bytebase.v1.ProjectService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup+ 49, // 72: bytebase.v1.ProjectService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty+ 36, // 73: bytebase.v1.ProjectService.GetProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules+ 36, // 74: bytebase.v1.ProjectService.UpdateProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules+ 52, // [52:75] is the sub-list for method output_type+ 29, // [29:52] 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}-func (x *DeleteDatabaseGroupRequest) GetName() string {- if x != nil {- return x.Name- }- return ""-}--type DatabaseGroup struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The name of the database group.- // Format: projects/{project}/databaseGroups/{databaseGroup}- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The short name used in actual databases specified by users.- // For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1".- DatabasePlaceholder string `protobuf:"bytes,2,opt,name=database_placeholder,json=databasePlaceholder,proto3" json:"database_placeholder,omitempty"`- // The condition that is associated with this database group.- DatabaseExpr *expr.Expr `protobuf:"bytes,3,opt,name=database_expr,json=databaseExpr,proto3" json:"database_expr,omitempty"`- // The list of databases that match the database group condition.- MatchedDatabases []*DatabaseGroup_Database `protobuf:"bytes,4,rep,name=matched_databases,json=matchedDatabases,proto3" json:"matched_databases,omitempty"`- // The list of databases that match the database group condition.- UnmatchedDatabases []*DatabaseGroup_Database `protobuf:"bytes,5,rep,name=unmatched_databases,json=unmatchedDatabases,proto3" json:"unmatched_databases,omitempty"`- Multitenancy bool `protobuf:"varint,6,opt,name=multitenancy,proto3" json:"multitenancy,omitempty"`-}--func (x *DatabaseGroup) Reset() {- *x = DatabaseGroup{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[34]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *DatabaseGroup) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*DatabaseGroup) ProtoMessage() {}--func (x *DatabaseGroup) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[34]- 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 DatabaseGroup.ProtoReflect.Descriptor instead.-func (*DatabaseGroup) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{34}-}--func (x *DatabaseGroup) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *DatabaseGroup) GetDatabasePlaceholder() string {- if x != nil {- return x.DatabasePlaceholder- }- return ""-}--func (x *DatabaseGroup) GetDatabaseExpr() *expr.Expr {- if x != nil {- return x.DatabaseExpr- }- return nil-}--func (x *DatabaseGroup) GetMatchedDatabases() []*DatabaseGroup_Database {- if x != nil {- return x.MatchedDatabases- }- return nil-}--func (x *DatabaseGroup) GetUnmatchedDatabases() []*DatabaseGroup_Database {- if x != nil {- return x.UnmatchedDatabases- }- return nil-}--func (x *DatabaseGroup) GetMultitenancy() bool {- if x != nil {- return x.Multitenancy- }- return false-}--type GetProjectProtectionRulesRequest struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The name of the protection rules.- // Format: projects/{project}/protectionRules- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`-}--func (x *GetProjectProtectionRulesRequest) Reset() {- *x = GetProjectProtectionRulesRequest{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[35]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *GetProjectProtectionRulesRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*GetProjectProtectionRulesRequest) ProtoMessage() {}--func (x *GetProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[35]- 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 GetProjectProtectionRulesRequest.ProtoReflect.Descriptor instead.-func (*GetProjectProtectionRulesRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{35}-}--func (x *GetProjectProtectionRulesRequest) GetName() string {- if x != nil {- return x.Name- }- return ""-}--type UpdateProjectProtectionRulesRequest struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- ProtectionRules *ProtectionRules `protobuf:"bytes,2,opt,name=protection_rules,json=protectionRules,proto3" json:"protection_rules,omitempty"`-}--func (x *UpdateProjectProtectionRulesRequest) Reset() {- *x = UpdateProjectProtectionRulesRequest{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[36]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *UpdateProjectProtectionRulesRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*UpdateProjectProtectionRulesRequest) ProtoMessage() {}--func (x *UpdateProjectProtectionRulesRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[36]- 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 UpdateProjectProtectionRulesRequest.ProtoReflect.Descriptor instead.-func (*UpdateProjectProtectionRulesRequest) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{36}-}--func (x *UpdateProjectProtectionRulesRequest) GetProtectionRules() *ProtectionRules {- if x != nil {- return x.ProtectionRules- }- return nil-}--type ProtectionRules struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The name of the protection rules.- // Format: projects/{project}/protectionRules- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Rules []*ProtectionRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`-}--func (x *ProtectionRules) Reset() {- *x = ProtectionRules{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[37]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *ProtectionRules) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ProtectionRules) ProtoMessage() {}--func (x *ProtectionRules) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[37]- 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 ProtectionRules.ProtoReflect.Descriptor instead.-func (*ProtectionRules) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{37}-}--func (x *ProtectionRules) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *ProtectionRules) GetRules() []*ProtectionRule {- if x != nil {- return x.Rules- }- return nil-}--type ProtectionRule struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // A unique identifier for a node in UUID format.- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`- Target ProtectionRule_Target `protobuf:"varint,2,opt,name=target,proto3,enum=bytebase.v1.ProtectionRule_Target" json:"target,omitempty"`- // The name of the branch/changelist or wildcard.- NameFilter string `protobuf:"bytes,3,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"`- // The roles allowed to create branches or changelists, rebase branches, delete branches.- // Format: roles/projectOwner.- AllowedRoles []string `protobuf:"bytes,4,rep,name=allowed_roles,json=allowedRoles,proto3" json:"allowed_roles,omitempty"`- BranchSource ProtectionRule_BranchSource `protobuf:"varint,5,opt,name=branch_source,json=branchSource,proto3,enum=bytebase.v1.ProtectionRule_BranchSource" json:"branch_source,omitempty"`-}--func (x *ProtectionRule) Reset() {- *x = ProtectionRule{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[38]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *ProtectionRule) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ProtectionRule) ProtoMessage() {}--func (x *ProtectionRule) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[38]- 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 ProtectionRule.ProtoReflect.Descriptor instead.-func (*ProtectionRule) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{38}-}--func (x *ProtectionRule) GetId() string {- if x != nil {- return x.Id- }- return ""-}--func (x *ProtectionRule) GetTarget() ProtectionRule_Target {- if x != nil {- return x.Target- }- return ProtectionRule_PROTECTION_TARGET_UNSPECIFIED-}--func (x *ProtectionRule) GetNameFilter() string {- if x != nil {- return x.NameFilter- }- return ""-}--func (x *ProtectionRule) GetAllowedRoles() []string {- if x != nil {- return x.AllowedRoles- }- return nil-}--func (x *ProtectionRule) GetBranchSource() ProtectionRule_BranchSource {- if x != nil {- return x.BranchSource- }- return ProtectionRule_BRANCH_SOURCE_UNSPECIFIED-}--type BatchGetIamPolicyResponse_PolicyResult struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`- Policy *IamPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`-}--func (x *BatchGetIamPolicyResponse_PolicyResult) Reset() {- *x = BatchGetIamPolicyResponse_PolicyResult{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[39]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *BatchGetIamPolicyResponse_PolicyResult) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*BatchGetIamPolicyResponse_PolicyResult) ProtoMessage() {}--func (x *BatchGetIamPolicyResponse_PolicyResult) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[39]- 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 BatchGetIamPolicyResponse_PolicyResult.ProtoReflect.Descriptor instead.-func (*BatchGetIamPolicyResponse_PolicyResult) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{10, 0}-}--func (x *BatchGetIamPolicyResponse_PolicyResult) GetProject() string {- if x != nil {- return x.Project- }- return ""-}--func (x *BatchGetIamPolicyResponse_PolicyResult) GetPolicy() *IamPolicy {- if x != nil {- return x.Policy- }- return nil-}--type DatabaseGroup_Database struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // The resource name of the database.- // Format: instances/{instance}/databases/{database}- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`-}--func (x *DatabaseGroup_Database) Reset() {- *x = DatabaseGroup_Database{}- if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[40]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *DatabaseGroup_Database) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*DatabaseGroup_Database) ProtoMessage() {}--func (x *DatabaseGroup_Database) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[40]- 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 DatabaseGroup_Database.ProtoReflect.Descriptor instead.-func (*DatabaseGroup_Database) Descriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{34, 0}-}--func (x *DatabaseGroup_Database) GetName() string {- if x != nil {- return x.Name- }- return ""-}--var File_v1_project_service_proto protoreflect.FileDescriptor--var file_v1_project_service_proto_rawDesc = []byte{- 0x0a, 0x18, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x72,- 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,- 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,- 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,- 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,- 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,- 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f,- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69,- 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78, 0x70, 0x72,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x31, 0x2f,- 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76, 0x31,- 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x74, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,- 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,- 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44,- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x70, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30,- 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x3a, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72,- 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c,- 0x65, 0x74, 0x65, 0x64, 0x22, 0x4a, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30,- 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x22, 0x6b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1d,- 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x89, 0x01,- 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x02, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x46, 0x0a, 0x14, 0x44, 0x65, 0x6c,- 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x12, 0x14, 0x0a, 0x05, 0x66,- 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63,- 0x65, 0x22, 0x32, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 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, 0x4c, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65,- 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x12, 0x1a, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a,- 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61,- 0x6d, 0x65, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x12, 0x5a, 0x0a, 0x0e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75,- 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d,- 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x58, 0x0a,- 0x0c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a,- 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63,- 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,- 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x36, 0x0a, 0x1a, 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, 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,- 0x5c, 0x0a, 0x1d, 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,- 0x12, 0x3b, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 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, 0x49, 0x0a,- 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05,- 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c,- 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xfe, 0x03, 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, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,- 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74,- 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,- 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,- 0x65, 0x79, 0x12, 0x31, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x06,- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f, 0x72,- 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x30, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,- 0x73, 0x18, 0x0b, 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, 0x12, 0x41, 0x0a, 0x1d, 0x64, 0x61, 0x74, 0x61, 0x5f,- 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a,- 0x64, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,- 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0c, 0x69, 0x73,- 0x73, 0x75, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,- 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c,- 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65,- 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x66,- 0x6f, 0x72, 0x63, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,- 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f,- 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52,- 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74,- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65,- 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,- 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x49, 0x73,- 0x73, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 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, 0x89, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a,- 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 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, 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, 0x4c, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,- 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x18, 0x01, 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, 0x94, 0x03, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68,- 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,- 0x02, 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, 0x03, 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,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x03, 0x75, 0x72, 0x6c,- 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,- 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4f, 0x0a, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66,- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 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, 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, 0xfb, 0x05, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22,- 0xee, 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, 0x1e,- 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x49, 0x53,- 0x53, 0x55, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x17, 0x12, 0x20,- 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x50, 0x49,- 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x4f, 0x55, 0x54, 0x10, 0x18,- 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, 0x1e, 0x0a, 0x1a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f,- 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10,- 0x15, 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, 0x2e, 0x0a, 0x2a, 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, 0x52, 0x55, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55,- 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x16, 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, 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,- 0x22, 0x75, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x89, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x67, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x12, 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0xd4, 0x01, 0x0a,- 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,- 0x72, 0x6f, 0x75, 0x70, 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, 0x47, 0x0a, 0x0e, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x02, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67,- 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x23,- 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f,- 0x6e, 0x6c, 0x79, 0x22, 0xa2, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67,- 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0d, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x36, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x86, 0x03, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x50, 0x6c,- 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x0d, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,- 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45,- 0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70,- 0x72, 0x12, 0x56, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x13, 0x75, 0x6e, 0x6d,- 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x03, 0x52, 0x12, 0x75, 0x6e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65,- 0x6e, 0x61, 0x6e, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x75, 0x6c,- 0x74, 0x69, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x79, 0x1a, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x20, 0x47, 0x65, 0x74,- 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,- 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 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, 0x74, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,- 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d,- 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c,- 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,- 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x0f, 0x70, 0x72,- 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x58, 0x0a,- 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73,- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,- 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xf7, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74,- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x06, 0x74, 0x61,- 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,- 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06,- 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66,- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d,- 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77,- 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c,- 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d,- 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,- 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x62,- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x47, 0x0a, 0x06, 0x54,- 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54,- 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52, 0x41, 0x4e,- 0x43, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x49,- 0x53, 0x54, 0x10, 0x02, 0x22, 0x3b, 0x0a, 0x0c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x53,- 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,- 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x10,- 0x01, 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, 0x77, 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, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x50, 0x45, 0x52, 0x41,- 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x10,- 0x03, 0x2a, 0x75, 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x56, 0x69, 0x65, 0x77, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,- 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e,- 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x44,- 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49,- 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x41,- 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x56, 0x49, 0x45,- 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xb7, 0x1d, 0x0a, 0x0e, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 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,- 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x02, 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, 0x80, 0x01, 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, 0x2b, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12,- 0x79, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xda, 0x41, 0x00, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x80, 0x01, 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, 0x36, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62,- 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,- 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, 0xa4, 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, 0x5a, 0xda, 0x41, 0x13, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,- 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x86, 0x01, 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, 0x3a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62,- 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 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, 0x8f, 0x01,- 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, 0x41, 0x8a, 0xea,- 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x6e,- 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 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,- 0x94, 0x01, 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, 0x4a, 0x8a, 0xea, 0x30, 0x18,- 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x49,- 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0xac, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68,- 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,- 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,- 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x8a, 0xea, 0x30,- 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74,- 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12,- 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x2a, 0x2f, 0x2a, 0x7d,- 0x2f, 0x69, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74,- 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x97, 0x01, 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, 0x4d, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2e, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65,- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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,- 0xa3, 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,- 0x44, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2e, 0x67, 0x65, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 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, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbb, 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, 0x56, 0x8a, 0xea, 0x30,- 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x32, 0x30, 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, 0x73,- 0x2f, 0x2a, 0x7d, 0x12, 0x88, 0x01, 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, 0x44, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62,- 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,- 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, 0xb7,- 0x01, 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, 0x6d, 0xda, 0x41, 0x13, 0x77, 0x65,- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,- 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a,- 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x6e,- 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x77,- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0xa1, 0x01, 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, 0x57, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x77, 0x65, 0x62, 0x68, 0x6f,- 0x6f, 0x6b, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2f, 0x2a, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72,- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x97, 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,- 0x45, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x12, 0xb1, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x44,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a,- 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x82, 0xd3, 0xe4, 0x93,- 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x10, 0x47,- 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,- 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75,- 0x70, 0x22, 0x48, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62,- 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 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, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x13,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x6b, 0xda, 0x41, 0x14, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75,- 0x70, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,- 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x0e, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x26, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47,- 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xdd, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f,- 0x75, 0x70, 0x22, 0x80, 0x01, 0xda, 0x41, 0x1a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,- 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x3a, 0x0e,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x35,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72,- 0x6f, 0x75, 0x70, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75,- 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x27, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x4b,- 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaa, 0x01, 0x0a, 0x19,- 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,- 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x40, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x27, 0x12, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,- 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x30, 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, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,- 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x57, 0x8a, 0xea, 0x30, 0x12, 0x62,- 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65,- 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,- 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65,- 0x73, 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,-}--var (- file_v1_project_service_proto_rawDescOnce sync.Once- file_v1_project_service_proto_rawDescData = file_v1_project_service_proto_rawDesc-)--func file_v1_project_service_proto_rawDescGZIP() []byte {- file_v1_project_service_proto_rawDescOnce.Do(func() {- file_v1_project_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_project_service_proto_rawDescData)- })- return file_v1_project_service_proto_rawDescData-}--var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 7)-var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 41)-var file_v1_project_service_proto_goTypes = []any{- (Workflow)(0), // 0: bytebase.v1.Workflow- (OperatorType)(0), // 1: bytebase.v1.OperatorType- (DatabaseGroupView)(0), // 2: bytebase.v1.DatabaseGroupView- (Webhook_Type)(0), // 3: bytebase.v1.Webhook.Type- (Activity_Type)(0), // 4: bytebase.v1.Activity.Type- (ProtectionRule_Target)(0), // 5: bytebase.v1.ProtectionRule.Target- (ProtectionRule_BranchSource)(0), // 6: bytebase.v1.ProtectionRule.BranchSource- (*GetProjectRequest)(nil), // 7: bytebase.v1.GetProjectRequest- (*ListProjectsRequest)(nil), // 8: bytebase.v1.ListProjectsRequest- (*ListProjectsResponse)(nil), // 9: bytebase.v1.ListProjectsResponse- (*SearchProjectsRequest)(nil), // 10: bytebase.v1.SearchProjectsRequest- (*SearchProjectsResponse)(nil), // 11: bytebase.v1.SearchProjectsResponse- (*CreateProjectRequest)(nil), // 12: bytebase.v1.CreateProjectRequest- (*UpdateProjectRequest)(nil), // 13: bytebase.v1.UpdateProjectRequest- (*DeleteProjectRequest)(nil), // 14: bytebase.v1.DeleteProjectRequest- (*UndeleteProjectRequest)(nil), // 15: bytebase.v1.UndeleteProjectRequest- (*BatchGetIamPolicyRequest)(nil), // 16: bytebase.v1.BatchGetIamPolicyRequest- (*BatchGetIamPolicyResponse)(nil), // 17: bytebase.v1.BatchGetIamPolicyResponse- (*GetDeploymentConfigRequest)(nil), // 18: bytebase.v1.GetDeploymentConfigRequest- (*UpdateDeploymentConfigRequest)(nil), // 19: bytebase.v1.UpdateDeploymentConfigRequest- (*Label)(nil), // 20: bytebase.v1.Label- (*Project)(nil), // 21: bytebase.v1.Project- (*AddWebhookRequest)(nil), // 22: bytebase.v1.AddWebhookRequest- (*UpdateWebhookRequest)(nil), // 23: bytebase.v1.UpdateWebhookRequest- (*RemoveWebhookRequest)(nil), // 24: bytebase.v1.RemoveWebhookRequest- (*TestWebhookRequest)(nil), // 25: bytebase.v1.TestWebhookRequest- (*TestWebhookResponse)(nil), // 26: bytebase.v1.TestWebhookResponse- (*Webhook)(nil), // 27: bytebase.v1.Webhook- (*DeploymentConfig)(nil), // 28: bytebase.v1.DeploymentConfig- (*Schedule)(nil), // 29: bytebase.v1.Schedule- (*ScheduleDeployment)(nil), // 30: bytebase.v1.ScheduleDeployment- (*DeploymentSpec)(nil), // 31: bytebase.v1.DeploymentSpec- (*LabelSelector)(nil), // 32: bytebase.v1.LabelSelector- (*LabelSelectorRequirement)(nil), // 33: bytebase.v1.LabelSelectorRequirement- (*Activity)(nil), // 34: bytebase.v1.Activity- (*ListDatabaseGroupsRequest)(nil), // 35: bytebase.v1.ListDatabaseGroupsRequest- (*ListDatabaseGroupsResponse)(nil), // 36: bytebase.v1.ListDatabaseGroupsResponse- (*GetDatabaseGroupRequest)(nil), // 37: bytebase.v1.GetDatabaseGroupRequest- (*CreateDatabaseGroupRequest)(nil), // 38: bytebase.v1.CreateDatabaseGroupRequest- (*UpdateDatabaseGroupRequest)(nil), // 39: bytebase.v1.UpdateDatabaseGroupRequest- (*DeleteDatabaseGroupRequest)(nil), // 40: bytebase.v1.DeleteDatabaseGroupRequest- (*DatabaseGroup)(nil), // 41: bytebase.v1.DatabaseGroup- (*GetProjectProtectionRulesRequest)(nil), // 42: bytebase.v1.GetProjectProtectionRulesRequest- (*UpdateProjectProtectionRulesRequest)(nil), // 43: bytebase.v1.UpdateProjectProtectionRulesRequest- (*ProtectionRules)(nil), // 44: bytebase.v1.ProtectionRules- (*ProtectionRule)(nil), // 45: bytebase.v1.ProtectionRule- (*BatchGetIamPolicyResponse_PolicyResult)(nil), // 46: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult- (*DatabaseGroup_Database)(nil), // 47: bytebase.v1.DatabaseGroup.Database- (*fieldmaskpb.FieldMask)(nil), // 48: google.protobuf.FieldMask- (State)(0), // 49: bytebase.v1.State- (*expr.Expr)(nil), // 50: google.type.Expr- (*IamPolicy)(nil), // 51: bytebase.v1.IamPolicy- (*GetIamPolicyRequest)(nil), // 52: bytebase.v1.GetIamPolicyRequest- (*SetIamPolicyRequest)(nil), // 53: bytebase.v1.SetIamPolicyRequest- (*emptypb.Empty)(nil), // 54: google.protobuf.Empty-}-var file_v1_project_service_proto_depIdxs = []int32{- 21, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project- 21, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project- 21, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project- 21, // 3: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project- 48, // 4: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask- 46, // 5: bytebase.v1.BatchGetIamPolicyResponse.policy_results:type_name -> bytebase.v1.BatchGetIamPolicyResponse.PolicyResult- 28, // 6: bytebase.v1.UpdateDeploymentConfigRequest.config:type_name -> bytebase.v1.DeploymentConfig- 49, // 7: bytebase.v1.Project.state:type_name -> bytebase.v1.State- 0, // 8: bytebase.v1.Project.workflow:type_name -> bytebase.v1.Workflow- 27, // 9: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook- 20, // 10: bytebase.v1.Project.issue_labels:type_name -> bytebase.v1.Label- 27, // 11: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 27, // 12: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 48, // 13: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask- 27, // 14: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 27, // 15: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook- 3, // 16: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type- 4, // 17: bytebase.v1.Webhook.notification_types:type_name -> bytebase.v1.Activity.Type- 29, // 18: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule- 30, // 19: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment- 31, // 20: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec- 32, // 21: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector- 33, // 22: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement- 1, // 23: bytebase.v1.LabelSelectorRequirement.operator:type_name -> bytebase.v1.OperatorType- 41, // 24: bytebase.v1.ListDatabaseGroupsResponse.database_groups:type_name -> bytebase.v1.DatabaseGroup- 2, // 25: bytebase.v1.GetDatabaseGroupRequest.view:type_name -> bytebase.v1.DatabaseGroupView- 41, // 26: bytebase.v1.CreateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup- 41, // 27: bytebase.v1.UpdateDatabaseGroupRequest.database_group:type_name -> bytebase.v1.DatabaseGroup- 48, // 28: bytebase.v1.UpdateDatabaseGroupRequest.update_mask:type_name -> google.protobuf.FieldMask- 50, // 29: bytebase.v1.DatabaseGroup.database_expr:type_name -> google.type.Expr- 47, // 30: bytebase.v1.DatabaseGroup.matched_databases:type_name -> bytebase.v1.DatabaseGroup.Database- 47, // 31: bytebase.v1.DatabaseGroup.unmatched_databases:type_name -> bytebase.v1.DatabaseGroup.Database- 44, // 32: bytebase.v1.UpdateProjectProtectionRulesRequest.protection_rules:type_name -> bytebase.v1.ProtectionRules- 45, // 33: bytebase.v1.ProtectionRules.rules:type_name -> bytebase.v1.ProtectionRule- 5, // 34: bytebase.v1.ProtectionRule.target:type_name -> bytebase.v1.ProtectionRule.Target- 6, // 35: bytebase.v1.ProtectionRule.branch_source:type_name -> bytebase.v1.ProtectionRule.BranchSource- 51, // 36: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy- 7, // 37: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest- 8, // 38: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest- 10, // 39: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest- 12, // 40: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest- 13, // 41: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest- 14, // 42: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest- 15, // 43: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest- 52, // 44: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest- 16, // 45: bytebase.v1.ProjectService.BatchGetIamPolicy:input_type -> bytebase.v1.BatchGetIamPolicyRequest- 53, // 46: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest- 18, // 47: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest- 19, // 48: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest- 22, // 49: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest- 23, // 50: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest- 24, // 51: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest- 25, // 52: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest- 35, // 53: bytebase.v1.ProjectService.ListDatabaseGroups:input_type -> bytebase.v1.ListDatabaseGroupsRequest- 37, // 54: bytebase.v1.ProjectService.GetDatabaseGroup:input_type -> bytebase.v1.GetDatabaseGroupRequest- 38, // 55: bytebase.v1.ProjectService.CreateDatabaseGroup:input_type -> bytebase.v1.CreateDatabaseGroupRequest- 39, // 56: bytebase.v1.ProjectService.UpdateDatabaseGroup:input_type -> bytebase.v1.UpdateDatabaseGroupRequest- 40, // 57: bytebase.v1.ProjectService.DeleteDatabaseGroup:input_type -> bytebase.v1.DeleteDatabaseGroupRequest- 42, // 58: bytebase.v1.ProjectService.GetProjectProtectionRules:input_type -> bytebase.v1.GetProjectProtectionRulesRequest- 43, // 59: bytebase.v1.ProjectService.UpdateProjectProtectionRules:input_type -> bytebase.v1.UpdateProjectProtectionRulesRequest- 21, // 60: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project- 9, // 61: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse- 11, // 62: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse- 21, // 63: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project- 21, // 64: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project- 54, // 65: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty- 21, // 66: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project- 51, // 67: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy- 17, // 68: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse- 51, // 69: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy- 28, // 70: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 28, // 71: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 21, // 72: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project- 21, // 73: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project- 21, // 74: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project- 26, // 75: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse- 36, // 76: bytebase.v1.ProjectService.ListDatabaseGroups:output_type -> bytebase.v1.ListDatabaseGroupsResponse- 41, // 77: bytebase.v1.ProjectService.GetDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup- 41, // 78: bytebase.v1.ProjectService.CreateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup- 41, // 79: bytebase.v1.ProjectService.UpdateDatabaseGroup:output_type -> bytebase.v1.DatabaseGroup- 54, // 80: bytebase.v1.ProjectService.DeleteDatabaseGroup:output_type -> google.protobuf.Empty- 44, // 81: bytebase.v1.ProjectService.GetProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules- 44, // 82: bytebase.v1.ProjectService.UpdateProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules- 60, // [60:83] is the sub-list for method output_type- 37, // [37:60] 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() }-func file_v1_project_service_proto_init() {- if File_v1_project_service_proto != nil {- return+func init() { file_v1_project_service_proto_init() }+func file_v1_project_service_proto_init() {+ if File_v1_project_service_proto != nil {+ return}file_v1_annotation_proto_init()file_v1_common_proto_init()+ file_v1_database_group_service_proto_init()file_v1_iam_policy_proto_init()if !protoimpl.UnsafeEnabled {file_v1_project_service_proto_msgTypes[0].Exporter = func(v any, i int) any {@@ -4093,90 +3411,6 @@ func file_v1_project_service_proto_init() {}}file_v1_project_service_proto_msgTypes[28].Exporter = func(v any, i int) any {- switch v := v.(*ListDatabaseGroupsRequest); 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 any, i int) any {- switch v := v.(*ListDatabaseGroupsResponse); 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 any, i int) any {- switch v := v.(*GetDatabaseGroupRequest); 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 any, i int) any {- switch v := v.(*CreateDatabaseGroupRequest); 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 any, i int) any {- switch v := v.(*UpdateDatabaseGroupRequest); 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[33].Exporter = func(v any, i int) any {- switch v := v.(*DeleteDatabaseGroupRequest); 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[34].Exporter = func(v any, i int) any {- switch v := v.(*DatabaseGroup); 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[35].Exporter = func(v any, i int) any {switch v := v.(*GetProjectProtectionRulesRequest); i {case 0:return &v.state@@ -4188,7 +3422,7 @@ func file_v1_project_service_proto_init() {return nil}}- file_v1_project_service_proto_msgTypes[36].Exporter = func(v any, i int) any {+ file_v1_project_service_proto_msgTypes[29].Exporter = func(v any, i int) any {switch v := v.(*UpdateProjectProtectionRulesRequest); i {case 0:return &v.state@@ -4200,7 +3434,7 @@ func file_v1_project_service_proto_init() {return nil}}- file_v1_project_service_proto_msgTypes[37].Exporter = func(v any, i int) any {+ file_v1_project_service_proto_msgTypes[30].Exporter = func(v any, i int) any {switch v := v.(*ProtectionRules); i {case 0:return &v.state@@ -4212,7 +3446,7 @@ func file_v1_project_service_proto_init() {return nil}}- file_v1_project_service_proto_msgTypes[38].Exporter = func(v any, i int) any {+ file_v1_project_service_proto_msgTypes[31].Exporter = func(v any, i int) any {switch v := v.(*ProtectionRule); i {case 0:return &v.state@@ -4224,7 +3458,7 @@ func file_v1_project_service_proto_init() {return nil}}- file_v1_project_service_proto_msgTypes[39].Exporter = func(v any, i int) any {+ file_v1_project_service_proto_msgTypes[32].Exporter = func(v any, i int) any {switch v := v.(*BatchGetIamPolicyResponse_PolicyResult); i {case 0:return &v.state@@ -4236,26 +3470,14 @@ func file_v1_project_service_proto_init() {return nil}}- file_v1_project_service_proto_msgTypes[40].Exporter = func(v any, i int) any {- switch v := v.(*DatabaseGroup_Database); 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: 7,- NumMessages: 41,+ NumEnums: 6,+ NumMessages: 33,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 99be2bc1fb..143cf54cfb 100644--- a/proto/generated-go/v1/project_service.pb.gw.go+++ b/proto/generated-go/v1/project_service.pb.gw.go@@ -963,376 +963,6 @@ func local_request_ProjectService_TestWebhook_0(ctx context.Context, marshaler r}-var (- filter_ProjectService_ListDatabaseGroups_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}-)--func request_ProjectService_ListDatabaseGroups_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq ListDatabaseGroupsRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["parent"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")- }-- protoReq.Parent, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_ListDatabaseGroups_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := client.ListDatabaseGroups(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_ListDatabaseGroups_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq ListDatabaseGroupsRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["parent"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")- }-- protoReq.Parent, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_ListDatabaseGroups_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := server.ListDatabaseGroups(ctx, &protoReq)- return msg, metadata, err--}--var (- filter_ProjectService_GetDatabaseGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}-)--func request_ProjectService_GetDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq GetDatabaseGroupRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")- }-- protoReq.Name, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_GetDatabaseGroup_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := client.GetDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_GetDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq GetDatabaseGroupRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")- }-- protoReq.Name, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_GetDatabaseGroup_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := server.GetDatabaseGroup(ctx, &protoReq)- return msg, metadata, err--}--var (- filter_ProjectService_CreateDatabaseGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"database_group": 0, "parent": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}}-)--func request_ProjectService_CreateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq CreateDatabaseGroupRequest- var metadata runtime.ServerMetadata-- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.DatabaseGroup); err != nil && err != io.EOF {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["parent"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")- }-- protoReq.Parent, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_CreateDatabaseGroup_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := client.CreateDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_CreateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq CreateDatabaseGroupRequest- var metadata runtime.ServerMetadata-- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq.DatabaseGroup); err != nil && err != io.EOF {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["parent"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")- }-- protoReq.Parent, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_CreateDatabaseGroup_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := server.CreateDatabaseGroup(ctx, &protoReq)- return msg, metadata, err--}--var (- filter_ProjectService_UpdateDatabaseGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"database_group": 0, "name": 1}, Base: []int{1, 2, 1, 0, 0}, Check: []int{0, 1, 2, 3, 2}}-)--func request_ProjectService_UpdateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq UpdateDatabaseGroupRequest- 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.DatabaseGroup); err != nil && err != io.EOF {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 {- if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.DatabaseGroup); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- } else {- protoReq.UpdateMask = fieldMask- }- }-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["database_group.name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "database_group.name")- }-- err = runtime.PopulateFieldFromPath(&protoReq, "database_group.name", val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "database_group.name", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_UpdateDatabaseGroup_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := client.UpdateDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_UpdateDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq UpdateDatabaseGroupRequest- 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.DatabaseGroup); err != nil && err != io.EOF {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 {- if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.DatabaseGroup); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- } else {- protoReq.UpdateMask = fieldMask- }- }-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["database_group.name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "database_group.name")- }-- err = runtime.PopulateFieldFromPath(&protoReq, "database_group.name", val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "database_group.name", err)- }-- if err := req.ParseForm(); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }- if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_UpdateDatabaseGroup_0); err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- msg, err := server.UpdateDatabaseGroup(ctx, &protoReq)- return msg, metadata, err--}--func request_ProjectService_DeleteDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq DeleteDatabaseGroupRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")- }-- protoReq.Name, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)- }-- msg, err := client.DeleteDatabaseGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_DeleteDatabaseGroup_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq DeleteDatabaseGroupRequest- var metadata runtime.ServerMetadata-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")- }-- protoReq.Name, err = runtime.String(val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)- }-- msg, err := server.DeleteDatabaseGroup(ctx, &protoReq)- return msg, metadata, err--}-func request_ProjectService_GetProjectProtectionRules_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {var protoReq GetProjectProtectionRulesRequestvar metadata runtime.ServerMetadata@@ -1851,131 +1481,6 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve})- mux.Handle("GET", pattern_ProjectService_ListDatabaseGroups_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/ListDatabaseGroups", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_ListDatabaseGroups_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_ListDatabaseGroups_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("GET", pattern_ProjectService_GetDatabaseGroup_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/GetDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_GetDatabaseGroup_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_GetDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("POST", pattern_ProjectService_CreateDatabaseGroup_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/CreateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_CreateDatabaseGroup_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_CreateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("PATCH", pattern_ProjectService_UpdateDatabaseGroup_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/UpdateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{database_group.name=projects/*/databaseGroups/*}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_UpdateDatabaseGroup_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_UpdateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("DELETE", pattern_ProjectService_DeleteDatabaseGroup_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/DeleteDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_DeleteDatabaseGroup_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_DeleteDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("GET", pattern_ProjectService_GetProjectProtectionRules_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -2419,116 +1924,6 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve})- mux.Handle("GET", pattern_ProjectService_ListDatabaseGroups_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/ListDatabaseGroups", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_ListDatabaseGroups_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_ListDatabaseGroups_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("GET", pattern_ProjectService_GetDatabaseGroup_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/GetDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_GetDatabaseGroup_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_GetDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("POST", pattern_ProjectService_CreateDatabaseGroup_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/CreateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{parent=projects/*}/databaseGroups"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_CreateDatabaseGroup_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_CreateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("PATCH", pattern_ProjectService_UpdateDatabaseGroup_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/UpdateDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{database_group.name=projects/*/databaseGroups/*}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_UpdateDatabaseGroup_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_UpdateDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("DELETE", pattern_ProjectService_DeleteDatabaseGroup_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/DeleteDatabaseGroup", runtime.WithHTTPPathPattern("/v1/{name=projects/*/databaseGroups/*}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_DeleteDatabaseGroup_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_DeleteDatabaseGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-mux.Handle("GET", pattern_ProjectService_GetProjectProtectionRules_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()@@ -2609,16 +2004,6 @@ var (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"))- pattern_ProjectService_ListDatabaseGroups_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "databaseGroups"}, ""))-- pattern_ProjectService_GetDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "name"}, ""))-- pattern_ProjectService_CreateDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1", "projects", "parent", "databaseGroups"}, ""))-- pattern_ProjectService_UpdateDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "database_group.name"}, ""))-- pattern_ProjectService_DeleteDatabaseGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "databaseGroups", "name"}, ""))-pattern_ProjectService_GetProjectProtectionRules_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "protectionRules", "name"}, ""))pattern_ProjectService_UpdateProjectProtectionRules_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 4, 3, 5, 3}, []string{"v1", "projects", "protectionRules", "protection_rules.name"}, ""))@@ -2657,16 +2042,6 @@ var (forward_ProjectService_TestWebhook_0 = runtime.ForwardResponseMessage- forward_ProjectService_ListDatabaseGroups_0 = runtime.ForwardResponseMessage-- forward_ProjectService_GetDatabaseGroup_0 = runtime.ForwardResponseMessage-- forward_ProjectService_CreateDatabaseGroup_0 = runtime.ForwardResponseMessage-- forward_ProjectService_UpdateDatabaseGroup_0 = runtime.ForwardResponseMessage-- forward_ProjectService_DeleteDatabaseGroup_0 = runtime.ForwardResponseMessage-forward_ProjectService_GetProjectProtectionRules_0 = runtime.ForwardResponseMessageforward_ProjectService_UpdateProjectProtectionRules_0 = runtime.ForwardResponseMessagediff --git a/proto/generated-go/v1/project_service_grpc.pb.go b/proto/generated-go/v1/project_service_grpc.pb.goindex 9ee6a2d105..990dee8fd4 100644--- a/proto/generated-go/v1/project_service_grpc.pb.go+++ b/proto/generated-go/v1/project_service_grpc.pb.go@@ -65,10 +65,15 @@ type ProjectServiceClient interface {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)+ // Deprecated.ListDatabaseGroups(ctx context.Context, in *ListDatabaseGroupsRequest, opts ...grpc.CallOption) (*ListDatabaseGroupsResponse, error)+ // Deprecated.GetDatabaseGroup(ctx context.Context, in *GetDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)+ // Deprecated.CreateDatabaseGroup(ctx context.Context, in *CreateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)+ // Deprecated.UpdateDatabaseGroup(ctx context.Context, in *UpdateDatabaseGroupRequest, opts ...grpc.CallOption) (*DatabaseGroup, error)+ // Deprecated.DeleteDatabaseGroup(ctx context.Context, in *DeleteDatabaseGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)GetProjectProtectionRules(ctx context.Context, in *GetProjectProtectionRulesRequest, opts ...grpc.CallOption) (*ProtectionRules, error)UpdateProjectProtectionRules(ctx context.Context, in *UpdateProjectProtectionRulesRequest, opts ...grpc.CallOption) (*ProtectionRules, error)@@ -332,10 +337,15 @@ type ProjectServiceServer interface {UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Project, error)RemoveWebhook(context.Context, *RemoveWebhookRequest) (*Project, error)TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error)+ // Deprecated.ListDatabaseGroups(context.Context, *ListDatabaseGroupsRequest) (*ListDatabaseGroupsResponse, error)+ // Deprecated.GetDatabaseGroup(context.Context, *GetDatabaseGroupRequest) (*DatabaseGroup, error)+ // Deprecated.CreateDatabaseGroup(context.Context, *CreateDatabaseGroupRequest) (*DatabaseGroup, error)+ // Deprecated.UpdateDatabaseGroup(context.Context, *UpdateDatabaseGroupRequest) (*DatabaseGroup, error)+ // Deprecated.DeleteDatabaseGroup(context.Context, *DeleteDatabaseGroupRequest) (*emptypb.Empty, error)GetProjectProtectionRules(context.Context, *GetProjectProtectionRulesRequest) (*ProtectionRules, error)UpdateProjectProtectionRules(context.Context, *UpdateProjectProtectionRulesRequest) (*ProtectionRules, error)diff --git a/proto/v1/database_group_service.proto b/proto/v1/database_group_service.protonew file mode 100644index 0000000000..9a93476ee1--- /dev/null+++ b/proto/v1/database_group_service.proto@@ -0,0 +1,167 @@+syntax = "proto3";++package bytebase.v1;++import "google/api/annotations.proto";+import "google/api/client.proto";+import "google/api/field_behavior.proto";+import "google/protobuf/empty.proto";+import "google/protobuf/field_mask.proto";+import "google/type/expr.proto";+import "v1/annotation.proto";++option go_package = "generated-go/v1";++service DatabaseGroupService {+ rpc ListDatabaseGroups(ListDatabaseGroupsRequest) returns (ListDatabaseGroupsResponse) {+ option (google.api.http) = {get: "/v1/{parent=projects/*}/databaseGroups"};+ option (google.api.method_signature) = "parent";+ option (bytebase.v1.permission) = "bb.projects.get";+ // TODO(d): move around.+ }++ rpc GetDatabaseGroup(GetDatabaseGroupRequest) returns (DatabaseGroup) {+ option (google.api.http) = {get: "/v1/{name=projects/*/databaseGroups/*}"};+ option (google.api.method_signature) = "name";+ option (bytebase.v1.permission) = "bb.projects.get";+ // TODO(d): move around.+ }++ rpc CreateDatabaseGroup(CreateDatabaseGroupRequest) returns (DatabaseGroup) {+ option (google.api.http) = {+ post: "/v1/{parent=projects/*}/databaseGroups"+ body: "database_group"+ };+ option (google.api.method_signature) = "parent,databaseGroup";+ option (bytebase.v1.permission) = "bb.projects.update";+ // TODO(d): move around.+ }++ rpc UpdateDatabaseGroup(UpdateDatabaseGroupRequest) returns (DatabaseGroup) {+ option (google.api.http) = {+ patch: "/v1/{database_group.name=projects/*/databaseGroups/*}"+ body: "database_group"+ };+ option (google.api.method_signature) = "database_group,update_mask";+ option (bytebase.v1.permission) = "bb.projects.update";+ // TODO(d): move around.+ }++ rpc DeleteDatabaseGroup(DeleteDatabaseGroupRequest) returns (google.protobuf.Empty) {+ option (google.api.http) = {delete: "/v1/{name=projects/*/databaseGroups/*}"};+ option (google.api.method_signature) = "name";+ option (bytebase.v1.permission) = "bb.projects.update";+ // TODO(d): move around.+ }+}++message ListDatabaseGroupsRequest {+ // The parent resource whose database groups are to be listed.+ // Format: projects/{project}+ string parent = 1 [(google.api.field_behavior) = REQUIRED];++ // Not used. The maximum number of anomalies to return. The service may return fewer than+ // this value.+ // If unspecified, at most 50 anomalies will be returned.+ // The maximum value is 1000; values above 1000 will be coerced to 1000.+ int32 page_size = 2;++ // Not used. A page token, received from a previous `ListDatabaseGroups` call.+ // Provide this to retrieve the subsequent page.+ //+ // When paginating, all other parameters provided to `ListDatabaseGroups` must match+ // the call that provided the page token.+ string page_token = 3;+}++message ListDatabaseGroupsResponse {+ // database_groups is the list of database groups.+ repeated DatabaseGroup database_groups = 1;++ // Not used. A token, which can be sent as `page_token` to retrieve the next page.+ // If this field is omitted, there are no subsequent pages.+ string next_page_token = 2;+}++message GetDatabaseGroupRequest {+ // The name of the database group to retrieve.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ string name = 1 [(google.api.field_behavior) = REQUIRED];++ // The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC.+ DatabaseGroupView view = 2;+}++message CreateDatabaseGroupRequest {+ // The parent resource where this database group will be created.+ // Format: projects/{project}+ string parent = 1 [(google.api.field_behavior) = REQUIRED];++ // The database group to create.+ DatabaseGroup database_group = 2 [(google.api.field_behavior) = REQUIRED];++ // The ID to use for the database group, which will become the final component of+ // the database group's resource name.+ //+ // This value should be 4-63 characters, and valid characters+ // are /[a-z][0-9]-/.+ string database_group_id = 3;++ // If set, validate the create request and preview the full database group response, but do not actually create it.+ bool validate_only = 4;+}++message UpdateDatabaseGroupRequest {+ // The database group to update.+ //+ // The database group's `name` field is used to identify the database group to update.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ DatabaseGroup database_group = 1 [(google.api.field_behavior) = REQUIRED];++ // The list of fields to update.+ google.protobuf.FieldMask update_mask = 2;+}++message DeleteDatabaseGroupRequest {+ // The name of the database group to delete.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ string name = 1 [(google.api.field_behavior) = REQUIRED];+}++enum DatabaseGroupView {+ // The default / unset value.+ // The API will default to the BASIC view.+ DATABASE_GROUP_VIEW_UNSPECIFIED = 0;++ // Include basic information about the database group, but exclude the list of matched databases and unmatched databases.+ DATABASE_GROUP_VIEW_BASIC = 1;++ // Include everything.+ DATABASE_GROUP_VIEW_FULL = 2;+}++message DatabaseGroup {+ // The name of the database group.+ // Format: projects/{project}/databaseGroups/{databaseGroup}+ string name = 1;++ // The short name used in actual databases specified by users.+ // For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1".+ string database_placeholder = 2;++ // The condition that is associated with this database group.+ google.type.Expr database_expr = 3;++ message Database {+ // The resource name of the database.+ // Format: instances/{instance}/databases/{database}+ string name = 1;+ }+ // The list of databases that match the database group condition.+ repeated Database matched_databases = 4 [(google.api.field_behavior) = OUTPUT_ONLY];++ // The list of databases that match the database group condition.+ repeated Database unmatched_databases = 5 [(google.api.field_behavior) = OUTPUT_ONLY];++ bool multitenancy = 6;+}diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.protoindex 0c7d2c498a..259b764851 100644--- a/proto/v1/project_service.proto+++ b/proto/v1/project_service.proto@@ -7,9 +7,9 @@ import "google/api/client.proto";import "google/api/field_behavior.proto";import "google/protobuf/empty.proto";import "google/protobuf/field_mask.proto";-import "google/type/expr.proto";import "v1/annotation.proto";import "v1/common.proto";+import "v1/database_group_service.proto";import "v1/iam_policy.proto";option go_package = "generated-go/v1";@@ -130,42 +130,36 @@ service ProjectService {option (bytebase.v1.permission) = "bb.projects.update";}+ // Deprecated.rpc ListDatabaseGroups(ListDatabaseGroupsRequest) returns (ListDatabaseGroupsResponse) {- option (google.api.http) = {get: "/v1/{parent=projects/*}/databaseGroups"};option (google.api.method_signature) = "parent";option (bytebase.v1.permission) = "bb.projects.get";// TODO(d): move around.}+ // Deprecated.rpc GetDatabaseGroup(GetDatabaseGroupRequest) returns (DatabaseGroup) {- option (google.api.http) = {get: "/v1/{name=projects/*/databaseGroups/*}"};option (google.api.method_signature) = "name";option (bytebase.v1.permission) = "bb.projects.get";// TODO(d): move around.}+ // Deprecated.rpc CreateDatabaseGroup(CreateDatabaseGroupRequest) returns (DatabaseGroup) {- option (google.api.http) = {- post: "/v1/{parent=projects/*}/databaseGroups"- body: "database_group"- };option (google.api.method_signature) = "parent,databaseGroup";option (bytebase.v1.permission) = "bb.projects.update";// TODO(d): move around.}+ // Deprecated.rpc UpdateDatabaseGroup(UpdateDatabaseGroupRequest) returns (DatabaseGroup) {- option (google.api.http) = {- patch: "/v1/{database_group.name=projects/*/databaseGroups/*}"- body: "database_group"- };option (google.api.method_signature) = "database_group,update_mask";option (bytebase.v1.permission) = "bb.projects.update";// TODO(d): move around.}+ // Deprecated.rpc DeleteDatabaseGroup(DeleteDatabaseGroupRequest) returns (google.protobuf.Empty) {- option (google.api.http) = {delete: "/v1/{name=projects/*/databaseGroups/*}"};option (google.api.method_signature) = "name";option (bytebase.v1.permission) = "bb.projects.update";// TODO(d): move around.@@ -522,117 +516,6 @@ message Activity {}}-message ListDatabaseGroupsRequest {- // The parent resource whose database groups are to be listed.- // Format: projects/{project}- string parent = 1 [(google.api.field_behavior) = REQUIRED];-- // Not used. The maximum number of anomalies to return. The service may return fewer than- // this value.- // If unspecified, at most 50 anomalies will be returned.- // The maximum value is 1000; values above 1000 will be coerced to 1000.- int32 page_size = 2;-- // Not used. A page token, received from a previous `ListDatabaseGroups` call.- // Provide this to retrieve the subsequent page.- //- // When paginating, all other parameters provided to `ListDatabaseGroups` must match- // the call that provided the page token.- string page_token = 3;-}--message ListDatabaseGroupsResponse {- // database_groups is the list of database groups.- repeated DatabaseGroup database_groups = 1;-- // Not used. A token, which can be sent as `page_token` to retrieve the next page.- // If this field is omitted, there are no subsequent pages.- string next_page_token = 2;-}--message GetDatabaseGroupRequest {- // The name of the database group to retrieve.- // Format: projects/{project}/databaseGroups/{databaseGroup}- string name = 1 [(google.api.field_behavior) = REQUIRED];-- // The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC.- DatabaseGroupView view = 2;-}--message CreateDatabaseGroupRequest {- // The parent resource where this database group will be created.- // Format: projects/{project}- string parent = 1 [(google.api.field_behavior) = REQUIRED];-- // The database group to create.- DatabaseGroup database_group = 2 [(google.api.field_behavior) = REQUIRED];-- // The ID to use for the database group, which will become the final component of- // the database group's resource name.- //- // This value should be 4-63 characters, and valid characters- // are /[a-z][0-9]-/.- string database_group_id = 3;-- // If set, validate the create request and preview the full database group response, but do not actually create it.- bool validate_only = 4;-}--message UpdateDatabaseGroupRequest {- // The database group to update.- //- // The database group's `name` field is used to identify the database group to update.- // Format: projects/{project}/databaseGroups/{databaseGroup}- DatabaseGroup database_group = 1 [(google.api.field_behavior) = REQUIRED];-- // The list of fields to update.- google.protobuf.FieldMask update_mask = 2;-}--message DeleteDatabaseGroupRequest {- // The name of the database group to delete.- // Format: projects/{project}/databaseGroups/{databaseGroup}- string name = 1 [(google.api.field_behavior) = REQUIRED];-}--enum DatabaseGroupView {- // The default / unset value.- // The API will default to the BASIC view.- DATABASE_GROUP_VIEW_UNSPECIFIED = 0;-- // Include basic information about the database group, but exclude the list of matched databases and unmatched databases.- DATABASE_GROUP_VIEW_BASIC = 1;-- // Include everything.- DATABASE_GROUP_VIEW_FULL = 2;-}--message DatabaseGroup {- // The name of the database group.- // Format: projects/{project}/databaseGroups/{databaseGroup}- string name = 1;-- // The short name used in actual databases specified by users.- // For example, the placeholder for db1_2010, db1_2021, db1_2023 will be "db1".- string database_placeholder = 2;-- // The condition that is associated with this database group.- google.type.Expr database_expr = 3;-- message Database {- // The resource name of the database.- // Format: instances/{instance}/databases/{database}- string name = 1;- }- // The list of databases that match the database group condition.- repeated Database matched_databases = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The list of databases that match the database group condition.- repeated Database unmatched_databases = 5 [(google.api.field_behavior) = OUTPUT_ONLY];-- bool multitenancy = 6;-}-message GetProjectProtectionRulesRequest {// The name of the protection rules.// Format: projects/{project}/protectionRules