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: no protection proto (#13196)
Danny Xu40ef9e949920
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.goindex dccd8d1c26..2f170b12c4 100644--- a/backend/api/v1/project_service.go+++ b/backend/api/v1/project_service.go@@ -857,16 +857,6 @@ func (s *ProjectService) TestWebhook(ctx context.Context, request *v1pb.TestWebhreturn resp, nil}-// GetProjectProtectionRules gets a project protection rules.-func (*ProjectService) GetProjectProtectionRules(_ context.Context, _ *v1pb.GetProjectProtectionRulesRequest) (*v1pb.ProtectionRules, error) {- return &v1pb.ProtectionRules{}, nil-}--// UpdateProjectProtectionRules updates a project protection rules.-func (*ProjectService) UpdateProjectProtectionRules(_ context.Context, _ *v1pb.UpdateProjectProtectionRulesRequest) (*v1pb.ProtectionRules, error) {- return &v1pb.ProtectionRules{}, nil-}-func convertToStoreProjectWebhookMessage(webhook *v1pb.Webhook) (*store.ProjectWebhookMessage, error) {tp, err := convertToAPIWebhookTypeString(webhook.Type)if err != nil {diff --git a/frontend/src/store/modules/v1/common.ts b/frontend/src/store/modules/v1/common.tsindex 65cd30ae79..93a5e1fd55 100644--- a/frontend/src/store/modules/v1/common.ts+++ b/frontend/src/store/modules/v1/common.ts@@ -20,7 +20,6 @@ export const issueNamePrefix = "issues/";export const secretNamePrefix = "secrets/";export const branchNamePrefix = "branches/";export const ssoNamePrefix = "idps/";-export const protectionRulesSuffix = "/protectionRules";export const issueCommentNamePrefix = "issueComments/";export const groupNamePrefix = "groups/";export const reviewConfigNamePrefix = "reviewConfigs/";diff --git a/frontend/src/types/proto/v1/project_service.ts b/frontend/src/types/proto/v1/project_service.tsindex e0d052d664..3afc6f342d 100644--- a/frontend/src/types/proto/v1/project_service.ts+++ b/frontend/src/types/proto/v1/project_service.ts@@ -727,140 +727,6 @@ export function activity_TypeToNumber(object: Activity_Type): number {}}-export interface GetProjectProtectionRulesRequest {- /**- * The name of the protection rules.- * Format: projects/{project}/protectionRules- */- name: string;-}--export interface UpdateProjectProtectionRulesRequest {- protectionRules: ProtectionRules | undefined;-}--export interface ProtectionRules {- /**- * The name of the protection rules.- * Format: projects/{project}/protectionRules- */- name: string;- rules: ProtectionRule[];-}--export interface ProtectionRule {- /** A unique identifier for a node in UUID format. */- id: string;- target: ProtectionRule_Target;- /** The name of the branch/changelist or wildcard. */- nameFilter: string;- /**- * The roles allowed to create branches or changelists, rebase branches, delete branches.- * Format: roles/projectOwner.- */- allowedRoles: string[];- branchSource: ProtectionRule_BranchSource;-}--/** The type of target. */-export enum ProtectionRule_Target {- PROTECTION_TARGET_UNSPECIFIED = "PROTECTION_TARGET_UNSPECIFIED",- BRANCH = "BRANCH",- CHANGELIST = "CHANGELIST",- UNRECOGNIZED = "UNRECOGNIZED",-}--export function protectionRule_TargetFromJSON(object: any): ProtectionRule_Target {- switch (object) {- case 0:- case "PROTECTION_TARGET_UNSPECIFIED":- return ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED;- case 1:- case "BRANCH":- return ProtectionRule_Target.BRANCH;- case 2:- case "CHANGELIST":- return ProtectionRule_Target.CHANGELIST;- case -1:- case "UNRECOGNIZED":- default:- return ProtectionRule_Target.UNRECOGNIZED;- }-}--export function protectionRule_TargetToJSON(object: ProtectionRule_Target): string {- switch (object) {- case ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED:- return "PROTECTION_TARGET_UNSPECIFIED";- case ProtectionRule_Target.BRANCH:- return "BRANCH";- case ProtectionRule_Target.CHANGELIST:- return "CHANGELIST";- case ProtectionRule_Target.UNRECOGNIZED:- default:- return "UNRECOGNIZED";- }-}--export function protectionRule_TargetToNumber(object: ProtectionRule_Target): number {- switch (object) {- case ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED:- return 0;- case ProtectionRule_Target.BRANCH:- return 1;- case ProtectionRule_Target.CHANGELIST:- return 2;- case ProtectionRule_Target.UNRECOGNIZED:- default:- return -1;- }-}--export enum ProtectionRule_BranchSource {- BRANCH_SOURCE_UNSPECIFIED = "BRANCH_SOURCE_UNSPECIFIED",- DATABASE = "DATABASE",- UNRECOGNIZED = "UNRECOGNIZED",-}--export function protectionRule_BranchSourceFromJSON(object: any): ProtectionRule_BranchSource {- switch (object) {- case 0:- case "BRANCH_SOURCE_UNSPECIFIED":- return ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED;- case 1:- case "DATABASE":- return ProtectionRule_BranchSource.DATABASE;- case -1:- case "UNRECOGNIZED":- default:- return ProtectionRule_BranchSource.UNRECOGNIZED;- }-}--export function protectionRule_BranchSourceToJSON(object: ProtectionRule_BranchSource): string {- switch (object) {- case ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED:- return "BRANCH_SOURCE_UNSPECIFIED";- case ProtectionRule_BranchSource.DATABASE:- return "DATABASE";- case ProtectionRule_BranchSource.UNRECOGNIZED:- default:- return "UNRECOGNIZED";- }-}--export function protectionRule_BranchSourceToNumber(object: ProtectionRule_BranchSource): number {- switch (object) {- case ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED:- return 0;- case ProtectionRule_BranchSource.DATABASE:- return 1;- case ProtectionRule_BranchSource.UNRECOGNIZED:- default:- return -1;- }-}-function createBaseGetProjectRequest(): GetProjectRequest {return { name: "" };}@@ -3121,329 +2987,6 @@ export const Activity = {},};-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.nameFilter !== "") {- obj.nameFilter = message.nameFilter;- }- if (message.allowedRoles?.length) {- obj.allowedRoles = message.allowedRoles;- }- if (message.branchSource !== ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED) {- obj.branchSource = protectionRule_BranchSourceToJSON(message.branchSource);- }- return obj;- },-- create(base?: DeepPartial<ProtectionRule>): ProtectionRule {- return ProtectionRule.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ProtectionRule>): ProtectionRule {- const message = createBaseProtectionRule();- message.id = object.id ?? "";- message.target = object.target ?? ProtectionRule_Target.PROTECTION_TARGET_UNSPECIFIED;- message.nameFilter = object.nameFilter ?? "";- message.allowedRoles = object.allowedRoles?.map((e) => e) || [];- message.branchSource = object.branchSource ?? ProtectionRule_BranchSource.BRANCH_SOURCE_UNSPECIFIED;- return message;- },-};-export type ProjectServiceDefinition = typeof ProjectServiceDefinition;export const ProjectServiceDefinition = {name: "ProjectService",@@ -4519,142 +4062,6 @@ export const ProjectServiceDefinition = {},},},- getProjectProtectionRules: {- name: "GetProjectProtectionRules",- requestType: GetProjectProtectionRulesRequest,- requestStream: false,- responseType: ProtectionRules,- responseStream: false,- options: {- _unknownFields: {- 800010: [new Uint8Array([15, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 103, 101, 116])],- 800016: [new Uint8Array([1])],- 578365826: [- new Uint8Array([- 39,- 18,- 37,- 47,- 118,- 49,- 47,- 123,- 110,- 97,- 109,- 101,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 47,- 112,- 114,- 111,- 116,- 101,- 99,- 116,- 105,- 111,- 110,- 82,- 117,- 108,- 101,- 115,- 125,- ]),- ],- },- },- },- updateProjectProtectionRules: {- name: "UpdateProjectProtectionRules",- requestType: UpdateProjectProtectionRulesRequest,- requestStream: false,- responseType: ProtectionRules,- responseStream: false,- options: {- _unknownFields: {- 800010: [- new Uint8Array([18, 98, 98, 46, 112, 114, 111, 106, 101, 99, 116, 115, 46, 117, 112, 100, 97, 116, 101]),- ],- 800016: [new Uint8Array([1])],- 578365826: [- new Uint8Array([- 59,- 58,- 1,- 42,- 50,- 54,- 47,- 118,- 49,- 47,- 123,- 112,- 114,- 111,- 116,- 101,- 99,- 116,- 105,- 111,- 110,- 95,- 114,- 117,- 108,- 101,- 115,- 46,- 110,- 97,- 109,- 101,- 61,- 112,- 114,- 111,- 106,- 101,- 99,- 116,- 115,- 47,- 42,- 47,- 112,- 114,- 111,- 116,- 101,- 99,- 116,- 105,- 111,- 110,- 82,- 117,- 108,- 101,- 115,- 125,- ]),- ],- },- },- },},} as const;diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 555f8bd369..1cea3d1214 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -5517,61 +5517,6 @@ paths:application/json:schema:$ref: '#/components/schemas/Status'- /v1/projects/{project}/protectionRules:- get:- tags:- - ProjectService- operationId: ProjectService_GetProjectProtectionRules- parameters:- - name: project- in: path- description: The project id.- required: true- schema:- type: string- responses:- "200":- description: OK- content:- application/json:- schema:- $ref: '#/components/schemas/ProtectionRules'- default:- description: Default error response- content:- application/json:- schema:- $ref: '#/components/schemas/Status'- patch:- tags:- - ProjectService- operationId: ProjectService_UpdateProjectProtectionRules- parameters:- - name: project- in: path- description: The project id.- required: true- schema:- type: string- requestBody:- content:- application/json:- schema:- $ref: '#/components/schemas/UpdateProjectProtectionRulesRequest'- required: true- responses:- "200":- description: OK- content:- application/json:- schema:- $ref: '#/components/schemas/ProtectionRules'- default:- description: Default error response- content:- application/json:- schema:- $ref: '#/components/schemas/Status'/v1/projects/{project}/rollouts:post:tags:@@ -11964,47 +11909,6 @@ components:autoResolveIssue:type: booleandescription: Enable auto resolve issue.- ProtectionRule:- type: object- properties:- id:- type: string- description: A unique identifier for a node in UUID format.- target:- enum:- - PROTECTION_TARGET_UNSPECIFIED- - BRANCH- - CHANGELIST- type: string- format: enum- nameFilter:- type: string- description: The name of the branch/changelist or wildcard.- allowedRoles:- type: array- items:- type: string- description: |-- The roles allowed to create branches or changelists, rebase branches, delete branches.- Format: roles/projectOwner.- branchSource:- enum:- - BRANCH_SOURCE_UNSPECIFIED- - DATABASE- type: string- format: enum- ProtectionRules:- type: object- properties:- name:- type: string- description: |-- The name of the protection rules.- Format: projects/{project}/protectionRules- rules:- type: array- items:- $ref: '#/components/schemas/ProtectionRule'QueryHistory:type: objectproperties:@@ -14028,13 +13932,6 @@ components:type: stringdescription: The list of fields to update.format: field-mask- UpdateProjectProtectionRulesRequest:- required:- - protectionRules- type: object- properties:- protectionRules:- $ref: '#/components/schemas/ProtectionRules'UpdateWebhookRequest:required:- webhookdiff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 21394b4969..adce3709b8 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -439,7 +439,6 @@- [DeploymentConfig](#bytebase-v1-DeploymentConfig)- [DeploymentSpec](#bytebase-v1-DeploymentSpec)- [GetDeploymentConfigRequest](#bytebase-v1-GetDeploymentConfigRequest)- - [GetProjectProtectionRulesRequest](#bytebase-v1-GetProjectProtectionRulesRequest)- [GetProjectRequest](#bytebase-v1-GetProjectRequest)- [Label](#bytebase-v1-Label)- [LabelSelector](#bytebase-v1-LabelSelector)@@ -447,8 +446,6 @@- [ListProjectsRequest](#bytebase-v1-ListProjectsRequest)- [ListProjectsResponse](#bytebase-v1-ListProjectsResponse)- [Project](#bytebase-v1-Project)- - [ProtectionRule](#bytebase-v1-ProtectionRule)- - [ProtectionRules](#bytebase-v1-ProtectionRules)- [RemoveWebhookRequest](#bytebase-v1-RemoveWebhookRequest)- [Schedule](#bytebase-v1-Schedule)- [ScheduleDeployment](#bytebase-v1-ScheduleDeployment)@@ -458,15 +455,12 @@- [TestWebhookResponse](#bytebase-v1-TestWebhookResponse)- [UndeleteProjectRequest](#bytebase-v1-UndeleteProjectRequest)- [UpdateDeploymentConfigRequest](#bytebase-v1-UpdateDeploymentConfigRequest)- - [UpdateProjectProtectionRulesRequest](#bytebase-v1-UpdateProjectProtectionRulesRequest)- [UpdateProjectRequest](#bytebase-v1-UpdateProjectRequest)- [UpdateWebhookRequest](#bytebase-v1-UpdateWebhookRequest)- [Webhook](#bytebase-v1-Webhook)- [Activity.Type](#bytebase-v1-Activity-Type)- [OperatorType](#bytebase-v1-OperatorType)- - [ProtectionRule.BranchSource](#bytebase-v1-ProtectionRule-BranchSource)- - [ProtectionRule.Target](#bytebase-v1-ProtectionRule-Target)- [Webhook.Type](#bytebase-v1-Webhook-Type)- [Workflow](#bytebase-v1-Workflow)@@ -7192,21 +7186,6 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |-<a name="bytebase-v1-GetProjectProtectionRulesRequest"></a>--### GetProjectProtectionRulesRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the protection rules. Format: projects/{project}/protectionRules |------<a name="bytebase-v1-GetProjectRequest"></a>### GetProjectRequest@@ -7332,41 +7311,6 @@ When paginating, all other parameters provided to `ListProjects` must match the-<a name="bytebase-v1-ProtectionRule"></a>--### ProtectionRule----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| id | [string](#string) | | A unique identifier for a node in UUID format. |-| target | [ProtectionRule.Target](#bytebase-v1-ProtectionRule-Target) | | |-| name_filter | [string](#string) | | The name of the branch/changelist or wildcard. |-| allowed_roles | [string](#string) | repeated | The roles allowed to create branches or changelists, rebase branches, delete branches. Format: roles/projectOwner. |-| branch_source | [ProtectionRule.BranchSource](#bytebase-v1-ProtectionRule-BranchSource) | | |-------<a name="bytebase-v1-ProtectionRules"></a>--### ProtectionRules----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name of the protection rules. Format: projects/{project}/protectionRules |-| rules | [ProtectionRule](#bytebase-v1-ProtectionRule) | repeated | |------<a name="bytebase-v1-RemoveWebhookRequest"></a>### RemoveWebhookRequest@@ -7504,21 +7448,6 @@ When paginating, all other parameters provided to `ListProjects` must match the-<a name="bytebase-v1-UpdateProjectProtectionRulesRequest"></a>--### UpdateProjectProtectionRulesRequest----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| protection_rules | [ProtectionRules](#bytebase-v1-ProtectionRules) | | |------<a name="bytebase-v1-UpdateProjectRequest"></a>### UpdateProjectRequest@@ -7629,31 +7558,6 @@ TYPE_PROJECT_REPOSITORY_PUSH represents Bytebase receiving a push event from the-<a name="bytebase-v1-ProtectionRule-BranchSource"></a>--### ProtectionRule.BranchSource---| Name | Number | Description |-| ---- | ------ | ----------- |-| BRANCH_SOURCE_UNSPECIFIED | 0 | |-| DATABASE | 1 | |----<a name="bytebase-v1-ProtectionRule-Target"></a>--### ProtectionRule.Target-The type of target.--| Name | Number | Description |-| ---- | ------ | ----------- |-| PROTECTION_TARGET_UNSPECIFIED | 0 | |-| BRANCH | 1 | |-| CHANGELIST | 2 | |---<a name="bytebase-v1-Webhook-Type"></a>### Webhook.Type@@ -7712,8 +7616,6 @@ 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) | |-| 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 19055f1bb4..5c9d61b3c8 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -1846,10 +1846,6 @@<a href="#bytebase.v1.GetDeploymentConfigRequest"><span class="badge">M</span>GetDeploymentConfigRequest</a></li>- <li>- <a href="#bytebase.v1.GetProjectProtectionRulesRequest"><span class="badge">M</span>GetProjectProtectionRulesRequest</a>- </li>-<li><a href="#bytebase.v1.GetProjectRequest"><span class="badge">M</span>GetProjectRequest</a></li>@@ -1878,14 +1874,6 @@<a href="#bytebase.v1.Project"><span class="badge">M</span>Project</a></li>- <li>- <a href="#bytebase.v1.ProtectionRule"><span class="badge">M</span>ProtectionRule</a>- </li>-- <li>- <a href="#bytebase.v1.ProtectionRules"><span class="badge">M</span>ProtectionRules</a>- </li>-<li><a href="#bytebase.v1.RemoveWebhookRequest"><span class="badge">M</span>RemoveWebhookRequest</a></li>@@ -1922,10 +1910,6 @@<a href="#bytebase.v1.UpdateDeploymentConfigRequest"><span class="badge">M</span>UpdateDeploymentConfigRequest</a></li>- <li>- <a href="#bytebase.v1.UpdateProjectProtectionRulesRequest"><span class="badge">M</span>UpdateProjectProtectionRulesRequest</a>- </li>-<li><a href="#bytebase.v1.UpdateProjectRequest"><span class="badge">M</span>UpdateProjectRequest</a></li>@@ -1947,14 +1931,6 @@<a href="#bytebase.v1.OperatorType"><span class="badge">E</span>OperatorType</a></li>- <li>- <a href="#bytebase.v1.ProtectionRule.BranchSource"><span class="badge">E</span>ProtectionRule.BranchSource</a>- </li>-- <li>- <a href="#bytebase.v1.ProtectionRule.Target"><span class="badge">E</span>ProtectionRule.Target</a>- </li>-<li><a href="#bytebase.v1.Webhook.Type"><span class="badge">E</span>Webhook.Type</a></li>@@ -20190,31 +20166,6 @@ Format: projects/{project}/deploymentConfigs/default. </p></td>- <h3 id="bytebase.v1.GetProjectProtectionRulesRequest">GetProjectProtectionRulesRequest</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 protection rules.-Format: projects/{project}/protectionRules </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.GetProjectRequest">GetProjectRequest</h3><p></p>@@ -20519,91 +20470,6 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.ProtectionRule">ProtectionRule</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>id</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>A unique identifier for a node in UUID format. </p></td>- </tr>-- <tr>- <td>target</td>- <td><a href="#bytebase.v1.ProtectionRule.Target">ProtectionRule.Target</a></td>- <td></td>- <td><p> </p></td>- </tr>-- <tr>- <td>name_filter</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name of the branch/changelist or wildcard. </p></td>- </tr>-- <tr>- <td>allowed_roles</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>The roles allowed to create branches or changelists, rebase branches, delete branches.-Format: roles/projectOwner. </p></td>- </tr>-- <tr>- <td>branch_source</td>- <td><a href="#bytebase.v1.ProtectionRule.BranchSource">ProtectionRule.BranchSource</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.v1.ProtectionRules">ProtectionRules</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 protection rules.-Format: projects/{project}/protectionRules </p></td>- </tr>-- <tr>- <td>rules</td>- <td><a href="#bytebase.v1.ProtectionRule">ProtectionRule</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.RemoveWebhookRequest">RemoveWebhookRequest</h3><p></p>@@ -20836,30 +20702,6 @@ Format: projects/{project} </p></td>- <h3 id="bytebase.v1.UpdateProjectProtectionRulesRequest">UpdateProjectProtectionRulesRequest</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>protection_rules</td>- <td><a href="#bytebase.v1.ProtectionRules">ProtectionRules</a></td>- <td></td>- <td><p> </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.UpdateProjectRequest">UpdateProjectRequest</h3><p></p>@@ -21184,58 +21026,6 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td></tbody></table>- <h3 id="bytebase.v1.ProtectionRule.BranchSource">ProtectionRule.BranchSource</h3>- <p></p>- <table class="enum-table">- <thead>- <tr><td>Name</td><td>Number</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>BRANCH_SOURCE_UNSPECIFIED</td>- <td>0</td>- <td><p></p></td>- </tr>-- <tr>- <td>DATABASE</td>- <td>1</td>- <td><p></p></td>- </tr>-- </tbody>- </table>-- <h3 id="bytebase.v1.ProtectionRule.Target">ProtectionRule.Target</h3>- <p>The type of target.</p>- <table class="enum-table">- <thead>- <tr><td>Name</td><td>Number</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>PROTECTION_TARGET_UNSPECIFIED</td>- <td>0</td>- <td><p></p></td>- </tr>-- <tr>- <td>BRANCH</td>- <td>1</td>- <td><p></p></td>- </tr>-- <tr>- <td>CHANGELIST</td>- <td>2</td>- <td><p></p></td>- </tr>-- </tbody>- </table>-<h3 id="bytebase.v1.Webhook.Type">Webhook.Type</h3><p></p><table class="enum-table">@@ -21448,20 +21238,6 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td><td><p></p></td></tr>- <tr>- <td>GetProjectProtectionRules</td>- <td><a href="#bytebase.v1.GetProjectProtectionRulesRequest">GetProjectProtectionRulesRequest</a></td>- <td><a href="#bytebase.v1.ProtectionRules">ProtectionRules</a></td>- <td><p></p></td>- </tr>-- <tr>- <td>UpdateProjectProtectionRules</td>- <td><a href="#bytebase.v1.UpdateProjectProtectionRulesRequest">UpdateProjectProtectionRulesRequest</a></td>- <td><a href="#bytebase.v1.ProtectionRules">ProtectionRules</a></td>- <td><p></p></td>- </tr>-</tbody></table>@@ -21640,26 +21416,6 @@ TYPE_SQL_EDITOR_QUERY represents executing query in SQL Editor.</p></td></tr>--- <tr>- <td>GetProjectProtectionRules</td>- <td>GET</td>- <td>/v1/{name=projects/*/protectionRules}</td>- <td></td>- </tr>----- <tr>- <td>UpdateProjectProtectionRules</td>- <td>PATCH</td>- <td>/v1/{protection_rules.name=projects/*/protectionRules}</td>- <td>*</td>- </tr>--</tbody></table>diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.goindex 5f661fc7b7..20ce0c0f5a 100644--- a/proto/generated-go/v1/project_service.pb.go+++ b/proto/generated-go/v1/project_service.pb.go@@ -328,102 +328,6 @@ func (Activity_Type) EnumDescriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{27, 0}}-// The type of target.-type ProtectionRule_Target int32--const (- ProtectionRule_PROTECTION_TARGET_UNSPECIFIED ProtectionRule_Target = 0- ProtectionRule_BRANCH ProtectionRule_Target = 1- ProtectionRule_CHANGELIST ProtectionRule_Target = 2-)--// Enum value maps for ProtectionRule_Target.-var (- ProtectionRule_Target_name = map[int32]string{- 0: "PROTECTION_TARGET_UNSPECIFIED",- 1: "BRANCH",- 2: "CHANGELIST",- }- ProtectionRule_Target_value = map[string]int32{- "PROTECTION_TARGET_UNSPECIFIED": 0,- "BRANCH": 1,- "CHANGELIST": 2,- }-)--func (x ProtectionRule_Target) Enum() *ProtectionRule_Target {- p := new(ProtectionRule_Target)- *p = x- return p-}--func (x ProtectionRule_Target) String() string {- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))-}--func (ProtectionRule_Target) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[4].Descriptor()-}--func (ProtectionRule_Target) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[4]-}--func (x ProtectionRule_Target) Number() protoreflect.EnumNumber {- return protoreflect.EnumNumber(x)-}--// Deprecated: Use ProtectionRule_Target.Descriptor instead.-func (ProtectionRule_Target) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{31, 0}-}--type ProtectionRule_BranchSource int32--const (- ProtectionRule_BRANCH_SOURCE_UNSPECIFIED ProtectionRule_BranchSource = 0- ProtectionRule_DATABASE ProtectionRule_BranchSource = 1-)--// Enum value maps for ProtectionRule_BranchSource.-var (- ProtectionRule_BranchSource_name = map[int32]string{- 0: "BRANCH_SOURCE_UNSPECIFIED",- 1: "DATABASE",- }- ProtectionRule_BranchSource_value = map[string]int32{- "BRANCH_SOURCE_UNSPECIFIED": 0,- "DATABASE": 1,- }-)--func (x ProtectionRule_BranchSource) Enum() *ProtectionRule_BranchSource {- p := new(ProtectionRule_BranchSource)- *p = x- return p-}--func (x ProtectionRule_BranchSource) String() string {- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))-}--func (ProtectionRule_BranchSource) Descriptor() protoreflect.EnumDescriptor {- return file_v1_project_service_proto_enumTypes[5].Descriptor()-}--func (ProtectionRule_BranchSource) Type() protoreflect.EnumType {- return &file_v1_project_service_proto_enumTypes[5]-}--func (x ProtectionRule_BranchSource) Number() protoreflect.EnumNumber {- return protoreflect.EnumNumber(x)-}--// Deprecated: Use ProtectionRule_BranchSource.Descriptor instead.-func (ProtectionRule_BranchSource) EnumDescriptor() ([]byte, []int) {- return file_v1_project_service_proto_rawDescGZIP(), []int{31, 1}-}-type GetProjectRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2071,242 +1975,6 @@ func (*Activity) Descriptor() ([]byte, []int) {return file_v1_project_service_proto_rawDescGZIP(), []int{27}}-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[28]- 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[28]- 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{28}-}--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[29]- 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[29]- 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{29}-}--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[30]- 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[30]- 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{30}-}--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[31]- 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[31]- 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{31}-}--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.MessageStatesizeCache protoimpl.SizeCache@@ -2319,7 +1987,7 @@ type BatchGetIamPolicyResponse_PolicyResult struct {func (x *BatchGetIamPolicyResponse_PolicyResult) Reset() {*x = BatchGetIamPolicyResponse_PolicyResult{}if protoimpl.UnsafeEnabled {- mi := &file_v1_project_service_proto_msgTypes[32]+ mi := &file_v1_project_service_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2332,7 +2000,7 @@ func (x *BatchGetIamPolicyResponse_PolicyResult) String() string {func (*BatchGetIamPolicyResponse_PolicyResult) ProtoMessage() {}func (x *BatchGetIamPolicyResponse_PolicyResult) ProtoReflect() protoreflect.Message {- mi := &file_v1_project_service_proto_msgTypes[32]+ mi := &file_v1_project_service_proto_msgTypes[28]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2659,248 +2327,177 @@ var file_v1_project_service_proto_rawDesc = []byte{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, 0x5d, 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, 0x39, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe2, 0x41, 0x01, 0x02, 0xfa,- 0x41, 0x1e, 0x0a, 0x1c, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d,- 0x2f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73,- 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, 0x9f, 0x01, 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, 0x3a, 0x45, 0xea, 0x41, 0x42, 0x0a, 0x1c, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x74, 0x65,- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x22, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70,- 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 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, 0xf0, 0x16, 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,+ 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x13, 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, 0xf1, 0x13, 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, 0x01, 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, 0x84, 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, 0x2f, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f,+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x12, 0x7d, 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, 0x22, 0xda,+ 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 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, 0x84, 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, 0x3a, 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, 0x90, 0xea, 0x30, 0x01, 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, 0xa8, 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, 0x5e, 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, 0x90, 0xea, 0x30, 0x01, 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, 0x8a, 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, 0x3e, 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, 0x90,+ 0xea, 0x30, 0x01, 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, 0x93, 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,- 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70,+ 0x45, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,+ 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0x98, 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, 0x4e, 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, 0x90,+ 0xea, 0x30, 0x01, 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, 0xb0, 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, 0x4c, 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, 0x90, 0xea, 0x30, 0x02, 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, 0x9f, 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,+ 0x55, 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, 0x90, 0xea, 0x30,+ 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0xa7, 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, 0x48, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x70,0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 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, 0x84, 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, 0x2f, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,- 0x63, 0x74, 0x73, 0x12, 0x7d, 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, 0x22,- 0xda, 0x41, 0x00, 0x90, 0xea, 0x30, 0x02, 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, 0x84, 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, 0x3a, 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, 0x90, 0xea, 0x30, 0x01, 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, 0xa8, 0x01, 0x0a, 0x0d, 0x55, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x21, 0x2e, 0x62, 0x79,+ 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, 0xd5, 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,- 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, 0x5e, 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, 0x90, 0xea, 0x30, 0x01, 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, 0x8a, 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, 0x3e, 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,- 0x90, 0xea, 0x30, 0x01, 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, 0x93, 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,+ 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, 0x70, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea,+ 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x3a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79,+ 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x3b, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 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, 0x8c, 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, 0x48, 0x8a,+ 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0xbb, 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, 0x71, 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,+ 0x90, 0xea, 0x30, 0x01, 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, 0xa5, 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, 0x45, 0x8a, 0xea, 0x30, 0x14, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0x98, 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, 0x4e, 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,- 0x90, 0xea, 0x30, 0x01, 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, 0xb0, 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, 0x4c, 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, 0x90, 0xea, 0x30, 0x02, 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, 0x9f, 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, 0x55, 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, 0x90, 0xea,- 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0xa7, 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, 0x48, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01,- 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, 0xd5, 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, 0x70, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90,- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x3a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x3b, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 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, 0x8c, 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, 0x48,- 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0xbb, 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, 0x71, 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, 0x90, 0xea, 0x30, 0x01, 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, 0xa5, 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, 0x5b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0x9b,- 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x1f,+ 0x22, 0x5b, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0x9b, 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, 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, 0x49, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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, 0xae, 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, 0x44, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e,- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01,- 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, 0xcb, 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, 0x5b,- 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 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,+ 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x22, 0x49, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,+ 0x74, 0x65, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x11, 0x5a, 0x0f, 0x67,0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06,0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}@@ -2917,126 +2514,112 @@ func file_v1_project_service_proto_rawDescGZIP() []byte {return file_v1_project_service_proto_rawDescData}-var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)-var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 33)+var file_v1_project_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4)+var file_v1_project_service_proto_msgTypes = make([]protoimpl.MessageInfo, 29)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- (*emptypb.Empty)(nil), // 44: google.protobuf.Empty+ (*GetProjectRequest)(nil), // 4: bytebase.v1.GetProjectRequest+ (*ListProjectsRequest)(nil), // 5: bytebase.v1.ListProjectsRequest+ (*ListProjectsResponse)(nil), // 6: bytebase.v1.ListProjectsResponse+ (*SearchProjectsRequest)(nil), // 7: bytebase.v1.SearchProjectsRequest+ (*SearchProjectsResponse)(nil), // 8: bytebase.v1.SearchProjectsResponse+ (*CreateProjectRequest)(nil), // 9: bytebase.v1.CreateProjectRequest+ (*UpdateProjectRequest)(nil), // 10: bytebase.v1.UpdateProjectRequest+ (*DeleteProjectRequest)(nil), // 11: bytebase.v1.DeleteProjectRequest+ (*UndeleteProjectRequest)(nil), // 12: bytebase.v1.UndeleteProjectRequest+ (*BatchGetIamPolicyRequest)(nil), // 13: bytebase.v1.BatchGetIamPolicyRequest+ (*BatchGetIamPolicyResponse)(nil), // 14: bytebase.v1.BatchGetIamPolicyResponse+ (*GetDeploymentConfigRequest)(nil), // 15: bytebase.v1.GetDeploymentConfigRequest+ (*UpdateDeploymentConfigRequest)(nil), // 16: bytebase.v1.UpdateDeploymentConfigRequest+ (*Label)(nil), // 17: bytebase.v1.Label+ (*Project)(nil), // 18: bytebase.v1.Project+ (*AddWebhookRequest)(nil), // 19: bytebase.v1.AddWebhookRequest+ (*UpdateWebhookRequest)(nil), // 20: bytebase.v1.UpdateWebhookRequest+ (*RemoveWebhookRequest)(nil), // 21: bytebase.v1.RemoveWebhookRequest+ (*TestWebhookRequest)(nil), // 22: bytebase.v1.TestWebhookRequest+ (*TestWebhookResponse)(nil), // 23: bytebase.v1.TestWebhookResponse+ (*Webhook)(nil), // 24: bytebase.v1.Webhook+ (*DeploymentConfig)(nil), // 25: bytebase.v1.DeploymentConfig+ (*Schedule)(nil), // 26: bytebase.v1.Schedule+ (*ScheduleDeployment)(nil), // 27: bytebase.v1.ScheduleDeployment+ (*DeploymentSpec)(nil), // 28: bytebase.v1.DeploymentSpec+ (*LabelSelector)(nil), // 29: bytebase.v1.LabelSelector+ (*LabelSelectorRequirement)(nil), // 30: bytebase.v1.LabelSelectorRequirement+ (*Activity)(nil), // 31: bytebase.v1.Activity+ (*BatchGetIamPolicyResponse_PolicyResult)(nil), // 32: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult+ (*fieldmaskpb.FieldMask)(nil), // 33: google.protobuf.FieldMask+ (State)(0), // 34: bytebase.v1.State+ (*IamPolicy)(nil), // 35: bytebase.v1.IamPolicy+ (*GetIamPolicyRequest)(nil), // 36: bytebase.v1.GetIamPolicyRequest+ (*SetIamPolicyRequest)(nil), // 37: bytebase.v1.SetIamPolicyRequest+ (*emptypb.Empty)(nil), // 38: google.protobuf.Empty}var file_v1_project_service_proto_depIdxs = []int32{- 20, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project- 20, // 1: bytebase.v1.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.deployment_config:type_name -> bytebase.v1.DeploymentConfig- 40, // 7: bytebase.v1.Project.state:type_name -> bytebase.v1.State+ 18, // 0: bytebase.v1.ListProjectsResponse.projects:type_name -> bytebase.v1.Project+ 18, // 1: bytebase.v1.SearchProjectsResponse.projects:type_name -> bytebase.v1.Project+ 18, // 2: bytebase.v1.CreateProjectRequest.project:type_name -> bytebase.v1.Project+ 18, // 3: bytebase.v1.UpdateProjectRequest.project:type_name -> bytebase.v1.Project+ 33, // 4: bytebase.v1.UpdateProjectRequest.update_mask:type_name -> google.protobuf.FieldMask+ 32, // 5: bytebase.v1.BatchGetIamPolicyResponse.policy_results:type_name -> bytebase.v1.BatchGetIamPolicyResponse.PolicyResult+ 25, // 6: bytebase.v1.UpdateDeploymentConfigRequest.deployment_config:type_name -> bytebase.v1.DeploymentConfig+ 34, // 7: bytebase.v1.Project.state:type_name -> bytebase.v1.State0, // 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+ 24, // 9: bytebase.v1.Project.webhooks:type_name -> bytebase.v1.Webhook+ 17, // 10: bytebase.v1.Project.issue_labels:type_name -> bytebase.v1.Label+ 24, // 11: bytebase.v1.AddWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 24, // 12: bytebase.v1.UpdateWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 33, // 13: bytebase.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask+ 24, // 14: bytebase.v1.RemoveWebhookRequest.webhook:type_name -> bytebase.v1.Webhook+ 24, // 15: bytebase.v1.TestWebhookRequest.webhook:type_name -> bytebase.v1.Webhook2, // 16: bytebase.v1.Webhook.type:type_name -> bytebase.v1.Webhook.Type3, // 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+ 26, // 18: bytebase.v1.DeploymentConfig.schedule:type_name -> bytebase.v1.Schedule+ 27, // 19: bytebase.v1.Schedule.deployments:type_name -> bytebase.v1.ScheduleDeployment+ 28, // 20: bytebase.v1.ScheduleDeployment.spec:type_name -> bytebase.v1.DeploymentSpec+ 29, // 21: bytebase.v1.DeploymentSpec.label_selector:type_name -> bytebase.v1.LabelSelector+ 30, // 22: bytebase.v1.LabelSelector.match_expressions:type_name -> bytebase.v1.LabelSelectorRequirement1, // 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- 34, // 45: bytebase.v1.ProjectService.GetProjectProtectionRules:input_type -> bytebase.v1.GetProjectProtectionRulesRequest- 35, // 46: bytebase.v1.ProjectService.UpdateProjectProtectionRules:input_type -> bytebase.v1.UpdateProjectProtectionRulesRequest- 20, // 47: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project- 8, // 48: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse- 10, // 49: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse- 20, // 50: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project- 20, // 51: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project- 44, // 52: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty- 20, // 53: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project- 41, // 54: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy- 16, // 55: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse- 41, // 56: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy- 27, // 57: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 27, // 58: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig- 20, // 59: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project- 20, // 60: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project- 20, // 61: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project- 25, // 62: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse- 36, // 63: bytebase.v1.ProjectService.GetProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules- 36, // 64: bytebase.v1.ProjectService.UpdateProjectProtectionRules:output_type -> bytebase.v1.ProtectionRules- 47, // [47:65] is the sub-list for method output_type- 29, // [29:47] 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+ 35, // 24: bytebase.v1.BatchGetIamPolicyResponse.PolicyResult.policy:type_name -> bytebase.v1.IamPolicy+ 4, // 25: bytebase.v1.ProjectService.GetProject:input_type -> bytebase.v1.GetProjectRequest+ 5, // 26: bytebase.v1.ProjectService.ListProjects:input_type -> bytebase.v1.ListProjectsRequest+ 7, // 27: bytebase.v1.ProjectService.SearchProjects:input_type -> bytebase.v1.SearchProjectsRequest+ 9, // 28: bytebase.v1.ProjectService.CreateProject:input_type -> bytebase.v1.CreateProjectRequest+ 10, // 29: bytebase.v1.ProjectService.UpdateProject:input_type -> bytebase.v1.UpdateProjectRequest+ 11, // 30: bytebase.v1.ProjectService.DeleteProject:input_type -> bytebase.v1.DeleteProjectRequest+ 12, // 31: bytebase.v1.ProjectService.UndeleteProject:input_type -> bytebase.v1.UndeleteProjectRequest+ 36, // 32: bytebase.v1.ProjectService.GetIamPolicy:input_type -> bytebase.v1.GetIamPolicyRequest+ 13, // 33: bytebase.v1.ProjectService.BatchGetIamPolicy:input_type -> bytebase.v1.BatchGetIamPolicyRequest+ 37, // 34: bytebase.v1.ProjectService.SetIamPolicy:input_type -> bytebase.v1.SetIamPolicyRequest+ 15, // 35: bytebase.v1.ProjectService.GetDeploymentConfig:input_type -> bytebase.v1.GetDeploymentConfigRequest+ 16, // 36: bytebase.v1.ProjectService.UpdateDeploymentConfig:input_type -> bytebase.v1.UpdateDeploymentConfigRequest+ 19, // 37: bytebase.v1.ProjectService.AddWebhook:input_type -> bytebase.v1.AddWebhookRequest+ 20, // 38: bytebase.v1.ProjectService.UpdateWebhook:input_type -> bytebase.v1.UpdateWebhookRequest+ 21, // 39: bytebase.v1.ProjectService.RemoveWebhook:input_type -> bytebase.v1.RemoveWebhookRequest+ 22, // 40: bytebase.v1.ProjectService.TestWebhook:input_type -> bytebase.v1.TestWebhookRequest+ 18, // 41: bytebase.v1.ProjectService.GetProject:output_type -> bytebase.v1.Project+ 6, // 42: bytebase.v1.ProjectService.ListProjects:output_type -> bytebase.v1.ListProjectsResponse+ 8, // 43: bytebase.v1.ProjectService.SearchProjects:output_type -> bytebase.v1.SearchProjectsResponse+ 18, // 44: bytebase.v1.ProjectService.CreateProject:output_type -> bytebase.v1.Project+ 18, // 45: bytebase.v1.ProjectService.UpdateProject:output_type -> bytebase.v1.Project+ 38, // 46: bytebase.v1.ProjectService.DeleteProject:output_type -> google.protobuf.Empty+ 18, // 47: bytebase.v1.ProjectService.UndeleteProject:output_type -> bytebase.v1.Project+ 35, // 48: bytebase.v1.ProjectService.GetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 14, // 49: bytebase.v1.ProjectService.BatchGetIamPolicy:output_type -> bytebase.v1.BatchGetIamPolicyResponse+ 35, // 50: bytebase.v1.ProjectService.SetIamPolicy:output_type -> bytebase.v1.IamPolicy+ 25, // 51: bytebase.v1.ProjectService.GetDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 25, // 52: bytebase.v1.ProjectService.UpdateDeploymentConfig:output_type -> bytebase.v1.DeploymentConfig+ 18, // 53: bytebase.v1.ProjectService.AddWebhook:output_type -> bytebase.v1.Project+ 18, // 54: bytebase.v1.ProjectService.UpdateWebhook:output_type -> bytebase.v1.Project+ 18, // 55: bytebase.v1.ProjectService.RemoveWebhook:output_type -> bytebase.v1.Project+ 23, // 56: bytebase.v1.ProjectService.TestWebhook:output_type -> bytebase.v1.TestWebhookResponse+ 41, // [41:57] is the sub-list for method output_type+ 25, // [25:41] is the sub-list for method input_type+ 25, // [25:25] is the sub-list for extension type_name+ 25, // [25:25] is the sub-list for extension extendee+ 0, // [0:25] is the sub-list for field type_name}func init() { file_v1_project_service_proto_init() }@@ -3385,54 +2968,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.(*GetProjectProtectionRulesRequest); 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.(*UpdateProjectProtectionRulesRequest); 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.(*ProtectionRules); 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.(*ProtectionRule); 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.(*BatchGetIamPolicyResponse_PolicyResult); i {case 0:return &v.state@@ -3450,8 +2985,8 @@ func file_v1_project_service_proto_init() {File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_project_service_proto_rawDesc,- NumEnums: 6,- NumMessages: 33,+ NumEnums: 4,+ NumMessages: 29,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 9af97f3a7a..20b1ec30c5 100644--- a/proto/generated-go/v1/project_service.pb.gw.go+++ b/proto/generated-go/v1/project_service.pb.gw.go@@ -963,118 +963,6 @@ func local_request_ProjectService_TestWebhook_0(ctx context.Context, marshaler r}-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 GetProjectProtectionRulesRequest- 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.GetProjectProtectionRules(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_GetProjectProtectionRules_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq GetProjectProtectionRulesRequest- 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.GetProjectProtectionRules(ctx, &protoReq)- return msg, metadata, err--}--func request_ProjectService_UpdateProjectProtectionRules_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq UpdateProjectProtectionRulesRequest- var metadata runtime.ServerMetadata-- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["protection_rules.name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "protection_rules.name")- }-- err = runtime.PopulateFieldFromPath(&protoReq, "protection_rules.name", val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "protection_rules.name", err)- }-- msg, err := client.UpdateProjectProtectionRules(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))- return msg, metadata, err--}--func local_request_ProjectService_UpdateProjectProtectionRules_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {- var protoReq UpdateProjectProtectionRulesRequest- var metadata runtime.ServerMetadata-- if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF {- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)- }-- var (- val string- ok bool- err error- _ = err- )-- val, ok = pathParams["protection_rules.name"]- if !ok {- return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "protection_rules.name")- }-- err = runtime.PopulateFieldFromPath(&protoReq, "protection_rules.name", val)- if err != nil {- return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "protection_rules.name", err)- }-- msg, err := server.UpdateProjectProtectionRules(ctx, &protoReq)- return msg, metadata, err--}-// RegisterProjectServiceHandlerServer registers the http handlers for service ProjectService to "mux".// UnaryRPC :call ProjectServiceServer directly.// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.@@ -1482,56 +1370,6 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve})- 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()- 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/GetProjectProtectionRules", runtime.WithHTTPPathPattern("/v1/{name=projects/*/protectionRules}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_GetProjectProtectionRules_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_GetProjectProtectionRules_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("PATCH", pattern_ProjectService_UpdateProjectProtectionRules_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/UpdateProjectProtectionRules", runtime.WithHTTPPathPattern("/v1/{protection_rules.name=projects/*/protectionRules}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := local_request_ProjectService_UpdateProjectProtectionRules_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_UpdateProjectProtectionRules_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-return nil}@@ -1925,50 +1763,6 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve})- 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()- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)- var err error- var annotatedContext context.Context- annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.ProjectService/GetProjectProtectionRules", runtime.WithHTTPPathPattern("/v1/{name=projects/*/protectionRules}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_GetProjectProtectionRules_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_GetProjectProtectionRules_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-- mux.Handle("PATCH", pattern_ProjectService_UpdateProjectProtectionRules_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/UpdateProjectProtectionRules", runtime.WithHTTPPathPattern("/v1/{protection_rules.name=projects/*/protectionRules}"))- if err != nil {- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)- return- }- resp, md, err := request_ProjectService_UpdateProjectProtectionRules_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_UpdateProjectProtectionRules_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)-- })-return nil}@@ -2004,10 +1798,6 @@ var (pattern_ProjectService_RemoveWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1", "projects", "webhooks", "webhook.name"}, "removeWebhook"))pattern_ProjectService_TestWebhook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1", "projects", "project"}, "testWebhook"))-- 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"}, "")))var (@@ -2042,8 +1832,4 @@ var (forward_ProjectService_RemoveWebhook_0 = runtime.ForwardResponseMessageforward_ProjectService_TestWebhook_0 = runtime.ForwardResponseMessage-- forward_ProjectService_GetProjectProtectionRules_0 = runtime.ForwardResponseMessage-- forward_ProjectService_UpdateProjectProtectionRules_0 = runtime.ForwardResponseMessage)diff --git a/proto/generated-go/v1/project_service_grpc.pb.go b/proto/generated-go/v1/project_service_grpc.pb.goindex 27de766033..636c48ed44 100644--- a/proto/generated-go/v1/project_service_grpc.pb.go+++ b/proto/generated-go/v1/project_service_grpc.pb.go@@ -20,24 +20,22 @@ import (const _ = grpc.SupportPackageIsVersion9const (- ProjectService_GetProject_FullMethodName = "/bytebase.v1.ProjectService/GetProject"- ProjectService_ListProjects_FullMethodName = "/bytebase.v1.ProjectService/ListProjects"- ProjectService_SearchProjects_FullMethodName = "/bytebase.v1.ProjectService/SearchProjects"- ProjectService_CreateProject_FullMethodName = "/bytebase.v1.ProjectService/CreateProject"- ProjectService_UpdateProject_FullMethodName = "/bytebase.v1.ProjectService/UpdateProject"- ProjectService_DeleteProject_FullMethodName = "/bytebase.v1.ProjectService/DeleteProject"- ProjectService_UndeleteProject_FullMethodName = "/bytebase.v1.ProjectService/UndeleteProject"- ProjectService_GetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/GetIamPolicy"- ProjectService_BatchGetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/BatchGetIamPolicy"- ProjectService_SetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/SetIamPolicy"- ProjectService_GetDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/GetDeploymentConfig"- ProjectService_UpdateDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/UpdateDeploymentConfig"- ProjectService_AddWebhook_FullMethodName = "/bytebase.v1.ProjectService/AddWebhook"- ProjectService_UpdateWebhook_FullMethodName = "/bytebase.v1.ProjectService/UpdateWebhook"- ProjectService_RemoveWebhook_FullMethodName = "/bytebase.v1.ProjectService/RemoveWebhook"- ProjectService_TestWebhook_FullMethodName = "/bytebase.v1.ProjectService/TestWebhook"- ProjectService_GetProjectProtectionRules_FullMethodName = "/bytebase.v1.ProjectService/GetProjectProtectionRules"- ProjectService_UpdateProjectProtectionRules_FullMethodName = "/bytebase.v1.ProjectService/UpdateProjectProtectionRules"+ ProjectService_GetProject_FullMethodName = "/bytebase.v1.ProjectService/GetProject"+ ProjectService_ListProjects_FullMethodName = "/bytebase.v1.ProjectService/ListProjects"+ ProjectService_SearchProjects_FullMethodName = "/bytebase.v1.ProjectService/SearchProjects"+ ProjectService_CreateProject_FullMethodName = "/bytebase.v1.ProjectService/CreateProject"+ ProjectService_UpdateProject_FullMethodName = "/bytebase.v1.ProjectService/UpdateProject"+ ProjectService_DeleteProject_FullMethodName = "/bytebase.v1.ProjectService/DeleteProject"+ ProjectService_UndeleteProject_FullMethodName = "/bytebase.v1.ProjectService/UndeleteProject"+ ProjectService_GetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/GetIamPolicy"+ ProjectService_BatchGetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/BatchGetIamPolicy"+ ProjectService_SetIamPolicy_FullMethodName = "/bytebase.v1.ProjectService/SetIamPolicy"+ ProjectService_GetDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/GetDeploymentConfig"+ ProjectService_UpdateDeploymentConfig_FullMethodName = "/bytebase.v1.ProjectService/UpdateDeploymentConfig"+ ProjectService_AddWebhook_FullMethodName = "/bytebase.v1.ProjectService/AddWebhook"+ ProjectService_UpdateWebhook_FullMethodName = "/bytebase.v1.ProjectService/UpdateWebhook"+ ProjectService_RemoveWebhook_FullMethodName = "/bytebase.v1.ProjectService/RemoveWebhook"+ ProjectService_TestWebhook_FullMethodName = "/bytebase.v1.ProjectService/TestWebhook")// ProjectServiceClient is the client API for ProjectService service.@@ -61,8 +59,6 @@ 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)- GetProjectProtectionRules(ctx context.Context, in *GetProjectProtectionRulesRequest, opts ...grpc.CallOption) (*ProtectionRules, error)- UpdateProjectProtectionRules(ctx context.Context, in *UpdateProjectProtectionRulesRequest, opts ...grpc.CallOption) (*ProtectionRules, error)}type projectServiceClient struct {@@ -233,26 +229,6 @@ func (c *projectServiceClient) TestWebhook(ctx context.Context, in *TestWebhookRreturn out, nil}-func (c *projectServiceClient) GetProjectProtectionRules(ctx context.Context, in *GetProjectProtectionRulesRequest, opts ...grpc.CallOption) (*ProtectionRules, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(ProtectionRules)- err := c.cc.Invoke(ctx, ProjectService_GetProjectProtectionRules_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}--func (c *projectServiceClient) UpdateProjectProtectionRules(ctx context.Context, in *UpdateProjectProtectionRulesRequest, opts ...grpc.CallOption) (*ProtectionRules, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(ProtectionRules)- err := c.cc.Invoke(ctx, ProjectService_UpdateProjectProtectionRules_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}-// ProjectServiceServer is the server API for ProjectService service.// All implementations must embed UnimplementedProjectServiceServer// for forward compatibility.@@ -274,8 +250,6 @@ type ProjectServiceServer interface {UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Project, error)RemoveWebhook(context.Context, *RemoveWebhookRequest) (*Project, error)TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error)- GetProjectProtectionRules(context.Context, *GetProjectProtectionRulesRequest) (*ProtectionRules, error)- UpdateProjectProtectionRules(context.Context, *UpdateProjectProtectionRulesRequest) (*ProtectionRules, error)mustEmbedUnimplementedProjectServiceServer()}@@ -334,12 +308,6 @@ func (UnimplementedProjectServiceServer) RemoveWebhook(context.Context, *RemoveWfunc (UnimplementedProjectServiceServer) TestWebhook(context.Context, *TestWebhookRequest) (*TestWebhookResponse, error) {return nil, status.Errorf(codes.Unimplemented, "method TestWebhook not implemented")}-func (UnimplementedProjectServiceServer) GetProjectProtectionRules(context.Context, *GetProjectProtectionRulesRequest) (*ProtectionRules, error) {- return nil, status.Errorf(codes.Unimplemented, "method GetProjectProtectionRules not implemented")-}-func (UnimplementedProjectServiceServer) UpdateProjectProtectionRules(context.Context, *UpdateProjectProtectionRulesRequest) (*ProtectionRules, error) {- return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectProtectionRules not implemented")-}func (UnimplementedProjectServiceServer) mustEmbedUnimplementedProjectServiceServer() {}func (UnimplementedProjectServiceServer) testEmbeddedByValue() {}@@ -649,42 +617,6 @@ func _ProjectService_TestWebhook_Handler(srv interface{}, ctx context.Context, dreturn interceptor(ctx, in, info, handler)}-func _ProjectService_GetProjectProtectionRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(GetProjectProtectionRulesRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(ProjectServiceServer).GetProjectProtectionRules(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: ProjectService_GetProjectProtectionRules_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(ProjectServiceServer).GetProjectProtectionRules(ctx, req.(*GetProjectProtectionRulesRequest))- }- return interceptor(ctx, in, info, handler)-}--func _ProjectService_UpdateProjectProtectionRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(UpdateProjectProtectionRulesRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(ProjectServiceServer).UpdateProjectProtectionRules(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: ProjectService_UpdateProjectProtectionRules_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(ProjectServiceServer).UpdateProjectProtectionRules(ctx, req.(*UpdateProjectProtectionRulesRequest))- }- return interceptor(ctx, in, info, handler)-}-// ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service.// It's only intended for direct use with grpc.RegisterService,// and not to be introspected or modified (even as a copy)@@ -756,14 +688,6 @@ var ProjectService_ServiceDesc = grpc.ServiceDesc{MethodName: "TestWebhook",Handler: _ProjectService_TestWebhook_Handler,},- {- MethodName: "GetProjectProtectionRules",- Handler: _ProjectService_GetProjectProtectionRules_Handler,- },- {- MethodName: "UpdateProjectProtectionRules",- Handler: _ProjectService_UpdateProjectProtectionRules_Handler,- },},Streams: []grpc.StreamDesc{},Metadata: "v1/project_service.proto",diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.protoindex 56f4ed5e73..eeb78a3e56 100644--- a/proto/v1/project_service.proto+++ b/proto/v1/project_service.proto@@ -146,21 +146,6 @@ service ProjectService {option (bytebase.v1.permission) = "bb.projects.update";option (bytebase.v1.auth_method) = IAM;}-- rpc GetProjectProtectionRules(GetProjectProtectionRulesRequest) returns (ProtectionRules) {- option (google.api.http) = {get: "/v1/{name=projects/*/protectionRules}"};- option (bytebase.v1.permission) = "bb.projects.get";- option (bytebase.v1.auth_method) = IAM;- }-- rpc UpdateProjectProtectionRules(UpdateProjectProtectionRulesRequest) returns (ProtectionRules) {- option (google.api.http) = {- patch: "/v1/{protection_rules.name=projects/*/protectionRules}"- body: "*"- };- option (bytebase.v1.permission) = "bb.projects.update";- option (bytebase.v1.auth_method) = IAM;- }}message GetProjectRequest {@@ -530,56 +515,3 @@ message Activity {TYPE_SQL_EDITOR_QUERY = 19;}}--message GetProjectProtectionRulesRequest {- // The name of the protection rules.- // Format: projects/{project}/protectionRules- string name = 1 [- (google.api.field_behavior) = REQUIRED,- (google.api.resource_reference) = {type: "bytebase.com/ProtectionRules"}- ];-}--message UpdateProjectProtectionRulesRequest {- ProtectionRules protection_rules = 2 [(google.api.field_behavior) = REQUIRED];-}--message ProtectionRules {- option (google.api.resource) = {- type: "bytebase.com/ProtectionRules"- pattern: "projects/{project}/protectionRules"- };-- // The name of the protection rules.- // Format: projects/{project}/protectionRules- string name = 1;-- repeated ProtectionRule rules = 2;-}--message ProtectionRule {- // A unique identifier for a node in UUID format.- string id = 1;-- // The type of target.- enum Target {- PROTECTION_TARGET_UNSPECIFIED = 0;- BRANCH = 1;- CHANGELIST = 2;- }-- Target target = 2;-- // The name of the branch/changelist or wildcard.- string name_filter = 3;-- // The roles allowed to create branches or changelists, rebase branches, delete branches.- // Format: roles/projectOwner.- repeated string allowed_roles = 4;-- enum BranchSource {- BRANCH_SOURCE_UNSPECIFIED = 0;- DATABASE = 1;- }- BranchSource branch_source = 5;-}