Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: support set region for aws rds (#12146)
ecmadaoeba4dfc0cd84
diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.goindex cc63ce5c93..936985251b 100644--- a/backend/api/v1/instance_service.go+++ b/backend/api/v1/instance_service.go@@ -861,6 +861,8 @@ func (s *InstanceService) UpdateDataSource(ctx context.Context, request *v1pb.UpdataSource.ReplicaSet = request.DataSource.ReplicaSetcase "direct_connection":dataSource.DirectConnection = request.DataSource.DirectConnection+ case "region":+ dataSource.Region = request.DataSource.Regiondefault:return nil, status.Errorf(codes.InvalidArgument, `unsupport update_mask "%s"`, path)}@@ -1168,6 +1170,7 @@ func convertToV1DataSources(dataSources []*store.DataSourceMessage) ([]*v1pb.DatAdditionalAddresses: convertToV1DataSourceAddresses(ds.AdditionalAddresses),ReplicaSet: ds.ReplicaSet,DirectConnection: ds.DirectConnection,+ Region: ds.Region,})}@@ -1338,6 +1341,7 @@ func (s *InstanceService) convertToDataSourceMessage(dataSource *v1pb.DataSourceAdditionalAddresses: convertToStoreAdditionalAddresses(dataSource.AdditionalAddresses),ReplicaSet: dataSource.ReplicaSet,DirectConnection: dataSource.DirectConnection,+ Region: dataSource.Region,}, nil}diff --git a/backend/component/dbfactory/dbfactory.go b/backend/component/dbfactory/dbfactory.goindex 8dff935fd4..3660e6e2cd 100644--- a/backend/component/dbfactory/dbfactory.go+++ b/backend/component/dbfactory/dbfactory.go@@ -226,6 +226,7 @@ func (d *DBFactory) GetDataSourceDriver(ctx context.Context, instance *store.InsAdditionalAddresses: dataSource.AdditionalAddresses,ReplicaSet: dataSource.ReplicaSet,DirectConnection: dataSource.DirectConnection,+ Region: dataSource.Region,},)if err != nil {diff --git a/backend/plugin/db/driver.go b/backend/plugin/db/driver.goindex 6d907a4387..2b8c434830 100644--- a/backend/plugin/db/driver.go+++ b/backend/plugin/db/driver.go@@ -192,6 +192,9 @@ type ConnectionConfig struct {AdditionalAddresses []*storepb.DataSourceOptions_AddressReplicaSet stringDirectConnection bool++ // Region is the location of where the DB is, works for AWS RDS.+ Region string}// SSHConfig is the configuration for connection over SSH.diff --git a/backend/plugin/db/mysql/mysql.go b/backend/plugin/db/mysql/mysql.goindex e9f068fa08..c30b5d6b3e 100644--- a/backend/plugin/db/mysql/mysql.go+++ b/backend/plugin/db/mysql/mysql.go@@ -194,7 +194,7 @@ func getRDSConnection(ctx context.Context, connCfg db.ConnectionConfig) (string,}authenticationToken, err := auth.BuildAuthToken(- ctx, dbEndpoint, "us-east-1", connCfg.Username, cfg.Credentials)+ ctx, dbEndpoint, connCfg.Region, connCfg.Username, cfg.Credentials)if err != nil {return "", errors.Wrap(err, "failed to create authentication token")}diff --git a/backend/plugin/db/pg/pg.go b/backend/plugin/db/pg/pg.goindex 149ceabd97..c8147d0ecf 100644--- a/backend/plugin/db/pg/pg.go+++ b/backend/plugin/db/pg/pg.go@@ -182,7 +182,7 @@ func getRDSConnectionPassword(ctx context.Context, conf db.ConnectionConfig) (stdbEndpoint := fmt.Sprintf("%s:%s", conf.Host, conf.Port)authenticationToken, err := auth.BuildAuthToken(- ctx, dbEndpoint, "us-east-1", conf.Username, cfg.Credentials)+ ctx, dbEndpoint, conf.Region, conf.Username, cfg.Credentials)if err != nil {return "", errors.Wrap(err, "failed to create authentication token")}diff --git a/backend/store/data_source.go b/backend/store/data_source.goindex 4784f7f9e5..6d85c75563 100644--- a/backend/store/data_source.go+++ b/backend/store/data_source.go@@ -49,6 +49,7 @@ type DataSourceMessage struct {AdditionalAddresses []*storepb.DataSourceOptions_AddressReplicaSet stringDirectConnection bool+ Region string}// Copy returns a copy of the data source message.@@ -78,6 +79,10 @@ func (m *DataSourceMessage) Copy() *DataSourceMessage {ExternalSecret: m.ExternalSecret,AuthenticationType: m.AuthenticationType,SASLConfig: m.SASLConfig,+ AdditionalAddresses: m.AdditionalAddresses,+ ReplicaSet: m.ReplicaSet,+ DirectConnection: m.DirectConnection,+ Region: m.Region,}}@@ -119,6 +124,7 @@ type UpdateDataSourceMessage struct {ReplicaSet *stringRemoveSASLConfig boolDirectConnection *bool+ Region *string}func (*Store) listDataSourceV2(ctx context.Context, tx *Tx, instanceID string) ([]*DataSourceMessage, error) {@@ -186,6 +192,7 @@ func (*Store) listDataSourceV2(ctx context.Context, tx *Tx, instanceID string) (dataSourceMessage.AdditionalAddresses = dataSourceOptions.AdditionalAddressesdataSourceMessage.ReplicaSet = dataSourceOptions.ReplicaSetdataSourceMessage.DirectConnection = dataSourceOptions.DirectConnection+ dataSourceMessage.Region = dataSourceOptions.RegiondataSourceMessages = append(dataSourceMessages, &dataSourceMessage)}if err := rows.Err(); err != nil {@@ -347,6 +354,9 @@ func (s *Store) UpdateDataSourceV2(ctx context.Context, patch *UpdateDataSourceMif v := patch.DirectConnection; v != nil {optionSet, args = append(optionSet, fmt.Sprintf("jsonb_build_object('directConnection', $%d::BOOLEAN)", len(args)+1)), append(args, *v)}+ if v := patch.Region; v != nil {+ optionSet, args = append(optionSet, fmt.Sprintf("jsonb_build_object('region', $%d::TEXT)", len(args)+1)), append(args, *v)+ }if len(optionSet) != 0 {set = append(set, fmt.Sprintf(`options = options || %s`, strings.Join(optionSet, "||")))}@@ -402,6 +412,7 @@ func (*Store) addDataSourceToInstanceImplV2(ctx context.Context, tx *Tx, instancAdditionalAddresses: dataSource.AdditionalAddresses,ReplicaSet: dataSource.ReplicaSet,DirectConnection: dataSource.DirectConnection,+ Region: dataSource.Region,}protoBytes, err := protojson.Marshal(&dataSourceOptions)if err != nil {diff --git a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vueindex bc00f3a375..19111bd4ca 100644--- a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue+++ b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue@@ -142,6 +142,24 @@"/></div>+ <div+ v-if="+ dataSource.authenticationType ===+ DataSource_AuthenticationType.AWS_RDS_IAM+ "+ class="mt-4 sm:col-span-3 sm:col-start-1"+ >+ <label for="username" class="textlabel block">+ {{ $t("instance.database-region") }}+ <span class="text-red-600">*</span>+ </label>+ <NInput+ v-model:value="dataSource.region"+ class="mt-2 w-full"+ :disabled="!allowEdit"+ :placeholder="'database region, for example, us-east-1'"+ />+ </div><divv-if="dataSource.authenticationType ===@@ -478,11 +496,12 @@</div></template><template- v-if="basicInfo.engine === Engine.SPANNER || basicInfo.engine === Engine.BIGQUERY"+ v-if="+ basicInfo.engine === Engine.SPANNER ||+ basicInfo.engine === Engine.BIGQUERY+ ">- <div- class="mt-2 sm:col-span-3 sm:col-start-1"- >+ <div class="mt-2 sm:col-span-3 sm:col-start-1"><NRadioGroupv-model:value="dataSource.authenticationType"class="textlabel"diff --git a/frontend/src/components/InstanceForm/InstanceForm.vue b/frontend/src/components/InstanceForm/InstanceForm.vueindex db89911834..11622d5879 100644--- a/frontend/src/components/InstanceForm/InstanceForm.vue+++ b/frontend/src/components/InstanceForm/InstanceForm.vue@@ -108,14 +108,14 @@<div class="sm:col-span-3 sm:col-start-1"><template v-if="basicInfo.engine === Engine.SPANNER"><SpannerHostInput- v-model:host="adminDataSource.host"- :allow-edit="allowEdit"+ v-model:host="adminDataSource.host"+ :allow-edit="allowEdit"/></template><template v-if="basicInfo.engine === Engine.BIGQUERY"><BigQueryHostInput- v-model:host="adminDataSource.host"- :allow-edit="allowEdit"+ v-model:host="adminDataSource.host"+ :allow-edit="allowEdit"/></template><template v-else>@@ -177,7 +177,8 @@<templatev-if="- (basicInfo.engine !== Engine.SPANNER && basicInfo.engine !== Engine.BIGQUERY) &&+ basicInfo.engine !== Engine.SPANNER &&+ basicInfo.engine !== Engine.BIGQUERY &&adminDataSource.authenticationType !==DataSource_AuthenticationType.GOOGLE_CLOUD_SQL_IAM"@@ -545,10 +546,10 @@ import {defer,} from "@/utils";import { extractGrpcErrorMessage, getErrorCode } from "@/utils/grpcweb";+import BigQueryHostInput from "./BigQueryHostInput.vue";import DataSourceSection from "./DataSourceSection/DataSourceSection.vue";import ScanIntervalInput from "./ScanIntervalInput.vue";import SpannerHostInput from "./SpannerHostInput.vue";-import BigQueryHostInput from "./BigQueryHostInput.vue";import type { EditDataSource } from "./common";import { extractBasicInfo, extractDataSourceEditState } from "./common";import {@@ -1416,12 +1417,13 @@ const checkDataSource = (dataSources: DataSource[]) => {if (ds.authenticationType ===DataSource_AuthenticationType.GOOGLE_CLOUD_SQL_IAM- &&- (basicInfo.value.engine === Engine.MYSQL || basicInfo.value.engine === Engine.POSTGRES)) {// CloudSQL instance name should be {project}:{region}:{cloud sql name}return /.+:.+:.+/.test(ds.host);}+ if (ds.authenticationType === DataSource_AuthenticationType.AWS_RDS_IAM) {+ return !!ds.region;+ }if (basicInfo.value.engine === Engine.ORACLE) {if (!ds.sid && !ds.serviceName) {diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex b052c22c3d..464520f162 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1410,6 +1410,7 @@"external-secret-aws": "AWS Secrets Manager","external-secret-gcp": "GCP Secret Manager"},+ "database-region": "Database Region","external-secret-gcp": {"secret-name": "Secret full name","secret-name-tips": "The secret name should be like \"projects/project-id/secrets/secret-id\"."diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex f32b856c4c..b9884959dd 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1410,6 +1410,7 @@"external-secret-aws": "AWS Secrets Manager","external-secret-gcp": "GCP Secret Manager"},+ "database-region": "Región de la base de datos","external-secret-gcp": {"secret-name": "nombre completo secreto","secret-name-tips": "El nombre secreto debería ser similar a \"projects/project-id/secrets/secret-id\"."diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 564f35e2bf..f361aa92fc 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1410,6 +1410,7 @@"external-secret-aws": "AWS シークレットマネージャー","external-secret-gcp": "GCP シークレット マネージャー"},+ "database-region": "データベース領域","external-secret-gcp": {"secret-name": "キーのフルパス","secret-name-tips": "キーへのフルパスは、「projects/project-id/secrets/secret-id」のようなものである必要があります。"diff --git a/frontend/src/locales/sql-review/es-ES.json b/frontend/src/locales/sql-review/es-ES.jsonindex dd2562aabc..c5e927adcc 100644--- a/frontend/src/locales/sql-review/es-ES.json+++ b/frontend/src/locales/sql-review/es-ES.json@@ -656,4 +656,4 @@"warning": "Advertencia","disabled": "Deshabilitado"}-}+}\ No newline at end of filediff --git a/frontend/src/locales/sql-review/ja-JP.json b/frontend/src/locales/sql-review/ja-JP.jsonindex e83fbb8cd7..4dc65ff1c3 100644--- a/frontend/src/locales/sql-review/ja-JP.json+++ b/frontend/src/locales/sql-review/ja-JP.json@@ -656,4 +656,4 @@"warning": "警告","disabled": "無効化"}-}+}\ No newline at end of filediff --git a/frontend/src/locales/sql-review/zh-CN.json b/frontend/src/locales/sql-review/zh-CN.jsonindex 207e17d7ec..92f9bb1f7b 100644--- a/frontend/src/locales/sql-review/zh-CN.json+++ b/frontend/src/locales/sql-review/zh-CN.json@@ -516,6 +516,10 @@"title": "禁止离线 DDL","description": "为了防止数据库更改影响您的业务,请避免使用离线 DDL。"},+ "statement-disallow-cross-db-queries": {+ "title": "禁止跨数据库查询",+ "description": "跨数据库查询会增加系统的耦合性,并可能导致效率问题。建议的错误级别:警告"+ },"schema-backward-compatibility": {"title": "检查应用向后兼容性","description": "某些变更可能影响现有应用功能,例如修改数据库对象名,增加新的约束等,此规范可避免不谨慎变更导致现有应用运行失败。建议错误等级:警告"@@ -644,10 +648,6 @@"statement-non-transactional": {"title": "检测并报告非事务性语句","description": ""- },- "statement-disallow-cross-db-queries": {- "title": "禁止跨数据库查询",- "description": "跨数据库查询会增加系统的耦合性,并可能导致效率问题。建议的错误级别:警告"}},"level": {@@ -656,4 +656,4 @@"warning": "警告","disabled": "禁用"}-}+}\ No newline at end of filediff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 018f29aea6..5134e70b16 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1410,6 +1410,7 @@"external-secret-aws": "AWS Secrets Manager","external-secret-gcp": "GCP Secret Manager"},+ "database-region": "数据库区域","external-secret-gcp": {"secret-name": "密钥完整路径","secret-name-tips": "密钥完整路径应类似于 “projects/project-id/secrets/secret-id”。"@@ -3535,4 +3536,4 @@"self": "最后更新"}}-}+}\ No newline at end of filediff --git a/frontend/src/types/proto/google/protobuf/descriptor.ts b/frontend/src/types/proto/google/protobuf/descriptor.tsindex 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_Repeexport 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_Utf8Vcase 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_Utf8Validatioswitch (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_Utf8Validatswitch (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/data_source.ts b/frontend/src/types/proto/store/data_source.tsindex eb48cdc096..e14d5ca628 100644--- a/frontend/src/types/proto/store/data_source.ts+++ b/frontend/src/types/proto/store/data_source.ts@@ -244,6 +244,8 @@ export interface DataSourceOptions {replicaSet: string;/** direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string. */directConnection: boolean;+ /** region is the location of where the DB is, works for AWS RDS. For example, us-east-1. */+ region: string;}export enum DataSourceOptions_AuthenticationType {@@ -636,6 +638,7 @@ function createBaseDataSourceOptions(): DataSourceOptions {additionalAddresses: [],replicaSet: "",directConnection: false,+ region: "",};}@@ -689,6 +692,9 @@ export const DataSourceOptions = {if (message.directConnection === true) {writer.uint32(128).bool(message.directConnection);}+ if (message.region !== "") {+ writer.uint32(138).string(message.region);+ }return writer;},@@ -811,6 +817,13 @@ export const DataSourceOptions = {message.directConnection = reader.bool();continue;+ case 17:+ if (tag !== 138) {+ break;+ }++ message.region = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -850,6 +863,7 @@ export const DataSourceOptions = {: [],replicaSet: isSet(object.replicaSet) ? globalThis.String(object.replicaSet) : "",directConnection: isSet(object.directConnection) ? globalThis.Boolean(object.directConnection) : false,+ region: isSet(object.region) ? globalThis.String(object.region) : "",};},@@ -903,6 +917,9 @@ export const DataSourceOptions = {if (message.directConnection === true) {obj.directConnection = message.directConnection;}+ if (message.region !== "") {+ obj.region = message.region;+ }return obj;},@@ -933,6 +950,7 @@ export const DataSourceOptions = {[];message.replicaSet = object.replicaSet ?? "";message.directConnection = object.directConnection ?? false;+ message.region = object.region ?? "";return message;},};diff --git a/frontend/src/types/proto/v1/instance_service.ts b/frontend/src/types/proto/v1/instance_service.tsindex 136908f3d3..6407c86873 100644--- a/frontend/src/types/proto/v1/instance_service.ts+++ b/frontend/src/types/proto/v1/instance_service.ts@@ -550,6 +550,8 @@ export interface DataSource {replicaSet: string;/** direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string. */directConnection: boolean;+ /** region is the location of where the DB is, works for AWS RDS. For example, us-east-1. */+ region: string;}export enum DataSource_AuthenticationType {@@ -2465,6 +2467,7 @@ function createBaseDataSource(): DataSource {additionalAddresses: [],replicaSet: "",directConnection: false,+ region: "",};}@@ -2548,6 +2551,9 @@ export const DataSource = {if (message.directConnection === true) {writer.uint32(208).bool(message.directConnection);}+ if (message.region !== "") {+ writer.uint32(218).string(message.region);+ }return writer;},@@ -2740,6 +2746,13 @@ export const DataSource = {message.directConnection = reader.bool();continue;+ case 27:+ if (tag !== 218) {+ break;+ }++ message.region = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -2787,6 +2800,7 @@ export const DataSource = {: [],replicaSet: isSet(object.replicaSet) ? globalThis.String(object.replicaSet) : "",directConnection: isSet(object.directConnection) ? globalThis.Boolean(object.directConnection) : false,+ region: isSet(object.region) ? globalThis.String(object.region) : "",};},@@ -2870,6 +2884,9 @@ export const DataSource = {if (message.directConnection === true) {obj.directConnection = message.directConnection;}+ if (message.region !== "") {+ obj.region = message.region;+ }return obj;},@@ -2908,6 +2925,7 @@ export const DataSource = {message.additionalAddresses = object.additionalAddresses?.map((e) => DataSource_Address.fromPartial(e)) || [];message.replicaSet = object.replicaSet ?? "";message.directConnection = object.directConnection ?? false;+ message.region = object.region ?? "";return message;},};diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex b7aa811856..d3880f413d 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -9289,6 +9289,9 @@ components:directConnection:type: booleandescription: direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.+ region:+ type: string+ description: region is the location of where the DB is, works for AWS RDS. For example, us-east-1.DataSourceExternalSecret:type: objectproperties:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 5ac0fceadf..f533033302 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -1590,6 +1590,7 @@ Used internally for obfuscating the page token.| additional_addresses | [DataSourceOptions.Address](#bytebase-store-DataSourceOptions-Address) | repeated | additional_addresses is used for MongoDB replica set. || replica_set | [string](#string) | | replica_set is used for MongoDB replica set. || direct_connection | [bool](#bool) | | direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string. |+| region | [string](#string) | | region is the location of where the DB is, works for AWS RDS. For example, us-east-1. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 064c105618..8b8b0105bb 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -4554,6 +4554,13 @@ Used for authentication when connecting to the data source. </p></td><td><p>direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string. </p></td></tr>+ <tr>+ <td>region</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>region is the location of where the DB is, works for AWS RDS. For example, us-east-1. </p></td>+ </tr>+</tbody></table>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 360896b7be..6fc7806aa9 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -1640,6 +1640,7 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. || additional_addresses | [DataSource.Address](#bytebase-v1-DataSource-Address) | repeated | additional_addresses is used for MongoDB replica set. || replica_set | [string](#string) | | replica_set is used for MongoDB replica set. || direct_connection | [bool](#bool) | | direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string. |+| region | [string](#string) | | region is the location of where the DB is, works for AWS RDS. For example, us-east-1. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex c16dbfc740..f08c3ded8f 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -5351,6 +5351,13 @@ Used for authentication when connecting to the data source. </p></td><td><p>direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string. </p></td></tr>+ <tr>+ <td>region</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>region is the location of where the DB is, works for AWS RDS. For example, us-east-1. </p></td>+ </tr>+</tbody></table>diff --git a/proto/generated-go/store/data_source.pb.go b/proto/generated-go/store/data_source.pb.goindex 92a6423955..3d3a676182 100644--- a/proto/generated-go/store/data_source.pb.go+++ b/proto/generated-go/store/data_source.pb.go@@ -394,6 +394,8 @@ type DataSourceOptions struct {ReplicaSet string `protobuf:"bytes,15,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.DirectConnection bool `protobuf:"varint,16,opt,name=direct_connection,json=directConnection,proto3" json:"direct_connection,omitempty"`+ // region is the location of where the DB is, works for AWS RDS. For example, us-east-1.+ Region string `protobuf:"bytes,17,opt,name=region,proto3" json:"region,omitempty"`}func (x *DataSourceOptions) Reset() {@@ -540,6 +542,13 @@ func (x *DataSourceOptions) GetDirectConnection() bool {return false}+func (x *DataSourceOptions) GetRegion() string {+ if x != nil {+ return x.Region+ }+ return ""+}+type SASLConfig struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -891,7 +900,7 @@ var file_store_data_source_proto_rawDesc = []byte{0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,0x09, 0x0a, 0x05, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x41,0x55, 0x4c, 0x54, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x02, 0x42, 0x0d,- 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf1, 0x07,+ 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x89, 0x08,0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69,0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,0x52, 0x03, 0x73, 0x72, 0x76, 0x12, 0x37, 0x0a, 0x17, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74,@@ -944,39 +953,41 @@ var file_store_data_source_proto_rawDesc = []byte{0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53,0x65, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6e,0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64,- 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a,- 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f,- 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12,- 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f,- 0x72, 0x74, 0x22, 0x6d, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55, 0x54, 0x48,- 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x53, 0x53,- 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45,- 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x02,- 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x57, 0x53, 0x5f, 0x52, 0x44, 0x53, 0x5f, 0x49, 0x41, 0x4d, 0x10,- 0x03, 0x22, 0x5a, 0x0a, 0x0a, 0x53, 0x41, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,- 0x3f, 0x0a, 0x0a, 0x6b, 0x72, 0x62, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x72, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x42, 0x0b, 0x0a, 0x09, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x22, 0xe0, 0x01,- 0x0a, 0x0e, 0x4b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x16, 0x0a, 0x06,- 0x6b, 0x65, 0x79, 0x74, 0x61, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65,- 0x79, 0x74, 0x61, 0x62, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x64, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74,- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x64, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x12,- 0x19, 0x0a, 0x08, 0x6b, 0x64, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x07, 0x6b, 0x64, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x6b, 0x64,- 0x63, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6b, 0x64, 0x63, 0x54,- 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,- 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,+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,+ 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x1a, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65,+ 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x6d, 0x0a, 0x12, 0x41, 0x75,+ 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,+ 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49,+ 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,+ 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x18,+ 0x0a, 0x14, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53,+ 0x51, 0x4c, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x57, 0x53, 0x5f,+ 0x52, 0x44, 0x53, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x03, 0x22, 0x5a, 0x0a, 0x0a, 0x53, 0x41, 0x53,+ 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3f, 0x0a, 0x0a, 0x6b, 0x72, 0x62, 0x5f, 0x63,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x65, 0x72,+ 0x62, 0x65, 0x72, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x6b,+ 0x72, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0b, 0x0a, 0x09, 0x6d, 0x65, 0x63, 0x68,+ 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x22, 0xe0, 0x01, 0x0a, 0x0e, 0x4b, 0x65, 0x72, 0x62, 0x65, 0x72,+ 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d,+ 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61,+ 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14,+ 0x0a, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72,+ 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x74, 0x61, 0x62, 0x18, 0x04,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x74, 0x61, 0x62, 0x12, 0x19, 0x0a, 0x08,+ 0x6b, 0x64, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,+ 0x6b, 0x64, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x64, 0x63, 0x5f, 0x70,+ 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x64, 0x63, 0x50, 0x6f,+ 0x72, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x6b, 0x64, 0x63, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,+ 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x14, 0x6b, 0x64, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 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 (diff --git a/proto/generated-go/v1/instance_service.pb.go b/proto/generated-go/v1/instance_service.pb.goindex 8ea4b69654..6a209fa851 100644--- a/proto/generated-go/v1/instance_service.pb.go+++ b/proto/generated-go/v1/instance_service.pb.go@@ -1613,6 +1613,8 @@ type DataSource struct {ReplicaSet string `protobuf:"bytes,25,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.DirectConnection bool `protobuf:"varint,26,opt,name=direct_connection,json=directConnection,proto3" json:"direct_connection,omitempty"`+ // region is the location of where the DB is, works for AWS RDS. For example, us-east-1.+ Region string `protobuf:"bytes,27,opt,name=region,proto3" json:"region,omitempty"`}func (x *DataSource) Reset() {@@ -1829,6 +1831,13 @@ func (x *DataSource) GetDirectConnection() bool {return false}+func (x *DataSource) GetRegion() string {+ if x != nil {+ return x.Region+ }+ return ""+}+type InstanceResource struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2412,7 +2421,7 @@ var file_v1_instance_service_proto_rawDesc = []byte{0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x4f, 0x4b, 0x45,0x4e, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x41, 0x50, 0x50,0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x10, 0x02, 0x42, 0x0d, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f,- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x09, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53,+ 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe1, 0x09, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53,0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,@@ -2479,170 +2488,172 @@ var file_v1_instance_service_proto_rawDesc = []byte{0x53, 0x65, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f,0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,- 0x1a, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68,- 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12,- 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70,- 0x6f, 0x72, 0x74, 0x22, 0x6d, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63,- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55, 0x54,- 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50,- 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x53,- 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x4f, 0x4f, 0x47, 0x4c,- 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x49, 0x41, 0x4d, 0x10,- 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x57, 0x53, 0x5f, 0x52, 0x44, 0x53, 0x5f, 0x49, 0x41, 0x4d,- 0x10, 0x03, 0x22, 0xde, 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 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, 0x2b, 0x0a, 0x0e, 0x65, 0x6e,- 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,- 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f,- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61,- 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f,- 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x22, 0x57, 0x0a, 0x0a, 0x53, 0x41, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x12, 0x3c, 0x0a, 0x0a, 0x6b, 0x72, 0x62, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x72, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,- 0x0b, 0x0a, 0x09, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x22, 0xe0, 0x01, 0x0a,- 0x0e, 0x4b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,- 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18, 0x03,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x6b,- 0x65, 0x79, 0x74, 0x61, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79,- 0x74, 0x61, 0x62, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x64, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18,- 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x64, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x19,- 0x0a, 0x08, 0x6b, 0x64, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x07, 0x6b, 0x64, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x6b, 0x64, 0x63,- 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x63, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6b, 0x64, 0x63, 0x54, 0x72,- 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a,- 0x47, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70,- 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45,- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09,- 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41,- 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x32, 0x94, 0x0e, 0x0a, 0x0f, 0x49, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x0b,- 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73,+ 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x1a, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72,+ 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x6d, 0x0a, 0x12, 0x41,+ 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,+ 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54,+ 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,+ 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12,+ 0x18, 0x0a, 0x14, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f,+ 0x53, 0x51, 0x4c, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x57, 0x53,+ 0x5f, 0x52, 0x44, 0x53, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x03, 0x22, 0xde, 0x01, 0x0a, 0x10, 0x49,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,+ 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,+ 0x74, 0x69, 0x74, 0x6c, 0x65, 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, 0x2b, 0x0a, 0x0e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72,+ 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03,+ 0x52, 0x0d, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,+ 0x3a, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18,+ 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0b,+ 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61,+ 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,+ 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x57, 0x0a, 0x0a, 0x53,+ 0x41, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3c, 0x0a, 0x0a, 0x6b, 0x72, 0x62,+ 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x72, 0x62,+ 0x65, 0x72, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x72,+ 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0b, 0x0a, 0x09, 0x6d, 0x65, 0x63, 0x68, 0x61,+ 0x6e, 0x69, 0x73, 0x6d, 0x22, 0xe0, 0x01, 0x0a, 0x0e, 0x4b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f,+ 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61,+ 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72,+ 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a,+ 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65,+ 0x61, 0x6c, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x74, 0x61, 0x62, 0x18, 0x04, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x74, 0x61, 0x62, 0x12, 0x19, 0x0a, 0x08, 0x6b,+ 0x64, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b,+ 0x64, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x64, 0x63, 0x5f, 0x70, 0x6f,+ 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x64, 0x63, 0x50, 0x6f, 0x72,+ 0x74, 0x12, 0x34, 0x0a, 0x16, 0x6b, 0x64, 0x63, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,+ 0x72, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x14, 0x6b, 0x64, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50,+ 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x47, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x53,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x41, 0x54,+ 0x41, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10,+ 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02,+ 0x32, 0x94, 0x0e, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72,+ 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x25, 0xda, 0x41, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f,+ 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x00,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,+ 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x0d, 0x2f, 0x76, 0x31,+ 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0xa9, 0x01, 0x0a, 0x0f, 0x53,+ 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x23,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,+ 0x72, 0x63, 0x68, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0xda, 0x41, 0x00, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x42, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,+ 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68,+ 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x3a,+ 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x77, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,+ 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73,0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62,0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,- 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x0d, 0x4c,- 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49,- 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x5a, 0x23,- 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,- 0x63, 0x65, 0x73, 0x12, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,- 0x65, 0x73, 0x12, 0xa9, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x49, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,- 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x22, 0x4b, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x5a, 0x2a, 0x12, 0x28,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x77,- 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,- 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x2a, 0xda, 0x41, 0x08,- 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x3a, 0x08,- 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49,- 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x48, 0xda, 0x41, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,- 0x63, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x1f,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x6e, 0x61,- 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12,- 0x73, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,- 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x25, 0xda,- 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7b, 0x0a, 0x10, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49,- 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a,- 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74,- 0x65, 0x12, 0x7b, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,- 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x6e, 0x63, 0x65, 0x22, 0x2a, 0xda, 0x41, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x3a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,+ 0x22, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12,+ 0x95, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x48, 0xda,+ 0x41, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x08, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73,+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x73, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74,+ 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,+ 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7b, 0x0a, 0x10,+ 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,+ 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,+ 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x2a, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,+ 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d,+ 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x7b, 0x0a, 0x0c, 0x53, 0x79, 0x6e,+ 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x01, 0x2a, 0x22, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,+ 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x86, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68,+ 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x01,- 0x2a, 0x22, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x86,- 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74,- 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74,- 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53,- 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17,- 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x62, 0x61,- 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x7e, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x44, 0x61,- 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,- 0x63, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f,- 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3d, 0x69, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x44, 0x61, 0x74,- 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f,- 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76,- 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d,- 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63,- 0x65, 0x12, 0x87, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,- 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x32, 0x2b,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3d, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0xb1, 0x01, 0x0a, 0x0f,- 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12,- 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79,- 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x61, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x5b, 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75,- 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,- 0x73, 0x79, 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 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,+ 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x63, 0x12,+ 0x7e, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,+ 0x64, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,+ 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,+ 0x87, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,+ 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,+ 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44,+ 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x10, 0x55, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x32, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x73,+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x12, 0xb1, 0x01, 0x0a, 0x0f, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77,+ 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75,+ 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,+ 0x6d, 0x70, 0x74, 0x79, 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x3a, 0x01, 0x2a, 0x5a,+ 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79,+ 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x28, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x53, 0x6c, 0x6f, 0x77,+ 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 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 (diff --git a/proto/store/data_source.proto b/proto/store/data_source.protoindex b006d9629e..4b443a9f02 100644--- a/proto/store/data_source.proto+++ b/proto/store/data_source.proto@@ -106,6 +106,9 @@ message DataSourceOptions {// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.bool direct_connection = 16;++ // region is the location of where the DB is, works for AWS RDS. For example, us-east-1.+ string region = 17;}message SASLConfig {diff --git a/proto/v1/instance_service.proto b/proto/v1/instance_service.protoindex b3989d241e..a9953de223 100644--- a/proto/v1/instance_service.proto+++ b/proto/v1/instance_service.proto@@ -417,6 +417,9 @@ message DataSource {// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.bool direct_connection = 26;++ // region is the location of where the DB is, works for AWS RDS. For example, us-east-1.+ string region = 27;}enum DataSourceType {