Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: update app im setting (#12073)

p0nyea7c19062a08
diff --git a/backend/api/v1/setting_service.go b/backend/api/v1/setting_service.go
index 93636bf799..bec5bb9f3d 100644
--- a/backend/api/v1/setting_service.go
+++ b/backend/api/v1/setting_service.go
@@ -323,37 +323,8 @@ func (s *SettingService) UpdateSetting(ctx context.Context, request *v1pb.Update
}
storeSettingValue = string(bytes)
case api.SettingAppIM:
- settingValue := request.Setting.Value.GetAppImSettingValue()
- imType, err := convertToIMType(settingValue.ImType)
- if err != nil {
- return nil, err
- }
- payload := &api.SettingAppIMValue{
- IMType: imType,
- AppID: settingValue.AppId,
- AppSecret: settingValue.AppSecret,
- ExternalApproval: api.ExternalApproval{
- Enabled: settingValue.ExternalApproval.Enabled,
- ApprovalDefinitionID: settingValue.ExternalApproval.ApprovalDefinitionId,
- },
- }
- if payload.IMType != api.IMTypeFeishu {
- return nil, status.Errorf(codes.InvalidArgument, fmt.Sprintf("unknown IM Type %s", payload.IMType))
- }
- if payload.ExternalApproval.Enabled {
- if err := s.licenseService.IsFeatureEnabled(api.FeatureIMApproval); err != nil {
- return nil, status.Errorf(codes.PermissionDenied, err.Error())
- }
- if payload.AppID == "" || payload.AppSecret == "" {
- return nil, status.Errorf(codes.InvalidArgument, "application ID and secret cannot be empty")
- }
- }
-
- s, err := json.Marshal(payload)
- if err != nil {
- return nil, status.Errorf(codes.Internal, "failed to marshal approval setting: %v", err)
- }
- storeSettingValue = string(s)
+ // TODO(p0ny): impl
+ return nil, status.Errorf(codes.Unimplemented, "not implemented")
case api.SettingWorkspaceExternalApproval:
oldSetting, err := s.store.GetWorkspaceExternalApprovalSetting(ctx)
if err != nil {
@@ -560,27 +531,12 @@ func (s *SettingService) convertToSettingMessage(ctx context.Context, setting *s
},
})
case api.SettingAppIM:
- apiValue := new(api.SettingAppIMValue)
- stringValue := setting.Value
- if stringValue == "" {
- stringValue = "{}"
- }
- if err := json.Unmarshal([]byte(stringValue), apiValue); err != nil {
- return nil, status.Errorf(codes.Internal, "failed to unmarshal setting value for %s with error: %v", setting.Name, err)
- }
+ // TODO(p0ny): impl
return &v1pb.Setting{
Name: settingName,
Value: &v1pb.Value{
Value: &v1pb.Value_AppImSettingValue{
- AppImSettingValue: &v1pb.AppIMSetting{
- ImType: convertV1IMType(apiValue.IMType),
- AppId: apiValue.AppID,
- AppSecret: apiValue.AppSecret,
- ExternalApproval: &v1pb.AppIMSetting_ExternalApproval{
- Enabled: apiValue.ExternalApproval.Enabled,
- ApprovalDefinitionId: apiValue.ExternalApproval.ApprovalDefinitionID,
- },
- },
+ AppImSettingValue: &v1pb.AppIMSetting{},
},
},
}, nil
@@ -809,26 +765,6 @@ func validateTableMetadata(ctx context.Context, engine v1pb.Engine, tableMetadat
return nil
}
-func convertToIMType(imType v1pb.AppIMSetting_IMType) (api.IMType, error) {
- var resp api.IMType
- switch imType {
- case v1pb.AppIMSetting_FEISHU:
- resp = api.IMTypeFeishu
- default:
- return resp, status.Errorf(codes.InvalidArgument, "unknown im type %v", imType.String())
- }
- return resp, nil
-}
-
-func convertV1IMType(imType api.IMType) v1pb.AppIMSetting_IMType {
- switch imType {
- case api.IMTypeFeishu:
- return v1pb.AppIMSetting_FEISHU
- default:
- return v1pb.AppIMSetting_IM_TYPE_UNSPECIFIED
- }
-}
-
func settingInWhitelist(name api.SettingName) bool {
for _, whitelist := range whitelistSettings {
if name == whitelist {
diff --git a/backend/legacyapi/setting.go b/backend/legacyapi/setting.go
index 5805164459..56ec3481d4 100644
--- a/backend/legacyapi/setting.go
+++ b/backend/legacyapi/setting.go
@@ -46,26 +46,6 @@ const (
SettingMaskingAlgorithm SettingName = "bb.workspace.masking-algorithm"
)
-// IMType is the type of IM.
-type IMType string
-
-// IMTypeFeishu is IM feishu.
-const IMTypeFeishu IMType = "im.feishu"
-
-// ExternalApproval is the external approval setting for app IM.
-type ExternalApproval struct {
- Enabled bool `json:"enabled"`
- ApprovalDefinitionID string `json:"approvalDefinitionID"`
-}
-
-// SettingAppIMValue is the setting value of SettingAppIM type setting.
-type SettingAppIMValue struct {
- IMType IMType `json:"imType"`
- AppID string `json:"appId"`
- AppSecret string `json:"appSecret"`
- ExternalApproval ExternalApproval `json:"externalApproval"`
-}
-
// SettingWorkspaceMailDeliveryValue is the setting value of SettingMailDelivery type setting.
type SettingWorkspaceMailDeliveryValue struct {
SMTPServerHost string `json:"smtpServerHost"`
diff --git a/backend/store/setting.go b/backend/store/setting.go
index b4e4a08d13..e934b10b61 100644
--- a/backend/store/setting.go
+++ b/backend/store/setting.go
@@ -3,7 +3,6 @@ package store
import (
"context"
"database/sql"
- "encoding/json"
"fmt"
"strings"
"time"
@@ -93,26 +92,6 @@ func (s *Store) GetWorkspaceApprovalSetting(ctx context.Context) (*storepb.Works
return payload, nil
}
-// GetAppIMApprovalSetting gets the IM approval setting.
-func (s *Store) GetAppIMApprovalSetting(ctx context.Context) (*api.SettingAppIMValue, error) {
- settingName := api.SettingAppIM
- setting, err := s.GetSettingV2(ctx, &FindSettingMessage{Name: &settingName})
- if err != nil {
- return nil, errors.Wrapf(err, "failed to get setting %s", settingName)
- }
- if setting == nil {
- return nil, errors.Errorf("cannot find setting %v", settingName)
- }
- if setting.Value == "" {
- return nil, nil
- }
- var value api.SettingAppIMValue
- if err := json.Unmarshal([]byte(setting.Value), &value); err != nil {
- return nil, err
- }
- return &value, nil
-}
-
// GetWorkspaceExternalApprovalSetting gets the workspace external approval setting.
func (s *Store) GetWorkspaceExternalApprovalSetting(ctx context.Context) (*storepb.ExternalApprovalSetting, error) {
settingName := api.SettingWorkspaceExternalApproval
diff --git a/frontend/src/types/proto/google/protobuf/descriptor.ts b/frontend/src/types/proto/google/protobuf/descriptor.ts
index 3a50d70585..3185d3cbac 100644
--- a/frontend/src/types/proto/google/protobuf/descriptor.ts
+++ b/frontend/src/types/proto/google/protobuf/descriptor.ts
@@ -8,11 +8,6 @@ export const protobufPackage = "google.protobuf";
export enum Edition {
/** EDITION_UNKNOWN - A placeholder for an unknown edition value. */
EDITION_UNKNOWN = "EDITION_UNKNOWN",
- /**
- * EDITION_LEGACY - A placeholder edition for specifying default behaviors *before* a feature
- * was first introduced. This is effectively an "infinite past".
- */
- EDITION_LEGACY = "EDITION_LEGACY",
/**
* EDITION_PROTO2 - Legacy syntax "editions". These pre-date editions, but behave much like
* distinct editions. These can't be used to specify the edition of proto
@@ -27,7 +22,6 @@ export enum Edition {
* comparison.
*/
EDITION_2023 = "EDITION_2023",
- EDITION_2024 = "EDITION_2024",
/**
* EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
* used or relyed on outside of tests.
@@ -37,12 +31,6 @@ export enum Edition {
EDITION_99997_TEST_ONLY = "EDITION_99997_TEST_ONLY",
EDITION_99998_TEST_ONLY = "EDITION_99998_TEST_ONLY",
EDITION_99999_TEST_ONLY = "EDITION_99999_TEST_ONLY",
- /**
- * EDITION_MAX - Placeholder for specifying unbounded edition support. This should only
- * ever be used by plugins that can expect to never require any changes to
- * support a new edition.
- */
- EDITION_MAX = "EDITION_MAX",
UNRECOGNIZED = "UNRECOGNIZED",
}
@@ -51,9 +39,6 @@ export function editionFromJSON(object: any): Edition {
case 0:
case "EDITION_UNKNOWN":
return Edition.EDITION_UNKNOWN;
- case 900:
- case "EDITION_LEGACY":
- return Edition.EDITION_LEGACY;
case 998:
case "EDITION_PROTO2":
return Edition.EDITION_PROTO2;
@@ -63,9 +48,6 @@ export function editionFromJSON(object: any): Edition {
case 1000:
case "EDITION_2023":
return Edition.EDITION_2023;
- case 1001:
- case "EDITION_2024":
- return Edition.EDITION_2024;
case 1:
case "EDITION_1_TEST_ONLY":
return Edition.EDITION_1_TEST_ONLY;
@@ -81,9 +63,6 @@ export function editionFromJSON(object: any): Edition {
case 99999:
case "EDITION_99999_TEST_ONLY":
return Edition.EDITION_99999_TEST_ONLY;
- case 2147483647:
- case "EDITION_MAX":
- return Edition.EDITION_MAX;
case -1:
case "UNRECOGNIZED":
default:
@@ -95,16 +74,12 @@ export function editionToJSON(object: Edition): string {
switch (object) {
case Edition.EDITION_UNKNOWN:
return "EDITION_UNKNOWN";
- case Edition.EDITION_LEGACY:
- return "EDITION_LEGACY";
case Edition.EDITION_PROTO2:
return "EDITION_PROTO2";
case Edition.EDITION_PROTO3:
return "EDITION_PROTO3";
case Edition.EDITION_2023:
return "EDITION_2023";
- case Edition.EDITION_2024:
- return "EDITION_2024";
case Edition.EDITION_1_TEST_ONLY:
return "EDITION_1_TEST_ONLY";
case Edition.EDITION_2_TEST_ONLY:
@@ -115,8 +90,6 @@ export function editionToJSON(object: Edition): string {
return "EDITION_99998_TEST_ONLY";
case Edition.EDITION_99999_TEST_ONLY:
return "EDITION_99999_TEST_ONLY";
- case Edition.EDITION_MAX:
- return "EDITION_MAX";
case Edition.UNRECOGNIZED:
default:
return "UNRECOGNIZED";
@@ -127,16 +100,12 @@ export function editionToNumber(object: Edition): number {
switch (object) {
case Edition.EDITION_UNKNOWN:
return 0;
- case Edition.EDITION_LEGACY:
- return 900;
case Edition.EDITION_PROTO2:
return 998;
case Edition.EDITION_PROTO3:
return 999;
case Edition.EDITION_2023:
return 1000;
- case Edition.EDITION_2024:
- return 1001;
case Edition.EDITION_1_TEST_ONLY:
return 1;
case Edition.EDITION_2_TEST_ONLY:
@@ -147,8 +116,6 @@ export function editionToNumber(object: Edition): number {
return 99998;
case Edition.EDITION_99999_TEST_ONLY:
return 99999;
- case Edition.EDITION_MAX:
- return 2147483647;
case Edition.UNRECOGNIZED:
default:
return -1;
@@ -390,12 +357,12 @@ export interface FieldDescriptorProto {
* If true, this is a proto3 "optional". When a proto3 field is optional, it
* tracks presence regardless of field type.
*
- * When proto3_optional is true, this field must belong to a oneof to signal
- * to old proto3 clients that presence is tracked for this field. This oneof
- * is known as a "synthetic" oneof, and this field must be its sole member
- * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
- * exist in the descriptor only, and do not generate any API. Synthetic oneofs
- * must be ordered after all "real" oneofs.
+ * When proto3_optional is true, this field must be belong to a oneof to
+ * signal to old proto3 clients that presence is tracked for this field. This
+ * oneof is known as a "synthetic" oneof, and this field must be its sole
+ * member (each proto3 optional field gets its own synthetic oneof). Synthetic
+ * oneofs exist in the descriptor only, and do not generate any API. Synthetic
+ * oneofs must be ordered after all "real" oneofs.
*
* For message fields, proto3_optional doesn't create any semantic change,
* since non-repeated message fields always track presence. However it still
@@ -772,16 +739,12 @@ export interface FileOptions {
*/
javaGenerateEqualsAndHash: boolean;
/**
- * A proto2 file can set this to true to opt in to UTF-8 checking for Java,
- * which will throw an exception if invalid UTF-8 is parsed from the wire or
- * assigned to a string field.
- *
- * TODO: clarify exactly what kinds of field types this option
- * applies to, and update these docs accordingly.
- *
- * Proto3 files already perform these checks. Setting the option explicitly to
- * false has no effect: it cannot be used to opt proto3 files out of UTF-8
- * checks.
+ * If set true, then the Java2 code generator will generate code that
+ * throws an exception whenever an attempt is made to assign a non-UTF-8
+ * byte sequence to a string field.
+ * Message reflection will do the same.
+ * However, an extension field still accepts non-UTF-8 byte sequences.
+ * This option has no effect on when used with the lite runtime.
*/
javaStringCheckUtf8: boolean;
optimizeFor: FileOptions_OptimizeMode;
@@ -808,6 +771,7 @@ export interface FileOptions {
ccGenericServices: boolean;
javaGenericServices: boolean;
pyGenericServices: boolean;
+ phpGenericServices: boolean;
/**
* Is this file deprecated?
* Depending on the target platform, this can emit Deprecated annotations
@@ -961,6 +925,10 @@ export interface MessageOptions {
*/
deprecated: boolean;
/**
+ * NOTE: Do not set the option in .proto files. Always use the maps syntax
+ * instead. The option should only be implicitly set by the proto compiler
+ * parser.
+ *
* Whether the message is an automatically generated map entry type for the
* maps field.
*
@@ -978,10 +946,6 @@ export interface MessageOptions {
* use a native map in the target language to hold the keys and values.
* The reflection APIs in such implementations still need to work as
* if the field is a repeated message field.
- *
- * NOTE: Do not set the option in .proto files. Always use the maps syntax
- * instead. The option should only be implicitly set by the proto compiler
- * parser.
*/
mapEntry: boolean;
/**
@@ -1059,11 +1023,19 @@ export interface FieldOptions {
* call from multiple threads concurrently, while non-const methods continue
* to require exclusive access.
*
- * Note that lazy message fields are still eagerly verified to check
- * ill-formed wireformat or missing required fields. Calling IsInitialized()
- * on the outer message would fail if the inner message has missing required
- * fields. Failed verification would result in parsing failure (except when
- * uninitialized messages are acceptable).
+ * Note that implementations may choose not to check required fields within
+ * a lazy sub-message. That is, calling IsInitialized() on the outer message
+ * may return true even if the inner message has missing required fields.
+ * This is necessary because otherwise the inner message would have to be
+ * parsed in order to perform the check, defeating the purpose of lazy
+ * parsing. An implementation which chooses not to check required fields
+ * must be consistent about it. That is, for any particular sub-message, the
+ * implementation must either *always* check its required fields, or *never*
+ * check its required fields, regardless of whether or not the message has
+ * been parsed.
+ *
+ * As of May 2022, lazy verifies the contents of the byte stream during
+ * parsing. An invalid byte stream will cause the overall parsing to fail.
*/
lazy: boolean;
/**
@@ -1090,9 +1062,8 @@ export interface FieldOptions {
targets: FieldOptions_OptionTargetType[];
editionDefaults: FieldOptions_EditionDefault[];
/** Any features defined in the specific edition. */
- features: FeatureSet | undefined;
- featureSupport:
- | FieldOptions_FeatureSupport
+ features:
+ | FeatureSet
| undefined;
/** The parser stores options it doesn't recognize here. See above. */
uninterpretedOption: UninterpretedOption[];
@@ -1395,32 +1366,6 @@ export interface FieldOptions_EditionDefault {
value: string;
}
-/** Information about the support window of a feature. */
-export interface FieldOptions_FeatureSupport {
- /**
- * The edition that this feature was first available in. In editions
- * earlier than this one, the default assigned to EDITION_LEGACY will be
- * used, and proto files will not be able to override it.
- */
- editionIntroduced: Edition;
- /**
- * The edition this feature becomes deprecated in. Using this after this
- * edition may trigger warnings.
- */
- editionDeprecated: Edition;
- /**
- * The deprecation warning text if this feature is used after the edition it
- * was marked deprecated in.
- */
- deprecationWarning: string;
- /**
- * The edition this feature is no longer available in. In editions after
- * this one, the last default assigned will be used, and proto files will
- * not be able to override it.
- */
- editionRemoved: Edition;
-}
-
export interface OneofOptions {
/** Any features defined in the specific edition. */
features:
@@ -1797,8 +1742,8 @@ export function featureSet_RepeatedFieldEncodingToNumber(object: FeatureSet_Repe
export enum FeatureSet_Utf8Validation {
UTF8_VALIDATION_UNKNOWN = "UTF8_VALIDATION_UNKNOWN",
- VERIFY = "VERIFY",
NONE = "NONE",
+ VERIFY = "VERIFY",
UNRECOGNIZED = "UNRECOGNIZED",
}
@@ -1807,12 +1752,12 @@ export function featureSet_Utf8ValidationFromJSON(object: any): FeatureSet_Utf8V
case 0:
case "UTF8_VALIDATION_UNKNOWN":
return FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN;
+ case 1:
+ case "NONE":
+ return FeatureSet_Utf8Validation.NONE;
case 2:
case "VERIFY":
return FeatureSet_Utf8Validation.VERIFY;
- case 3:
- case "NONE":
- return FeatureSet_Utf8Validation.NONE;
case -1:
case "UNRECOGNIZED":
default:
@@ -1824,10 +1769,10 @@ export function featureSet_Utf8ValidationToJSON(object: FeatureSet_Utf8Validatio
switch (object) {
case FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN:
return "UTF8_VALIDATION_UNKNOWN";
- case FeatureSet_Utf8Validation.VERIFY:
- return "VERIFY";
case FeatureSet_Utf8Validation.NONE:
return "NONE";
+ case FeatureSet_Utf8Validation.VERIFY:
+ return "VERIFY";
case FeatureSet_Utf8Validation.UNRECOGNIZED:
default:
return "UNRECOGNIZED";
@@ -1838,10 +1783,10 @@ export function featureSet_Utf8ValidationToNumber(object: FeatureSet_Utf8Validat
switch (object) {
case FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN:
return 0;
+ case FeatureSet_Utf8Validation.NONE:
+ return 1;
case FeatureSet_Utf8Validation.VERIFY:
return 2;
- case FeatureSet_Utf8Validation.NONE:
- return 3;
case FeatureSet_Utf8Validation.UNRECOGNIZED:
default:
return -1;
@@ -1982,12 +1927,7 @@ export interface FeatureSetDefaults {
*/
export interface FeatureSetDefaults_FeatureSetEditionDefault {
edition: Edition;
- /** Defaults of features that can be overridden in this edition. */
- overridableFeatures:
- | FeatureSet
- | undefined;
- /** Defaults of features that can't be overridden in this edition. */
- fixedFeatures: FeatureSet | undefined;
+ features: FeatureSet | undefined;
}
/**
@@ -2049,7 +1989,7 @@ export interface SourceCodeInfo_Location {
* location.
*
* Each element is a field number or an index. They form a path from
- * the root FileDescriptorProto to the place where the definition appears.
+ * the root FileDescriptorProto to the place where the definition occurs.
* For example, this path:
* [ 4, 3, 2, 7, 1 ]
* refers to:
@@ -4047,6 +3987,7 @@ function createBaseFileOptions(): FileOptions {
ccGenericServices: false,
javaGenericServices: false,
pyGenericServices: false,
+ phpGenericServices: false,
deprecated: false,
ccEnableArenas: false,
objcClassPrefix: "",
@@ -4093,6 +4034,9 @@ export const FileOptions = {
if (message.pyGenericServices === true) {
writer.uint32(144).bool(message.pyGenericServices);
}
+ if (message.phpGenericServices === true) {
+ writer.uint32(336).bool(message.phpGenericServices);
+ }
if (message.deprecated === true) {
writer.uint32(184).bool(message.deprecated);
}
@@ -4206,6 +4150,13 @@ export const FileOptions = {
message.pyGenericServices = reader.bool();
continue;
+ case 42:
+ if (tag !== 336) {
+ break;
+ }
+
+ message.phpGenericServices = reader.bool();
+ continue;
case 23:
if (tag !== 184) {
break;
@@ -4308,6 +4259,7 @@ export const FileOptions = {
ccGenericServices: isSet(object.ccGenericServices) ? globalThis.Boolean(object.ccGenericServices) : false,
javaGenericServices: isSet(object.javaGenericServices) ? globalThis.Boolean(object.javaGenericServices) : false,
pyGenericServices: isSet(object.pyGenericServices) ? globalThis.Boolean(object.pyGenericServices) : false,
+ phpGenericServices: isSet(object.phpGenericServices) ? globalThis.Boolean(object.phpGenericServices) : false,
deprecated: isSet(object.deprecated) ? globalThis.Boolean(object.deprecated) : false,
ccEnableArenas: isSet(object.ccEnableArenas) ? globalThis.Boolean(object.ccEnableArenas) : false,
objcClassPrefix: isSet(object.objcClassPrefix) ? globalThis.String(object.objcClassPrefix) : "",
@@ -4356,6 +4308,9 @@ export const FileOptions = {
if (message.pyGenericServices === true) {
obj.pyGenericServices = message.pyGenericServices;
}
+ if (message.phpGenericServices === true) {
+ obj.phpGenericServices = message.phpGenericServices;
+ }
if (message.deprecated === true) {
obj.deprecated = message.deprecated;
}
@@ -4407,6 +4362,7 @@ export const FileOptions = {
message.ccGenericServices = object.ccGenericServices ?? false;
message.javaGenericServices = object.javaGenericServices ?? false;
message.pyGenericServices = object.pyGenericServices ?? false;
+ message.phpGenericServices = object.phpGenericServices ?? false;
message.deprecated = object.deprecated ?? false;
message.ccEnableArenas = object.ccEnableArenas ?? false;
message.objcClassPrefix = object.objcClassPrefix ?? "";
@@ -4605,7 +4561,6 @@ function createBaseFieldOptions(): FieldOptions {
targets: [],
editionDefaults: [],
features: undefined,
- featureSupport: undefined,
uninterpretedOption: [],
};
}
@@ -4650,9 +4605,6 @@ export const FieldOptions = {
if (message.features !== undefined) {
FeatureSet.encode(message.features, writer.uint32(170).fork()).ldelim();
}
- if (message.featureSupport !== undefined) {
- FieldOptions_FeatureSupport.encode(message.featureSupport, writer.uint32(178).fork()).ldelim();
- }
for (const v of message.uninterpretedOption) {
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
}
@@ -4760,13 +4712,6 @@ export const FieldOptions = {
message.features = FeatureSet.decode(reader, reader.uint32());
continue;
- case 22:
- if (tag !== 178) {
- break;
- }
-
- message.featureSupport = FieldOptions_FeatureSupport.decode(reader, reader.uint32());
- continue;
case 999:
if (tag !== 7994) {
break;
@@ -4803,9 +4748,6 @@ export const FieldOptions = {
? object.editionDefaults.map((e: any) => FieldOptions_EditionDefault.fromJSON(e))
: [],
features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined,
- featureSupport: isSet(object.featureSupport)
- ? FieldOptions_FeatureSupport.fromJSON(object.featureSupport)
- : undefined,
uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption)
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
: [],
@@ -4850,9 +4792,6 @@ export const FieldOptions = {
if (message.features !== undefined) {
obj.features = FeatureSet.toJSON(message.features);
}
- if (message.featureSupport !== undefined) {
- obj.featureSupport = FieldOptions_FeatureSupport.toJSON(message.featureSupport);
- }
if (message.uninterpretedOption?.length) {
obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e));
}
@@ -4878,9 +4817,6 @@ export const FieldOptions = {
message.features = (object.features !== undefined && object.features !== null)
? FeatureSet.fromPartial(object.features)
: undefined;
- message.featureSupport = (object.featureSupport !== undefined && object.featureSupport !== null)
- ? FieldOptions_FeatureSupport.fromPartial(object.featureSupport)
- : undefined;
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
return message;
},
@@ -4960,119 +4896,6 @@ export const FieldOptions_EditionDefault = {
},
};
-function createBaseFieldOptions_FeatureSupport(): FieldOptions_FeatureSupport {
- return {
- editionIntroduced: Edition.EDITION_UNKNOWN,
- editionDeprecated: Edition.EDITION_UNKNOWN,
- deprecationWarning: "",
- editionRemoved: Edition.EDITION_UNKNOWN,
- };
-}
-
-export const FieldOptions_FeatureSupport = {
- encode(message: FieldOptions_FeatureSupport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.editionIntroduced !== Edition.EDITION_UNKNOWN) {
- writer.uint32(8).int32(editionToNumber(message.editionIntroduced));
- }
- if (message.editionDeprecated !== Edition.EDITION_UNKNOWN) {
- writer.uint32(16).int32(editionToNumber(message.editionDeprecated));
- }
- if (message.deprecationWarning !== "") {
- writer.uint32(26).string(message.deprecationWarning);
- }
- if (message.editionRemoved !== Edition.EDITION_UNKNOWN) {
- writer.uint32(32).int32(editionToNumber(message.editionRemoved));
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_FeatureSupport {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseFieldOptions_FeatureSupport();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 8) {
- break;
- }
-
- message.editionIntroduced = editionFromJSON(reader.int32());
- continue;
- case 2:
- if (tag !== 16) {
- break;
- }
-
- message.editionDeprecated = editionFromJSON(reader.int32());
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.deprecationWarning = reader.string();
- continue;
- case 4:
- if (tag !== 32) {
- break;
- }
-
- message.editionRemoved = editionFromJSON(reader.int32());
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): FieldOptions_FeatureSupport {
- return {
- editionIntroduced: isSet(object.editionIntroduced)
- ? editionFromJSON(object.editionIntroduced)
- : Edition.EDITION_UNKNOWN,
- editionDeprecated: isSet(object.editionDeprecated)
- ? editionFromJSON(object.editionDeprecated)
- : Edition.EDITION_UNKNOWN,
- deprecationWarning: isSet(object.deprecationWarning) ? globalThis.String(object.deprecationWarning) : "",
- editionRemoved: isSet(object.editionRemoved) ? editionFromJSON(object.editionRemoved) : Edition.EDITION_UNKNOWN,
- };
- },
-
- toJSON(message: FieldOptions_FeatureSupport): unknown {
- const obj: any = {};
- if (message.editionIntroduced !== Edition.EDITION_UNKNOWN) {
- obj.editionIntroduced = editionToJSON(message.editionIntroduced);
- }
- if (message.editionDeprecated !== Edition.EDITION_UNKNOWN) {
- obj.editionDeprecated = editionToJSON(message.editionDeprecated);
- }
- if (message.deprecationWarning !== "") {
- obj.deprecationWarning = message.deprecationWarning;
- }
- if (message.editionRemoved !== Edition.EDITION_UNKNOWN) {
- obj.editionRemoved = editionToJSON(message.editionRemoved);
- }
- return obj;
- },
-
- create(base?: DeepPartial<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport {
- return FieldOptions_FeatureSupport.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport {
- const message = createBaseFieldOptions_FeatureSupport();
- message.editionIntroduced = object.editionIntroduced ?? Edition.EDITION_UNKNOWN;
- message.editionDeprecated = object.editionDeprecated ?? Edition.EDITION_UNKNOWN;
- message.deprecationWarning = object.deprecationWarning ?? "";
- message.editionRemoved = object.editionRemoved ?? Edition.EDITION_UNKNOWN;
- return message;
- },
-};
-
function createBaseOneofOptions(): OneofOptions {
return { features: undefined, uninterpretedOption: [] };
}
@@ -6081,7 +5904,7 @@ export const FeatureSetDefaults = {
};
function createBaseFeatureSetDefaults_FeatureSetEditionDefault(): FeatureSetDefaults_FeatureSetEditionDefault {
- return { edition: Edition.EDITION_UNKNOWN, overridableFeatures: undefined, fixedFeatures: undefined };
+ return { edition: Edition.EDITION_UNKNOWN, features: undefined };
}
export const FeatureSetDefaults_FeatureSetEditionDefault = {
@@ -6089,11 +5912,8 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = {
if (message.edition !== Edition.EDITION_UNKNOWN) {
writer.uint32(24).int32(editionToNumber(message.edition));
}
- if (message.overridableFeatures !== undefined) {
- FeatureSet.encode(message.overridableFeatures, writer.uint32(34).fork()).ldelim();
- }
- if (message.fixedFeatures !== undefined) {
- FeatureSet.encode(message.fixedFeatures, writer.uint32(42).fork()).ldelim();
+ if (message.features !== undefined) {
+ FeatureSet.encode(message.features, writer.uint32(18).fork()).ldelim();
}
return writer;
},
@@ -6112,19 +5932,12 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = {
message.edition = editionFromJSON(reader.int32());
continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.overridableFeatures = FeatureSet.decode(reader, reader.uint32());
- continue;
- case 5:
- if (tag !== 42) {
+ case 2:
+ if (tag !== 18) {
break;
}
- message.fixedFeatures = FeatureSet.decode(reader, reader.uint32());
+ message.features = FeatureSet.decode(reader, reader.uint32());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -6138,10 +5951,7 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = {
fromJSON(object: any): FeatureSetDefaults_FeatureSetEditionDefault {
return {
edition: isSet(object.edition) ? editionFromJSON(object.edition) : Edition.EDITION_UNKNOWN,
- overridableFeatures: isSet(object.overridableFeatures)
- ? FeatureSet.fromJSON(object.overridableFeatures)
- : undefined,
- fixedFeatures: isSet(object.fixedFeatures) ? FeatureSet.fromJSON(object.fixedFeatures) : undefined,
+ features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined,
};
},
@@ -6150,11 +5960,8 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = {
if (message.edition !== Edition.EDITION_UNKNOWN) {
obj.edition = editionToJSON(message.edition);
}
- if (message.overridableFeatures !== undefined) {
- obj.overridableFeatures = FeatureSet.toJSON(message.overridableFeatures);
- }
- if (message.fixedFeatures !== undefined) {
- obj.fixedFeatures = FeatureSet.toJSON(message.fixedFeatures);
+ if (message.features !== undefined) {
+ obj.features = FeatureSet.toJSON(message.features);
}
return obj;
},
@@ -6167,11 +5974,8 @@ export const FeatureSetDefaults_FeatureSetEditionDefault = {
): FeatureSetDefaults_FeatureSetEditionDefault {
const message = createBaseFeatureSetDefaults_FeatureSetEditionDefault();
message.edition = object.edition ?? Edition.EDITION_UNKNOWN;
- message.overridableFeatures = (object.overridableFeatures !== undefined && object.overridableFeatures !== null)
- ? FeatureSet.fromPartial(object.overridableFeatures)
- : undefined;
- message.fixedFeatures = (object.fixedFeatures !== undefined && object.fixedFeatures !== null)
- ? FeatureSet.fromPartial(object.fixedFeatures)
+ message.features = (object.features !== undefined && object.features !== null)
+ ? FeatureSet.fromPartial(object.features)
: undefined;
return message;
},
diff --git a/frontend/src/types/proto/store/setting.ts b/frontend/src/types/proto/store/setting.ts
index 30d70ecbba..d405ed1c2a 100644
--- a/frontend/src/types/proto/store/setting.ts
+++ b/frontend/src/types/proto/store/setting.ts
@@ -509,6 +509,20 @@ export function maskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskTypeToNumbe
}
}
+export interface AppIMSetting {
+ slack: AppIMSetting_Slack | undefined;
+ feishu: AppIMSetting_Feishu | undefined;
+}
+
+export interface AppIMSetting_Slack {
+ token: string;
+}
+
+export interface AppIMSetting_Feishu {
+ appId: string;
+ appSecret: string;
+}
+
function createBaseWorkspaceProfileSetting(): WorkspaceProfileSetting {
return {
externalUrl: "",
@@ -3119,6 +3133,215 @@ export const MaskingAlgorithmSetting_Algorithm_InnerOuterMask = {
},
};
+function createBaseAppIMSetting(): AppIMSetting {
+ return { slack: undefined, feishu: undefined };
+}
+
+export const AppIMSetting = {
+ encode(message: AppIMSetting, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.slack !== undefined) {
+ AppIMSetting_Slack.encode(message.slack, writer.uint32(10).fork()).ldelim();
+ }
+ if (message.feishu !== undefined) {
+ AppIMSetting_Feishu.encode(message.feishu, writer.uint32(18).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): AppIMSetting {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseAppIMSetting();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.slack = AppIMSetting_Slack.decode(reader, reader.uint32());
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.feishu = AppIMSetting_Feishu.decode(reader, reader.uint32());
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): AppIMSetting {
+ return {
+ slack: isSet(object.slack) ? AppIMSetting_Slack.fromJSON(object.slack) : undefined,
+ feishu: isSet(object.feishu) ? AppIMSetting_Feishu.fromJSON(object.feishu) : undefined,
+ };
+ },
+
+ toJSON(message: AppIMSetting): unknown {
+ const obj: any = {};
+ if (message.slack !== undefined) {
+ obj.slack = AppIMSetting_Slack.toJSON(message.slack);
+ }
+ if (message.feishu !== undefined) {
+ obj.feishu = AppIMSetting_Feishu.toJSON(message.feishu);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<AppIMSetting>): AppIMSetting {
+ return AppIMSetting.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<AppIMSetting>): AppIMSetting {
+ const message = createBaseAppIMSetting();
+ message.slack = (object.slack !== undefined && object.slack !== null)
+ ? AppIMSetting_Slack.fromPartial(object.slack)
+ : undefined;
+ message.feishu = (object.feishu !== undefined && object.feishu !== null)
+ ? AppIMSetting_Feishu.fromPartial(object.feishu)
+ : undefined;
+ return message;
+ },
+};
+
+function createBaseAppIMSetting_Slack(): AppIMSetting_Slack {
+ return { token: "" };
+}
+
+export const AppIMSetting_Slack = {
+ encode(message: AppIMSetting_Slack, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.token !== "") {
+ writer.uint32(10).string(message.token);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): AppIMSetting_Slack {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseAppIMSetting_Slack();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.token = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): AppIMSetting_Slack {
+ return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
+ },
+
+ toJSON(message: AppIMSetting_Slack): unknown {
+ const obj: any = {};
+ if (message.token !== "") {
+ obj.token = message.token;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<AppIMSetting_Slack>): AppIMSetting_Slack {
+ return AppIMSetting_Slack.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<AppIMSetting_Slack>): AppIMSetting_Slack {
+ const message = createBaseAppIMSetting_Slack();
+ message.token = object.token ?? "";
+ return message;
+ },
+};
+
+function createBaseAppIMSetting_Feishu(): AppIMSetting_Feishu {
+ return { appId: "", appSecret: "" };
+}
+
+export const AppIMSetting_Feishu = {
+ encode(message: AppIMSetting_Feishu, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.appId !== "") {
+ writer.uint32(10).string(message.appId);
+ }
+ if (message.appSecret !== "") {
+ writer.uint32(18).string(message.appSecret);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): AppIMSetting_Feishu {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseAppIMSetting_Feishu();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.appId = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+
+ message.appSecret = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): AppIMSetting_Feishu {
+ return {
+ appId: isSet(object.appId) ? globalThis.String(object.appId) : "",
+ appSecret: isSet(object.appSecret) ? globalThis.String(object.appSecret) : "",
+ };
+ },
+
+ toJSON(message: AppIMSetting_Feishu): unknown {
+ const obj: any = {};
+ if (message.appId !== "") {
+ obj.appId = message.appId;
+ }
+ if (message.appSecret !== "") {
+ obj.appSecret = message.appSecret;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<AppIMSetting_Feishu>): AppIMSetting_Feishu {
+ return AppIMSetting_Feishu.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<AppIMSetting_Feishu>): AppIMSetting_Feishu {
+ const message = createBaseAppIMSetting_Feishu();
+ message.appId = object.appId ?? "";
+ message.appSecret = object.appSecret ?? "";
+ return message;
+ },
+};
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T
diff --git a/frontend/src/types/proto/v1/setting_service.ts b/frontend/src/types/proto/v1/setting_service.ts
index da2db1d817..29f3213e22 100644
--- a/frontend/src/types/proto/v1/setting_service.ts
+++ b/frontend/src/types/proto/v1/setting_service.ts
@@ -261,60 +261,17 @@ export function sMTPMailDeliverySettingValue_AuthenticationToNumber(
}
export interface AppIMSetting {
- imType: AppIMSetting_IMType;
- appId: string;
- appSecret: string;
- externalApproval: AppIMSetting_ExternalApproval | undefined;
-}
-
-export enum AppIMSetting_IMType {
- IM_TYPE_UNSPECIFIED = "IM_TYPE_UNSPECIFIED",
- FEISHU = "FEISHU",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function appIMSetting_IMTypeFromJSON(object: any): AppIMSetting_IMType {
- switch (object) {
- case 0:
- case "IM_TYPE_UNSPECIFIED":
- return AppIMSetting_IMType.IM_TYPE_UNSPECIFIED;
- case 1:
- case "FEISHU":
- return AppIMSetting_IMType.FEISHU;
- case -1:
- case "UNRECOGNIZED":
- default:
- return AppIMSetting_IMType.UNRECOGNIZED;
- }
-}
-
-export function appIMSetting_IMTypeToJSON(object: AppIMSetting_IMType): string {
- switch (object) {
- case AppIMSetting_IMType.IM_TYPE_UNSPECIFIED:
- return "IM_TYPE_UNSPECIFIED";
- case AppIMSetting_IMType.FEISHU:
- return "FEISHU";
- case AppIMSetting_IMType.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
+ slack: AppIMSetting_Slack | undefined;
+ feishu: AppIMSetting_Feishu | undefined;
}
-export function appIMSetting_IMTypeToNumber(object: AppIMSetting_IMType): number {
- switch (object) {
- case AppIMSetting_IMType.IM_TYPE_UNSPECIFIED:
- return 0;
- case AppIMSetting_IMType.FEISHU:
- return 1;
- case AppIMSetting_IMType.UNRECOGNIZED:
- default:
- return -1;
- }
+export interface AppIMSetting_Slack {
+ token: string;
}
-export interface AppIMSetting_ExternalApproval {
- enabled: boolean;
- approvalDefinitionId: string;
+export interface AppIMSetting_Feishu {
+ appId: string;
+ appSecret: string;
}
export interface AgentPluginSetting {
@@ -1604,22 +1561,16 @@ export const SMTPMailDeliverySettingValue = {
};
function createBaseAppIMSetting(): AppIMSetting {
- return { imType: AppIMSetting_IMType.IM_TYPE_UNSPECIFIED, appId: "", appSecret: "", externalApproval: undefined };
+ return { slack: undefined, feishu: undefined };
}
export const AppIMSetting = {
encode(message: AppIMSetting, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.imType !== AppIMSetting_IMType.IM_TYPE_UNSPECIFIED) {
- writer.uint32(8).int32(appIMSetting_IMTypeToNumber(message.imType));
+ if (message.slack !== undefined) {
+ AppIMSetting_Slack.encode(message.slack, writer.uint32(10).fork()).ldelim();
}
- if (message.appId !== "") {
- writer.uint32(18).string(message.appId);
- }
- if (message.appSecret !== "") {
- writer.uint32(26).string(message.appSecret);
- }
- if (message.externalApproval !== undefined) {
- AppIMSetting_ExternalApproval.encode(message.externalApproval, writer.uint32(34).fork()).ldelim();
+ if (message.feishu !== undefined) {
+ AppIMSetting_Feishu.encode(message.feishu, writer.uint32(18).fork()).ldelim();
}
return writer;
},
@@ -1632,32 +1583,18 @@ export const AppIMSetting = {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- if (tag !== 8) {
+ if (tag !== 10) {
break;
}
- message.imType = appIMSetting_IMTypeFromJSON(reader.int32());
+ message.slack = AppIMSetting_Slack.decode(reader, reader.uint32());
continue;
case 2:
if (tag !== 18) {
break;
}
- message.appId = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.appSecret = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.externalApproval = AppIMSetting_ExternalApproval.decode(reader, reader.uint32());
+ message.feishu = AppIMSetting_Feishu.decode(reader, reader.uint32());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -1670,30 +1607,18 @@ export const AppIMSetting = {
fromJSON(object: any): AppIMSetting {
return {
- imType: isSet(object.imType)
- ? appIMSetting_IMTypeFromJSON(object.imType)
- : AppIMSetting_IMType.IM_TYPE_UNSPECIFIED,
- appId: isSet(object.appId) ? globalThis.String(object.appId) : "",
- appSecret: isSet(object.appSecret) ? globalThis.String(object.appSecret) : "",
- externalApproval: isSet(object.externalApproval)
- ? AppIMSetting_ExternalApproval.fromJSON(object.externalApproval)
- : undefined,
+ slack: isSet(object.slack) ? AppIMSetting_Slack.fromJSON(object.slack) : undefined,
+ feishu: isSet(object.feishu) ? AppIMSetting_Feishu.fromJSON(object.feishu) : undefined,
};
},
toJSON(message: AppIMSetting): unknown {
const obj: any = {};
- if (message.imType !== AppIMSetting_IMType.IM_TYPE_UNSPECIFIED) {
- obj.imType = appIMSetting_IMTypeToJSON(message.imType);
+ if (message.slack !== undefined) {
+ obj.slack = AppIMSetting_Slack.toJSON(message.slack);
}
- if (message.appId !== "") {
- obj.appId = message.appId;
- }
- if (message.appSecret !== "") {
- obj.appSecret = message.appSecret;
- }
- if (message.externalApproval !== undefined) {
- obj.externalApproval = AppIMSetting_ExternalApproval.toJSON(message.externalApproval);
+ if (message.feishu !== undefined) {
+ obj.feishu = AppIMSetting_Feishu.toJSON(message.feishu);
}
return obj;
},
@@ -1703,51 +1628,108 @@ export const AppIMSetting = {
},
fromPartial(object: DeepPartial<AppIMSetting>): AppIMSetting {
const message = createBaseAppIMSetting();
- message.imType = object.imType ?? AppIMSetting_IMType.IM_TYPE_UNSPECIFIED;
- message.appId = object.appId ?? "";
- message.appSecret = object.appSecret ?? "";
- message.externalApproval = (object.externalApproval !== undefined && object.externalApproval !== null)
- ? AppIMSetting_ExternalApproval.fromPartial(object.externalApproval)
+ message.slack = (object.slack !== undefined && object.slack !== null)
+ ? AppIMSetting_Slack.fromPartial(object.slack)
+ : undefined;
+ message.feishu = (object.feishu !== undefined && object.feishu !== null)
+ ? AppIMSetting_Feishu.fromPartial(object.feishu)
: undefined;
return message;
},
};
-function createBaseAppIMSetting_ExternalApproval(): AppIMSetting_ExternalApproval {
- return { enabled: false, approvalDefinitionId: "" };
+function createBaseAppIMSetting_Slack(): AppIMSetting_Slack {
+ return { token: "" };
}
-export const AppIMSetting_ExternalApproval = {
- encode(message: AppIMSetting_ExternalApproval, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.enabled === true) {
- writer.uint32(8).bool(message.enabled);
+export const AppIMSetting_Slack = {
+ encode(message: AppIMSetting_Slack, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.token !== "") {
+ writer.uint32(10).string(message.token);
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): AppIMSetting_Slack {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseAppIMSetting_Slack();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+
+ message.token = reader.string();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): AppIMSetting_Slack {
+ return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
+ },
+
+ toJSON(message: AppIMSetting_Slack): unknown {
+ const obj: any = {};
+ if (message.token !== "") {
+ obj.token = message.token;
}
- if (message.approvalDefinitionId !== "") {
- writer.uint32(18).string(message.approvalDefinitionId);
+ return obj;
+ },
+
+ create(base?: DeepPartial<AppIMSetting_Slack>): AppIMSetting_Slack {
+ return AppIMSetting_Slack.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<AppIMSetting_Slack>): AppIMSetting_Slack {
+ const message = createBaseAppIMSetting_Slack();
+ message.token = object.token ?? "";
+ return message;
+ },
+};
+
+function createBaseAppIMSetting_Feishu(): AppIMSetting_Feishu {
+ return { appId: "", appSecret: "" };
+}
+
+export const AppIMSetting_Feishu = {
+ encode(message: AppIMSetting_Feishu, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.appId !== "") {
+ writer.uint32(10).string(message.appId);
+ }
+ if (message.appSecret !== "") {
+ writer.uint32(18).string(message.appSecret);
}
return writer;
},
- decode(input: _m0.Reader | Uint8Array, length?: number): AppIMSetting_ExternalApproval {
+ decode(input: _m0.Reader | Uint8Array, length?: number): AppIMSetting_Feishu {
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseAppIMSetting_ExternalApproval();
+ const message = createBaseAppIMSetting_Feishu();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- if (tag !== 8) {
+ if (tag !== 10) {
break;
}
- message.enabled = reader.bool();
+ message.appId = reader.string();
continue;
case 2:
if (tag !== 18) {
break;
}
- message.approvalDefinitionId = reader.string();
+ message.appSecret = reader.string();
continue;
}
if ((tag & 7) === 4 || tag === 0) {
@@ -1758,31 +1740,31 @@ export const AppIMSetting_ExternalApproval = {
return message;
},
- fromJSON(object: any): AppIMSetting_ExternalApproval {
+ fromJSON(object: any): AppIMSetting_Feishu {
return {
- enabled: isSet(object.enabled) ? globalThis.Boolean(object.enabled) : false,
- approvalDefinitionId: isSet(object.approvalDefinitionId) ? globalThis.String(object.approvalDefinitionId) : "",
+ appId: isSet(object.appId) ? globalThis.String(object.appId) : "",
+ appSecret: isSet(object.appSecret) ? globalThis.String(object.appSecret) : "",
};
},
- toJSON(message: AppIMSetting_ExternalApproval): unknown {
+ toJSON(message: AppIMSetting_Feishu): unknown {
const obj: any = {};
- if (message.enabled === true) {
- obj.enabled = message.enabled;
+ if (message.appId !== "") {
+ obj.appId = message.appId;
}
- if (message.approvalDefinitionId !== "") {
- obj.approvalDefinitionId = message.approvalDefinitionId;
+ if (message.appSecret !== "") {
+ obj.appSecret = message.appSecret;
}
return obj;
},
- create(base?: DeepPartial<AppIMSetting_ExternalApproval>): AppIMSetting_ExternalApproval {
- return AppIMSetting_ExternalApproval.fromPartial(base ?? {});
+ create(base?: DeepPartial<AppIMSetting_Feishu>): AppIMSetting_Feishu {
+ return AppIMSetting_Feishu.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<AppIMSetting_ExternalApproval>): AppIMSetting_ExternalApproval {
- const message = createBaseAppIMSetting_ExternalApproval();
- message.enabled = object.enabled ?? false;
- message.approvalDefinitionId = object.approvalDefinitionId ?? "";
+ fromPartial(object: DeepPartial<AppIMSetting_Feishu>): AppIMSetting_Feishu {
+ const message = createBaseAppIMSetting_Feishu();
+ message.appId = object.appId ?? "";
+ message.appSecret = object.appSecret ?? "";
return message;
},
};
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index a943fba0ce..81f0958a0a 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -8515,24 +8515,21 @@ components:
AppIMSetting:
type: object
properties:
- imType:
- enum:
- - IM_TYPE_UNSPECIFIED
- - FEISHU
- type: string
- format: enum
+ slack:
+ $ref: '#/components/schemas/AppIMSetting_Slack'
+ feishu:
+ $ref: '#/components/schemas/AppIMSetting_Feishu'
+ AppIMSetting_Feishu:
+ type: object
+ properties:
appId:
type: string
appSecret:
type: string
- externalApproval:
- $ref: '#/components/schemas/AppIMSetting_ExternalApproval'
- AppIMSetting_ExternalApproval:
+ AppIMSetting_Slack:
type: object
properties:
- enabled:
- type: boolean
- approvalDefinitionId:
+ token:
type: string
ApprovalFlow:
type: object
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.md
index 7c28b85261..6587d1c3cd 100644
--- a/proto/gen/grpc-doc/store/README.md
+++ b/proto/gen/grpc-doc/store/README.md
@@ -199,6 +199,9 @@
- [store/setting.proto](#store_setting-proto)
- [AgentPluginSetting](#bytebase-store-AgentPluginSetting)
- [Announcement](#bytebase-store-Announcement)
+ - [AppIMSetting](#bytebase-store-AppIMSetting)
+ - [AppIMSetting.Feishu](#bytebase-store-AppIMSetting-Feishu)
+ - [AppIMSetting.Slack](#bytebase-store-AppIMSetting-Slack)
- [DataClassificationSetting](#bytebase-store-DataClassificationSetting)
- [DataClassificationSetting.DataClassificationConfig](#bytebase-store-DataClassificationSetting-DataClassificationConfig)
- [DataClassificationSetting.DataClassificationConfig.ClassificationEntry](#bytebase-store-DataClassificationSetting-DataClassificationConfig-ClassificationEntry)
@@ -3076,6 +3079,53 @@ The type of target.
+<a name="bytebase-store-AppIMSetting"></a>
+
+### AppIMSetting
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| slack | [AppIMSetting.Slack](#bytebase-store-AppIMSetting-Slack) | | |
+| feishu | [AppIMSetting.Feishu](#bytebase-store-AppIMSetting-Feishu) | | |
+
+
+
+
+
+
+<a name="bytebase-store-AppIMSetting-Feishu"></a>
+
+### AppIMSetting.Feishu
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| app_id | [string](#string) | | |
+| app_secret | [string](#string) | | |
+
+
+
+
+
+
+<a name="bytebase-store-AppIMSetting-Slack"></a>
+
+### AppIMSetting.Slack
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| token | [string](#string) | | |
+
+
+
+
+
+
<a name="bytebase-store-DataClassificationSetting"></a>
### DataClassificationSetting
diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.html
index 9aa6edf765..dfd838fb32 100644
--- a/proto/gen/grpc-doc/store/index.html
+++ b/proto/gen/grpc-doc/store/index.html
@@ -970,6 +970,18 @@
<a href="#bytebase.store.Announcement"><span class="badge">M</span>Announcement</a>
</li>
+ <li>
+ <a href="#bytebase.store.AppIMSetting"><span class="badge">M</span>AppIMSetting</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.store.AppIMSetting.Feishu"><span class="badge">M</span>AppIMSetting.Feishu</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.store.AppIMSetting.Slack"><span class="badge">M</span>AppIMSetting.Slack</a>
+ </li>
+
<li>
<a href="#bytebase.store.DataClassificationSetting"><span class="badge">M</span>DataClassificationSetting</a>
</li>
@@ -7772,6 +7784,92 @@ Format: roles/projectOwner. </p></td>
+ <h3 id="bytebase.store.AppIMSetting">AppIMSetting</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>slack</td>
+ <td><a href="#bytebase.store.AppIMSetting.Slack">AppIMSetting.Slack</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>feishu</td>
+ <td><a href="#bytebase.store.AppIMSetting.Feishu">AppIMSetting.Feishu</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.store.AppIMSetting.Feishu">AppIMSetting.Feishu</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>app_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>app_secret</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.store.AppIMSetting.Slack">AppIMSetting.Slack</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>token</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.DataClassificationSetting">DataClassificationSetting</h3>
<p></p>
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 940b52ac46..75cbc26a4d 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -537,7 +537,8 @@
- [AgentPluginSetting](#bytebase-v1-AgentPluginSetting)
- [Announcement](#bytebase-v1-Announcement)
- [AppIMSetting](#bytebase-v1-AppIMSetting)
- - [AppIMSetting.ExternalApproval](#bytebase-v1-AppIMSetting-ExternalApproval)
+ - [AppIMSetting.Feishu](#bytebase-v1-AppIMSetting-Feishu)
+ - [AppIMSetting.Slack](#bytebase-v1-AppIMSetting-Slack)
- [DataClassificationSetting](#bytebase-v1-DataClassificationSetting)
- [DataClassificationSetting.DataClassificationConfig](#bytebase-v1-DataClassificationSetting-DataClassificationConfig)
- [DataClassificationSetting.DataClassificationConfig.ClassificationEntry](#bytebase-v1-DataClassificationSetting-DataClassificationConfig-ClassificationEntry)
@@ -572,7 +573,6 @@
- [WorkspaceTrialSetting](#bytebase-v1-WorkspaceTrialSetting)
- [Announcement.AlertLevel](#bytebase-v1-Announcement-AlertLevel)
- - [AppIMSetting.IMType](#bytebase-v1-AppIMSetting-IMType)
- [MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType](#bytebase-v1-MaskingAlgorithmSetting-Algorithm-InnerOuterMask-MaskType)
- [SMTPMailDeliverySettingValue.Authentication](#bytebase-v1-SMTPMailDeliverySettingValue-Authentication)
- [SMTPMailDeliverySettingValue.Encryption](#bytebase-v1-SMTPMailDeliverySettingValue-Encryption)
@@ -8762,26 +8762,39 @@ When paginating, all other parameters provided to `ListRolloutTaskRuns` must mat
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| im_type | [AppIMSetting.IMType](#bytebase-v1-AppIMSetting-IMType) | | |
+| slack | [AppIMSetting.Slack](#bytebase-v1-AppIMSetting-Slack) | | |
+| feishu | [AppIMSetting.Feishu](#bytebase-v1-AppIMSetting-Feishu) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-AppIMSetting-Feishu"></a>
+
+### AppIMSetting.Feishu
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
| app_id | [string](#string) | | |
| app_secret | [string](#string) | | |
-| external_approval | [AppIMSetting.ExternalApproval](#bytebase-v1-AppIMSetting-ExternalApproval) | | |
-<a name="bytebase-v1-AppIMSetting-ExternalApproval"></a>
+<a name="bytebase-v1-AppIMSetting-Slack"></a>
-### AppIMSetting.ExternalApproval
+### AppIMSetting.Slack
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
-| enabled | [bool](#bool) | | |
-| approval_definition_id | [string](#string) | | |
+| token | [string](#string) | | |
@@ -9367,18 +9380,6 @@ We support three levels of AlertLevel: INFO, WARNING, and ERROR.
-<a name="bytebase-v1-AppIMSetting-IMType"></a>
-
-### AppIMSetting.IMType
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| IM_TYPE_UNSPECIFIED | 0 | |
-| FEISHU | 1 | |
-
-
-
<a name="bytebase-v1-MaskingAlgorithmSetting-Algorithm-InnerOuterMask-MaskType"></a>
### MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index b9af2c0b9f..e393b134d7 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -2232,7 +2232,11 @@
</li>
<li>
- <a href="#bytebase.v1.AppIMSetting.ExternalApproval"><span class="badge">M</span>AppIMSetting.ExternalApproval</a>
+ <a href="#bytebase.v1.AppIMSetting.Feishu"><span class="badge">M</span>AppIMSetting.Feishu</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.AppIMSetting.Slack"><span class="badge">M</span>AppIMSetting.Slack</a>
</li>
<li>
@@ -2368,10 +2372,6 @@
<a href="#bytebase.v1.Announcement.AlertLevel"><span class="badge">E</span>Announcement.AlertLevel</a>
</li>
- <li>
- <a href="#bytebase.v1.AppIMSetting.IMType"><span class="badge">E</span>AppIMSetting.IMType</a>
- </li>
-
<li>
<a href="#bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType"><span class="badge">E</span>MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType</a>
</li>
@@ -24426,29 +24426,46 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory
<tbody>
<tr>
- <td>im_type</td>
- <td><a href="#bytebase.v1.AppIMSetting.IMType">AppIMSetting.IMType</a></td>
+ <td>slack</td>
+ <td><a href="#bytebase.v1.AppIMSetting.Slack">AppIMSetting.Slack</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>app_id</td>
- <td><a href="#string">string</a></td>
+ <td>feishu</td>
+ <td><a href="#bytebase.v1.AppIMSetting.Feishu">AppIMSetting.Feishu</a></td>
<td></td>
<td><p> </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.AppIMSetting.Feishu">AppIMSetting.Feishu</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>app_secret</td>
+ <td>app_id</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>external_approval</td>
- <td><a href="#bytebase.v1.AppIMSetting.ExternalApproval">AppIMSetting.ExternalApproval</a></td>
+ <td>app_secret</td>
+ <td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -24460,7 +24477,7 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory
- <h3 id="bytebase.v1.AppIMSetting.ExternalApproval">AppIMSetting.ExternalApproval</h3>
+ <h3 id="bytebase.v1.AppIMSetting.Slack">AppIMSetting.Slack</h3>
<p></p>
@@ -24471,14 +24488,7 @@ Format: instances/{instance}/databases/{database}/changeHistories/{changeHistory
<tbody>
<tr>
- <td>enabled</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>approval_definition_id</td>
+ <td>token</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
@@ -25860,29 +25870,6 @@ The external URL is used for:
</tbody>
</table>
- <h3 id="bytebase.v1.AppIMSetting.IMType">AppIMSetting.IMType</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>IM_TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>FEISHU</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
<h3 id="bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType">MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType</h3>
<p></p>
<table class="enum-table">
diff --git a/proto/generated-go/store/setting.pb.go b/proto/generated-go/store/setting.pb.go
index 30f5fc206b..4e347a9a23 100644
--- a/proto/generated-go/store/setting.pb.go
+++ b/proto/generated-go/store/setting.pb.go
@@ -889,6 +889,61 @@ func (x *MaskingAlgorithmSetting) GetAlgorithms() []*MaskingAlgorithmSetting_Alg
return nil
}
+type AppIMSetting struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Slack *AppIMSetting_Slack `protobuf:"bytes,1,opt,name=slack,proto3" json:"slack,omitempty"`
+ Feishu *AppIMSetting_Feishu `protobuf:"bytes,2,opt,name=feishu,proto3" json:"feishu,omitempty"`
+}
+
+func (x *AppIMSetting) Reset() {
+ *x = AppIMSetting{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_store_setting_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AppIMSetting) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AppIMSetting) ProtoMessage() {}
+
+func (x *AppIMSetting) ProtoReflect() protoreflect.Message {
+ mi := &file_store_setting_proto_msgTypes[10]
+ 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 AppIMSetting.ProtoReflect.Descriptor instead.
+func (*AppIMSetting) Descriptor() ([]byte, []int) {
+ return file_store_setting_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *AppIMSetting) GetSlack() *AppIMSetting_Slack {
+ if x != nil {
+ return x.Slack
+ }
+ return nil
+}
+
+func (x *AppIMSetting) GetFeishu() *AppIMSetting_Feishu {
+ if x != nil {
+ return x.Feishu
+ }
+ return nil
+}
+
type WorkspaceApprovalSetting_Rule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -902,7 +957,7 @@ type WorkspaceApprovalSetting_Rule struct {
func (x *WorkspaceApprovalSetting_Rule) Reset() {
*x = WorkspaceApprovalSetting_Rule{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[10]
+ mi := &file_store_setting_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -915,7 +970,7 @@ func (x *WorkspaceApprovalSetting_Rule) String() string {
func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}
func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[10]
+ mi := &file_store_setting_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -970,7 +1025,7 @@ type ExternalApprovalSetting_Node struct {
func (x *ExternalApprovalSetting_Node) Reset() {
*x = ExternalApprovalSetting_Node{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[11]
+ mi := &file_store_setting_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -983,7 +1038,7 @@ func (x *ExternalApprovalSetting_Node) String() string {
func (*ExternalApprovalSetting_Node) ProtoMessage() {}
func (x *ExternalApprovalSetting_Node) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[11]
+ mi := &file_store_setting_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1035,7 +1090,7 @@ type SchemaTemplateSetting_FieldTemplate struct {
func (x *SchemaTemplateSetting_FieldTemplate) Reset() {
*x = SchemaTemplateSetting_FieldTemplate{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[12]
+ mi := &file_store_setting_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1048,7 +1103,7 @@ func (x *SchemaTemplateSetting_FieldTemplate) String() string {
func (*SchemaTemplateSetting_FieldTemplate) ProtoMessage() {}
func (x *SchemaTemplateSetting_FieldTemplate) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[12]
+ mi := &file_store_setting_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1112,7 +1167,7 @@ type SchemaTemplateSetting_ColumnType struct {
func (x *SchemaTemplateSetting_ColumnType) Reset() {
*x = SchemaTemplateSetting_ColumnType{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[13]
+ mi := &file_store_setting_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1125,7 +1180,7 @@ func (x *SchemaTemplateSetting_ColumnType) String() string {
func (*SchemaTemplateSetting_ColumnType) ProtoMessage() {}
func (x *SchemaTemplateSetting_ColumnType) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[13]
+ mi := &file_store_setting_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1177,7 +1232,7 @@ type SchemaTemplateSetting_TableTemplate struct {
func (x *SchemaTemplateSetting_TableTemplate) Reset() {
*x = SchemaTemplateSetting_TableTemplate{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[14]
+ mi := &file_store_setting_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1190,7 +1245,7 @@ func (x *SchemaTemplateSetting_TableTemplate) String() string {
func (*SchemaTemplateSetting_TableTemplate) ProtoMessage() {}
func (x *SchemaTemplateSetting_TableTemplate) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[14]
+ mi := &file_store_setting_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1261,7 +1316,7 @@ type DataClassificationSetting_DataClassificationConfig struct {
func (x *DataClassificationSetting_DataClassificationConfig) Reset() {
*x = DataClassificationSetting_DataClassificationConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[15]
+ mi := &file_store_setting_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1274,7 +1329,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) String() string {
func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[15]
+ mi := &file_store_setting_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1331,7 +1386,7 @@ type DataClassificationSetting_DataClassificationConfig_Level struct {
func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_Level{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[16]
+ mi := &file_store_setting_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1344,7 +1399,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) String() stri
func (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[16]
+ mi := &file_store_setting_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1396,7 +1451,7 @@ type DataClassificationSetting_DataClassificationConfig_DataClassification struc
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[17]
+ mi := &file_store_setting_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1409,7 +1464,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[17]
+ mi := &file_store_setting_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1475,7 +1530,7 @@ type SemanticTypeSetting_SemanticType struct {
func (x *SemanticTypeSetting_SemanticType) Reset() {
*x = SemanticTypeSetting_SemanticType{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[19]
+ mi := &file_store_setting_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1488,7 +1543,7 @@ func (x *SemanticTypeSetting_SemanticType) String() string {
func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}
func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[19]
+ mi := &file_store_setting_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1567,7 +1622,7 @@ type MaskingAlgorithmSetting_Algorithm struct {
func (x *MaskingAlgorithmSetting_Algorithm) Reset() {
*x = MaskingAlgorithmSetting_Algorithm{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[20]
+ mi := &file_store_setting_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1580,7 +1635,7 @@ func (x *MaskingAlgorithmSetting_Algorithm) String() string {
func (*MaskingAlgorithmSetting_Algorithm) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[20]
+ mi := &file_store_setting_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1701,7 +1756,7 @@ type MaskingAlgorithmSetting_Algorithm_FullMask struct {
func (x *MaskingAlgorithmSetting_Algorithm_FullMask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_FullMask{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[21]
+ mi := &file_store_setting_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1714,7 +1769,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_FullMask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_FullMask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_FullMask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[21]
+ mi := &file_store_setting_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1750,7 +1805,7 @@ type MaskingAlgorithmSetting_Algorithm_RangeMask struct {
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_RangeMask{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[22]
+ mi := &file_store_setting_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1763,7 +1818,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_RangeMask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_RangeMask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[22]
+ mi := &file_store_setting_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1798,7 +1853,7 @@ type MaskingAlgorithmSetting_Algorithm_MD5Mask struct {
func (x *MaskingAlgorithmSetting_Algorithm_MD5Mask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_MD5Mask{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[23]
+ mi := &file_store_setting_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1811,7 +1866,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_MD5Mask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_MD5Mask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[23]
+ mi := &file_store_setting_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1848,7 +1903,7 @@ type MaskingAlgorithmSetting_Algorithm_InnerOuterMask struct {
func (x *MaskingAlgorithmSetting_Algorithm_InnerOuterMask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_InnerOuterMask{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[24]
+ mi := &file_store_setting_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1861,7 +1916,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_InnerOuterMask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_InnerOuterMask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[24]
+ mi := &file_store_setting_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1921,7 +1976,7 @@ type MaskingAlgorithmSetting_Algorithm_RangeMask_Slice struct {
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_RangeMask_Slice{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_setting_proto_msgTypes[25]
+ mi := &file_store_setting_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1934,7 +1989,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) String() string {
func (*MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
- mi := &file_store_setting_proto_msgTypes[25]
+ mi := &file_store_setting_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1971,6 +2026,108 @@ func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) GetSubstitution() st
return ""
}
+type AppIMSetting_Slack struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
+}
+
+func (x *AppIMSetting_Slack) Reset() {
+ *x = AppIMSetting_Slack{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_store_setting_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AppIMSetting_Slack) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AppIMSetting_Slack) ProtoMessage() {}
+
+func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
+ mi := &file_store_setting_proto_msgTypes[27]
+ 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 AppIMSetting_Slack.ProtoReflect.Descriptor instead.
+func (*AppIMSetting_Slack) Descriptor() ([]byte, []int) {
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 0}
+}
+
+func (x *AppIMSetting_Slack) GetToken() string {
+ if x != nil {
+ return x.Token
+ }
+ return ""
+}
+
+type AppIMSetting_Feishu struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
+ AppSecret string `protobuf:"bytes,2,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"`
+}
+
+func (x *AppIMSetting_Feishu) Reset() {
+ *x = AppIMSetting_Feishu{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_store_setting_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AppIMSetting_Feishu) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AppIMSetting_Feishu) ProtoMessage() {}
+
+func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
+ mi := &file_store_setting_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 AppIMSetting_Feishu.ProtoReflect.Descriptor instead.
+func (*AppIMSetting_Feishu) Descriptor() ([]byte, []int) {
+ return file_store_setting_proto_rawDescGZIP(), []int{10, 1}
+}
+
+func (x *AppIMSetting_Feishu) GetAppId() string {
+ if x != nil {
+ return x.AppId
+ }
+ return ""
+}
+
+func (x *AppIMSetting_Feishu) GetAppSecret() string {
+ if x != nil {
+ return x.AppSecret
+ }
+ return ""
+}
+
var File_store_setting_proto protoreflect.FileDescriptor
var file_store_setting_proto_rawDesc = []byte{
@@ -2289,9 +2446,24 @@ var file_store_setting_proto_rawDesc = []byte{
0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x41, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50,
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
0x09, 0x0a, 0x05, 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x55,
- 0x54, 0x45, 0x52, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 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,
+ 0x54, 0x45, 0x52, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x22, 0xe4, 0x01,
+ 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x38,
+ 0x0a, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41,
+ 0x70, 0x70, 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6c, 0x61, 0x63,
+ 0x6b, 0x52, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x65, 0x69, 0x73,
+ 0x68, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x49, 0x4d, 0x53,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x65, 0x69, 0x73, 0x68, 0x75, 0x52, 0x06, 0x66,
+ 0x65, 0x69, 0x73, 0x68, 0x75, 0x1a, 0x1d, 0x0a, 0x05, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x14,
+ 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
+ 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x3e, 0x0a, 0x06, 0x46, 0x65, 0x69, 0x73, 0x68, 0x75, 0x12, 0x15,
+ 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+ 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x70, 0x70, 0x5f, 0x73, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x70, 0x70, 0x53, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 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 (
@@ -2307,7 +2479,7 @@ func file_store_setting_proto_rawDescGZIP() []byte {
}
var file_store_setting_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
-var file_store_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
+var file_store_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
var file_store_setting_proto_goTypes = []interface{}{
(Announcement_AlertLevel)(0), // 0: bytebase.store.Announcement.AlertLevel
(SMTPMailDeliverySetting_Encryption)(0), // 1: bytebase.store.SMTPMailDeliverySetting.Encryption
@@ -2323,70 +2495,75 @@ var file_store_setting_proto_goTypes = []interface{}{
(*DataClassificationSetting)(nil), // 11: bytebase.store.DataClassificationSetting
(*SemanticTypeSetting)(nil), // 12: bytebase.store.SemanticTypeSetting
(*MaskingAlgorithmSetting)(nil), // 13: bytebase.store.MaskingAlgorithmSetting
- (*WorkspaceApprovalSetting_Rule)(nil), // 14: bytebase.store.WorkspaceApprovalSetting.Rule
- (*ExternalApprovalSetting_Node)(nil), // 15: bytebase.store.ExternalApprovalSetting.Node
- (*SchemaTemplateSetting_FieldTemplate)(nil), // 16: bytebase.store.SchemaTemplateSetting.FieldTemplate
- (*SchemaTemplateSetting_ColumnType)(nil), // 17: bytebase.store.SchemaTemplateSetting.ColumnType
- (*SchemaTemplateSetting_TableTemplate)(nil), // 18: bytebase.store.SchemaTemplateSetting.TableTemplate
- (*DataClassificationSetting_DataClassificationConfig)(nil), // 19: bytebase.store.DataClassificationSetting.DataClassificationConfig
- (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 20: bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
- (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 21: bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
- nil, // 22: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
- (*SemanticTypeSetting_SemanticType)(nil), // 23: bytebase.store.SemanticTypeSetting.SemanticType
- (*MaskingAlgorithmSetting_Algorithm)(nil), // 24: bytebase.store.MaskingAlgorithmSetting.Algorithm
- (*MaskingAlgorithmSetting_Algorithm_FullMask)(nil), // 25: bytebase.store.MaskingAlgorithmSetting.Algorithm.FullMask
- (*MaskingAlgorithmSetting_Algorithm_RangeMask)(nil), // 26: bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask
- (*MaskingAlgorithmSetting_Algorithm_MD5Mask)(nil), // 27: bytebase.store.MaskingAlgorithmSetting.Algorithm.MD5Mask
- (*MaskingAlgorithmSetting_Algorithm_InnerOuterMask)(nil), // 28: bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask
- (*MaskingAlgorithmSetting_Algorithm_RangeMask_Slice)(nil), // 29: bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice
- (*durationpb.Duration)(nil), // 30: google.protobuf.Duration
- (*v1alpha1.ParsedExpr)(nil), // 31: google.api.expr.v1alpha1.ParsedExpr
- (*ApprovalTemplate)(nil), // 32: bytebase.store.ApprovalTemplate
- (*expr.Expr)(nil), // 33: google.type.Expr
- (Engine)(0), // 34: bytebase.store.Engine
- (*ColumnMetadata)(nil), // 35: bytebase.store.ColumnMetadata
- (*ColumnConfig)(nil), // 36: bytebase.store.ColumnConfig
- (*TableMetadata)(nil), // 37: bytebase.store.TableMetadata
- (*TableConfig)(nil), // 38: bytebase.store.TableConfig
+ (*AppIMSetting)(nil), // 14: bytebase.store.AppIMSetting
+ (*WorkspaceApprovalSetting_Rule)(nil), // 15: bytebase.store.WorkspaceApprovalSetting.Rule
+ (*ExternalApprovalSetting_Node)(nil), // 16: bytebase.store.ExternalApprovalSetting.Node
+ (*SchemaTemplateSetting_FieldTemplate)(nil), // 17: bytebase.store.SchemaTemplateSetting.FieldTemplate
+ (*SchemaTemplateSetting_ColumnType)(nil), // 18: bytebase.store.SchemaTemplateSetting.ColumnType
+ (*SchemaTemplateSetting_TableTemplate)(nil), // 19: bytebase.store.SchemaTemplateSetting.TableTemplate
+ (*DataClassificationSetting_DataClassificationConfig)(nil), // 20: bytebase.store.DataClassificationSetting.DataClassificationConfig
+ (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 21: bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
+ (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 22: bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
+ nil, // 23: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
+ (*SemanticTypeSetting_SemanticType)(nil), // 24: bytebase.store.SemanticTypeSetting.SemanticType
+ (*MaskingAlgorithmSetting_Algorithm)(nil), // 25: bytebase.store.MaskingAlgorithmSetting.Algorithm
+ (*MaskingAlgorithmSetting_Algorithm_FullMask)(nil), // 26: bytebase.store.MaskingAlgorithmSetting.Algorithm.FullMask
+ (*MaskingAlgorithmSetting_Algorithm_RangeMask)(nil), // 27: bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask
+ (*MaskingAlgorithmSetting_Algorithm_MD5Mask)(nil), // 28: bytebase.store.MaskingAlgorithmSetting.Algorithm.MD5Mask
+ (*MaskingAlgorithmSetting_Algorithm_InnerOuterMask)(nil), // 29: bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask
+ (*MaskingAlgorithmSetting_Algorithm_RangeMask_Slice)(nil), // 30: bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice
+ (*AppIMSetting_Slack)(nil), // 31: bytebase.store.AppIMSetting.Slack
+ (*AppIMSetting_Feishu)(nil), // 32: bytebase.store.AppIMSetting.Feishu
+ (*durationpb.Duration)(nil), // 33: google.protobuf.Duration
+ (*v1alpha1.ParsedExpr)(nil), // 34: google.api.expr.v1alpha1.ParsedExpr
+ (*ApprovalTemplate)(nil), // 35: bytebase.store.ApprovalTemplate
+ (*expr.Expr)(nil), // 36: google.type.Expr
+ (Engine)(0), // 37: bytebase.store.Engine
+ (*ColumnMetadata)(nil), // 38: bytebase.store.ColumnMetadata
+ (*ColumnConfig)(nil), // 39: bytebase.store.ColumnConfig
+ (*TableMetadata)(nil), // 40: bytebase.store.TableMetadata
+ (*TableConfig)(nil), // 41: bytebase.store.TableConfig
}
var file_store_setting_proto_depIdxs = []int32{
- 30, // 0: bytebase.store.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration
+ 33, // 0: bytebase.store.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration
5, // 1: bytebase.store.WorkspaceProfileSetting.announcement:type_name -> bytebase.store.Announcement
0, // 2: bytebase.store.Announcement.level:type_name -> bytebase.store.Announcement.AlertLevel
- 14, // 3: bytebase.store.WorkspaceApprovalSetting.rules:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule
- 15, // 4: bytebase.store.ExternalApprovalSetting.nodes:type_name -> bytebase.store.ExternalApprovalSetting.Node
+ 15, // 3: bytebase.store.WorkspaceApprovalSetting.rules:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule
+ 16, // 4: bytebase.store.ExternalApprovalSetting.nodes:type_name -> bytebase.store.ExternalApprovalSetting.Node
1, // 5: bytebase.store.SMTPMailDeliverySetting.encryption:type_name -> bytebase.store.SMTPMailDeliverySetting.Encryption
2, // 6: bytebase.store.SMTPMailDeliverySetting.authentication:type_name -> bytebase.store.SMTPMailDeliverySetting.Authentication
- 16, // 7: bytebase.store.SchemaTemplateSetting.field_templates:type_name -> bytebase.store.SchemaTemplateSetting.FieldTemplate
- 17, // 8: bytebase.store.SchemaTemplateSetting.column_types:type_name -> bytebase.store.SchemaTemplateSetting.ColumnType
- 18, // 9: bytebase.store.SchemaTemplateSetting.table_templates:type_name -> bytebase.store.SchemaTemplateSetting.TableTemplate
- 19, // 10: bytebase.store.DataClassificationSetting.configs:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig
- 23, // 11: bytebase.store.SemanticTypeSetting.types:type_name -> bytebase.store.SemanticTypeSetting.SemanticType
- 24, // 12: bytebase.store.MaskingAlgorithmSetting.algorithms:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm
- 31, // 13: bytebase.store.WorkspaceApprovalSetting.Rule.expression:type_name -> google.api.expr.v1alpha1.ParsedExpr
- 32, // 14: bytebase.store.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.store.ApprovalTemplate
- 33, // 15: bytebase.store.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
- 34, // 16: bytebase.store.SchemaTemplateSetting.FieldTemplate.engine:type_name -> bytebase.store.Engine
- 35, // 17: bytebase.store.SchemaTemplateSetting.FieldTemplate.column:type_name -> bytebase.store.ColumnMetadata
- 36, // 18: bytebase.store.SchemaTemplateSetting.FieldTemplate.config:type_name -> bytebase.store.ColumnConfig
- 34, // 19: bytebase.store.SchemaTemplateSetting.ColumnType.engine:type_name -> bytebase.store.Engine
- 34, // 20: bytebase.store.SchemaTemplateSetting.TableTemplate.engine:type_name -> bytebase.store.Engine
- 37, // 21: bytebase.store.SchemaTemplateSetting.TableTemplate.table:type_name -> bytebase.store.TableMetadata
- 38, // 22: bytebase.store.SchemaTemplateSetting.TableTemplate.config:type_name -> bytebase.store.TableConfig
- 20, // 23: bytebase.store.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
- 22, // 24: bytebase.store.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
- 21, // 25: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
- 25, // 26: bytebase.store.MaskingAlgorithmSetting.Algorithm.full_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.FullMask
- 26, // 27: bytebase.store.MaskingAlgorithmSetting.Algorithm.range_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask
- 27, // 28: bytebase.store.MaskingAlgorithmSetting.Algorithm.md5_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.MD5Mask
- 28, // 29: bytebase.store.MaskingAlgorithmSetting.Algorithm.inner_outer_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask
- 29, // 30: bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask.slices:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice
- 3, // 31: bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.type:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
- 32, // [32:32] is the sub-list for method output_type
- 32, // [32:32] is the sub-list for method input_type
- 32, // [32:32] is the sub-list for extension type_name
- 32, // [32:32] is the sub-list for extension extendee
- 0, // [0:32] is the sub-list for field type_name
+ 17, // 7: bytebase.store.SchemaTemplateSetting.field_templates:type_name -> bytebase.store.SchemaTemplateSetting.FieldTemplate
+ 18, // 8: bytebase.store.SchemaTemplateSetting.column_types:type_name -> bytebase.store.SchemaTemplateSetting.ColumnType
+ 19, // 9: bytebase.store.SchemaTemplateSetting.table_templates:type_name -> bytebase.store.SchemaTemplateSetting.TableTemplate
+ 20, // 10: bytebase.store.DataClassificationSetting.configs:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig
+ 24, // 11: bytebase.store.SemanticTypeSetting.types:type_name -> bytebase.store.SemanticTypeSetting.SemanticType
+ 25, // 12: bytebase.store.MaskingAlgorithmSetting.algorithms:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm
+ 31, // 13: bytebase.store.AppIMSetting.slack:type_name -> bytebase.store.AppIMSetting.Slack
+ 32, // 14: bytebase.store.AppIMSetting.feishu:type_name -> bytebase.store.AppIMSetting.Feishu
+ 34, // 15: bytebase.store.WorkspaceApprovalSetting.Rule.expression:type_name -> google.api.expr.v1alpha1.ParsedExpr
+ 35, // 16: bytebase.store.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.store.ApprovalTemplate
+ 36, // 17: bytebase.store.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
+ 37, // 18: bytebase.store.SchemaTemplateSetting.FieldTemplate.engine:type_name -> bytebase.store.Engine
+ 38, // 19: bytebase.store.SchemaTemplateSetting.FieldTemplate.column:type_name -> bytebase.store.ColumnMetadata
+ 39, // 20: bytebase.store.SchemaTemplateSetting.FieldTemplate.config:type_name -> bytebase.store.ColumnConfig
+ 37, // 21: bytebase.store.SchemaTemplateSetting.ColumnType.engine:type_name -> bytebase.store.Engine
+ 37, // 22: bytebase.store.SchemaTemplateSetting.TableTemplate.engine:type_name -> bytebase.store.Engine
+ 40, // 23: bytebase.store.SchemaTemplateSetting.TableTemplate.table:type_name -> bytebase.store.TableMetadata
+ 41, // 24: bytebase.store.SchemaTemplateSetting.TableTemplate.config:type_name -> bytebase.store.TableConfig
+ 21, // 25: bytebase.store.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.Level
+ 23, // 26: bytebase.store.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
+ 22, // 27: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification
+ 26, // 28: bytebase.store.MaskingAlgorithmSetting.Algorithm.full_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.FullMask
+ 27, // 29: bytebase.store.MaskingAlgorithmSetting.Algorithm.range_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask
+ 28, // 30: bytebase.store.MaskingAlgorithmSetting.Algorithm.md5_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.MD5Mask
+ 29, // 31: bytebase.store.MaskingAlgorithmSetting.Algorithm.inner_outer_mask:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask
+ 30, // 32: bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask.slices:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice
+ 3, // 33: bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.type:type_name -> bytebase.store.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
+ 34, // [34:34] is the sub-list for method output_type
+ 34, // [34:34] is the sub-list for method input_type
+ 34, // [34:34] is the sub-list for extension type_name
+ 34, // [34:34] is the sub-list for extension extendee
+ 0, // [0:34] is the sub-list for field type_name
}
func init() { file_store_setting_proto_init() }
@@ -2519,7 +2696,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WorkspaceApprovalSetting_Rule); i {
+ switch v := v.(*AppIMSetting); i {
case 0:
return &v.state
case 1:
@@ -2531,7 +2708,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExternalApprovalSetting_Node); i {
+ switch v := v.(*WorkspaceApprovalSetting_Rule); i {
case 0:
return &v.state
case 1:
@@ -2543,7 +2720,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SchemaTemplateSetting_FieldTemplate); i {
+ switch v := v.(*ExternalApprovalSetting_Node); i {
case 0:
return &v.state
case 1:
@@ -2555,7 +2732,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SchemaTemplateSetting_ColumnType); i {
+ switch v := v.(*SchemaTemplateSetting_FieldTemplate); i {
case 0:
return &v.state
case 1:
@@ -2567,7 +2744,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SchemaTemplateSetting_TableTemplate); i {
+ switch v := v.(*SchemaTemplateSetting_ColumnType); i {
case 0:
return &v.state
case 1:
@@ -2579,7 +2756,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DataClassificationSetting_DataClassificationConfig); i {
+ switch v := v.(*SchemaTemplateSetting_TableTemplate); i {
case 0:
return &v.state
case 1:
@@ -2591,7 +2768,7 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DataClassificationSetting_DataClassificationConfig_Level); i {
+ switch v := v.(*DataClassificationSetting_DataClassificationConfig); i {
case 0:
return &v.state
case 1:
@@ -2603,6 +2780,18 @@ func file_store_setting_proto_init() {
}
}
file_store_setting_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DataClassificationSetting_DataClassificationConfig_Level); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_store_setting_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DataClassificationSetting_DataClassificationConfig_DataClassification); i {
case 0:
return &v.state
@@ -2614,7 +2803,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SemanticTypeSetting_SemanticType); i {
case 0:
return &v.state
@@ -2626,7 +2815,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm); i {
case 0:
return &v.state
@@ -2638,7 +2827,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_FullMask); i {
case 0:
return &v.state
@@ -2650,7 +2839,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_RangeMask); i {
case 0:
return &v.state
@@ -2662,7 +2851,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_MD5Mask); i {
case 0:
return &v.state
@@ -2674,7 +2863,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_InnerOuterMask); i {
case 0:
return &v.state
@@ -2686,7 +2875,7 @@ func file_store_setting_proto_init() {
return nil
}
}
- file_store_setting_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ file_store_setting_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_RangeMask_Slice); i {
case 0:
return &v.state
@@ -2698,9 +2887,33 @@ func file_store_setting_proto_init() {
return nil
}
}
+ file_store_setting_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AppIMSetting_Slack); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_store_setting_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AppIMSetting_Feishu); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
}
- file_store_setting_proto_msgTypes[17].OneofWrappers = []interface{}{}
- file_store_setting_proto_msgTypes[20].OneofWrappers = []interface{}{
+ file_store_setting_proto_msgTypes[18].OneofWrappers = []interface{}{}
+ file_store_setting_proto_msgTypes[21].OneofWrappers = []interface{}{
(*MaskingAlgorithmSetting_Algorithm_FullMask_)(nil),
(*MaskingAlgorithmSetting_Algorithm_RangeMask_)(nil),
(*MaskingAlgorithmSetting_Algorithm_Md5Mask)(nil),
@@ -2712,7 +2925,7 @@ func file_store_setting_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_setting_proto_rawDesc,
NumEnums: 4,
- NumMessages: 26,
+ NumMessages: 29,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/proto/generated-go/v1/setting_service.pb.go b/proto/generated-go/v1/setting_service.pb.go
index df566f96d7..313e7f509f 100644
--- a/proto/generated-go/v1/setting_service.pb.go
+++ b/proto/generated-go/v1/setting_service.pb.go
@@ -133,52 +133,6 @@ func (SMTPMailDeliverySettingValue_Authentication) EnumDescriptor() ([]byte, []i
return file_v1_setting_service_proto_rawDescGZIP(), []int{7, 1}
}
-type AppIMSetting_IMType int32
-
-const (
- AppIMSetting_IM_TYPE_UNSPECIFIED AppIMSetting_IMType = 0
- AppIMSetting_FEISHU AppIMSetting_IMType = 1
-)
-
-// Enum value maps for AppIMSetting_IMType.
-var (
- AppIMSetting_IMType_name = map[int32]string{
- 0: "IM_TYPE_UNSPECIFIED",
- 1: "FEISHU",
- }
- AppIMSetting_IMType_value = map[string]int32{
- "IM_TYPE_UNSPECIFIED": 0,
- "FEISHU": 1,
- }
-)
-
-func (x AppIMSetting_IMType) Enum() *AppIMSetting_IMType {
- p := new(AppIMSetting_IMType)
- *p = x
- return p
-}
-
-func (x AppIMSetting_IMType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (AppIMSetting_IMType) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_setting_service_proto_enumTypes[2].Descriptor()
-}
-
-func (AppIMSetting_IMType) Type() protoreflect.EnumType {
- return &file_v1_setting_service_proto_enumTypes[2]
-}
-
-func (x AppIMSetting_IMType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use AppIMSetting_IMType.Descriptor instead.
-func (AppIMSetting_IMType) EnumDescriptor() ([]byte, []int) {
- return file_v1_setting_service_proto_rawDescGZIP(), []int{8, 0}
-}
-
// We support three levels of AlertLevel: INFO, WARNING, and ERROR.
type Announcement_AlertLevel int32
@@ -216,11 +170,11 @@ func (x Announcement_AlertLevel) String() string {
}
func (Announcement_AlertLevel) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_setting_service_proto_enumTypes[3].Descriptor()
+ return file_v1_setting_service_proto_enumTypes[2].Descriptor()
}
func (Announcement_AlertLevel) Type() protoreflect.EnumType {
- return &file_v1_setting_service_proto_enumTypes[3]
+ return &file_v1_setting_service_proto_enumTypes[2]
}
func (x Announcement_AlertLevel) Number() protoreflect.EnumNumber {
@@ -265,11 +219,11 @@ func (x MaskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskType) String() stri
}
func (MaskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskType) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_setting_service_proto_enumTypes[4].Descriptor()
+ return file_v1_setting_service_proto_enumTypes[3].Descriptor()
}
func (MaskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskType) Type() protoreflect.EnumType {
- return &file_v1_setting_service_proto_enumTypes[4]
+ return &file_v1_setting_service_proto_enumTypes[3]
}
func (x MaskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskType) Number() protoreflect.EnumNumber {
@@ -993,10 +947,8 @@ type AppIMSetting struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- ImType AppIMSetting_IMType `protobuf:"varint,1,opt,name=im_type,json=imType,proto3,enum=bytebase.v1.AppIMSetting_IMType" json:"im_type,omitempty"`
- AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
- AppSecret string `protobuf:"bytes,3,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"`
- ExternalApproval *AppIMSetting_ExternalApproval `protobuf:"bytes,4,opt,name=external_approval,json=externalApproval,proto3" json:"external_approval,omitempty"`
+ Slack *AppIMSetting_Slack `protobuf:"bytes,1,opt,name=slack,proto3" json:"slack,omitempty"`
+ Feishu *AppIMSetting_Feishu `protobuf:"bytes,2,opt,name=feishu,proto3" json:"feishu,omitempty"`
}
func (x *AppIMSetting) Reset() {
@@ -1031,30 +983,16 @@ func (*AppIMSetting) Descriptor() ([]byte, []int) {
return file_v1_setting_service_proto_rawDescGZIP(), []int{8}
}
-func (x *AppIMSetting) GetImType() AppIMSetting_IMType {
- if x != nil {
- return x.ImType
- }
- return AppIMSetting_IM_TYPE_UNSPECIFIED
-}
-
-func (x *AppIMSetting) GetAppId() string {
- if x != nil {
- return x.AppId
- }
- return ""
-}
-
-func (x *AppIMSetting) GetAppSecret() string {
+func (x *AppIMSetting) GetSlack() *AppIMSetting_Slack {
if x != nil {
- return x.AppSecret
+ return x.Slack
}
- return ""
+ return nil
}
-func (x *AppIMSetting) GetExternalApproval() *AppIMSetting_ExternalApproval {
+func (x *AppIMSetting) GetFeishu() *AppIMSetting_Feishu {
if x != nil {
- return x.ExternalApproval
+ return x.Feishu
}
return nil
}
@@ -1674,17 +1612,16 @@ func (x *MaskingAlgorithmSetting) GetAlgorithms() []*MaskingAlgorithmSetting_Alg
return nil
}
-type AppIMSetting_ExternalApproval struct {
+type AppIMSetting_Slack struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- ApprovalDefinitionId string `protobuf:"bytes,2,opt,name=approval_definition_id,json=approvalDefinitionId,proto3" json:"approval_definition_id,omitempty"`
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}
-func (x *AppIMSetting_ExternalApproval) Reset() {
- *x = AppIMSetting_ExternalApproval{}
+func (x *AppIMSetting_Slack) Reset() {
+ *x = AppIMSetting_Slack{}
if protoimpl.UnsafeEnabled {
mi := &file_v1_setting_service_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1692,13 +1629,13 @@ func (x *AppIMSetting_ExternalApproval) Reset() {
}
}
-func (x *AppIMSetting_ExternalApproval) String() string {
+func (x *AppIMSetting_Slack) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*AppIMSetting_ExternalApproval) ProtoMessage() {}
+func (*AppIMSetting_Slack) ProtoMessage() {}
-func (x *AppIMSetting_ExternalApproval) ProtoReflect() protoreflect.Message {
+func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
mi := &file_v1_setting_service_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1710,21 +1647,69 @@ func (x *AppIMSetting_ExternalApproval) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use AppIMSetting_ExternalApproval.ProtoReflect.Descriptor instead.
-func (*AppIMSetting_ExternalApproval) Descriptor() ([]byte, []int) {
+// Deprecated: Use AppIMSetting_Slack.ProtoReflect.Descriptor instead.
+func (*AppIMSetting_Slack) Descriptor() ([]byte, []int) {
return file_v1_setting_service_proto_rawDescGZIP(), []int{8, 0}
}
-func (x *AppIMSetting_ExternalApproval) GetEnabled() bool {
+func (x *AppIMSetting_Slack) GetToken() string {
if x != nil {
- return x.Enabled
+ return x.Token
}
- return false
+ return ""
+}
+
+type AppIMSetting_Feishu struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
+ AppSecret string `protobuf:"bytes,2,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"`
+}
+
+func (x *AppIMSetting_Feishu) Reset() {
+ *x = AppIMSetting_Feishu{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_setting_service_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AppIMSetting_Feishu) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AppIMSetting_Feishu) ProtoMessage() {}
+
+func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_setting_service_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AppIMSetting_Feishu.ProtoReflect.Descriptor instead.
+func (*AppIMSetting_Feishu) Descriptor() ([]byte, []int) {
+ return file_v1_setting_service_proto_rawDescGZIP(), []int{8, 1}
+}
+
+func (x *AppIMSetting_Feishu) GetAppId() string {
+ if x != nil {
+ return x.AppId
+ }
+ return ""
}
-func (x *AppIMSetting_ExternalApproval) GetApprovalDefinitionId() string {
+func (x *AppIMSetting_Feishu) GetAppSecret() string {
if x != nil {
- return x.ApprovalDefinitionId
+ return x.AppSecret
}
return ""
}
@@ -1741,7 +1726,7 @@ type WorkspaceApprovalSetting_Rule struct {
func (x *WorkspaceApprovalSetting_Rule) Reset() {
*x = WorkspaceApprovalSetting_Rule{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[20]
+ mi := &file_v1_setting_service_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1754,7 +1739,7 @@ func (x *WorkspaceApprovalSetting_Rule) String() string {
func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}
func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[20]
+ mi := &file_v1_setting_service_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1801,7 +1786,7 @@ type ExternalApprovalSetting_Node struct {
func (x *ExternalApprovalSetting_Node) Reset() {
*x = ExternalApprovalSetting_Node{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[21]
+ mi := &file_v1_setting_service_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1814,7 +1799,7 @@ func (x *ExternalApprovalSetting_Node) String() string {
func (*ExternalApprovalSetting_Node) ProtoMessage() {}
func (x *ExternalApprovalSetting_Node) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[21]
+ mi := &file_v1_setting_service_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1866,7 +1851,7 @@ type SchemaTemplateSetting_FieldTemplate struct {
func (x *SchemaTemplateSetting_FieldTemplate) Reset() {
*x = SchemaTemplateSetting_FieldTemplate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[22]
+ mi := &file_v1_setting_service_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1879,7 +1864,7 @@ func (x *SchemaTemplateSetting_FieldTemplate) String() string {
func (*SchemaTemplateSetting_FieldTemplate) ProtoMessage() {}
func (x *SchemaTemplateSetting_FieldTemplate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[22]
+ mi := &file_v1_setting_service_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1943,7 +1928,7 @@ type SchemaTemplateSetting_ColumnType struct {
func (x *SchemaTemplateSetting_ColumnType) Reset() {
*x = SchemaTemplateSetting_ColumnType{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[23]
+ mi := &file_v1_setting_service_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1956,7 +1941,7 @@ func (x *SchemaTemplateSetting_ColumnType) String() string {
func (*SchemaTemplateSetting_ColumnType) ProtoMessage() {}
func (x *SchemaTemplateSetting_ColumnType) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[23]
+ mi := &file_v1_setting_service_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2008,7 +1993,7 @@ type SchemaTemplateSetting_TableTemplate struct {
func (x *SchemaTemplateSetting_TableTemplate) Reset() {
*x = SchemaTemplateSetting_TableTemplate{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[24]
+ mi := &file_v1_setting_service_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2021,7 +2006,7 @@ func (x *SchemaTemplateSetting_TableTemplate) String() string {
func (*SchemaTemplateSetting_TableTemplate) ProtoMessage() {}
func (x *SchemaTemplateSetting_TableTemplate) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[24]
+ mi := &file_v1_setting_service_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2091,7 +2076,7 @@ type DataClassificationSetting_DataClassificationConfig struct {
func (x *DataClassificationSetting_DataClassificationConfig) Reset() {
*x = DataClassificationSetting_DataClassificationConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[25]
+ mi := &file_v1_setting_service_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2104,7 +2089,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) String() string {
func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[25]
+ mi := &file_v1_setting_service_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2161,7 +2146,7 @@ type DataClassificationSetting_DataClassificationConfig_Level struct {
func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_Level{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[26]
+ mi := &file_v1_setting_service_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2174,7 +2159,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) String() stri
func (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[26]
+ mi := &file_v1_setting_service_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2226,7 +2211,7 @@ type DataClassificationSetting_DataClassificationConfig_DataClassification struc
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {
*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[27]
+ mi := &file_v1_setting_service_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2239,7 +2224,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}
func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[27]
+ mi := &file_v1_setting_service_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2303,7 +2288,7 @@ type SemanticTypeSetting_SemanticType struct {
func (x *SemanticTypeSetting_SemanticType) Reset() {
*x = SemanticTypeSetting_SemanticType{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[29]
+ mi := &file_v1_setting_service_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2316,7 +2301,7 @@ func (x *SemanticTypeSetting_SemanticType) String() string {
func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}
func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[29]
+ mi := &file_v1_setting_service_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2395,7 +2380,7 @@ type MaskingAlgorithmSetting_Algorithm struct {
func (x *MaskingAlgorithmSetting_Algorithm) Reset() {
*x = MaskingAlgorithmSetting_Algorithm{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[30]
+ mi := &file_v1_setting_service_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2408,7 +2393,7 @@ func (x *MaskingAlgorithmSetting_Algorithm) String() string {
func (*MaskingAlgorithmSetting_Algorithm) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[30]
+ mi := &file_v1_setting_service_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2529,7 +2514,7 @@ type MaskingAlgorithmSetting_Algorithm_FullMask struct {
func (x *MaskingAlgorithmSetting_Algorithm_FullMask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_FullMask{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[31]
+ mi := &file_v1_setting_service_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2542,7 +2527,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_FullMask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_FullMask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_FullMask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[31]
+ mi := &file_v1_setting_service_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2578,7 +2563,7 @@ type MaskingAlgorithmSetting_Algorithm_RangeMask struct {
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_RangeMask{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[32]
+ mi := &file_v1_setting_service_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2591,7 +2576,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_RangeMask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_RangeMask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[32]
+ mi := &file_v1_setting_service_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2626,7 +2611,7 @@ type MaskingAlgorithmSetting_Algorithm_MD5Mask struct {
func (x *MaskingAlgorithmSetting_Algorithm_MD5Mask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_MD5Mask{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[33]
+ mi := &file_v1_setting_service_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2639,7 +2624,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_MD5Mask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_MD5Mask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[33]
+ mi := &file_v1_setting_service_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2676,7 +2661,7 @@ type MaskingAlgorithmSetting_Algorithm_InnerOuterMask struct {
func (x *MaskingAlgorithmSetting_Algorithm_InnerOuterMask) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_InnerOuterMask{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[34]
+ mi := &file_v1_setting_service_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2689,7 +2674,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_InnerOuterMask) String() string {
func (*MaskingAlgorithmSetting_Algorithm_InnerOuterMask) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[34]
+ mi := &file_v1_setting_service_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2749,7 +2734,7 @@ type MaskingAlgorithmSetting_Algorithm_RangeMask_Slice struct {
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) Reset() {
*x = MaskingAlgorithmSetting_Algorithm_RangeMask_Slice{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_setting_service_proto_msgTypes[35]
+ mi := &file_v1_setting_service_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2762,7 +2747,7 @@ func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) String() string {
func (*MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) ProtoMessage() {}
func (x *MaskingAlgorithmSetting_Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
- mi := &file_v1_setting_service_proto_msgTypes[35]
+ mi := &file_v1_setting_service_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2977,325 +2962,316 @@ var file_v1_setting_service_proto_rawDesc = []byte{
0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x52, 0x41, 0x4d, 0x5f, 0x4d, 0x44,
0x35, 0x10, 0x04, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x63, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x6b,
0x65, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
- 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xeb, 0x02, 0x0a, 0x0c, 0x41, 0x70, 0x70,
- 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x39, 0x0a, 0x07, 0x69, 0x6d, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x49, 0x4d, 0x53, 0x65,
- 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x49, 0x4d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x69, 0x6d,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
- 0x70, 0x70, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x61, 0x70, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x57, 0x0a, 0x11, 0x65, 0x78,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,
- 0x6c, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f,
- 0x76, 0x61, 0x6c, 0x1a, 0x62, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41,
- 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
- 0x64, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x14, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x06, 0x49, 0x4d, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
- 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x45,
- 0x49, 0x53, 0x48, 0x55, 0x10, 0x01, 0x22, 0x3c, 0x0a, 0x12, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50,
- 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x10, 0x0a, 0x03,
- 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14,
- 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
- 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdf, 0x02, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
- 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
- 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x6c,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
- 0x55, 0x72, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f,
- 0x73, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69,
- 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x12, 0x1f, 0x0a, 0x0b,
- 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x32, 0x66, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x32, 0x66, 0x61, 0x12, 0x28, 0x0a,
- 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x70, 0x5f, 0x6c, 0x69, 0x73,
- 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
- 0x64, 0x49, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x6f, 0x70,
- 0x73, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x57, 0x65, 0x62, 0x68, 0x6f,
- 0x6f, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x40, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x64,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x6e, 0x6e, 0x6f, 0x75,
- 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f,
- 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x6e, 0x6e, 0x6f, 0x75, 0x6e,
- 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xe6, 0x01, 0x0a, 0x0c, 0x41, 0x6e, 0x6e, 0x6f, 0x75,
- 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e,
- 0x74, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65,
- 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x72, 0x0a, 0x0a, 0x41,
- 0x6c, 0x65, 0x72, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x4c, 0x45,
- 0x52, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f,
- 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13,
- 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x57, 0x41, 0x52, 0x4e,
- 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x4c,
- 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x03, 0x22,
- 0xd0, 0x01, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x70, 0x70,
- 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x40, 0x0a, 0x05,
- 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
- 0x61, 0x63, 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69,
- 0x6e, 0x67, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x72,
- 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
- 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x54,
- 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
- 0x65, 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, 0xa4, 0x01, 0x0a, 0x17, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41,
- 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x3f,
- 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74,
- 0x69, 0x6e, 0x67, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x1a,
- 0x48, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a,
- 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xac, 0x06, 0x0a, 0x15, 0x53, 0x63,
+ 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x0c, 0x41, 0x70, 0x70,
+ 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x6c, 0x61,
+ 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74,
+ 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x52, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b,
+ 0x12, 0x38, 0x0a, 0x06, 0x66, 0x65, 0x69, 0x73, 0x68, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
+ 0x70, 0x70, 0x49, 0x4d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x65, 0x69, 0x73,
+ 0x68, 0x75, 0x52, 0x06, 0x66, 0x65, 0x69, 0x73, 0x68, 0x75, 0x1a, 0x1d, 0x0a, 0x05, 0x53, 0x6c,
+ 0x61, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x3e, 0x0a, 0x06, 0x46, 0x65, 0x69,
+ 0x73, 0x68, 0x75, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x70,
+ 0x70, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x61, 0x70, 0x70, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x3c, 0x0a, 0x12, 0x41, 0x67, 0x65,
+ 0x6e, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
+ 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
+ 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdf, 0x02, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b,
+ 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x74,
+ 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
+ 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72,
+ 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c,
+ 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x0e, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x12,
+ 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x32, 0x66, 0x61, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x32, 0x66, 0x61,
+ 0x12, 0x28, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x70, 0x5f,
+ 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x62,
+ 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69,
+ 0x74, 0x6f, 0x70, 0x73, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x72, 0x6c,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x57, 0x65,
+ 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x40, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x74, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x6e,
+ 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
+ 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x6e, 0x6e,
+ 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xe6, 0x01, 0x0a, 0x0c, 0x41, 0x6e,
+ 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x6c, 0x65,
+ 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65,
+ 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52,
+ 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69,
+ 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x72,
+ 0x0a, 0x0a, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x17,
+ 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x4c, 0x45,
+ 0x52, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x01, 0x12,
+ 0x17, 0x0a, 0x13, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x57,
+ 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x4c, 0x45, 0x52,
+ 0x54, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c,
+ 0x10, 0x03, 0x22, 0xd0, 0x01, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
+ 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
+ 0x40, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72,
+ 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65,
+ 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65,
+ 0x73, 0x1a, 0x72, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x08, 0x74, 0x65, 0x6d,
+ 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76,
+ 0x61, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70,
+ 0x6c, 0x61, 0x74, 0x65, 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, 0xa4, 0x01, 0x0a, 0x17, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,
+ 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
+ 0x67, 0x12, 0x3f, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45,
+ 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64,
+ 0x65, 0x73, 0x1a, 0x48, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
+ 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
+ 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xac, 0x06, 0x0a,
+ 0x15, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x59, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
+ 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63,
0x68, 0x65, 0x6d, 0x61, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74,
- 0x69, 0x6e, 0x67, 0x12, 0x59, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x65, 0x6d,
- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62,
+ 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+ 0x65, 0x52, 0x0e, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
+ 0x73, 0x12, 0x50, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
+ 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x65, 0x6d, 0x70,
+ 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6c, 0x75,
+ 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79,
+ 0x70, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x65, 0x6d,
+ 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62,
0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d,
0x61, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
- 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0e,
- 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x50,
- 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
- 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54,
- 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73,
- 0x12, 0x59, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
- 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x65,
- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x61,
- 0x62, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0xd0, 0x01, 0x0a, 0x0d,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a,
- 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a,
- 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69,
- 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61,
- 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61,
- 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x31, 0x0a, 0x06, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x69,
- 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x06,
- 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e,
- 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61,
- 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
- 0x6c, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0xcc, 0x01, 0x0a, 0x0d, 0x54, 0x61,
- 0x62, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x06, 0x65,
- 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65,
- 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65,
- 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65,
- 0x67, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,
- 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x98, 0x02, 0x0a, 0x15, 0x57, 0x6f, 0x72,
- 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69,
- 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70,
- 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
+ 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0e,
+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0xd0,
+ 0x01, 0x0a, 0x0d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
+ 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
+ 0x12, 0x2b, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45,
+ 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1a, 0x0a,
+ 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x06, 0x63, 0x6f, 0x6c,
+ 0x75, 0x6d, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x31,
+ 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
+ 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x1a, 0x69, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x2b, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e,
+ 0x67, 0x69, 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07,
+ 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65,
+ 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
+ 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0xcc, 0x01, 0x0a,
+ 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e,
+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b,
+ 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67,
+ 0x69, 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63,
+ 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
+ 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x63, 0x6f, 0x6e,
+ 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e,
+ 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x98, 0x02, 0x0a, 0x15,
+ 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65,
+ 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
+ 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x69,
+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b,
+ 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65,
+ 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x69, 0x73, 0x73,
+ 0x75, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69,
- 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x19, 0x0a,
- 0x08, 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x70,
- 0x6c, 0x61, 0x6e, 0x22, 0x8a, 0x06, 0x0a, 0x19, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73,
- 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
- 0x67, 0x12, 0x59, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75,
+ 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63,
+ 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74,
+ 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x70,
+ 0x6c, 0x61, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65,
+ 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x8a, 0x06, 0x0a, 0x19, 0x44, 0x61, 0x74, 0x61, 0x43,
+ 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74,
+ 0x74, 0x69, 0x6e, 0x67, 0x12, 0x59, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61,
+ 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a,
+ 0x91, 0x05, 0x0a, 0x18, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x0e, 0x0a, 0x02,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
+ 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74,
+ 0x6c, 0x65, 0x12, 0x5d, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43,
0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x91, 0x05, 0x0a,
- 0x18, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74,
- 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12,
- 0x5d, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x45, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,
- 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73,
- 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x7b,
- 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,
- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44,
- 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x63, 0x6c, 0x61,
- 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4f, 0x0a, 0x05, 0x4c,
- 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x89, 0x01, 0x0a,
- 0x12, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c,
+ 0x73, 0x12, 0x7b, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73,
+ 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
+ 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73,
+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e,
+ 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4f,
+ 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a,
+ 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
+ 0x89, 0x01, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b,
+ 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e,
+ 0x0a, 0x08, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
+ 0x48, 0x00, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b,
+ 0x0a, 0x09, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x1a, 0x95, 0x01, 0x0a, 0x13,
+ 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x68, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x74,
+ 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69,
+ 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
+ 0x02, 0x38, 0x01, 0x22, 0xa3, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63,
+ 0x54, 0x79, 0x70, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x43, 0x0a, 0x05, 0x74,
+ 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69,
+ 0x63, 0x54, 0x79, 0x70, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x6d,
+ 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73,
+ 0x1a, 0xc6, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70,
+ 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
+ 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
+ 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
+ 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x19, 0x70, 0x61, 0x72,
+ 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69,
+ 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x70, 0x61,
+ 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,
+ 0x68, 0x6d, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73,
+ 0x6b, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6c,
+ 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x22, 0xee, 0x08, 0x0a, 0x17, 0x4d, 0x61,
+ 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65,
+ 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x4e, 0x0a, 0x0a, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,
+ 0x68, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41,
+ 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e,
+ 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x0a, 0x61, 0x6c, 0x67, 0x6f, 0x72,
+ 0x69, 0x74, 0x68, 0x6d, 0x73, 0x1a, 0x82, 0x08, 0x0a, 0x09, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
+ 0x74, 0x68, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x08, 0x6c,
- 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
- 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
- 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x1a, 0x95, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x61,
- 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x68, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x52, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c,
- 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x22, 0xa3, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70,
- 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x43, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79,
- 0x70, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74,
- 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0xc6, 0x01,
- 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
- 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x19, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61,
- 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,
- 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x70, 0x61, 0x72, 0x74, 0x69,
- 0x61, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49,
- 0x64, 0x12, 0x33, 0x0a, 0x16, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x61,
- 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x13, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6c, 0x67, 0x6f, 0x72,
- 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x22, 0xee, 0x08, 0x0a, 0x17, 0x4d, 0x61, 0x73, 0x6b, 0x69,
+ 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63,
+ 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
+ 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x56, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f,
+ 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,
+ 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
+ 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x4d,
+ 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x12,
+ 0x59, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,
+ 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
+ 0x74, 0x68, 0x6d, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52,
+ 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x53, 0x0a, 0x08, 0x6d, 0x64,
+ 0x35, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69,
0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69,
- 0x6e, 0x67, 0x12, 0x4e, 0x0a, 0x0a, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f,
- 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67,
- 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x0a, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68,
- 0x6d, 0x73, 0x1a, 0x82, 0x08, 0x0a, 0x09, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
- 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65,
- 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65,
- 0x67, 0x6f, 0x72, 0x79, 0x12, 0x56, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73,
- 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67,
- 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c,
- 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b,
- 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x59, 0x0a, 0x0a,
- 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x38, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,
- 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x09, 0x72, 0x61,
- 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x53, 0x0a, 0x08, 0x6d, 0x64, 0x35, 0x5f, 0x6d,
- 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x4d, 0x44, 0x35,
+ 0x4d, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x64, 0x35, 0x4d, 0x61, 0x73, 0x6b, 0x12,
+ 0x69, 0x0a, 0x10, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x6d,
+ 0x61, 0x73, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x62, 0x79, 0x74, 0x65,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41,
0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e,
- 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x4d, 0x44, 0x35, 0x4d, 0x61, 0x73,
- 0x6b, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x64, 0x35, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x69, 0x0a, 0x10,
- 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f,
- 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67,
- 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x65,
- 0x72, 0x4d, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x4f, 0x75,
- 0x74, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0x2e, 0x0a, 0x08, 0x46, 0x75, 0x6c, 0x6c, 0x4d,
- 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74,
- 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xb8, 0x01, 0x0a, 0x09, 0x52, 0x61, 0x6e, 0x67,
- 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x56, 0x0a, 0x06, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72,
- 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67, 0x6f,
- 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x2e,
- 0x53, 0x6c, 0x69, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x53, 0x0a,
- 0x05, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x22,
- 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69,
- 0x6f, 0x6e, 0x1a, 0x1d, 0x0a, 0x07, 0x4d, 0x44, 0x35, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a,
- 0x04, 0x73, 0x61, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x61, 0x6c,
- 0x74, 0x1a, 0x8b, 0x02, 0x0a, 0x0e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x65, 0x72,
- 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x5f, 0x6c,
- 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
- 0x4c, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x65,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x4c,
- 0x65, 0x6e, 0x12, 0x5a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x46, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,
- 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x6b, 0x2e,
- 0x4d, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22,
- 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69,
- 0x6f, 0x6e, 0x22, 0x3b, 0x0a, 0x08, 0x4d, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19,
- 0x0a, 0x15, 0x4d, 0x41, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
- 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x4e,
- 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x10, 0x02, 0x42,
- 0x06, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x32, 0xe2, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74,
- 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x0c, 0x4c, 0x69,
- 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74,
- 0x74, 0x69, 0x6e, 0x67, 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, 0x53,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x17, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f,
- 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x68, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x24, 0xda, 0x41,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f,
- 0x2a, 0x7d, 0x12, 0x78, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74,
- 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x2e, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0x1d, 0x2f,
- 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f,
- 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4f,
+ 0x75, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x6e, 0x65,
+ 0x72, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x6b, 0x1a, 0x2e, 0x0a, 0x08, 0x46, 0x75,
+ 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69,
+ 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
+ 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xb8, 0x01, 0x0a, 0x09, 0x52,
+ 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x56, 0x0a, 0x06, 0x73, 0x6c, 0x69, 0x63,
+ 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c,
+ 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41,
+ 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61,
+ 0x73, 0x6b, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73,
+ 0x1a, 0x53, 0x0a, 0x05, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
+ 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12,
+ 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e,
+ 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74,
+ 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1d, 0x0a, 0x07, 0x4d, 0x44, 0x35, 0x4d, 0x61, 0x73, 0x6b,
+ 0x12, 0x12, 0x0a, 0x04, 0x73, 0x61, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+ 0x73, 0x61, 0x6c, 0x74, 0x1a, 0x8b, 0x02, 0x0a, 0x0e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4f, 0x75,
+ 0x74, 0x65, 0x72, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x69,
+ 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65,
+ 0x66, 0x69, 0x78, 0x4c, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78,
+ 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x75, 0x66, 0x66,
+ 0x69, 0x78, 0x4c, 0x65, 0x6e, 0x12, 0x5a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,
+ 0x68, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
+ 0x74, 0x68, 0x6d, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x4d, 0x61,
+ 0x73, 0x6b, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74,
+ 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3b, 0x0a, 0x08, 0x4d, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70,
+ 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x41, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
+ 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
+ 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x55, 0x54, 0x45, 0x52,
+ 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x32, 0xe2, 0x02, 0x0a, 0x0e, 0x53,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a,
+ 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x20, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
+ 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 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, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x22, 0x17, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f,
+ 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x68, 0x0a, 0x0a, 0x47,
+ 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
+ 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22,
+ 0x24, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
+ 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x78, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
+ 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22,
+ 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
+ 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42,
+ 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f,
+ 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -3310,34 +3286,34 @@ func file_v1_setting_service_proto_rawDescGZIP() []byte {
return file_v1_setting_service_proto_rawDescData
}
-var file_v1_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
-var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
+var file_v1_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
+var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 37)
var file_v1_setting_service_proto_goTypes = []interface{}{
(SMTPMailDeliverySettingValue_Encryption)(0), // 0: bytebase.v1.SMTPMailDeliverySettingValue.Encryption
(SMTPMailDeliverySettingValue_Authentication)(0), // 1: bytebase.v1.SMTPMailDeliverySettingValue.Authentication
- (AppIMSetting_IMType)(0), // 2: bytebase.v1.AppIMSetting.IMType
- (Announcement_AlertLevel)(0), // 3: bytebase.v1.Announcement.AlertLevel
- (MaskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskType)(0), // 4: bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
- (*ListSettingsRequest)(nil), // 5: bytebase.v1.ListSettingsRequest
- (*ListSettingsResponse)(nil), // 6: bytebase.v1.ListSettingsResponse
- (*GetSettingRequest)(nil), // 7: bytebase.v1.GetSettingRequest
- (*GetSettingResponse)(nil), // 8: bytebase.v1.GetSettingResponse
- (*UpdateSettingRequest)(nil), // 9: bytebase.v1.UpdateSettingRequest
- (*Setting)(nil), // 10: bytebase.v1.Setting
- (*Value)(nil), // 11: bytebase.v1.Value
- (*SMTPMailDeliverySettingValue)(nil), // 12: bytebase.v1.SMTPMailDeliverySettingValue
- (*AppIMSetting)(nil), // 13: bytebase.v1.AppIMSetting
- (*AgentPluginSetting)(nil), // 14: bytebase.v1.AgentPluginSetting
- (*WorkspaceProfileSetting)(nil), // 15: bytebase.v1.WorkspaceProfileSetting
- (*Announcement)(nil), // 16: bytebase.v1.Announcement
- (*WorkspaceApprovalSetting)(nil), // 17: bytebase.v1.WorkspaceApprovalSetting
- (*ExternalApprovalSetting)(nil), // 18: bytebase.v1.ExternalApprovalSetting
- (*SchemaTemplateSetting)(nil), // 19: bytebase.v1.SchemaTemplateSetting
- (*WorkspaceTrialSetting)(nil), // 20: bytebase.v1.WorkspaceTrialSetting
- (*DataClassificationSetting)(nil), // 21: bytebase.v1.DataClassificationSetting
- (*SemanticTypeSetting)(nil), // 22: bytebase.v1.SemanticTypeSetting
- (*MaskingAlgorithmSetting)(nil), // 23: bytebase.v1.MaskingAlgorithmSetting
- (*AppIMSetting_ExternalApproval)(nil), // 24: bytebase.v1.AppIMSetting.ExternalApproval
+ (Announcement_AlertLevel)(0), // 2: bytebase.v1.Announcement.AlertLevel
+ (MaskingAlgorithmSetting_Algorithm_InnerOuterMask_MaskType)(0), // 3: bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
+ (*ListSettingsRequest)(nil), // 4: bytebase.v1.ListSettingsRequest
+ (*ListSettingsResponse)(nil), // 5: bytebase.v1.ListSettingsResponse
+ (*GetSettingRequest)(nil), // 6: bytebase.v1.GetSettingRequest
+ (*GetSettingResponse)(nil), // 7: bytebase.v1.GetSettingResponse
+ (*UpdateSettingRequest)(nil), // 8: bytebase.v1.UpdateSettingRequest
+ (*Setting)(nil), // 9: bytebase.v1.Setting
+ (*Value)(nil), // 10: bytebase.v1.Value
+ (*SMTPMailDeliverySettingValue)(nil), // 11: bytebase.v1.SMTPMailDeliverySettingValue
+ (*AppIMSetting)(nil), // 12: bytebase.v1.AppIMSetting
+ (*AgentPluginSetting)(nil), // 13: bytebase.v1.AgentPluginSetting
+ (*WorkspaceProfileSetting)(nil), // 14: bytebase.v1.WorkspaceProfileSetting
+ (*Announcement)(nil), // 15: bytebase.v1.Announcement
+ (*WorkspaceApprovalSetting)(nil), // 16: bytebase.v1.WorkspaceApprovalSetting
+ (*ExternalApprovalSetting)(nil), // 17: bytebase.v1.ExternalApprovalSetting
+ (*SchemaTemplateSetting)(nil), // 18: bytebase.v1.SchemaTemplateSetting
+ (*WorkspaceTrialSetting)(nil), // 19: bytebase.v1.WorkspaceTrialSetting
+ (*DataClassificationSetting)(nil), // 20: bytebase.v1.DataClassificationSetting
+ (*SemanticTypeSetting)(nil), // 21: bytebase.v1.SemanticTypeSetting
+ (*MaskingAlgorithmSetting)(nil), // 22: bytebase.v1.MaskingAlgorithmSetting
+ (*AppIMSetting_Slack)(nil), // 23: bytebase.v1.AppIMSetting.Slack
+ (*AppIMSetting_Feishu)(nil), // 24: bytebase.v1.AppIMSetting.Feishu
(*WorkspaceApprovalSetting_Rule)(nil), // 25: bytebase.v1.WorkspaceApprovalSetting.Rule
(*ExternalApprovalSetting_Node)(nil), // 26: bytebase.v1.ExternalApprovalSetting.Node
(*SchemaTemplateSetting_FieldTemplate)(nil), // 27: bytebase.v1.SchemaTemplateSetting.FieldTemplate
@@ -3366,28 +3342,28 @@ var file_v1_setting_service_proto_goTypes = []interface{}{
(*TableConfig)(nil), // 50: bytebase.v1.TableConfig
}
var file_v1_setting_service_proto_depIdxs = []int32{
- 10, // 0: bytebase.v1.ListSettingsResponse.settings:type_name -> bytebase.v1.Setting
- 10, // 1: bytebase.v1.GetSettingResponse.setting:type_name -> bytebase.v1.Setting
- 10, // 2: bytebase.v1.UpdateSettingRequest.setting:type_name -> bytebase.v1.Setting
- 11, // 3: bytebase.v1.Setting.value:type_name -> bytebase.v1.Value
- 12, // 4: bytebase.v1.Value.smtp_mail_delivery_setting_value:type_name -> bytebase.v1.SMTPMailDeliverySettingValue
- 13, // 5: bytebase.v1.Value.app_im_setting_value:type_name -> bytebase.v1.AppIMSetting
- 14, // 6: bytebase.v1.Value.agent_plugin_setting_value:type_name -> bytebase.v1.AgentPluginSetting
- 15, // 7: bytebase.v1.Value.workspace_profile_setting_value:type_name -> bytebase.v1.WorkspaceProfileSetting
- 17, // 8: bytebase.v1.Value.workspace_approval_setting_value:type_name -> bytebase.v1.WorkspaceApprovalSetting
- 20, // 9: bytebase.v1.Value.workspace_trial_setting_value:type_name -> bytebase.v1.WorkspaceTrialSetting
- 18, // 10: bytebase.v1.Value.external_approval_setting_value:type_name -> bytebase.v1.ExternalApprovalSetting
- 19, // 11: bytebase.v1.Value.schema_template_setting_value:type_name -> bytebase.v1.SchemaTemplateSetting
- 21, // 12: bytebase.v1.Value.data_classification_setting_value:type_name -> bytebase.v1.DataClassificationSetting
- 22, // 13: bytebase.v1.Value.semantic_type_setting_value:type_name -> bytebase.v1.SemanticTypeSetting
- 23, // 14: bytebase.v1.Value.masking_algorithm_setting_value:type_name -> bytebase.v1.MaskingAlgorithmSetting
+ 9, // 0: bytebase.v1.ListSettingsResponse.settings:type_name -> bytebase.v1.Setting
+ 9, // 1: bytebase.v1.GetSettingResponse.setting:type_name -> bytebase.v1.Setting
+ 9, // 2: bytebase.v1.UpdateSettingRequest.setting:type_name -> bytebase.v1.Setting
+ 10, // 3: bytebase.v1.Setting.value:type_name -> bytebase.v1.Value
+ 11, // 4: bytebase.v1.Value.smtp_mail_delivery_setting_value:type_name -> bytebase.v1.SMTPMailDeliverySettingValue
+ 12, // 5: bytebase.v1.Value.app_im_setting_value:type_name -> bytebase.v1.AppIMSetting
+ 13, // 6: bytebase.v1.Value.agent_plugin_setting_value:type_name -> bytebase.v1.AgentPluginSetting
+ 14, // 7: bytebase.v1.Value.workspace_profile_setting_value:type_name -> bytebase.v1.WorkspaceProfileSetting
+ 16, // 8: bytebase.v1.Value.workspace_approval_setting_value:type_name -> bytebase.v1.WorkspaceApprovalSetting
+ 19, // 9: bytebase.v1.Value.workspace_trial_setting_value:type_name -> bytebase.v1.WorkspaceTrialSetting
+ 17, // 10: bytebase.v1.Value.external_approval_setting_value:type_name -> bytebase.v1.ExternalApprovalSetting
+ 18, // 11: bytebase.v1.Value.schema_template_setting_value:type_name -> bytebase.v1.SchemaTemplateSetting
+ 20, // 12: bytebase.v1.Value.data_classification_setting_value:type_name -> bytebase.v1.DataClassificationSetting
+ 21, // 13: bytebase.v1.Value.semantic_type_setting_value:type_name -> bytebase.v1.SemanticTypeSetting
+ 22, // 14: bytebase.v1.Value.masking_algorithm_setting_value:type_name -> bytebase.v1.MaskingAlgorithmSetting
0, // 15: bytebase.v1.SMTPMailDeliverySettingValue.encryption:type_name -> bytebase.v1.SMTPMailDeliverySettingValue.Encryption
1, // 16: bytebase.v1.SMTPMailDeliverySettingValue.authentication:type_name -> bytebase.v1.SMTPMailDeliverySettingValue.Authentication
- 2, // 17: bytebase.v1.AppIMSetting.im_type:type_name -> bytebase.v1.AppIMSetting.IMType
- 24, // 18: bytebase.v1.AppIMSetting.external_approval:type_name -> bytebase.v1.AppIMSetting.ExternalApproval
+ 23, // 17: bytebase.v1.AppIMSetting.slack:type_name -> bytebase.v1.AppIMSetting.Slack
+ 24, // 18: bytebase.v1.AppIMSetting.feishu:type_name -> bytebase.v1.AppIMSetting.Feishu
41, // 19: bytebase.v1.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration
- 16, // 20: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement
- 3, // 21: bytebase.v1.Announcement.level:type_name -> bytebase.v1.Announcement.AlertLevel
+ 15, // 20: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement
+ 2, // 21: bytebase.v1.Announcement.level:type_name -> bytebase.v1.Announcement.AlertLevel
25, // 22: bytebase.v1.WorkspaceApprovalSetting.rules:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule
26, // 23: bytebase.v1.ExternalApprovalSetting.nodes:type_name -> bytebase.v1.ExternalApprovalSetting.Node
27, // 24: bytebase.v1.SchemaTemplateSetting.field_templates:type_name -> bytebase.v1.SchemaTemplateSetting.FieldTemplate
@@ -3416,13 +3392,13 @@ var file_v1_setting_service_proto_depIdxs = []int32{
38, // 47: bytebase.v1.MaskingAlgorithmSetting.Algorithm.md5_mask:type_name -> bytebase.v1.MaskingAlgorithmSetting.Algorithm.MD5Mask
39, // 48: bytebase.v1.MaskingAlgorithmSetting.Algorithm.inner_outer_mask:type_name -> bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask
40, // 49: bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask.slices:type_name -> bytebase.v1.MaskingAlgorithmSetting.Algorithm.RangeMask.Slice
- 4, // 50: bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
- 5, // 51: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest
- 7, // 52: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest
- 9, // 53: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest
- 6, // 54: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse
- 10, // 55: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting
- 10, // 56: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting
+ 3, // 50: bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.MaskingAlgorithmSetting.Algorithm.InnerOuterMask.MaskType
+ 4, // 51: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest
+ 6, // 52: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest
+ 8, // 53: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest
+ 5, // 54: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse
+ 9, // 55: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting
+ 9, // 56: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting
54, // [54:57] is the sub-list for method output_type
51, // [51:54] is the sub-list for method input_type
51, // [51:51] is the sub-list for extension type_name
@@ -3669,7 +3645,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppIMSetting_ExternalApproval); i {
+ switch v := v.(*AppIMSetting_Slack); i {
case 0:
return &v.state
case 1:
@@ -3681,7 +3657,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WorkspaceApprovalSetting_Rule); i {
+ switch v := v.(*AppIMSetting_Feishu); i {
case 0:
return &v.state
case 1:
@@ -3693,7 +3669,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExternalApprovalSetting_Node); i {
+ switch v := v.(*WorkspaceApprovalSetting_Rule); i {
case 0:
return &v.state
case 1:
@@ -3705,7 +3681,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SchemaTemplateSetting_FieldTemplate); i {
+ switch v := v.(*ExternalApprovalSetting_Node); i {
case 0:
return &v.state
case 1:
@@ -3717,7 +3693,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SchemaTemplateSetting_ColumnType); i {
+ switch v := v.(*SchemaTemplateSetting_FieldTemplate); i {
case 0:
return &v.state
case 1:
@@ -3729,7 +3705,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SchemaTemplateSetting_TableTemplate); i {
+ switch v := v.(*SchemaTemplateSetting_ColumnType); i {
case 0:
return &v.state
case 1:
@@ -3741,7 +3717,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DataClassificationSetting_DataClassificationConfig); i {
+ switch v := v.(*SchemaTemplateSetting_TableTemplate); i {
case 0:
return &v.state
case 1:
@@ -3753,7 +3729,7 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DataClassificationSetting_DataClassificationConfig_Level); i {
+ switch v := v.(*DataClassificationSetting_DataClassificationConfig); i {
case 0:
return &v.state
case 1:
@@ -3765,6 +3741,18 @@ func file_v1_setting_service_proto_init() {
}
}
file_v1_setting_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DataClassificationSetting_DataClassificationConfig_Level); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_setting_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DataClassificationSetting_DataClassificationConfig_DataClassification); i {
case 0:
return &v.state
@@ -3776,7 +3764,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SemanticTypeSetting_SemanticType); i {
case 0:
return &v.state
@@ -3788,7 +3776,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm); i {
case 0:
return &v.state
@@ -3800,7 +3788,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_FullMask); i {
case 0:
return &v.state
@@ -3812,7 +3800,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_RangeMask); i {
case 0:
return &v.state
@@ -3824,7 +3812,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_MD5Mask); i {
case 0:
return &v.state
@@ -3836,7 +3824,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_InnerOuterMask); i {
case 0:
return &v.state
@@ -3848,7 +3836,7 @@ func file_v1_setting_service_proto_init() {
return nil
}
}
- file_v1_setting_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ file_v1_setting_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MaskingAlgorithmSetting_Algorithm_RangeMask_Slice); i {
case 0:
return &v.state
@@ -3876,8 +3864,8 @@ func file_v1_setting_service_proto_init() {
(*Value_MaskingAlgorithmSettingValue)(nil),
}
file_v1_setting_service_proto_msgTypes[7].OneofWrappers = []interface{}{}
- file_v1_setting_service_proto_msgTypes[27].OneofWrappers = []interface{}{}
- file_v1_setting_service_proto_msgTypes[30].OneofWrappers = []interface{}{
+ file_v1_setting_service_proto_msgTypes[28].OneofWrappers = []interface{}{}
+ file_v1_setting_service_proto_msgTypes[31].OneofWrappers = []interface{}{
(*MaskingAlgorithmSetting_Algorithm_FullMask_)(nil),
(*MaskingAlgorithmSetting_Algorithm_RangeMask_)(nil),
(*MaskingAlgorithmSetting_Algorithm_Md5Mask)(nil),
@@ -3888,8 +3876,8 @@ func file_v1_setting_service_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_setting_service_proto_rawDesc,
- NumEnums: 5,
- NumMessages: 36,
+ NumEnums: 4,
+ NumMessages: 37,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/store/setting.proto b/proto/store/setting.proto
index 4f9ea3bd9a..95dd84f42f 100644
--- a/proto/store/setting.proto
+++ b/proto/store/setting.proto
@@ -286,3 +286,16 @@ message MaskingAlgorithmSetting {
// algorithms is the list of masking algorithms.
repeated Algorithm algorithms = 1;
}
+
+message AppIMSetting {
+ message Slack {
+ string token = 1;
+ }
+ message Feishu {
+ string app_id = 1;
+ string app_secret = 2;
+ }
+
+ Slack slack = 1;
+ Feishu feishu = 2;
+}
diff --git a/proto/v1/setting_service.proto b/proto/v1/setting_service.proto
index bb993a78c2..f510875690 100644
--- a/proto/v1/setting_service.proto
+++ b/proto/v1/setting_service.proto
@@ -158,21 +158,16 @@ message SMTPMailDeliverySettingValue {
}
message AppIMSetting {
- enum IMType {
- IM_TYPE_UNSPECIFIED = 0;
- FEISHU = 1;
+ message Slack {
+ string token = 1;
}
- IMType im_type = 1;
-
- string app_id = 2;
-
- string app_secret = 3;
-
- message ExternalApproval {
- bool enabled = 1;
- string approval_definition_id = 2;
+ message Feishu {
+ string app_id = 1;
+ string app_secret = 2;
}
- ExternalApproval external_approval = 4;
+
+ Slack slack = 1;
+ Feishu feishu = 2;
}
message AgentPluginSetting {