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: unused proto (#12053)
Danny Xu9e7ba1209dc3
diff --git a/frontend/src/types/proto/store/policy.ts b/frontend/src/types/proto/store/policy.tsindex 5cd7aa37bb..85f36faa35 100644--- a/frontend/src/types/proto/store/policy.ts+++ b/frontend/src/types/proto/store/policy.ts@@ -87,34 +87,6 @@ export interface RolloutPolicy {issueRoles: string[];}-export interface IamPolicy {- /** Collection of binding. */- bindings: Binding[];-}--/** Reference: https://cloud.google.com/pubsub/docs/reference/rpc/google.iam.v1#binding */-export interface Binding {- /**- * Role that is assigned to the list of members.- * Format: roles/{role}- */- role: string;- /**- * Specifies the principals requesting access for a Bytebase resource.- * `members` can have the following values:- *- * * `allUsers`: A special identifier that represents anyone.- * * `user:{emailid}`: An email address that represents a specific Bytebase account. For example, `[email protected]`.- */- members: string[];- /**- * The condition that is associated with this binding.- * If the condition evaluates to true, then this binding applies to the current request.- * If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.- */- condition: Expr | undefined;-}-export interface MaskingPolicy {maskData: MaskData[];}@@ -341,156 +313,6 @@ export const RolloutPolicy = {},};-function createBaseIamPolicy(): IamPolicy {- return { bindings: [] };-}--export const IamPolicy = {- encode(message: IamPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- for (const v of message.bindings) {- Binding.encode(v!, writer.uint32(10).fork()).ldelim();- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): IamPolicy {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseIamPolicy();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.bindings.push(Binding.decode(reader, reader.uint32()));- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): IamPolicy {- return {- bindings: globalThis.Array.isArray(object?.bindings) ? object.bindings.map((e: any) => Binding.fromJSON(e)) : [],- };- },-- toJSON(message: IamPolicy): unknown {- const obj: any = {};- if (message.bindings?.length) {- obj.bindings = message.bindings.map((e) => Binding.toJSON(e));- }- return obj;- },-- create(base?: DeepPartial<IamPolicy>): IamPolicy {- return IamPolicy.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<IamPolicy>): IamPolicy {- const message = createBaseIamPolicy();- message.bindings = object.bindings?.map((e) => Binding.fromPartial(e)) || [];- return message;- },-};--function createBaseBinding(): Binding {- return { role: "", members: [], condition: undefined };-}--export const Binding = {- encode(message: Binding, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.role !== "") {- writer.uint32(10).string(message.role);- }- for (const v of message.members) {- writer.uint32(18).string(v!);- }- if (message.condition !== undefined) {- Expr.encode(message.condition, writer.uint32(26).fork()).ldelim();- }- return writer;- },-- decode(input: _m0.Reader | Uint8Array, length?: number): Binding {- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseBinding();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1:- if (tag !== 10) {- break;- }-- message.role = reader.string();- continue;- case 2:- if (tag !== 18) {- break;- }-- message.members.push(reader.string());- continue;- case 3:- if (tag !== 26) {- break;- }-- message.condition = Expr.decode(reader, reader.uint32());- continue;- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skipType(tag & 7);- }- return message;- },-- fromJSON(object: any): Binding {- return {- role: isSet(object.role) ? globalThis.String(object.role) : "",- members: globalThis.Array.isArray(object?.members) ? object.members.map((e: any) => globalThis.String(e)) : [],- condition: isSet(object.condition) ? Expr.fromJSON(object.condition) : undefined,- };- },-- toJSON(message: Binding): unknown {- const obj: any = {};- if (message.role !== "") {- obj.role = message.role;- }- if (message.members?.length) {- obj.members = message.members;- }- if (message.condition !== undefined) {- obj.condition = Expr.toJSON(message.condition);- }- return obj;- },-- create(base?: DeepPartial<Binding>): Binding {- return Binding.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<Binding>): Binding {- const message = createBaseBinding();- message.role = object.role ?? "";- message.members = object.members?.map((e) => e) || [];- message.condition = (object.condition !== undefined && object.condition !== null)- ? Expr.fromPartial(object.condition)- : undefined;- return message;- },-};-function createBaseMaskingPolicy(): MaskingPolicy {return { maskData: [] };}diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 82cc6cd16a..999f5a850f 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -8689,18 +8689,13 @@ components:role:type: stringdescription: |-- Role that is assigned to the list of members.+ The role that is assigned to the members.Format: roles/{role}members:type: arrayitems:type: string- description: |-- Specifies the principals requesting access for a Bytebase resource.- `members` can have the following values:-- * `allUsers`: A special identifier that represents anyone.- * `user:{emailid}`: An email address that represents a specific Bytebase account. For example, `[email protected]`.+ description: Specifies the principals requesting access for a Bytebase resource.condition:allOf:- $ref: '#/components/schemas/Expr'@@ -8708,7 +8703,11 @@ components:The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.- description: 'Reference: https://cloud.google.com/pubsub/docs/reference/rpc/google.iam.v1#binding'+ parsedExpr:+ readOnly: true+ allOf:+ - $ref: '#/components/schemas/ParsedExpr'+ description: The parsed expression of the condition.Branch:type: objectproperties:@@ -9060,92 +9059,6 @@ components:column masking data and global masking rules.format: enumdescription: ColumnMetadata is the metadata for columns.- Constant:- type: object- properties:- nullValue:- enum:- - NULL_VALUE- type: string- description: null value.- format: enum- boolValue:- type: boolean- description: boolean value.- int64Value:- type: string- description: int64 value.- uint64Value:- type: string- description: uint64 value.- doubleValue:- type: number- description: double value.- format: double- stringValue:- type: string- description: string value.- bytesValue:- type: string- description: bytes value.- format: bytes- durationValue:- pattern: ^-?(?:0|[1-9][0-9]{0,11})(?:\.[0-9]{1,9})?s$- type: string- description: |-- protobuf.Duration value.-- Deprecated: duration is no longer considered a builtin cel type.- timestampValue:- type: string- description: |-- protobuf.Timestamp value.-- Deprecated: timestamp is no longer considered a builtin cel type.- format: date-time- description: |-- Represents a primitive literal.-- Named 'Constant' here for backwards compatibility.-- This is similar as the primitives supported in the well-known type- `google.protobuf.Value`, but richer so it can represent CEL's full range of- primitives.-- Lists and structs are not included as constants as these aggregate types may- contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant.-- Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`,- `true`, `null`.- CreateStruct_Entry:- type: object- properties:- id:- type: string- description: |-- Required. An id assigned to this node by the parser which is unique- in a given expression tree. This is used to associate type- information and other attributes to the node.- fieldKey:- type: string- description: The field key for a message creator statement.- mapKey:- allOf:- - $ref: '#/components/schemas/Expr'- description: The key expression for a map creation statement.- value:- allOf:- - $ref: '#/components/schemas/Expr'- description: |-- Required. The value assigned to the key.-- If the optional_entry field is true, the expression must resolve to an- optional-typed value. If the optional value is present, the key will be- set; however, if the optional value is absent, the key will be unset.- optionalEntry:- type: boolean- description: Whether the key-value pair is optional.- description: Represents an entry.DataClassificationConfig_DataClassification:type: objectproperties:@@ -9854,223 +9767,59 @@ components:Expr:type: objectproperties:- id:+ expression:type: stringdescription: |-- Required. An id assigned to this node by the parser which is unique in a- given expression tree. This is used to associate type information and other- attributes to a node in the parse tree.- constExpr:- allOf:- - $ref: '#/components/schemas/Constant'- description: A literal expression.- identExpr:- allOf:- - $ref: '#/components/schemas/Expr_Ident'- description: An identifier expression.- selectExpr:- allOf:- - $ref: '#/components/schemas/Expr_Select'- description: A field selection expression, e.g. `request.auth`.- callExpr:- allOf:- - $ref: '#/components/schemas/Expr_Call'- description: A call expression, including calls to predefined functions and operators.- listExpr:- allOf:- - $ref: '#/components/schemas/Expr_CreateList'- description: A list creation expression.- structExpr:- allOf:- - $ref: '#/components/schemas/Expr_CreateStruct'- description: A map or message creation expression.- comprehensionExpr:- allOf:- - $ref: '#/components/schemas/Expr_Comprehension'- description: A comprehension expression.- description: |-- An abstract representation of a common expression.-- Expressions are abstractly represented as a collection of identifiers,- select statements, function calls, literals, and comprehensions. All- operators with the exception of the '.' operator are modelled as function- calls. This makes it easy to represent new operators into the existing AST.-- All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at- type-check for an expression to be valid. A reference may either be a bare- identifier `name` or a qualified identifier `google.api.name`. References- may either refer to a value or a function declaration.-- For example, the expression `google.api.name.startsWith('expr')` references- the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and- the function declaration `startsWith`.- Expr_Call:- type: object- properties:- target:- allOf:- - $ref: '#/components/schemas/Expr'- description: |-- The target of an method call-style expression. For example, `x` in- `x.f()`.- function:- type: string- description: Required. The name of the function or method being called.- args:- type: array- items:- $ref: '#/components/schemas/Expr'- description: The arguments.- description: |-- A call expression, including calls to predefined functions and operators.-- For example, `value == 10`, `size(map_value)`.- Expr_Comprehension:- type: object- properties:- iterVar:- type: string- description: The name of the iteration variable.- iterRange:- allOf:- - $ref: '#/components/schemas/Expr'- description: The range over which var iterates.- accuVar:+ Textual representation of an expression in Common Expression Language+ syntax.+ title:type: string- description: The name of the variable used for accumulation of the result.- accuInit:- allOf:- - $ref: '#/components/schemas/Expr'- description: The initial value of the accumulator.- loopCondition:- allOf:- - $ref: '#/components/schemas/Expr'description: |-- An expression which can contain iter_var and accu_var.-- Returns false when the result has been computed and may be used as- a hint to short-circuit the remainder of the comprehension.- loopStep:- allOf:- - $ref: '#/components/schemas/Expr'+ Optional. Title for the expression, i.e. a short string describing+ its purpose. This can be used e.g. in UIs which allow to enter the+ expression.+ description:+ type: stringdescription: |-- An expression which can contain iter_var and accu_var.-- Computes the next value of accu_var.- result:- allOf:- - $ref: '#/components/schemas/Expr'+ Optional. Description of the expression. This is a longer text which+ describes the expression, e.g. when hovered over it in a UI.+ location:+ type: stringdescription: |-- An expression which can contain accu_var.-- Computes the result.+ Optional. String indicating the location of the expression for error+ reporting, e.g. a file name and a position in the file.description: |-- A comprehension expression applied to a list or map.+ Represents a textual expression in the Common Expression Language (CEL)+ syntax. CEL is a C-like expression language. The syntax and semantics of CEL+ are documented at https://github.com/google/cel-spec.- Comprehensions are not part of the core syntax, but enabled with macros.- A macro matches a specific call signature within a parsed AST and replaces- the call with an alternate AST block. Macro expansion happens at parse- time.+ Example (Comparison):- The following macros are supported within CEL:+ title: "Summary size limit"+ description: "Determines if a summary is less than 100 chars"+ expression: "document.summary.size() < 100"- Aggregate type macros may be applied to all elements in a list or all keys- in a map:+ Example (Equality):- * `all`, `exists`, `exists_one` - test a predicate expression against- the inputs and return `true` if the predicate is satisfied for all,- any, or only one value `list.all(x, x < 10)`.- * `filter` - test a predicate expression against the inputs and return- the subset of elements which satisfy the predicate:- `payments.filter(p, p > 1000)`.- * `map` - apply an expression to all elements in the input and return the- output aggregate type: `[1, 2, 3].map(i, i * i)`.+ title: "Requestor is owner"+ description: "Determines if requestor is the document owner"+ expression: "document.owner == request.auth.claims.email"- The `has(m.x)` macro tests whether the property `x` is present in struct- `m`. The semantics of this macro depend on the type of `m`. For proto2- messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the- macro tests whether the property is set to its default. For map and struct- types, the macro tests whether the property `x` is defined on `m`.- Expr_CreateList:- type: object- properties:- elements:- type: array- items:- $ref: '#/components/schemas/Expr'- description: The elements part of the list.- optionalIndices:- type: array- items:- type: integer- format: int32- description: |-- The indices within the elements list which are marked as optional- elements.+ Example (Logic):- When an optional-typed value is present, the value it contains- is included in the list. If the optional-typed value is absent, the list- element is omitted from the CreateList result.- description: |-- A list creation expression.+ title: "Public documents"+ description: "Determine whether the document should be publicly visible"+ expression: "document.type != 'private' && document.type != 'internal'"- Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.- `dyn([1, 'hello', 2.0])`- Expr_CreateStruct:- type: object- properties:- messageName:- type: string- description: |-- The type name of the message to be created, empty when creating map- literals.- entries:- type: array- items:- $ref: '#/components/schemas/CreateStruct_Entry'- description: The entries in the creation expression.- description: |-- A map or message creation expression.+ Example (Data Manipulation):- Maps are constructed as `{'key_name': 'value'}`. Message construction is- similar, but prefixed with a type name and composed of field ids:- `types.MyType{field_id: 'value'}`.- Expr_Ident:- type: object- properties:- name:- type: string- description: |-- Required. Holds a single, unqualified identifier, possibly preceded by a- '.'.-- Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.- description: An identifier expression. e.g. `request`.- Expr_Select:- type: object- properties:- operand:- allOf:- - $ref: '#/components/schemas/Expr'- description: |-- Required. The target of the selection expression.-- For example, in the select expression `request.auth`, the `request`- portion of the expression is the `operand`.- field:- type: string- description: |-- Required. The name of the field to select.+ title: "Notification string"+ description: "Create a notification string with a timestamp."+ expression: "'New message received at ' + string(document.create_time)"- For example, in the select expression `request.auth`, the `auth` portion- of the expression would be the `field`.- testOnly:- type: boolean- description: |-- Whether the select is to be interpreted as a field presence test.-- This results from the macro `has(request.auth)`.- description: A field selection expression. e.g. `request.auth`.+ The exact variables and functions that may be referenced within an expression+ are determined by the service that evaluates it. See the service+ documentation for additional information.ExternalApprovalSetting:type: objectproperties:@@ -10224,7 +9973,9 @@ components:type: arrayitems:$ref: '#/components/schemas/Binding'- description: Collection of binding.+ description: |-+ Collection of binding.+ A binding binds one or more project members to a single project role.IdentityProvider:type: objectproperties:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 3f3231b51b..0446019213 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -169,8 +169,6 @@- [PlanCheckRunResult.Result.Status](#bytebase-store-PlanCheckRunResult-Result-Status)- [store/policy.proto](#store_policy-proto)- - [Binding](#bytebase-store-Binding)- - [IamPolicy](#bytebase-store-IamPolicy)- [MaskData](#bytebase-store-MaskData)- [MaskingExceptionPolicy](#bytebase-store-MaskingExceptionPolicy)- [MaskingExceptionPolicy.MaskingException](#bytebase-store-MaskingExceptionPolicy-MaskingException)@@ -2685,40 +2683,6 @@ Type is the database change type.-<a name="bytebase-store-Binding"></a>--### Binding-Reference: https://cloud.google.com/pubsub/docs/reference/rpc/google.iam.v1#binding---| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| role | [string](#string) | | Role that is assigned to the list of members. Format: roles/{role} |-| members | [string](#string) | repeated | Specifies the principals requesting access for a Bytebase resource. `members` can have the following values:--* `allUsers`: A special identifier that represents anyone. * `user:{emailid}`: An email address that represents a specific Bytebase account. For example, `[email protected]`. |-| condition | [google.type.Expr](#google-type-Expr) | | The condition that is associated with this binding. If the condition evaluates to true, then this binding applies to the current request. If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. |-------<a name="bytebase-store-IamPolicy"></a>--### IamPolicy----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| bindings | [Binding](#bytebase-store-Binding) | repeated | Collection of binding. |------<a name="bytebase-store-MaskData"></a>### MaskDatadiff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 3a21411401..37398bca10 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -846,14 +846,6 @@<a href="#store%2fpolicy.proto">store/policy.proto</a><ul>- <li>- <a href="#bytebase.store.Binding"><span class="badge">M</span>Binding</a>- </li>-- <li>- <a href="#bytebase.store.IamPolicy"><span class="badge">M</span>IamPolicy</a>- </li>-<li><a href="#bytebase.store.MaskData"><span class="badge">M</span>MaskData</a></li>@@ -6995,75 +6987,6 @@ Format: instances/{instance}/databases/{database} </p></td><p></p>- <h3 id="bytebase.store.Binding">Binding</h3>- <p>Reference: https://cloud.google.com/pubsub/docs/reference/rpc/google.iam.v1#binding</p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>role</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Role that is assigned to the list of members.-Format: roles/{role} </p></td>- </tr>-- <tr>- <td>members</td>- <td><a href="#string">string</a></td>- <td>repeated</td>- <td><p>Specifies the principals requesting access for a Bytebase resource.-`members` can have the following values:--* `allUsers`: A special identifier that represents anyone.-* `user:{emailid}`: An email address that represents a specific Bytebase account. For example, `[email protected]`. </p></td>- </tr>-- <tr>- <td>condition</td>- <td><a href="#google.type.Expr">google.type.Expr</a></td>- <td></td>- <td><p>The condition that is associated with this binding.-If the condition evaluates to true, then this binding applies to the current request.-If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. </p></td>- </tr>-- </tbody>- </table>------ <h3 id="bytebase.store.IamPolicy">IamPolicy</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>bindings</td>- <td><a href="#bytebase.store.Binding">Binding</a></td>- <td>repeated</td>- <td><p>Collection of binding. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.store.MaskData">MaskData</h3><p></p>diff --git a/proto/generated-go/store/policy.pb.go b/proto/generated-go/store/policy.pb.goindex 39ca8ce17f..d0e1fb4169 100644--- a/proto/generated-go/store/policy.pb.go+++ b/proto/generated-go/store/policy.pb.go@@ -119,7 +119,7 @@ func (x MaskingExceptionPolicy_MaskingException_Action) Number() protoreflect.En// Deprecated: Use MaskingExceptionPolicy_MaskingException_Action.Descriptor instead.func (MaskingExceptionPolicy_MaskingException_Action) EnumDescriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{5, 0, 0}+ return file_store_policy_proto_rawDescGZIP(), []int{3, 0, 0}}type RolloutPolicy struct {@@ -195,128 +195,6 @@ func (x *RolloutPolicy) GetIssueRoles() []string {return nil}-type IamPolicy struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // Collection of binding.- Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`-}--func (x *IamPolicy) Reset() {- *x = IamPolicy{}- if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[1]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *IamPolicy) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*IamPolicy) ProtoMessage() {}--func (x *IamPolicy) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[1]- if protoimpl.UnsafeEnabled && x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use IamPolicy.ProtoReflect.Descriptor instead.-func (*IamPolicy) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{1}-}--func (x *IamPolicy) GetBindings() []*Binding {- if x != nil {- return x.Bindings- }- return nil-}--// Reference: https://cloud.google.com/pubsub/docs/reference/rpc/google.iam.v1#binding-type Binding struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- // Role that is assigned to the list of members.- // Format: roles/{role}- Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`- // Specifies the principals requesting access for a Bytebase resource.- // `members` can have the following values:- //- // * `allUsers`: A special identifier that represents anyone.- // * `user:{emailid}`: An email address that represents a specific Bytebase account. For example, `[email protected]`.- Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`- // The condition that is associated with this binding.- // If the condition evaluates to true, then this binding applies to the current request.- // If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.- Condition *expr.Expr `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`-}--func (x *Binding) Reset() {- *x = Binding{}- if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[2]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)- }-}--func (x *Binding) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*Binding) ProtoMessage() {}--func (x *Binding) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[2]- if protoimpl.UnsafeEnabled && x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use Binding.ProtoReflect.Descriptor instead.-func (*Binding) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{2}-}--func (x *Binding) GetRole() string {- if x != nil {- return x.Role- }- return ""-}--func (x *Binding) GetMembers() []string {- if x != nil {- return x.Members- }- return nil-}--func (x *Binding) GetCondition() *expr.Expr {- if x != nil {- return x.Condition- }- return nil-}-type MaskingPolicy struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -328,7 +206,7 @@ type MaskingPolicy struct {func (x *MaskingPolicy) Reset() {*x = MaskingPolicy{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[3]+ mi := &file_store_policy_proto_msgTypes[1]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -341,7 +219,7 @@ func (x *MaskingPolicy) String() string {func (*MaskingPolicy) ProtoMessage() {}func (x *MaskingPolicy) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[3]+ mi := &file_store_policy_proto_msgTypes[1]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -354,7 +232,7 @@ func (x *MaskingPolicy) ProtoReflect() protoreflect.Message {// Deprecated: Use MaskingPolicy.ProtoReflect.Descriptor instead.func (*MaskingPolicy) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{3}+ return file_store_policy_proto_rawDescGZIP(), []int{1}}func (x *MaskingPolicy) GetMaskData() []*MaskData {@@ -380,7 +258,7 @@ type MaskData struct {func (x *MaskData) Reset() {*x = MaskData{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[4]+ mi := &file_store_policy_proto_msgTypes[2]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -393,7 +271,7 @@ func (x *MaskData) String() string {func (*MaskData) ProtoMessage() {}func (x *MaskData) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[4]+ mi := &file_store_policy_proto_msgTypes[2]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -406,7 +284,7 @@ func (x *MaskData) ProtoReflect() protoreflect.Message {// Deprecated: Use MaskData.ProtoReflect.Descriptor instead.func (*MaskData) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{4}+ return file_store_policy_proto_rawDescGZIP(), []int{2}}func (x *MaskData) GetSchema() string {@@ -463,7 +341,7 @@ type MaskingExceptionPolicy struct {func (x *MaskingExceptionPolicy) Reset() {*x = MaskingExceptionPolicy{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[5]+ mi := &file_store_policy_proto_msgTypes[3]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -476,7 +354,7 @@ func (x *MaskingExceptionPolicy) String() string {func (*MaskingExceptionPolicy) ProtoMessage() {}func (x *MaskingExceptionPolicy) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[5]+ mi := &file_store_policy_proto_msgTypes[3]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -489,7 +367,7 @@ func (x *MaskingExceptionPolicy) ProtoReflect() protoreflect.Message {// Deprecated: Use MaskingExceptionPolicy.ProtoReflect.Descriptor instead.func (*MaskingExceptionPolicy) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{5}+ return file_store_policy_proto_rawDescGZIP(), []int{3}}func (x *MaskingExceptionPolicy) GetMaskingExceptions() []*MaskingExceptionPolicy_MaskingException {@@ -510,7 +388,7 @@ type MaskingRulePolicy struct {func (x *MaskingRulePolicy) Reset() {*x = MaskingRulePolicy{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[6]+ mi := &file_store_policy_proto_msgTypes[4]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -523,7 +401,7 @@ func (x *MaskingRulePolicy) String() string {func (*MaskingRulePolicy) ProtoMessage() {}func (x *MaskingRulePolicy) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[6]+ mi := &file_store_policy_proto_msgTypes[4]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -536,7 +414,7 @@ func (x *MaskingRulePolicy) ProtoReflect() protoreflect.Message {// Deprecated: Use MaskingRulePolicy.ProtoReflect.Descriptor instead.func (*MaskingRulePolicy) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{6}+ return file_store_policy_proto_rawDescGZIP(), []int{4}}func (x *MaskingRulePolicy) GetRules() []*MaskingRulePolicy_MaskingRule {@@ -558,7 +436,7 @@ type SQLReviewPolicy struct {func (x *SQLReviewPolicy) Reset() {*x = SQLReviewPolicy{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[7]+ mi := &file_store_policy_proto_msgTypes[5]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -571,7 +449,7 @@ func (x *SQLReviewPolicy) String() string {func (*SQLReviewPolicy) ProtoMessage() {}func (x *SQLReviewPolicy) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[7]+ mi := &file_store_policy_proto_msgTypes[5]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -584,7 +462,7 @@ func (x *SQLReviewPolicy) ProtoReflect() protoreflect.Message {// Deprecated: Use SQLReviewPolicy.ProtoReflect.Descriptor instead.func (*SQLReviewPolicy) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{7}+ return file_store_policy_proto_rawDescGZIP(), []int{5}}func (x *SQLReviewPolicy) GetName() string {@@ -616,7 +494,7 @@ type SQLReviewRule struct {func (x *SQLReviewRule) Reset() {*x = SQLReviewRule{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[8]+ mi := &file_store_policy_proto_msgTypes[6]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -629,7 +507,7 @@ func (x *SQLReviewRule) String() string {func (*SQLReviewRule) ProtoMessage() {}func (x *SQLReviewRule) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[8]+ mi := &file_store_policy_proto_msgTypes[6]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -642,7 +520,7 @@ func (x *SQLReviewRule) ProtoReflect() protoreflect.Message {// Deprecated: Use SQLReviewRule.ProtoReflect.Descriptor instead.func (*SQLReviewRule) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{8}+ return file_store_policy_proto_rawDescGZIP(), []int{6}}func (x *SQLReviewRule) GetType() string {@@ -700,7 +578,7 @@ type MaskingExceptionPolicy_MaskingException struct {func (x *MaskingExceptionPolicy_MaskingException) Reset() {*x = MaskingExceptionPolicy_MaskingException{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[9]+ mi := &file_store_policy_proto_msgTypes[7]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -713,7 +591,7 @@ func (x *MaskingExceptionPolicy_MaskingException) String() string {func (*MaskingExceptionPolicy_MaskingException) ProtoMessage() {}func (x *MaskingExceptionPolicy_MaskingException) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[9]+ mi := &file_store_policy_proto_msgTypes[7]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -726,7 +604,7 @@ func (x *MaskingExceptionPolicy_MaskingException) ProtoReflect() protoreflect.Me// Deprecated: Use MaskingExceptionPolicy_MaskingException.ProtoReflect.Descriptor instead.func (*MaskingExceptionPolicy_MaskingException) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{5, 0}+ return file_store_policy_proto_rawDescGZIP(), []int{3, 0}}func (x *MaskingExceptionPolicy_MaskingException) GetAction() MaskingExceptionPolicy_MaskingException_Action {@@ -771,7 +649,7 @@ type MaskingRulePolicy_MaskingRule struct {func (x *MaskingRulePolicy_MaskingRule) Reset() {*x = MaskingRulePolicy_MaskingRule{}if protoimpl.UnsafeEnabled {- mi := &file_store_policy_proto_msgTypes[10]+ mi := &file_store_policy_proto_msgTypes[8]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -784,7 +662,7 @@ func (x *MaskingRulePolicy_MaskingRule) String() string {func (*MaskingRulePolicy_MaskingRule) ProtoMessage() {}func (x *MaskingRulePolicy_MaskingRule) ProtoReflect() protoreflect.Message {- mi := &file_store_policy_proto_msgTypes[10]+ mi := &file_store_policy_proto_msgTypes[8]if protoimpl.UnsafeEnabled && x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -797,7 +675,7 @@ func (x *MaskingRulePolicy_MaskingRule) ProtoReflect() protoreflect.Message {// Deprecated: Use MaskingRulePolicy_MaskingRule.ProtoReflect.Descriptor instead.func (*MaskingRulePolicy_MaskingRule) Descriptor() ([]byte, []int) {- return file_store_policy_proto_rawDescGZIP(), []int{6, 0}+ return file_store_policy_proto_rawDescGZIP(), []int{4, 0}}func (x *MaskingRulePolicy_MaskingRule) GetId() string {@@ -839,107 +717,96 @@ var file_store_policy_proto_rawDesc = []byte{0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1f,0x0a, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20,0x03, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22,- 0x40, 0x0a, 0x09, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x33, 0x0a, 0x08,- 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,- 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,- 0x73, 0x22, 0x68, 0x0a, 0x07, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04,- 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65,- 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,- 0x09, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f,- 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72,- 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x0d, 0x4d,- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x35, 0x0a, 0x09,- 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,- 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x61, 0x73, 0x6b, 0x44,- 0x61, 0x74, 0x61, 0x22, 0x8f, 0x02, 0x0a, 0x08, 0x4d, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61,- 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c,- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16,- 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e,- 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d,- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x73,- 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x66, 0x75, 0x6c,- 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69,- 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x75,- 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,- 0x68, 0x6d, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f,- 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68,- 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x70, 0x61, 0x72, 0x74,- 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,- 0x74, 0x68, 0x6d, 0x49, 0x64, 0x22, 0xb2, 0x03, 0x0a, 0x16, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e,- 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,- 0x12, 0x66, 0x0a, 0x12, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x63, 0x65,- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x61,+ 0x46, 0x0a, 0x0d, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,+ 0x12, 0x35, 0x0a, 0x09, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d,+ 0x61, 0x73, 0x6b, 0x44, 0x61, 0x74, 0x61, 0x22, 0x8f, 0x02, 0x0a, 0x08, 0x4d, 0x61, 0x73, 0x6b,+ 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05,+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62,+ 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61,+ 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52,+ 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x39, 0x0a,+ 0x19, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c,+ 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x16, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67,+ 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x61, 0x72, 0x74,+ 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f,+ 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19,+ 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c,+ 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x22, 0xb2, 0x03, 0x0a, 0x16, 0x4d, 0x61,0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f,- 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65,- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78,- 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xaf, 0x02, 0x0a, 0x10, 0x4d, 0x61, 0x73,- 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a,- 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d,- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50,- 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63,- 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61,- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,- 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x61,- 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x6b,- 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62,- 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,- 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70,- 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,- 0x6e, 0x22, 0x37, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41,- 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,- 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0a,- 0x0a, 0x06, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x22, 0xec, 0x01, 0x0a, 0x11, 0x4d,- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,- 0x12, 0x43, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,- 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69,- 0x63, 0x79, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05,- 0x72, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e,- 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,- 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,- 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e,- 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e,- 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d,- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x73,- 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x61, 0x0a, 0x0f, 0x53, 0x51, 0x4c,- 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x12, 0x3a, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x75,- 0x6c, 0x65, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xc1, 0x01, 0x0a,- 0x0d, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12,- 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,- 0x70, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,- 0x72, 0x65, 0x2e, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65,- 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07,- 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x06,- 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,- 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,- 0x2a, 0x51, 0x0a, 0x12, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c,- 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f,- 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a,- 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e,- 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45,- 0x44, 0x10, 0x03, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,- 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x33,+ 0x6c, 0x69, 0x63, 0x79, 0x12, 0x66, 0x0a, 0x12, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f,+ 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,+ 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69,+ 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,+ 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6d, 0x61, 0x73, 0x6b, 0x69,+ 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xaf, 0x02, 0x0a,+ 0x10, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f,+ 0x6e, 0x12, 0x56, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x3e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74,+ 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e,+ 0x67, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f,+ 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61, 0x73,+ 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,+ 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c,+ 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06,+ 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65,+ 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,+ 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64,+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,+ 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,+ 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x55, 0x45, 0x52, 0x59,+ 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x22, 0xec,+ 0x01, 0x0a, 0x11, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x6f,+ 0x6c, 0x69, 0x63, 0x79, 0x12, 0x43, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65,+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75,+ 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x61,+ 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f, 0x6e,+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67,+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52,+ 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61,+ 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52,+ 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x61, 0x0a,+ 0x0f, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73,+ 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69,+ 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x72, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74,+ 0x22, 0xc1, 0x01, 0x0a, 0x0d, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x75,+ 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77,+ 0x52, 0x75, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,+ 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x65, 0x6e,+ 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6e, 0x67, 0x69,+ 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,+ 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,+ 0x6d, 0x65, 0x6e, 0x74, 0x2a, 0x51, 0x0a, 0x12, 0x53, 0x51, 0x4c, 0x52, 0x65, 0x76, 0x69, 0x65,+ 0x77, 0x52, 0x75, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45,+ 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,+ 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,+ 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53,+ 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72,+ 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -955,45 +822,41 @@ func file_store_policy_proto_rawDescGZIP() []byte {}var file_store_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 2)-var file_store_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 11)+var file_store_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 9)var file_store_policy_proto_goTypes = []interface{}{(SQLReviewRuleLevel)(0), // 0: bytebase.store.SQLReviewRuleLevel(MaskingExceptionPolicy_MaskingException_Action)(0), // 1: bytebase.store.MaskingExceptionPolicy.MaskingException.Action(*RolloutPolicy)(nil), // 2: bytebase.store.RolloutPolicy- (*IamPolicy)(nil), // 3: bytebase.store.IamPolicy- (*Binding)(nil), // 4: bytebase.store.Binding- (*MaskingPolicy)(nil), // 5: bytebase.store.MaskingPolicy- (*MaskData)(nil), // 6: bytebase.store.MaskData- (*MaskingExceptionPolicy)(nil), // 7: bytebase.store.MaskingExceptionPolicy- (*MaskingRulePolicy)(nil), // 8: bytebase.store.MaskingRulePolicy- (*SQLReviewPolicy)(nil), // 9: bytebase.store.SQLReviewPolicy- (*SQLReviewRule)(nil), // 10: bytebase.store.SQLReviewRule- (*MaskingExceptionPolicy_MaskingException)(nil), // 11: bytebase.store.MaskingExceptionPolicy.MaskingException- (*MaskingRulePolicy_MaskingRule)(nil), // 12: bytebase.store.MaskingRulePolicy.MaskingRule+ (*MaskingPolicy)(nil), // 3: bytebase.store.MaskingPolicy+ (*MaskData)(nil), // 4: bytebase.store.MaskData+ (*MaskingExceptionPolicy)(nil), // 5: bytebase.store.MaskingExceptionPolicy+ (*MaskingRulePolicy)(nil), // 6: bytebase.store.MaskingRulePolicy+ (*SQLReviewPolicy)(nil), // 7: bytebase.store.SQLReviewPolicy+ (*SQLReviewRule)(nil), // 8: bytebase.store.SQLReviewRule+ (*MaskingExceptionPolicy_MaskingException)(nil), // 9: bytebase.store.MaskingExceptionPolicy.MaskingException+ (*MaskingRulePolicy_MaskingRule)(nil), // 10: bytebase.store.MaskingRulePolicy.MaskingRule+ (MaskingLevel)(0), // 11: bytebase.store.MaskingLevel+ (Engine)(0), // 12: bytebase.store.Engine(*expr.Expr)(nil), // 13: google.type.Expr- (MaskingLevel)(0), // 14: bytebase.store.MaskingLevel- (Engine)(0), // 15: bytebase.store.Engine}var file_store_policy_proto_depIdxs = []int32{- 4, // 0: bytebase.store.IamPolicy.bindings:type_name -> bytebase.store.Binding- 13, // 1: bytebase.store.Binding.condition:type_name -> google.type.Expr- 6, // 2: bytebase.store.MaskingPolicy.mask_data:type_name -> bytebase.store.MaskData- 14, // 3: bytebase.store.MaskData.masking_level:type_name -> bytebase.store.MaskingLevel- 11, // 4: bytebase.store.MaskingExceptionPolicy.masking_exceptions:type_name -> bytebase.store.MaskingExceptionPolicy.MaskingException- 12, // 5: bytebase.store.MaskingRulePolicy.rules:type_name -> bytebase.store.MaskingRulePolicy.MaskingRule- 10, // 6: bytebase.store.SQLReviewPolicy.rule_list:type_name -> bytebase.store.SQLReviewRule- 0, // 7: bytebase.store.SQLReviewRule.level:type_name -> bytebase.store.SQLReviewRuleLevel- 15, // 8: bytebase.store.SQLReviewRule.engine:type_name -> bytebase.store.Engine- 1, // 9: bytebase.store.MaskingExceptionPolicy.MaskingException.action:type_name -> bytebase.store.MaskingExceptionPolicy.MaskingException.Action- 14, // 10: bytebase.store.MaskingExceptionPolicy.MaskingException.masking_level:type_name -> bytebase.store.MaskingLevel- 13, // 11: bytebase.store.MaskingExceptionPolicy.MaskingException.condition:type_name -> google.type.Expr- 13, // 12: bytebase.store.MaskingRulePolicy.MaskingRule.condition:type_name -> google.type.Expr- 14, // 13: bytebase.store.MaskingRulePolicy.MaskingRule.masking_level:type_name -> bytebase.store.MaskingLevel- 14, // [14:14] is the sub-list for method output_type- 14, // [14:14] is the sub-list for method input_type- 14, // [14:14] is the sub-list for extension type_name- 14, // [14:14] is the sub-list for extension extendee- 0, // [0:14] is the sub-list for field type_name+ 4, // 0: bytebase.store.MaskingPolicy.mask_data:type_name -> bytebase.store.MaskData+ 11, // 1: bytebase.store.MaskData.masking_level:type_name -> bytebase.store.MaskingLevel+ 9, // 2: bytebase.store.MaskingExceptionPolicy.masking_exceptions:type_name -> bytebase.store.MaskingExceptionPolicy.MaskingException+ 10, // 3: bytebase.store.MaskingRulePolicy.rules:type_name -> bytebase.store.MaskingRulePolicy.MaskingRule+ 8, // 4: bytebase.store.SQLReviewPolicy.rule_list:type_name -> bytebase.store.SQLReviewRule+ 0, // 5: bytebase.store.SQLReviewRule.level:type_name -> bytebase.store.SQLReviewRuleLevel+ 12, // 6: bytebase.store.SQLReviewRule.engine:type_name -> bytebase.store.Engine+ 1, // 7: bytebase.store.MaskingExceptionPolicy.MaskingException.action:type_name -> bytebase.store.MaskingExceptionPolicy.MaskingException.Action+ 11, // 8: bytebase.store.MaskingExceptionPolicy.MaskingException.masking_level:type_name -> bytebase.store.MaskingLevel+ 13, // 9: bytebase.store.MaskingExceptionPolicy.MaskingException.condition:type_name -> google.type.Expr+ 13, // 10: bytebase.store.MaskingRulePolicy.MaskingRule.condition:type_name -> google.type.Expr+ 11, // 11: bytebase.store.MaskingRulePolicy.MaskingRule.masking_level:type_name -> bytebase.store.MaskingLevel+ 12, // [12:12] is the sub-list for method output_type+ 12, // [12:12] is the sub-list for method input_type+ 12, // [12:12] is the sub-list for extension type_name+ 12, // [12:12] is the sub-list for extension extendee+ 0, // [0:12] is the sub-list for field type_name}func init() { file_store_policy_proto_init() }@@ -1016,30 +879,6 @@ func file_store_policy_proto_init() {}}file_store_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*IamPolicy); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_store_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {- switch v := v.(*Binding); i {- case 0:- return &v.state- case 1:- return &v.sizeCache- case 2:- return &v.unknownFields- default:- return nil- }- }- file_store_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*MaskingPolicy); i {case 0:return &v.state@@ -1051,7 +890,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*MaskData); i {case 0:return &v.state@@ -1063,7 +902,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*MaskingExceptionPolicy); i {case 0:return &v.state@@ -1075,7 +914,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*MaskingRulePolicy); i {case 0:return &v.state@@ -1087,7 +926,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*SQLReviewPolicy); i {case 0:return &v.state@@ -1099,7 +938,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*SQLReviewRule); i {case 0:return &v.state@@ -1111,7 +950,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*MaskingExceptionPolicy_MaskingException); i {case 0:return &v.state@@ -1123,7 +962,7 @@ func file_store_policy_proto_init() {return nil}}- file_store_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {+ file_store_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {switch v := v.(*MaskingRulePolicy_MaskingRule); i {case 0:return &v.state@@ -1142,7 +981,7 @@ func file_store_policy_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_store_policy_proto_rawDesc,NumEnums: 2,- NumMessages: 11,+ NumMessages: 9,NumExtensions: 0,NumServices: 0,},diff --git a/proto/store/policy.proto b/proto/store/policy.protoindex c3fb2c8931..08cc7ecc9d 100644--- a/proto/store/policy.proto+++ b/proto/store/policy.proto@@ -16,30 +16,6 @@ message RolloutPolicy {repeated string issue_roles = 4;}-message IamPolicy {- // Collection of binding.- repeated Binding bindings = 1;-}--// Reference: https://cloud.google.com/pubsub/docs/reference/rpc/google.iam.v1#binding-message Binding {- // Role that is assigned to the list of members.- // Format: roles/{role}- string role = 1;-- // Specifies the principals requesting access for a Bytebase resource.- // `members` can have the following values:- //- // * `allUsers`: A special identifier that represents anyone.- // * `user:{emailid}`: An email address that represents a specific Bytebase account. For example, `[email protected]`.- repeated string members = 2;-- // The condition that is associated with this binding.- // If the condition evaluates to true, then this binding applies to the current request.- // If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.- google.type.Expr condition = 3;-}-message MaskingPolicy {repeated MaskData mask_data = 1;}