Skip to content

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

chore: align data source number (#15406)

Danny Xuf69ed6513476
diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.go
index 03cda7558b..96eb4b78a6 100644
--- a/backend/api/v1/instance_service.go
+++ b/backend/api/v1/instance_service.go
@@ -263,7 +263,7 @@ func (s *InstanceService) UpdateInstance(ctx context.Context, request *v1pb.Upda
return nil, status.Errorf(codes.NotFound, "instance %q has been deleted", request.Instance.Name)
}
- metadata, ok := proto.Clone(instance.Metadata).(*storepb.InstanceMetadata)
+ metadata, ok := proto.Clone(instance.Metadata).(*storepb.Instance)
if !ok {
return nil, status.Errorf(codes.Internal, "failed to convert instance metadata type")
}
@@ -682,7 +682,7 @@ func (s *InstanceService) AddDataSource(ctx context.Context, request *v1pb.AddDa
return nil, status.Error(codes.PermissionDenied, err.Error())
}
- metadata, ok := proto.Clone(instance.Metadata).(*storepb.InstanceMetadata)
+ metadata, ok := proto.Clone(instance.Metadata).(*storepb.Instance)
if !ok {
return nil, status.Error(codes.Internal, "failed to convert instance metadata type")
}
@@ -711,7 +711,7 @@ func (s *InstanceService) UpdateDataSource(ctx context.Context, request *v1pb.Up
if instance.Deleted {
return nil, status.Errorf(codes.NotFound, "instance %q has been deleted", request.Name)
}
- metadata, ok := proto.Clone(instance.Metadata).(*storepb.InstanceMetadata)
+ metadata, ok := proto.Clone(instance.Metadata).(*storepb.Instance)
if !ok {
return nil, status.Error(codes.Internal, "failed to convert instance metadata type")
}
@@ -870,7 +870,7 @@ func (s *InstanceService) RemoveDataSource(ctx context.Context, request *v1pb.Re
return nil, status.Errorf(codes.NotFound, "instance %q has been deleted", request.Name)
}
- metadata, ok := proto.Clone(instance.Metadata).(*storepb.InstanceMetadata)
+ metadata, ok := proto.Clone(instance.Metadata).(*storepb.Instance)
if !ok {
return nil, status.Error(codes.Internal, "failed to convert instance metadata type")
}
@@ -1034,7 +1034,7 @@ func (s *InstanceService) convertInstanceToInstanceMessage(instanceID string, in
ExternalLink: instance.ExternalLink,
EnvironmentID: environmentID,
Activation: instance.Activation,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
DataSources: datasources,
SyncInterval: instance.GetSyncInterval(),
MaximumConnections: instance.GetMaximumConnections(),
diff --git a/backend/plugin/db/clickhouse/sync.go b/backend/plugin/db/clickhouse/sync.go
index b913ab4bef..8f5fefbb46 100644
--- a/backend/plugin/db/clickhouse/sync.go
+++ b/backend/plugin/db/clickhouse/sync.go
@@ -54,7 +54,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/cockroachdb/sync.go b/backend/plugin/db/cockroachdb/sync.go
index 39f1aeb302..673d517c36 100644
--- a/backend/plugin/db/cockroachdb/sync.go
+++ b/backend/plugin/db/cockroachdb/sync.go
@@ -58,7 +58,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: filteredDatabases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/driver.go b/backend/plugin/db/driver.go
index 888096c83f..f598d7f764 100644
--- a/backend/plugin/db/driver.go
+++ b/backend/plugin/db/driver.go
@@ -37,7 +37,7 @@ type InstanceMetadata struct {
Version string
// Simplified database metadata.
Databases []*storepb.DatabaseSchemaMetadata
- Metadata *storepb.InstanceMetadata
+ Metadata *storepb.Instance
}
// TableKey is the map key for table metadata.
diff --git a/backend/plugin/db/elasticsearch/sync.go b/backend/plugin/db/elasticsearch/sync.go
index 9f86cd30bb..9142f7c456 100644
--- a/backend/plugin/db/elasticsearch/sync.go
+++ b/backend/plugin/db/elasticsearch/sync.go
@@ -40,7 +40,7 @@ func (d *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, error)
return &db.InstanceMetadata{
Version: version,
Databases: []*storepb.DatabaseSchemaMetadata{dbMetadata},
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/mongodb/sync.go b/backend/plugin/db/mongodb/sync.go
index 68ee23e6e9..42c0249293 100644
--- a/backend/plugin/db/mongodb/sync.go
+++ b/backend/plugin/db/mongodb/sync.go
@@ -75,7 +75,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/mysql/sync.go b/backend/plugin/db/mysql/sync.go
index 05389a7345..f41037f448 100644
--- a/backend/plugin/db/mysql/sync.go
+++ b/backend/plugin/db/mysql/sync.go
@@ -121,7 +121,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
MysqlLowerCaseTableNames: int32(lowerCaseTableNames),
Roles: instanceRoles,
},
diff --git a/backend/plugin/db/pg/sync.go b/backend/plugin/db/pg/sync.go
index f936e54d34..56951ebf5f 100644
--- a/backend/plugin/db/pg/sync.go
+++ b/backend/plugin/db/pg/sync.go
@@ -55,7 +55,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: filteredDatabases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/redshift/sync.go b/backend/plugin/db/redshift/sync.go
index 7c330805a8..2420a559dd 100644
--- a/backend/plugin/db/redshift/sync.go
+++ b/backend/plugin/db/redshift/sync.go
@@ -48,7 +48,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: filteredDatabases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/risingwave/sync.go b/backend/plugin/db/risingwave/sync.go
index ed7e5f4ddb..79e678f32b 100644
--- a/backend/plugin/db/risingwave/sync.go
+++ b/backend/plugin/db/risingwave/sync.go
@@ -40,7 +40,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/snowflake/sync.go b/backend/plugin/db/snowflake/sync.go
index 4800681fb4..f0aa2140be 100644
--- a/backend/plugin/db/snowflake/sync.go
+++ b/backend/plugin/db/snowflake/sync.go
@@ -49,7 +49,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databaseMetadataSlice,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
Roles: instanceRoles,
},
}, nil
diff --git a/backend/plugin/db/starrocks/sync.go b/backend/plugin/db/starrocks/sync.go
index bacfc99280..1f40a639b4 100644
--- a/backend/plugin/db/starrocks/sync.go
+++ b/backend/plugin/db/starrocks/sync.go
@@ -94,7 +94,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
MysqlLowerCaseTableNames: int32(lowerCaseTableNames),
},
}, nil
diff --git a/backend/plugin/db/tidb/sync.go b/backend/plugin/db/tidb/sync.go
index b22e264848..719d8f12bf 100644
--- a/backend/plugin/db/tidb/sync.go
+++ b/backend/plugin/db/tidb/sync.go
@@ -111,7 +111,7 @@ func (driver *Driver) SyncInstance(ctx context.Context) (*db.InstanceMetadata, e
return &db.InstanceMetadata{
Version: version,
Databases: databases,
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
MysqlLowerCaseTableNames: int32(lowerCaseTableNames),
Roles: instanceRoles,
},
diff --git a/backend/runner/schemasync/syncer.go b/backend/runner/schemasync/syncer.go
index e149129e4b..afb31d1379 100644
--- a/backend/runner/schemasync/syncer.go
+++ b/backend/runner/schemasync/syncer.go
@@ -270,7 +270,7 @@ func (s *Syncer) GetInstanceMeta(ctx context.Context, instance *store.InstanceMe
}
if instanceMeta.Metadata == nil {
- instanceMeta.Metadata = &storepb.InstanceMetadata{}
+ instanceMeta.Metadata = &storepb.Instance{}
}
instanceMeta.Metadata.LastSyncTime = timestamppb.Now()
@@ -288,7 +288,7 @@ func (s *Syncer) SyncInstance(ctx context.Context, instance *store.InstanceMessa
if err != nil {
return nil, nil, nil, err
}
- metadata, ok := proto.Clone(instance.Metadata).(*storepb.InstanceMetadata)
+ metadata, ok := proto.Clone(instance.Metadata).(*storepb.Instance)
if !ok {
return nil, nil, nil, errors.Errorf("failed to convert instance metadata type")
}
diff --git a/backend/server/onboard.go b/backend/server/onboard.go
index f5c7401323..6aec2a3387 100644
--- a/backend/server/onboard.go
+++ b/backend/server/onboard.go
@@ -41,7 +41,7 @@ func (s *Server) generateOnboardingData(ctx context.Context, user *store.UserMes
Title: "Test Sample Instance",
Engine: storepb.Engine_POSTGRES,
ExternalLink: "",
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
DataSources: []*storepb.DataSource{
{
Id: "admin",
@@ -102,7 +102,7 @@ func (s *Server) generateOnboardingData(ctx context.Context, user *store.UserMes
Title: "Prod Sample Instance",
Engine: storepb.Engine_POSTGRES,
ExternalLink: "",
- Metadata: &storepb.InstanceMetadata{
+ Metadata: &storepb.Instance{
DataSources: []*storepb.DataSource{
{
Id: "admin",
diff --git a/backend/store/instance.go b/backend/store/instance.go
index b321742454..71952f75dc 100644
--- a/backend/store/instance.go
+++ b/backend/store/instance.go
@@ -26,7 +26,7 @@ type InstanceMessage struct {
EnvironmentID string
Deleted bool
EngineVersion string
- Metadata *storepb.InstanceMetadata
+ Metadata *storepb.Instance
}
// UpdateInstanceMessage is the message for updating an instance.
@@ -38,7 +38,7 @@ type UpdateInstanceMessage struct {
Deleted *bool
EngineVersion *string
Activation *bool
- Metadata *storepb.InstanceMetadata
+ Metadata *storepb.Instance
EnvironmentID *string
}
@@ -254,7 +254,7 @@ func (s *Store) UpdateInstanceV2(ctx context.Context, patch *UpdateInstanceMessa
}
instance.Engine = storepb.Engine(engineTypeValue)
- var instanceMetadata storepb.InstanceMetadata
+ var instanceMetadata storepb.Instance
if err := common.ProtojsonUnmarshaler.Unmarshal(metadata, &instanceMetadata); err != nil {
return nil, err
}
@@ -337,7 +337,7 @@ func listInstanceImplV2(ctx context.Context, tx *Tx, find *FindInstanceMessage)
}
instanceMessage.Engine = storepb.Engine(engineTypeValue)
- var instanceMetadata storepb.InstanceMetadata
+ var instanceMetadata storepb.Instance
if err := common.ProtojsonUnmarshaler.Unmarshal(metadata, &instanceMetadata); err != nil {
return nil, err
}
@@ -366,7 +366,7 @@ func (s *Store) CheckActivationLimit(ctx context.Context, maximumActivation int)
return nil
}
-func validateDataSources(metadata *storepb.InstanceMetadata) error {
+func validateDataSources(metadata *storepb.Instance) error {
dataSourceMap := map[string]bool{}
adminCount := 0
for _, dataSource := range metadata.GetDataSources() {
diff --git a/frontend/src/types/proto/store/instance.ts b/frontend/src/types/proto/store/instance.ts
index 882ee68152..fc3e2f91fd 100644
--- a/frontend/src/types/proto/store/instance.ts
+++ b/frontend/src/types/proto/store/instance.ts
@@ -65,8 +65,8 @@ export function dataSourceTypeToNumber(object: DataSourceType): number {
}
}
-/** InstanceMetadata is the metadata for instances. */
-export interface InstanceMetadata {
+/** Instance is the proto for instances. */
+export interface Instance {
/**
* The lower_case_table_names config for MySQL instances.
* It is used to determine whether the table names and database names are case sensitive.
@@ -114,18 +114,25 @@ export interface InstanceRole {
export interface DataSource {
id: string;
type: DataSourceType;
- host: string;
- port: string;
username: string;
obfuscatedPassword: string;
- database: string;
- obfuscatedSslKey: string;
- obfuscatedSslCert: string;
+ /** Use SSL to connect to the data source. By default, we use system default SSL configuration. */
+ useSsl: boolean;
obfuscatedSslCa: string;
- /** srv is a boolean flag that indicates whether the host is a DNS SRV record. */
+ obfuscatedSslCert: string;
+ obfuscatedSslKey: string;
+ host: string;
+ port: string;
+ database: string;
+ /**
+ * srv, authentication_database and replica_set are used for MongoDB.
+ * srv is a boolean flag that indicates whether the host is a DNS SRV record.
+ */
srv: boolean;
/** authentication_database is the database name to authenticate against, which stores the user credentials. */
authenticationDatabase: string;
+ /** replica_set is used for MongoDB replica set. */
+ replicaSet: string;
/** sid and service_name are used for Oracle. */
sid: string;
serviceName: string;
@@ -155,8 +162,6 @@ export interface DataSource {
| undefined;
/** additional_addresses is used for MongoDB replica set. */
additionalAddresses: DataSource_Address[];
- /** replica_set is used for MongoDB replica set. */
- 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. */
@@ -169,8 +174,6 @@ export interface DataSource {
masterUsername: string;
masterObfuscatedPassword: string;
redisType: DataSource_RedisType;
- /** Use SSL to connect to the data source. By default, we use system default SSL configuration. */
- useSsl: boolean;
/** Cluster is the cluster name for the data source. Used by CockroachDB. */
cluster: string;
/**
@@ -543,7 +546,7 @@ export function dataSourceExternalSecret_AppRoleAuthOption_SecretTypeToNumber(
}
}
-function createBaseInstanceMetadata(): InstanceMetadata {
+function createBaseInstance(): Instance {
return {
mysqlLowerCaseTableNames: 0,
lastSyncTime: undefined,
@@ -555,8 +558,8 @@ function createBaseInstanceMetadata(): InstanceMetadata {
};
}
-export const InstanceMetadata: MessageFns<InstanceMetadata> = {
- encode(message: InstanceMetadata, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+export const Instance: MessageFns<Instance> = {
+ encode(message: Instance, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
if (message.mysqlLowerCaseTableNames !== 0) {
writer.uint32(8).int32(message.mysqlLowerCaseTableNames);
}
@@ -581,10 +584,10 @@ export const InstanceMetadata: MessageFns<InstanceMetadata> = {
return writer;
},
- decode(input: BinaryReader | Uint8Array, length?: number): InstanceMetadata {
+ decode(input: BinaryReader | Uint8Array, length?: number): Instance {
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseInstanceMetadata();
+ const message = createBaseInstance();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -653,7 +656,7 @@ export const InstanceMetadata: MessageFns<InstanceMetadata> = {
return message;
},
- fromJSON(object: any): InstanceMetadata {
+ fromJSON(object: any): Instance {
return {
mysqlLowerCaseTableNames: isSet(object.mysqlLowerCaseTableNames)
? globalThis.Number(object.mysqlLowerCaseTableNames)
@@ -671,7 +674,7 @@ export const InstanceMetadata: MessageFns<InstanceMetadata> = {
};
},
- toJSON(message: InstanceMetadata): unknown {
+ toJSON(message: Instance): unknown {
const obj: any = {};
if (message.mysqlLowerCaseTableNames !== 0) {
obj.mysqlLowerCaseTableNames = Math.round(message.mysqlLowerCaseTableNames);
@@ -697,11 +700,11 @@ export const InstanceMetadata: MessageFns<InstanceMetadata> = {
return obj;
},
- create(base?: DeepPartial<InstanceMetadata>): InstanceMetadata {
- return InstanceMetadata.fromPartial(base ?? {});
+ create(base?: DeepPartial<Instance>): Instance {
+ return Instance.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<InstanceMetadata>): InstanceMetadata {
- const message = createBaseInstanceMetadata();
+ fromPartial(object: DeepPartial<Instance>): Instance {
+ const message = createBaseInstance();
message.mysqlLowerCaseTableNames = object.mysqlLowerCaseTableNames ?? 0;
message.lastSyncTime = (object.lastSyncTime !== undefined && object.lastSyncTime !== null)
? Timestamp.fromPartial(object.lastSyncTime)
@@ -829,16 +832,18 @@ function createBaseDataSource(): DataSource {
return {
id: "",
type: DataSourceType.DATA_SOURCE_UNSPECIFIED,
- host: "",
- port: "",
username: "",
obfuscatedPassword: "",
- database: "",
- obfuscatedSslKey: "",
- obfuscatedSslCert: "",
+ useSsl: false,
obfuscatedSslCa: "",
+ obfuscatedSslCert: "",
+ obfuscatedSslKey: "",
+ host: "",
+ port: "",
+ database: "",
srv: false,
authenticationDatabase: "",
+ replicaSet: "",
sid: "",
serviceName: "",
sshHost: "",
@@ -852,7 +857,6 @@ function createBaseDataSource(): DataSource {
clientSecretCredential: undefined,
saslConfig: undefined,
additionalAddresses: [],
- replicaSet: "",
directConnection: false,
region: "",
warehouseId: "",
@@ -860,7 +864,6 @@ function createBaseDataSource(): DataSource {
masterUsername: "",
masterObfuscatedPassword: "",
redisType: DataSource_RedisType.REDIS_TYPE_UNSPECIFIED,
- useSsl: false,
cluster: "",
extraConnectionParameters: {},
};
@@ -874,29 +877,32 @@ export const DataSource: MessageFns<DataSource> = {
if (message.type !== DataSourceType.DATA_SOURCE_UNSPECIFIED) {
writer.uint32(16).int32(dataSourceTypeToNumber(message.type));
}
- if (message.host !== "") {
- writer.uint32(26).string(message.host);
- }
- if (message.port !== "") {
- writer.uint32(34).string(message.port);
- }
if (message.username !== "") {
- writer.uint32(42).string(message.username);
+ writer.uint32(26).string(message.username);
}
if (message.obfuscatedPassword !== "") {
- writer.uint32(50).string(message.obfuscatedPassword);
+ writer.uint32(34).string(message.obfuscatedPassword);
}
- if (message.database !== "") {
- writer.uint32(58).string(message.database);
+ if (message.useSsl !== false) {
+ writer.uint32(240).bool(message.useSsl);
}
- if (message.obfuscatedSslKey !== "") {
- writer.uint32(66).string(message.obfuscatedSslKey);
+ if (message.obfuscatedSslCa !== "") {
+ writer.uint32(42).string(message.obfuscatedSslCa);
}
if (message.obfuscatedSslCert !== "") {
- writer.uint32(74).string(message.obfuscatedSslCert);
+ writer.uint32(50).string(message.obfuscatedSslCert);
}
- if (message.obfuscatedSslCa !== "") {
- writer.uint32(82).string(message.obfuscatedSslCa);
+ if (message.obfuscatedSslKey !== "") {
+ writer.uint32(58).string(message.obfuscatedSslKey);
+ }
+ if (message.host !== "") {
+ writer.uint32(66).string(message.host);
+ }
+ if (message.port !== "") {
+ writer.uint32(74).string(message.port);
+ }
+ if (message.database !== "") {
+ writer.uint32(82).string(message.database);
}
if (message.srv !== false) {
writer.uint32(88).bool(message.srv);
@@ -904,6 +910,9 @@ export const DataSource: MessageFns<DataSource> = {
if (message.authenticationDatabase !== "") {
writer.uint32(98).string(message.authenticationDatabase);
}
+ if (message.replicaSet !== "") {
+ writer.uint32(202).string(message.replicaSet);
+ }
if (message.sid !== "") {
writer.uint32(106).string(message.sid);
}
@@ -941,10 +950,7 @@ export const DataSource: MessageFns<DataSource> = {
SASLConfig.encode(message.saslConfig, writer.uint32(194).fork()).join();
}
for (const v of message.additionalAddresses) {
- DataSource_Address.encode(v!, writer.uint32(202).fork()).join();
- }
- if (message.replicaSet !== "") {
- writer.uint32(210).string(message.replicaSet);
+ DataSource_Address.encode(v!, writer.uint32(210).fork()).join();
}
if (message.directConnection !== false) {
writer.uint32(216).bool(message.directConnection);
@@ -956,19 +962,16 @@ export const DataSource: MessageFns<DataSource> = {
writer.uint32(234).string(message.warehouseId);
}
if (message.masterName !== "") {
- writer.uint32(242).string(message.masterName);
+ writer.uint32(250).string(message.masterName);
}
if (message.masterUsername !== "") {
- writer.uint32(250).string(message.masterUsername);
+ writer.uint32(258).string(message.masterUsername);
}
if (message.masterObfuscatedPassword !== "") {
- writer.uint32(258).string(message.masterObfuscatedPassword);
+ writer.uint32(266).string(message.masterObfuscatedPassword);
}
if (message.redisType !== DataSource_RedisType.REDIS_TYPE_UNSPECIFIED) {
- writer.uint32(264).int32(dataSource_RedisTypeToNumber(message.redisType));
- }
- if (message.useSsl !== false) {
- writer.uint32(272).bool(message.useSsl);
+ writer.uint32(272).int32(dataSource_RedisTypeToNumber(message.redisType));
}
if (message.cluster !== "") {
writer.uint32(282).string(message.cluster);
@@ -1007,7 +1010,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.host = reader.string();
+ message.username = reader.string();
continue;
}
case 4: {
@@ -1015,7 +1018,15 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.port = reader.string();
+ message.obfuscatedPassword = reader.string();
+ continue;
+ }
+ case 30: {
+ if (tag !== 240) {
+ break;
+ }
+
+ message.useSsl = reader.bool();
continue;
}
case 5: {
@@ -1023,7 +1034,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.username = reader.string();
+ message.obfuscatedSslCa = reader.string();
continue;
}
case 6: {
@@ -1031,7 +1042,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.obfuscatedPassword = reader.string();
+ message.obfuscatedSslCert = reader.string();
continue;
}
case 7: {
@@ -1039,7 +1050,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.database = reader.string();
+ message.obfuscatedSslKey = reader.string();
continue;
}
case 8: {
@@ -1047,7 +1058,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.obfuscatedSslKey = reader.string();
+ message.host = reader.string();
continue;
}
case 9: {
@@ -1055,7 +1066,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.obfuscatedSslCert = reader.string();
+ message.port = reader.string();
continue;
}
case 10: {
@@ -1063,7 +1074,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.obfuscatedSslCa = reader.string();
+ message.database = reader.string();
continue;
}
case 11: {
@@ -1082,6 +1093,14 @@ export const DataSource: MessageFns<DataSource> = {
message.authenticationDatabase = reader.string();
continue;
}
+ case 25: {
+ if (tag !== 202) {
+ break;
+ }
+
+ message.replicaSet = reader.string();
+ continue;
+ }
case 13: {
if (tag !== 106) {
break;
@@ -1178,20 +1197,12 @@ export const DataSource: MessageFns<DataSource> = {
message.saslConfig = SASLConfig.decode(reader, reader.uint32());
continue;
}
- case 25: {
- if (tag !== 202) {
- break;
- }
-
- message.additionalAddresses.push(DataSource_Address.decode(reader, reader.uint32()));
- continue;
- }
case 26: {
if (tag !== 210) {
break;
}
- message.replicaSet = reader.string();
+ message.additionalAddresses.push(DataSource_Address.decode(reader, reader.uint32()));
continue;
}
case 27: {
@@ -1218,20 +1229,12 @@ export const DataSource: MessageFns<DataSource> = {
message.warehouseId = reader.string();
continue;
}
- case 30: {
- if (tag !== 242) {
- break;
- }
-
- message.masterName = reader.string();
- continue;
- }
case 31: {
if (tag !== 250) {
break;
}
- message.masterUsername = reader.string();
+ message.masterName = reader.string();
continue;
}
case 32: {
@@ -1239,15 +1242,15 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.masterObfuscatedPassword = reader.string();
+ message.masterUsername = reader.string();
continue;
}
case 33: {
- if (tag !== 264) {
+ if (tag !== 266) {
break;
}
- message.redisType = dataSource_RedisTypeFromJSON(reader.int32());
+ message.masterObfuscatedPassword = reader.string();
continue;
}
case 34: {
@@ -1255,7 +1258,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.useSsl = reader.bool();
+ message.redisType = dataSource_RedisTypeFromJSON(reader.int32());
continue;
}
case 35: {
@@ -1290,18 +1293,20 @@ export const DataSource: MessageFns<DataSource> = {
return {
id: isSet(object.id) ? globalThis.String(object.id) : "",
type: isSet(object.type) ? dataSourceTypeFromJSON(object.type) : DataSourceType.DATA_SOURCE_UNSPECIFIED,
- host: isSet(object.host) ? globalThis.String(object.host) : "",
- port: isSet(object.port) ? globalThis.String(object.port) : "",
username: isSet(object.username) ? globalThis.String(object.username) : "",
obfuscatedPassword: isSet(object.obfuscatedPassword) ? globalThis.String(object.obfuscatedPassword) : "",
- database: isSet(object.database) ? globalThis.String(object.database) : "",
- obfuscatedSslKey: isSet(object.obfuscatedSslKey) ? globalThis.String(object.obfuscatedSslKey) : "",
- obfuscatedSslCert: isSet(object.obfuscatedSslCert) ? globalThis.String(object.obfuscatedSslCert) : "",
+ useSsl: isSet(object.useSsl) ? globalThis.Boolean(object.useSsl) : false,
obfuscatedSslCa: isSet(object.obfuscatedSslCa) ? globalThis.String(object.obfuscatedSslCa) : "",
+ obfuscatedSslCert: isSet(object.obfuscatedSslCert) ? globalThis.String(object.obfuscatedSslCert) : "",
+ obfuscatedSslKey: isSet(object.obfuscatedSslKey) ? globalThis.String(object.obfuscatedSslKey) : "",
+ host: isSet(object.host) ? globalThis.String(object.host) : "",
+ port: isSet(object.port) ? globalThis.String(object.port) : "",
+ database: isSet(object.database) ? globalThis.String(object.database) : "",
srv: isSet(object.srv) ? globalThis.Boolean(object.srv) : false,
authenticationDatabase: isSet(object.authenticationDatabase)
? globalThis.String(object.authenticationDatabase)
: "",
+ replicaSet: isSet(object.replicaSet) ? globalThis.String(object.replicaSet) : "",
sid: isSet(object.sid) ? globalThis.String(object.sid) : "",
serviceName: isSet(object.serviceName) ? globalThis.String(object.serviceName) : "",
sshHost: isSet(object.sshHost) ? globalThis.String(object.sshHost) : "",
@@ -1327,7 +1332,6 @@ export const DataSource: MessageFns<DataSource> = {
additionalAddresses: globalThis.Array.isArray(object?.additionalAddresses)
? object.additionalAddresses.map((e: any) => DataSource_Address.fromJSON(e))
: [],
- 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) : "",
warehouseId: isSet(object.warehouseId) ? globalThis.String(object.warehouseId) : "",
@@ -1339,7 +1343,6 @@ export const DataSource: MessageFns<DataSource> = {
redisType: isSet(object.redisType)
? dataSource_RedisTypeFromJSON(object.redisType)
: DataSource_RedisType.REDIS_TYPE_UNSPECIFIED,
- useSsl: isSet(object.useSsl) ? globalThis.Boolean(object.useSsl) : false,
cluster: isSet(object.cluster) ? globalThis.String(object.cluster) : "",
extraConnectionParameters: isObject(object.extraConnectionParameters)
? Object.entries(object.extraConnectionParameters).reduce<{ [key: string]: string }>((acc, [key, value]) => {
@@ -1358,29 +1361,32 @@ export const DataSource: MessageFns<DataSource> = {
if (message.type !== DataSourceType.DATA_SOURCE_UNSPECIFIED) {
obj.type = dataSourceTypeToJSON(message.type);
}
- if (message.host !== "") {
- obj.host = message.host;
- }
- if (message.port !== "") {
- obj.port = message.port;
- }
if (message.username !== "") {
obj.username = message.username;
}
if (message.obfuscatedPassword !== "") {
obj.obfuscatedPassword = message.obfuscatedPassword;
}
- if (message.database !== "") {
- obj.database = message.database;
+ if (message.useSsl !== false) {
+ obj.useSsl = message.useSsl;
}
- if (message.obfuscatedSslKey !== "") {
- obj.obfuscatedSslKey = message.obfuscatedSslKey;
+ if (message.obfuscatedSslCa !== "") {
+ obj.obfuscatedSslCa = message.obfuscatedSslCa;
}
if (message.obfuscatedSslCert !== "") {
obj.obfuscatedSslCert = message.obfuscatedSslCert;
}
- if (message.obfuscatedSslCa !== "") {
- obj.obfuscatedSslCa = message.obfuscatedSslCa;
+ if (message.obfuscatedSslKey !== "") {
+ obj.obfuscatedSslKey = message.obfuscatedSslKey;
+ }
+ if (message.host !== "") {
+ obj.host = message.host;
+ }
+ if (message.port !== "") {
+ obj.port = message.port;
+ }
+ if (message.database !== "") {
+ obj.database = message.database;
}
if (message.srv !== false) {
obj.srv = message.srv;
@@ -1388,6 +1394,9 @@ export const DataSource: MessageFns<DataSource> = {
if (message.authenticationDatabase !== "") {
obj.authenticationDatabase = message.authenticationDatabase;
}
+ if (message.replicaSet !== "") {
+ obj.replicaSet = message.replicaSet;
+ }
if (message.sid !== "") {
obj.sid = message.sid;
}
@@ -1427,9 +1436,6 @@ export const DataSource: MessageFns<DataSource> = {
if (message.additionalAddresses?.length) {
obj.additionalAddresses = message.additionalAddresses.map((e) => DataSource_Address.toJSON(e));
}
- if (message.replicaSet !== "") {
- obj.replicaSet = message.replicaSet;
- }
if (message.directConnection !== false) {
obj.directConnection = message.directConnection;
}
@@ -1451,9 +1457,6 @@ export const DataSource: MessageFns<DataSource> = {
if (message.redisType !== DataSource_RedisType.REDIS_TYPE_UNSPECIFIED) {
obj.redisType = dataSource_RedisTypeToJSON(message.redisType);
}
- if (message.useSsl !== false) {
- obj.useSsl = message.useSsl;
- }
if (message.cluster !== "") {
obj.cluster = message.cluster;
}
@@ -1476,16 +1479,18 @@ export const DataSource: MessageFns<DataSource> = {
const message = createBaseDataSource();
message.id = object.id ?? "";
message.type = object.type ?? DataSourceType.DATA_SOURCE_UNSPECIFIED;
- message.host = object.host ?? "";
- message.port = object.port ?? "";
message.username = object.username ?? "";
message.obfuscatedPassword = object.obfuscatedPassword ?? "";
- message.database = object.database ?? "";
- message.obfuscatedSslKey = object.obfuscatedSslKey ?? "";
- message.obfuscatedSslCert = object.obfuscatedSslCert ?? "";
+ message.useSsl = object.useSsl ?? false;
message.obfuscatedSslCa = object.obfuscatedSslCa ?? "";
+ message.obfuscatedSslCert = object.obfuscatedSslCert ?? "";
+ message.obfuscatedSslKey = object.obfuscatedSslKey ?? "";
+ message.host = object.host ?? "";
+ message.port = object.port ?? "";
+ message.database = object.database ?? "";
message.srv = object.srv ?? false;
message.authenticationDatabase = object.authenticationDatabase ?? "";
+ message.replicaSet = object.replicaSet ?? "";
message.sid = object.sid ?? "";
message.serviceName = object.serviceName ?? "";
message.sshHost = object.sshHost ?? "";
@@ -1506,7 +1511,6 @@ export const DataSource: MessageFns<DataSource> = {
? SASLConfig.fromPartial(object.saslConfig)
: undefined;
message.additionalAddresses = object.additionalAddresses?.map((e) => DataSource_Address.fromPartial(e)) || [];
- message.replicaSet = object.replicaSet ?? "";
message.directConnection = object.directConnection ?? false;
message.region = object.region ?? "";
message.warehouseId = object.warehouseId ?? "";
@@ -1514,7 +1518,6 @@ export const DataSource: MessageFns<DataSource> = {
message.masterUsername = object.masterUsername ?? "";
message.masterObfuscatedPassword = object.masterObfuscatedPassword ?? "";
message.redisType = object.redisType ?? DataSource_RedisType.REDIS_TYPE_UNSPECIFIED;
- message.useSsl = object.useSsl ?? false;
message.cluster = object.cluster ?? "";
message.extraConnectionParameters = Object.entries(object.extraConnectionParameters ?? {}).reduce<
{ [key: string]: string }
diff --git a/frontend/src/types/proto/v1/instance_service.ts b/frontend/src/types/proto/v1/instance_service.ts
index 07417a4205..401e7e1148 100644
--- a/frontend/src/types/proto/v1/instance_service.ts
+++ b/frontend/src/types/proto/v1/instance_service.ts
@@ -518,9 +518,15 @@ export interface DataSource {
host: string;
port: string;
database: string;
- /** srv, authentication_database and replica_set are used for MongoDB. */
+ /**
+ * srv, authentication_database and replica_set are used for MongoDB.
+ * srv is a boolean flag that indicates whether the host is a DNS SRV record.
+ */
srv: boolean;
+ /** authentication_database is the database name to authenticate against, which stores the user credentials. */
authenticationDatabase: string;
+ /** replica_set is used for MongoDB replica set. */
+ replicaSet: string;
/** sid and service_name are used for Oracle. */
sid: string;
serviceName: string;
@@ -550,15 +556,13 @@ export interface DataSource {
*/
authenticationPrivateKey: string;
externalSecret: DataSourceExternalSecret | undefined;
- clientSecretCredential?: DataSource_ClientSecretCredential | undefined;
authenticationType: DataSource_AuthenticationType;
+ clientSecretCredential?: DataSource_ClientSecretCredential | undefined;
saslConfig:
| SASLConfig
| undefined;
/** additional_addresses is used for MongoDB replica set. */
additionalAddresses: DataSource_Address[];
- /** replica_set is used for MongoDB replica set. */
- 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. */
@@ -573,6 +577,11 @@ export interface DataSource {
redisType: DataSource_RedisType;
/** Cluster is the cluster name for the data source. Used by CockroachDB. */
cluster: string;
+ /**
+ * Extra connection parameters for the database connection.
+ * For PostgreSQL HA, this can be used to set target_session_attrs=read-write
+ */
+ extraConnectionParameters: { [key: string]: string };
}
export enum DataSource_AuthenticationType {
@@ -716,6 +725,11 @@ export interface DataSource_Address {
port: string;
}
+export interface DataSource_ExtraConnectionParametersEntry {
+ key: string;
+ value: string;
+}
+
export interface InstanceResource {
title: string;
engine: Engine;
@@ -2596,6 +2610,7 @@ function createBaseDataSource(): DataSource {
database: "",
srv: false,
authenticationDatabase: "",
+ replicaSet: "",
sid: "",
serviceName: "",
sshHost: "",
@@ -2605,11 +2620,10 @@ function createBaseDataSource(): DataSource {
sshPrivateKey: "",
authenticationPrivateKey: "",
externalSecret: undefined,
- clientSecretCredential: undefined,
authenticationType: DataSource_AuthenticationType.AUTHENTICATION_UNSPECIFIED,
+ clientSecretCredential: undefined,
saslConfig: undefined,
additionalAddresses: [],
- replicaSet: "",
directConnection: false,
region: "",
warehouseId: "",
@@ -2618,6 +2632,7 @@ function createBaseDataSource(): DataSource {
masterPassword: "",
redisType: DataSource_RedisType.REDIS_TYPE_UNSPECIFIED,
cluster: "",
+ extraConnectionParameters: {},
};
}
@@ -2662,6 +2677,9 @@ export const DataSource: MessageFns<DataSource> = {
if (message.authenticationDatabase !== "") {
writer.uint32(98).string(message.authenticationDatabase);
}
+ if (message.replicaSet !== "") {
+ writer.uint32(202).string(message.replicaSet);
+ }
if (message.sid !== "") {
writer.uint32(106).string(message.sid);
}
@@ -2689,26 +2707,23 @@ export const DataSource: MessageFns<DataSource> = {
if (message.externalSecret !== undefined) {
DataSourceExternalSecret.encode(message.externalSecret, writer.uint32(170).fork()).join();
}
- if (message.clientSecretCredential !== undefined) {
- DataSource_ClientSecretCredential.encode(message.clientSecretCredential, writer.uint32(290).fork()).join();
- }
if (message.authenticationType !== DataSource_AuthenticationType.AUTHENTICATION_UNSPECIFIED) {
writer.uint32(176).int32(dataSource_AuthenticationTypeToNumber(message.authenticationType));
}
+ if (message.clientSecretCredential !== undefined) {
+ DataSource_ClientSecretCredential.encode(message.clientSecretCredential, writer.uint32(186).fork()).join();
+ }
if (message.saslConfig !== undefined) {
- SASLConfig.encode(message.saslConfig, writer.uint32(186).fork()).join();
+ SASLConfig.encode(message.saslConfig, writer.uint32(194).fork()).join();
}
for (const v of message.additionalAddresses) {
- DataSource_Address.encode(v!, writer.uint32(194).fork()).join();
- }
- if (message.replicaSet !== "") {
- writer.uint32(202).string(message.replicaSet);
+ DataSource_Address.encode(v!, writer.uint32(210).fork()).join();
}
if (message.directConnection !== false) {
- writer.uint32(208).bool(message.directConnection);
+ writer.uint32(216).bool(message.directConnection);
}
if (message.region !== "") {
- writer.uint32(218).string(message.region);
+ writer.uint32(226).string(message.region);
}
if (message.warehouseId !== "") {
writer.uint32(234).string(message.warehouseId);
@@ -2728,6 +2743,9 @@ export const DataSource: MessageFns<DataSource> = {
if (message.cluster !== "") {
writer.uint32(282).string(message.cluster);
}
+ Object.entries(message.extraConnectionParameters).forEach(([key, value]) => {
+ DataSource_ExtraConnectionParametersEntry.encode({ key: key as any, value }, writer.uint32(290).fork()).join();
+ });
return writer;
},
@@ -2842,6 +2860,14 @@ export const DataSource: MessageFns<DataSource> = {
message.authenticationDatabase = reader.string();
continue;
}
+ case 25: {
+ if (tag !== 202) {
+ break;
+ }
+
+ message.replicaSet = reader.string();
+ continue;
+ }
case 13: {
if (tag !== 106) {
break;
@@ -2914,14 +2940,6 @@ export const DataSource: MessageFns<DataSource> = {
message.externalSecret = DataSourceExternalSecret.decode(reader, reader.uint32());
continue;
}
- case 36: {
- if (tag !== 290) {
- break;
- }
-
- message.clientSecretCredential = DataSource_ClientSecretCredential.decode(reader, reader.uint32());
- continue;
- }
case 22: {
if (tag !== 176) {
break;
@@ -2935,7 +2953,7 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.saslConfig = SASLConfig.decode(reader, reader.uint32());
+ message.clientSecretCredential = DataSource_ClientSecretCredential.decode(reader, reader.uint32());
continue;
}
case 24: {
@@ -2943,27 +2961,27 @@ export const DataSource: MessageFns<DataSource> = {
break;
}
- message.additionalAddresses.push(DataSource_Address.decode(reader, reader.uint32()));
+ message.saslConfig = SASLConfig.decode(reader, reader.uint32());
continue;
}
- case 25: {
- if (tag !== 202) {
+ case 26: {
+ if (tag !== 210) {
break;
}
- message.replicaSet = reader.string();
+ message.additionalAddresses.push(DataSource_Address.decode(reader, reader.uint32()));
continue;
}
- case 26: {
- if (tag !== 208) {
+ case 27: {
+ if (tag !== 216) {
break;
}
message.directConnection = reader.bool();
continue;
}
- case 27: {
- if (tag !== 218) {
+ case 28: {
+ if (tag !== 226) {
break;
}
@@ -3018,6 +3036,17 @@ export const DataSource: MessageFns<DataSource> = {
message.cluster = reader.string();
continue;
}
+ case 36: {
+ if (tag !== 290) {
+ break;
+ }
+
+ const entry36 = DataSource_ExtraConnectionParametersEntry.decode(reader, reader.uint32());
+ if (entry36.value !== undefined) {
+ message.extraConnectionParameters[entry36.key] = entry36.value;
+ }
+ continue;
+ }
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -3044,6 +3073,7 @@ export const DataSource: MessageFns<DataSource> = {
authenticationDatabase: isSet(object.authenticationDatabase)
? globalThis.String(object.authenticationDatabase)
: "",
+ replicaSet: isSet(object.replicaSet) ? globalThis.String(object.replicaSet) : "",
sid: isSet(object.sid) ? globalThis.String(object.sid) : "",
serviceName: isSet(object.serviceName) ? globalThis.String(object.serviceName) : "",
sshHost: isSet(object.sshHost) ? globalThis.String(object.sshHost) : "",
@@ -3057,17 +3087,16 @@ export const DataSource: MessageFns<DataSource> = {
externalSecret: isSet(object.externalSecret)
? DataSourceExternalSecret.fromJSON(object.externalSecret)
: undefined,
- clientSecretCredential: isSet(object.clientSecretCredential)
- ? DataSource_ClientSecretCredential.fromJSON(object.clientSecretCredential)
- : undefined,
authenticationType: isSet(object.authenticationType)
? dataSource_AuthenticationTypeFromJSON(object.authenticationType)
: DataSource_AuthenticationType.AUTHENTICATION_UNSPECIFIED,
+ clientSecretCredential: isSet(object.clientSecretCredential)
+ ? DataSource_ClientSecretCredential.fromJSON(object.clientSecretCredential)
+ : undefined,
saslConfig: isSet(object.saslConfig) ? SASLConfig.fromJSON(object.saslConfig) : undefined,
additionalAddresses: globalThis.Array.isArray(object?.additionalAddresses)
? object.additionalAddresses.map((e: any) => DataSource_Address.fromJSON(e))
: [],
- 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) : "",
warehouseId: isSet(object.warehouseId) ? globalThis.String(object.warehouseId) : "",
@@ -3078,6 +3107,12 @@ export const DataSource: MessageFns<DataSource> = {
? dataSource_RedisTypeFromJSON(object.redisType)
: DataSource_RedisType.REDIS_TYPE_UNSPECIFIED,
cluster: isSet(object.cluster) ? globalThis.String(object.cluster) : "",
+ extraConnectionParameters: isObject(object.extraConnectionParameters)
+ ? Object.entries(object.extraConnectionParameters).reduce<{ [key: string]: string }>((acc, [key, value]) => {
+ acc[key] = String(value);
+ return acc;
+ }, {})
+ : {},
};
},
@@ -3122,6 +3157,9 @@ export const DataSource: MessageFns<DataSource> = {
if (message.authenticationDatabase !== "") {
obj.authenticationDatabase = message.authenticationDatabase;
}
+ if (message.replicaSet !== "") {
+ obj.replicaSet = message.replicaSet;
+ }
if (message.sid !== "") {
obj.sid = message.sid;
}
@@ -3149,21 +3187,18 @@ export const DataSource: MessageFns<DataSource> = {
if (message.externalSecret !== undefined) {
obj.externalSecret = DataSourceExternalSecret.toJSON(message.externalSecret);
}
- if (message.clientSecretCredential !== undefined) {
- obj.clientSecretCredential = DataSource_ClientSecretCredential.toJSON(message.clientSecretCredential);
- }
if (message.authenticationType !== DataSource_AuthenticationType.AUTHENTICATION_UNSPECIFIED) {
obj.authenticationType = dataSource_AuthenticationTypeToJSON(message.authenticationType);
}
+ if (message.clientSecretCredential !== undefined) {
+ obj.clientSecretCredential = DataSource_ClientSecretCredential.toJSON(message.clientSecretCredential);
+ }
if (message.saslConfig !== undefined) {
obj.saslConfig = SASLConfig.toJSON(message.saslConfig);
}
if (message.additionalAddresses?.length) {
obj.additionalAddresses = message.additionalAddresses.map((e) => DataSource_Address.toJSON(e));
}
- if (message.replicaSet !== "") {
- obj.replicaSet = message.replicaSet;
- }
if (message.directConnection !== false) {
obj.directConnection = message.directConnection;
}
@@ -3188,6 +3223,15 @@ export const DataSource: MessageFns<DataSource> = {
if (message.cluster !== "") {
obj.cluster = message.cluster;
}
+ if (message.extraConnectionParameters) {
+ const entries = Object.entries(message.extraConnectionParameters);
+ if (entries.length > 0) {
+ obj.extraConnectionParameters = {};
+ entries.forEach(([k, v]) => {
+ obj.extraConnectionParameters[k] = v;
+ });
+ }
+ }
return obj;
},
@@ -3209,6 +3253,7 @@ export const DataSource: MessageFns<DataSource> = {
message.database = object.database ?? "";
message.srv = object.srv ?? false;
message.authenticationDatabase = object.authenticationDatabase ?? "";
+ message.replicaSet = object.replicaSet ?? "";
message.sid = object.sid ?? "";
message.serviceName = object.serviceName ?? "";
message.sshHost = object.sshHost ?? "";
@@ -3220,16 +3265,15 @@ export const DataSource: MessageFns<DataSource> = {
message.externalSecret = (object.externalSecret !== undefined && object.externalSecret !== null)
? DataSourceExternalSecret.fromPartial(object.externalSecret)
: undefined;
+ message.authenticationType = object.authenticationType ?? DataSource_AuthenticationType.AUTHENTICATION_UNSPECIFIED;
message.clientSecretCredential =
(object.clientSecretCredential !== undefined && object.clientSecretCredential !== null)
? DataSource_ClientSecretCredential.fromPartial(object.clientSecretCredential)
: undefined;
- message.authenticationType = object.authenticationType ?? DataSource_AuthenticationType.AUTHENTICATION_UNSPECIFIED;
message.saslConfig = (object.saslConfig !== undefined && object.saslConfig !== null)
? SASLConfig.fromPartial(object.saslConfig)
: undefined;
message.additionalAddresses = object.additionalAddresses?.map((e) => DataSource_Address.fromPartial(e)) || [];
- message.replicaSet = object.replicaSet ?? "";
message.directConnection = object.directConnection ?? false;
message.region = object.region ?? "";
message.warehouseId = object.warehouseId ?? "";
@@ -3238,6 +3282,14 @@ export const DataSource: MessageFns<DataSource> = {
message.masterPassword = object.masterPassword ?? "";
message.redisType = object.redisType ?? DataSource_RedisType.REDIS_TYPE_UNSPECIFIED;
message.cluster = object.cluster ?? "";
+ message.extraConnectionParameters = Object.entries(object.extraConnectionParameters ?? {}).reduce<
+ { [key: string]: string }
+ >((acc, [key, value]) => {
+ if (value !== undefined) {
+ acc[key] = globalThis.String(value);
+ }
+ return acc;
+ }, {});
return message;
},
};
@@ -3410,6 +3462,84 @@ export const DataSource_Address: MessageFns<DataSource_Address> = {
},
};
+function createBaseDataSource_ExtraConnectionParametersEntry(): DataSource_ExtraConnectionParametersEntry {
+ return { key: "", value: "" };
+}
+
+export const DataSource_ExtraConnectionParametersEntry: MessageFns<DataSource_ExtraConnectionParametersEntry> = {
+ encode(message: DataSource_ExtraConnectionParametersEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.key !== "") {
+ writer.uint32(10).string(message.key);
+ }
+ if (message.value !== "") {
+ writer.uint32(18).string(message.value);
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): DataSource_ExtraConnectionParametersEntry {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseDataSource_ExtraConnectionParametersEntry();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.key = reader.string();
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.value = reader.string();
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): DataSource_ExtraConnectionParametersEntry {
+ return {
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
+ };
+ },
+
+ toJSON(message: DataSource_ExtraConnectionParametersEntry): unknown {
+ const obj: any = {};
+ if (message.key !== "") {
+ obj.key = message.key;
+ }
+ if (message.value !== "") {
+ obj.value = message.value;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<DataSource_ExtraConnectionParametersEntry>): DataSource_ExtraConnectionParametersEntry {
+ return DataSource_ExtraConnectionParametersEntry.fromPartial(base ?? {});
+ },
+ fromPartial(
+ object: DeepPartial<DataSource_ExtraConnectionParametersEntry>,
+ ): DataSource_ExtraConnectionParametersEntry {
+ const message = createBaseDataSource_ExtraConnectionParametersEntry();
+ message.key = object.key ?? "";
+ message.value = object.value ?? "";
+ return message;
+ },
+};
+
function createBaseInstanceResource(): InstanceResource {
return {
title: "",
@@ -4710,6 +4840,10 @@ export type DeepPartial<T> = T extends Builtin ? T
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
+function isObject(value: any): boolean {
+ return typeof value === "object" && value !== null;
+}
+
function isSet(value: any): boolean {
return value !== null && value !== undefined;
}
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 10b6120616..29fc74a0d2 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -8860,20 +8860,16 @@ components:
format: enum
username:
type: string
- password:
- writeOnly: true
+ obfuscatedPassword:
type: string
useSsl:
type: boolean
description: Use SSL to connect to the data source. By default, we use system default SSL configuration.
- sslCa:
- writeOnly: true
+ obfuscatedSslCa:
type: string
- sslCert:
- writeOnly: true
+ obfuscatedSslCert:
type: string
- sslKey:
- writeOnly: true
+ obfuscatedSslKey:
type: string
host:
type: string
@@ -8883,9 +8879,15 @@ components:
type: string
srv:
type: boolean
- description: srv, authentication_database and replica_set are used for MongoDB.
+ description: |-
+ srv, authentication_database and replica_set are used for MongoDB.
+ srv is a boolean flag that indicates whether the host is a DNS SRV record.
authenticationDatabase:
type: string
+ description: authentication_database is the database name to authenticate against, which stores the user credentials.
+ replicaSet:
+ type: string
+ description: replica_set is used for MongoDB replica set.
sid:
type: string
description: sid and service_name are used for Oracle.
@@ -8894,37 +8896,27 @@ components:
sshHost:
type: string
description: |-
- Connection over SSH.
+ SSH related
The hostname of the SSH server agent.
- Required.
sshPort:
type: string
- description: |-
- The port of the SSH server agent. It's 22 typically.
- Required.
+ description: The port of the SSH server agent. It's 22 typically.
sshUser:
type: string
- description: |-
- The user to login the server.
- Required.
- sshPassword:
- writeOnly: true
+ description: The user to login the server.
+ sshObfuscatedPassword:
type: string
description: The password to login the server. If it's empty string, no password is required.
- sshPrivateKey:
- writeOnly: true
+ sshObfuscatedPrivateKey:
type: string
description: The private key to login the server. If it's empty string, we will use the system default private key from os.Getenv("SSH_AUTH_SOCK").
- authenticationPrivateKey:
- writeOnly: true
+ authenticationPrivateKeyObfuscated:
type: string
description: |-
PKCS#8 private key in PEM format. If it's empty string, no private key is required.
Used for authentication when connecting to the data source.
externalSecret:
$ref: '#/components/schemas/DataSourceExternalSecret'
- clientSecretCredential:
- $ref: '#/components/schemas/DataSource_ClientSecretCredential'
authenticationType:
enum:
- AUTHENTICATION_UNSPECIFIED
@@ -8934,6 +8926,8 @@ components:
- AZURE_IAM
type: string
format: enum
+ clientSecretCredential:
+ $ref: '#/components/schemas/DataSource_ClientSecretCredential'
saslConfig:
$ref: '#/components/schemas/SASLConfig'
additionalAddresses:
@@ -8941,9 +8935,6 @@ components:
items:
$ref: '#/components/schemas/DataSource_Address'
description: additional_addresses is used for MongoDB replica set.
- replicaSet:
- type: string
- description: replica_set is used for MongoDB replica set.
directConnection:
type: boolean
description: direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.
@@ -8958,8 +8949,8 @@ components:
description: master_name is the master name used by connecting redis-master via redis sentinel.
masterUsername:
type: string
- description: master_username and master_password are master credentials used by redis sentinel mode.
- masterPassword:
+ description: master_username and master_obfuscated_password are master credentials used by redis sentinel mode.
+ masterObfuscatedPassword:
type: string
redisType:
enum:
@@ -8972,6 +8963,13 @@ components:
cluster:
type: string
description: Cluster is the cluster name for the data source. Used by CockroachDB.
+ extraConnectionParameters:
+ type: object
+ additionalProperties:
+ type: string
+ description: |-
+ Extra connection parameters for the database connection.
+ For PostgreSQL HA, this can be used to set target_session_attrs=read-write
DataSourceExternalSecret:
type: object
properties:
@@ -9766,69 +9764,16 @@ components:
Instance:
type: object
properties:
- name:
- type: string
+ mysqlLowerCaseTableNames:
+ type: integer
description: |-
- The name of the instance.
- Format: instances/{instance}
- state:
- enum:
- - STATE_UNSPECIFIED
- - ACTIVE
- - DELETED
- type: string
- format: enum
- title:
- type: string
- engine:
- enum:
- - ENGINE_UNSPECIFIED
- - CLICKHOUSE
- - MYSQL
- - POSTGRES
- - SNOWFLAKE
- - SQLITE
- - TIDB
- - MONGODB
- - REDIS
- - ORACLE
- - SPANNER
- - MSSQL
- - REDSHIFT
- - MARIADB
- - OCEANBASE
- - DM
- - RISINGWAVE
- - OCEANBASE_ORACLE
- - STARROCKS
- - DORIS
- - HIVE
- - ELASTICSEARCH
- - BIGQUERY
- - DYNAMODB
- - DATABRICKS
- - COCKROACHDB
- - COSMOSDB
- type: string
- format: enum
- engineVersion:
- readOnly: true
- type: string
- externalLink:
- type: string
- dataSources:
- type: array
- items:
- $ref: '#/components/schemas/DataSource'
- environment:
+ The lower_case_table_names config for MySQL instances.
+ It is used to determine whether the table names and database names are case sensitive.
+ format: int32
+ lastSyncTime:
type: string
- description: |-
- The environment resource.
- Format: environments/prod where prod is the environment resource ID.
- activation:
- type: boolean
+ format: date-time
roles:
- readOnly: true
type: array
items:
$ref: '#/components/schemas/InstanceRole'
@@ -9849,6 +9794,11 @@ components:
description: |-
Enable sync for following databases.
Default empty, means sync all schemas & databases.
+ dataSources:
+ type: array
+ items:
+ $ref: '#/components/schemas/DataSource'
+ description: Instance is the proto for instances.
InstanceResource:
type: object
properties:
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.md
index 75dd5c2eb1..ba58cc8230 100644
--- a/proto/gen/grpc-doc/store/README.md
+++ b/proto/gen/grpc-doc/store/README.md
@@ -152,7 +152,7 @@
- [DataSource.ExtraConnectionParametersEntry](#bytebase-store-DataSource-ExtraConnectionParametersEntry)
- [DataSourceExternalSecret](#bytebase-store-DataSourceExternalSecret)
- [DataSourceExternalSecret.AppRoleAuthOption](#bytebase-store-DataSourceExternalSecret-AppRoleAuthOption)
- - [InstanceMetadata](#bytebase-store-InstanceMetadata)
+ - [Instance](#bytebase-store-Instance)
- [InstanceRole](#bytebase-store-InstanceRole)
- [KerberosConfig](#bytebase-store-KerberosConfig)
- [SASLConfig](#bytebase-store-SASLConfig)
@@ -2485,16 +2485,18 @@ OIDCIdentityProviderConfig is the structure for OIDC identity provider config.
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | |
| type | [DataSourceType](#bytebase-store-DataSourceType) | | |
-| host | [string](#string) | | |
-| port | [string](#string) | | |
| username | [string](#string) | | |
| obfuscated_password | [string](#string) | | |
-| database | [string](#string) | | |
-| obfuscated_ssl_key | [string](#string) | | |
-| obfuscated_ssl_cert | [string](#string) | | |
+| use_ssl | [bool](#bool) | | Use SSL to connect to the data source. By default, we use system default SSL configuration. |
| obfuscated_ssl_ca | [string](#string) | | |
-| srv | [bool](#bool) | | srv is a boolean flag that indicates whether the host is a DNS SRV record. |
+| obfuscated_ssl_cert | [string](#string) | | |
+| obfuscated_ssl_key | [string](#string) | | |
+| host | [string](#string) | | |
+| port | [string](#string) | | |
+| database | [string](#string) | | |
+| srv | [bool](#bool) | | srv, authentication_database and replica_set are used for MongoDB. srv is a boolean flag that indicates whether the host is a DNS SRV record. |
| authentication_database | [string](#string) | | authentication_database is the database name to authenticate against, which stores the user credentials. |
+| replica_set | [string](#string) | | replica_set is used for MongoDB replica set. |
| sid | [string](#string) | | sid and service_name are used for Oracle. |
| service_name | [string](#string) | | |
| ssh_host | [string](#string) | | SSH related The hostname of the SSH server agent. |
@@ -2508,7 +2510,6 @@ OIDCIdentityProviderConfig is the structure for OIDC identity provider config.
| client_secret_credential | [DataSource.ClientSecretCredential](#bytebase-store-DataSource-ClientSecretCredential) | | |
| sasl_config | [SASLConfig](#bytebase-store-SASLConfig) | | |
| additional_addresses | [DataSource.Address](#bytebase-store-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. |
| warehouse_id | [string](#string) | | warehouse_id is used by Databricks. |
@@ -2516,7 +2517,6 @@ OIDCIdentityProviderConfig is the structure for OIDC identity provider config.
| master_username | [string](#string) | | master_username and master_obfuscated_password are master credentials used by redis sentinel mode. |
| master_obfuscated_password | [string](#string) | | |
| redis_type | [DataSource.RedisType](#bytebase-store-DataSource-RedisType) | | |
-| use_ssl | [bool](#bool) | | Use SSL to connect to the data source. By default, we use system default SSL configuration. |
| cluster | [string](#string) | | Cluster is the cluster name for the data source. Used by CockroachDB. |
| extra_connection_parameters | [DataSource.ExtraConnectionParametersEntry](#bytebase-store-DataSource-ExtraConnectionParametersEntry) | repeated | Extra connection parameters for the database connection. For PostgreSQL HA, this can be used to set target_session_attrs=read-write |
@@ -2614,10 +2614,10 @@ OIDCIdentityProviderConfig is the structure for OIDC identity provider config.
-<a name="bytebase-store-InstanceMetadata"></a>
+<a name="bytebase-store-Instance"></a>
-### InstanceMetadata
-InstanceMetadata is the metadata for instances.
+### Instance
+Instance is the proto for instances.
| Field | Type | Label | Description |
diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.html
index 319875b214..85177e8c3a 100644
--- a/proto/gen/grpc-doc/store/index.html
+++ b/proto/gen/grpc-doc/store/index.html
@@ -784,7 +784,7 @@
</li>
<li>
- <a href="#bytebase.store.InstanceMetadata"><span class="badge">M</span>InstanceMetadata</a>
+ <a href="#bytebase.store.Instance"><span class="badge">M</span>Instance</a>
</li>
<li>
@@ -6815,56 +6815,63 @@ This is an optional style described in the OAuth2 RFC 6749 section 2.3.1.</p></t
</tr>
<tr>
- <td>host</td>
+ <td>username</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>port</td>
+ <td>obfuscated_password</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>username</td>
+ <td>use_ssl</td>
+ <td><a href="#bool">bool</a></td>
+ <td></td>
+ <td><p>Use SSL to connect to the data source. By default, we use system default SSL configuration. </p></td>
+ </tr>
+
+ <tr>
+ <td>obfuscated_ssl_ca</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>obfuscated_password</td>
+ <td>obfuscated_ssl_cert</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>database</td>
+ <td>obfuscated_ssl_key</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>obfuscated_ssl_key</td>
+ <td>host</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>obfuscated_ssl_cert</td>
+ <td>port</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>obfuscated_ssl_ca</td>
+ <td>database</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
@@ -6874,7 +6881,8 @@ This is an optional style described in the OAuth2 RFC 6749 section 2.3.1.</p></t
<td>srv</td>
<td><a href="#bool">bool</a></td>
<td></td>
- <td><p>srv is a boolean flag that indicates whether the host is a DNS SRV record. </p></td>
+ <td><p>srv, authentication_database and replica_set are used for MongoDB.
+srv is a boolean flag that indicates whether the host is a DNS SRV record. </p></td>
</tr>
<tr>
@@ -6884,6 +6892,13 @@ This is an optional style described in the OAuth2 RFC 6749 section 2.3.1.</p></t
<td><p>authentication_database is the database name to authenticate against, which stores the user credentials. </p></td>
</tr>
+ <tr>
+ <td>replica_set</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>replica_set is used for MongoDB replica set. </p></td>
+ </tr>
+
<tr>
<td>sid</td>
<td><a href="#string">string</a></td>
@@ -6977,13 +6992,6 @@ Used for authentication when connecting to the data source. </p></td>
<td><p>additional_addresses is used for MongoDB replica set. </p></td>
</tr>
- <tr>
- <td>replica_set</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>replica_set is used for MongoDB replica set. </p></td>
- </tr>
-
<tr>
<td>direct_connection</td>
<td><a href="#bool">bool</a></td>
@@ -7033,13 +7041,6 @@ Used for authentication when connecting to the data source. </p></td>
<td><p> </p></td>
</tr>
- <tr>
- <td>use_ssl</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>Use SSL to connect to the data source. By default, we use system default SSL configuration. </p></td>
- </tr>
-
<tr>
<td>cluster</td>
<td><a href="#string">string</a></td>
@@ -7280,8 +7281,8 @@ For PostgreSQL HA, this can be used to set target_session_attrs=read-write </p><
- <h3 id="bytebase.store.InstanceMetadata">InstanceMetadata</h3>
- <p>InstanceMetadata is the metadata for instances.</p>
+ <h3 id="bytebase.store.Instance">Instance</h3>
+ <p>Instance is the proto for instances.</p>
<table class="field-table">
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 60f7f77411..d5ef85bb9a 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -54,6 +54,7 @@
- [DataSource](#bytebase-v1-DataSource)
- [DataSource.Address](#bytebase-v1-DataSource-Address)
- [DataSource.ClientSecretCredential](#bytebase-v1-DataSource-ClientSecretCredential)
+ - [DataSource.ExtraConnectionParametersEntry](#bytebase-v1-DataSource-ExtraConnectionParametersEntry)
- [DataSourceExternalSecret](#bytebase-v1-DataSourceExternalSecret)
- [DataSourceExternalSecret.AppRoleAuthOption](#bytebase-v1-DataSourceExternalSecret-AppRoleAuthOption)
- [DeleteInstanceRequest](#bytebase-v1-DeleteInstanceRequest)
@@ -1317,8 +1318,9 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
| host | [string](#string) | | |
| port | [string](#string) | | |
| database | [string](#string) | | |
-| srv | [bool](#bool) | | srv, authentication_database and replica_set are used for MongoDB. |
-| authentication_database | [string](#string) | | |
+| srv | [bool](#bool) | | srv, authentication_database and replica_set are used for MongoDB. srv is a boolean flag that indicates whether the host is a DNS SRV record. |
+| authentication_database | [string](#string) | | authentication_database is the database name to authenticate against, which stores the user credentials. |
+| replica_set | [string](#string) | | replica_set is used for MongoDB replica set. |
| sid | [string](#string) | | sid and service_name are used for Oracle. |
| service_name | [string](#string) | | |
| ssh_host | [string](#string) | | Connection over SSH. The hostname of the SSH server agent. Required. |
@@ -1328,11 +1330,10 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
| ssh_private_key | [string](#string) | | The private key to login the server. If it&#39;s empty string, we will use the system default private key from os.Getenv(&#34;SSH_AUTH_SOCK&#34;). |
| authentication_private_key | [string](#string) | | PKCS#8 private key in PEM format. If it&#39;s empty string, no private key is required. Used for authentication when connecting to the data source. |
| external_secret | [DataSourceExternalSecret](#bytebase-v1-DataSourceExternalSecret) | | |
-| client_secret_credential | [DataSource.ClientSecretCredential](#bytebase-v1-DataSource-ClientSecretCredential) | | |
| authentication_type | [DataSource.AuthenticationType](#bytebase-v1-DataSource-AuthenticationType) | | |
+| client_secret_credential | [DataSource.ClientSecretCredential](#bytebase-v1-DataSource-ClientSecretCredential) | | |
| sasl_config | [SASLConfig](#bytebase-v1-SASLConfig) | | |
| 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. |
| warehouse_id | [string](#string) | | warehouse_id is used by Databricks. |
@@ -1341,6 +1342,7 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
| master_password | [string](#string) | | |
| redis_type | [DataSource.RedisType](#bytebase-v1-DataSource-RedisType) | | |
| cluster | [string](#string) | | Cluster is the cluster name for the data source. Used by CockroachDB. |
+| extra_connection_parameters | [DataSource.ExtraConnectionParametersEntry](#bytebase-v1-DataSource-ExtraConnectionParametersEntry) | repeated | Extra connection parameters for the database connection. For PostgreSQL HA, this can be used to set target_session_attrs=read-write |
@@ -1380,6 +1382,22 @@ This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
+<a name="bytebase-v1-DataSource-ExtraConnectionParametersEntry"></a>
+
+### DataSource.ExtraConnectionParametersEntry
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [string](#string) | | |
+
+
+
+
+
+
<a name="bytebase-v1-DataSourceExternalSecret"></a>
### DataSourceExternalSecret
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 14051526fb..27d6489d8a 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -370,6 +370,10 @@
<a href="#bytebase.v1.DataSource.ClientSecretCredential"><span class="badge">M</span>DataSource.ClientSecretCredential</a>
</li>
+ <li>
+ <a href="#bytebase.v1.DataSource.ExtraConnectionParametersEntry"><span class="badge">M</span>DataSource.ExtraConnectionParametersEntry</a>
+ </li>
+
<li>
<a href="#bytebase.v1.DataSourceExternalSecret"><span class="badge">M</span>DataSourceExternalSecret</a>
</li>
@@ -4356,14 +4360,22 @@ are /[a-z][0-9]-/. </p></td>
<td>srv</td>
<td><a href="#bool">bool</a></td>
<td></td>
- <td><p>srv, authentication_database and replica_set are used for MongoDB. </p></td>
+ <td><p>srv, authentication_database and replica_set are used for MongoDB.
+srv is a boolean flag that indicates whether the host is a DNS SRV record. </p></td>
</tr>
<tr>
<td>authentication_database</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>authentication_database is the database name to authenticate against, which stores the user credentials. </p></td>
+ </tr>
+
+ <tr>
+ <td>replica_set</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>replica_set is used for MongoDB replica set. </p></td>
</tr>
<tr>
@@ -4435,15 +4447,15 @@ Used for authentication when connecting to the data source. </p></td>
</tr>
<tr>
- <td>client_secret_credential</td>
- <td><a href="#bytebase.v1.DataSource.ClientSecretCredential">DataSource.ClientSecretCredential</a></td>
+ <td>authentication_type</td>
+ <td><a href="#bytebase.v1.DataSource.AuthenticationType">DataSource.AuthenticationType</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>authentication_type</td>
- <td><a href="#bytebase.v1.DataSource.AuthenticationType">DataSource.AuthenticationType</a></td>
+ <td>client_secret_credential</td>
+ <td><a href="#bytebase.v1.DataSource.ClientSecretCredential">DataSource.ClientSecretCredential</a></td>
<td></td>
<td><p> </p></td>
</tr>
@@ -4462,13 +4474,6 @@ Used for authentication when connecting to the data source. </p></td>
<td><p>additional_addresses is used for MongoDB replica set. </p></td>
</tr>
- <tr>
- <td>replica_set</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>replica_set is used for MongoDB replica set. </p></td>
- </tr>
-
<tr>
<td>direct_connection</td>
<td><a href="#bool">bool</a></td>
@@ -4525,6 +4530,14 @@ Used for authentication when connecting to the data source. </p></td>
<td><p>Cluster is the cluster name for the data source. Used by CockroachDB. </p></td>
</tr>
+ <tr>
+ <td>extra_connection_parameters</td>
+ <td><a href="#bytebase.v1.DataSource.ExtraConnectionParametersEntry">DataSource.ExtraConnectionParametersEntry</a></td>
+ <td>repeated</td>
+ <td><p>Extra connection parameters for the database connection.
+For PostgreSQL HA, this can be used to set target_session_attrs=read-write </p></td>
+ </tr>
+
</tbody>
</table>
@@ -4601,6 +4614,37 @@ Used for authentication when connecting to the data source. </p></td>
+ <h3 id="bytebase.v1.DataSource.ExtraConnectionParametersEntry">DataSource.ExtraConnectionParametersEntry</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>key</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>value</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.DataSourceExternalSecret">DataSourceExternalSecret</h3>
<p></p>
diff --git a/proto/generated-go/store/instance.pb.go b/proto/generated-go/store/instance.pb.go
index b13ec5a12a..31a2318c50 100644
--- a/proto/generated-go/store/instance.pb.go
+++ b/proto/generated-go/store/instance.pb.go
@@ -334,8 +334,8 @@ func (DataSourceExternalSecret_AppRoleAuthOption_SecretType) EnumDescriptor() ([
return file_store_instance_proto_rawDescGZIP(), []int{5, 0, 0}
}
-// InstanceMetadata is the metadata for instances.
-type InstanceMetadata struct {
+// Instance is the proto for instances.
+type Instance struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The lower_case_table_names config for MySQL instances.
// It is used to determine whether the table names and database names are case sensitive.
@@ -355,20 +355,20 @@ type InstanceMetadata struct {
sizeCache protoimpl.SizeCache
}
-func (x *InstanceMetadata) Reset() {
- *x = InstanceMetadata{}
+func (x *Instance) Reset() {
+ *x = Instance{}
mi := &file_store_instance_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
-func (x *InstanceMetadata) String() string {
+func (x *Instance) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*InstanceMetadata) ProtoMessage() {}
+func (*Instance) ProtoMessage() {}
-func (x *InstanceMetadata) ProtoReflect() protoreflect.Message {
+func (x *Instance) ProtoReflect() protoreflect.Message {
mi := &file_store_instance_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -380,54 +380,54 @@ func (x *InstanceMetadata) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use InstanceMetadata.ProtoReflect.Descriptor instead.
-func (*InstanceMetadata) Descriptor() ([]byte, []int) {
+// Deprecated: Use Instance.ProtoReflect.Descriptor instead.
+func (*Instance) Descriptor() ([]byte, []int) {
return file_store_instance_proto_rawDescGZIP(), []int{0}
}
-func (x *InstanceMetadata) GetMysqlLowerCaseTableNames() int32 {
+func (x *Instance) GetMysqlLowerCaseTableNames() int32 {
if x != nil {
return x.MysqlLowerCaseTableNames
}
return 0
}
-func (x *InstanceMetadata) GetLastSyncTime() *timestamppb.Timestamp {
+func (x *Instance) GetLastSyncTime() *timestamppb.Timestamp {
if x != nil {
return x.LastSyncTime
}
return nil
}
-func (x *InstanceMetadata) GetRoles() []*InstanceRole {
+func (x *Instance) GetRoles() []*InstanceRole {
if x != nil {
return x.Roles
}
return nil
}
-func (x *InstanceMetadata) GetSyncInterval() *durationpb.Duration {
+func (x *Instance) GetSyncInterval() *durationpb.Duration {
if x != nil {
return x.SyncInterval
}
return nil
}
-func (x *InstanceMetadata) GetMaximumConnections() int32 {
+func (x *Instance) GetMaximumConnections() int32 {
if x != nil {
return x.MaximumConnections
}
return 0
}
-func (x *InstanceMetadata) GetSyncDatabases() []string {
+func (x *Instance) GetSyncDatabases() []string {
if x != nil {
return x.SyncDatabases
}
return nil
}
-func (x *InstanceMetadata) GetDataSources() []*DataSource {
+func (x *Instance) GetDataSources() []*DataSource {
if x != nil {
return x.DataSources
}
@@ -513,18 +513,23 @@ type DataSource struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type DataSourceType `protobuf:"varint,2,opt,name=type,proto3,enum=bytebase.store.DataSourceType" json:"type,omitempty"`
- Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
- Port string `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"`
- Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
- ObfuscatedPassword string `protobuf:"bytes,6,opt,name=obfuscated_password,json=obfuscatedPassword,proto3" json:"obfuscated_password,omitempty"`
- Database string `protobuf:"bytes,7,opt,name=database,proto3" json:"database,omitempty"`
- ObfuscatedSslKey string `protobuf:"bytes,8,opt,name=obfuscated_ssl_key,json=obfuscatedSslKey,proto3" json:"obfuscated_ssl_key,omitempty"`
- ObfuscatedSslCert string `protobuf:"bytes,9,opt,name=obfuscated_ssl_cert,json=obfuscatedSslCert,proto3" json:"obfuscated_ssl_cert,omitempty"`
- ObfuscatedSslCa string `protobuf:"bytes,10,opt,name=obfuscated_ssl_ca,json=obfuscatedSslCa,proto3" json:"obfuscated_ssl_ca,omitempty"`
+ Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
+ ObfuscatedPassword string `protobuf:"bytes,4,opt,name=obfuscated_password,json=obfuscatedPassword,proto3" json:"obfuscated_password,omitempty"`
+ // Use SSL to connect to the data source. By default, we use system default SSL configuration.
+ UseSsl bool `protobuf:"varint,30,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
+ ObfuscatedSslCa string `protobuf:"bytes,5,opt,name=obfuscated_ssl_ca,json=obfuscatedSslCa,proto3" json:"obfuscated_ssl_ca,omitempty"`
+ ObfuscatedSslCert string `protobuf:"bytes,6,opt,name=obfuscated_ssl_cert,json=obfuscatedSslCert,proto3" json:"obfuscated_ssl_cert,omitempty"`
+ ObfuscatedSslKey string `protobuf:"bytes,7,opt,name=obfuscated_ssl_key,json=obfuscatedSslKey,proto3" json:"obfuscated_ssl_key,omitempty"`
+ Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"`
+ Port string `protobuf:"bytes,9,opt,name=port,proto3" json:"port,omitempty"`
+ Database string `protobuf:"bytes,10,opt,name=database,proto3" json:"database,omitempty"`
+ // srv, authentication_database and replica_set are used for MongoDB.
// srv is a boolean flag that indicates whether the host is a DNS SRV record.
Srv bool `protobuf:"varint,11,opt,name=srv,proto3" json:"srv,omitempty"`
// authentication_database is the database name to authenticate against, which stores the user credentials.
AuthenticationDatabase string `protobuf:"bytes,12,opt,name=authentication_database,json=authenticationDatabase,proto3" json:"authentication_database,omitempty"`
+ // replica_set is used for MongoDB replica set.
+ ReplicaSet string `protobuf:"bytes,25,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
// sid and service_name are used for Oracle.
Sid string `protobuf:"bytes,13,opt,name=sid,proto3" json:"sid,omitempty"`
ServiceName string `protobuf:"bytes,14,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
@@ -550,9 +555,7 @@ type DataSource struct {
IamExtension isDataSource_IamExtension `protobuf_oneof:"iam_extension"`
SaslConfig *SASLConfig `protobuf:"bytes,24,opt,name=sasl_config,json=saslConfig,proto3" json:"sasl_config,omitempty"`
// additional_addresses is used for MongoDB replica set.
- AdditionalAddresses []*DataSource_Address `protobuf:"bytes,25,rep,name=additional_addresses,json=additionalAddresses,proto3" json:"additional_addresses,omitempty"`
- // replica_set is used for MongoDB replica set.
- ReplicaSet string `protobuf:"bytes,26,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
+ AdditionalAddresses []*DataSource_Address `protobuf:"bytes,26,rep,name=additional_addresses,json=additionalAddresses,proto3" json:"additional_addresses,omitempty"`
// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.
DirectConnection bool `protobuf:"varint,27,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.
@@ -560,13 +563,11 @@ type DataSource struct {
// warehouse_id is used by Databricks.
WarehouseId string `protobuf:"bytes,29,opt,name=warehouse_id,json=warehouseId,proto3" json:"warehouse_id,omitempty"`
// master_name is the master name used by connecting redis-master via redis sentinel.
- MasterName string `protobuf:"bytes,30,opt,name=master_name,json=masterName,proto3" json:"master_name,omitempty"`
+ MasterName string `protobuf:"bytes,31,opt,name=master_name,json=masterName,proto3" json:"master_name,omitempty"`
// master_username and master_obfuscated_password are master credentials used by redis sentinel mode.
- MasterUsername string `protobuf:"bytes,31,opt,name=master_username,json=masterUsername,proto3" json:"master_username,omitempty"`
- MasterObfuscatedPassword string `protobuf:"bytes,32,opt,name=master_obfuscated_password,json=masterObfuscatedPassword,proto3" json:"master_obfuscated_password,omitempty"`
- RedisType DataSource_RedisType `protobuf:"varint,33,opt,name=redis_type,json=redisType,proto3,enum=bytebase.store.DataSource_RedisType" json:"redis_type,omitempty"`
- // Use SSL to connect to the data source. By default, we use system default SSL configuration.
- UseSsl bool `protobuf:"varint,34,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
+ MasterUsername string `protobuf:"bytes,32,opt,name=master_username,json=masterUsername,proto3" json:"master_username,omitempty"`
+ MasterObfuscatedPassword string `protobuf:"bytes,33,opt,name=master_obfuscated_password,json=masterObfuscatedPassword,proto3" json:"master_obfuscated_password,omitempty"`
+ RedisType DataSource_RedisType `protobuf:"varint,34,opt,name=redis_type,json=redisType,proto3,enum=bytebase.store.DataSource_RedisType" json:"redis_type,omitempty"`
// Cluster is the cluster name for the data source. Used by CockroachDB.
Cluster string `protobuf:"bytes,35,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Extra connection parameters for the database connection.
@@ -620,37 +621,37 @@ func (x *DataSource) GetType() DataSourceType {
return DataSourceType_DATA_SOURCE_UNSPECIFIED
}
-func (x *DataSource) GetHost() string {
+func (x *DataSource) GetUsername() string {
if x != nil {
- return x.Host
+ return x.Username
}
return ""
}
-func (x *DataSource) GetPort() string {
+func (x *DataSource) GetObfuscatedPassword() string {
if x != nil {
- return x.Port
+ return x.ObfuscatedPassword
}
return ""
}
-func (x *DataSource) GetUsername() string {
+func (x *DataSource) GetUseSsl() bool {
if x != nil {
- return x.Username
+ return x.UseSsl
}
- return ""
+ return false
}
-func (x *DataSource) GetObfuscatedPassword() string {
+func (x *DataSource) GetObfuscatedSslCa() string {
if x != nil {
- return x.ObfuscatedPassword
+ return x.ObfuscatedSslCa
}
return ""
}
-func (x *DataSource) GetDatabase() string {
+func (x *DataSource) GetObfuscatedSslCert() string {
if x != nil {
- return x.Database
+ return x.ObfuscatedSslCert
}
return ""
}
@@ -662,16 +663,23 @@ func (x *DataSource) GetObfuscatedSslKey() string {
return ""
}
-func (x *DataSource) GetObfuscatedSslCert() string {
+func (x *DataSource) GetHost() string {
if x != nil {
- return x.ObfuscatedSslCert
+ return x.Host
}
return ""
}
-func (x *DataSource) GetObfuscatedSslCa() string {
+func (x *DataSource) GetPort() string {
if x != nil {
- return x.ObfuscatedSslCa
+ return x.Port
+ }
+ return ""
+}
+
+func (x *DataSource) GetDatabase() string {
+ if x != nil {
+ return x.Database
}
return ""
}
@@ -690,6 +698,13 @@ func (x *DataSource) GetAuthenticationDatabase() string {
return ""
}
+func (x *DataSource) GetReplicaSet() string {
+ if x != nil {
+ return x.ReplicaSet
+ }
+ return ""
+}
+
func (x *DataSource) GetSid() string {
if x != nil {
return x.Sid
@@ -790,13 +805,6 @@ func (x *DataSource) GetAdditionalAddresses() []*DataSource_Address {
return nil
}
-func (x *DataSource) GetReplicaSet() string {
- if x != nil {
- return x.ReplicaSet
- }
- return ""
-}
-
func (x *DataSource) GetDirectConnection() bool {
if x != nil {
return x.DirectConnection
@@ -846,13 +854,6 @@ func (x *DataSource) GetRedisType() DataSource_RedisType {
return DataSource_REDIS_TYPE_UNSPECIFIED
}
-func (x *DataSource) GetUseSsl() bool {
- if x != nil {
- return x.UseSsl
- }
- return false
-}
-
func (x *DataSource) GetCluster() string {
if x != nil {
return x.Cluster
@@ -1359,267 +1360,266 @@ var file_store_instance_proto_rawDesc = string([]byte{
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x03, 0x0a, 0x10, 0x49, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x1c,
- 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x73, 0x65,
- 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x18, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x61,
- 0x73, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0e,
- 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x79, 0x6e, 0x63, 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, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x32,
- 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x49,
- 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c,
- 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72,
- 0x76, 0x61, 0x6c, 0x18, 0x04, 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, 0x0c, 0x73, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76,
- 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x63, 0x6f,
- 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x6e,
- 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x61,
- 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
- 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x64, 0x61,
- 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x0c, 0x49, 0x6e,
- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e,
- 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24,
- 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x55, 0x6e, 0x74, 0x69,
- 0x6c, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69,
- 0x62, 0x75, 0x74, 0x65, 0x88, 0x01, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x63, 0x6f, 0x6e, 0x6e,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x0e, 0x0a, 0x0c,
- 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x0c, 0x0a, 0x0a,
- 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 0x9b, 0x11, 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, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73,
- 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
+ 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x03, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74,
+ 0x61, 0x6e, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x1c, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x6c, 0x6f,
+ 0x77, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e,
+ 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x18, 0x6d, 0x79, 0x73, 0x71,
+ 0x6c, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x61, 0x73, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e,
+ 0x61, 0x6d, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x79, 0x6e,
+ 0x63, 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, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79,
+ 0x6e, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18,
+ 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
+ 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x79,
+ 0x6e, 0x63, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 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, 0x0c, 0x73, 0x79,
+ 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x13, 0x6d, 0x61,
+ 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d,
+ 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73,
+ 0x79, 0x6e, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x06, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
+ 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
+ 0x73, 0x22, 0xce, 0x01, 0x0a, 0x0c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x6f,
+ 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
+ 0x48, 0x00, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69,
+ 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f,
+ 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x76,
+ 0x61, 0x6c, 0x69, 0x64, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09,
+ 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48,
+ 0x02, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x88, 0x01, 0x01, 0x42,
+ 0x13, 0x0a, 0x11, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c,
+ 0x69, 0x6d, 0x69, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x75,
+ 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
+ 0x74, 0x65, 0x22, 0x9b, 0x11, 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, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
0x65, 0x12, 0x2f, 0x0a, 0x13, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
+ 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
- 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x2c,
- 0x0a, 0x12, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x73, 0x6c,
- 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x62, 0x66, 0x75,
- 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53, 0x73, 0x6c, 0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x13,
- 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63,
- 0x65, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x62, 0x66, 0x75, 0x73,
- 0x63, 0x61, 0x74, 0x65, 0x64, 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x11,
- 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63,
- 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x53, 0x73, 0x6c, 0x43, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x76, 0x18,
- 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x73, 0x72, 0x76, 0x12, 0x37, 0x0a, 0x17, 0x61, 0x75,
- 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x61, 0x75, 0x74,
- 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x73, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f,
- 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x48,
- 0x6f, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18,
- 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x19,
- 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x73, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x73, 0x68,
- 0x5f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73,
- 0x77, 0x6f, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x73, 0x68, 0x4f,
- 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
- 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x73, 0x68, 0x5f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18,
- 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x73, 0x73, 0x68, 0x4f, 0x62, 0x66, 0x75, 0x73, 0x63,
- 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x51,
- 0x0a, 0x25, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6f, 0x62, 0x66,
- 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x22, 0x61,
- 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69,
- 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65,
- 0x64, 0x12, 0x51, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61,
- 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x12, 0x5e, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
- 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x75,
- 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
- 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x6d, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
- 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43,
- 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
- 0x69, 0x61, 0x6c, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x61, 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x41, 0x53, 0x4c, 0x43, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x73, 0x61, 0x73, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x12, 0x55, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
- 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x52, 0x13, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69,
- 0x63, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x1a, 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, 0x1b, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 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,
- 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a,
- 0x0c, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x1d, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x49, 0x64,
- 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d,
- 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x73, 0x74,
- 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x6d, 0x61,
- 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18,
- 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64,
- 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x65, 0x64, 0x69,
- 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62,
+ 0x72, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x18, 0x1e, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x6f,
+ 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x61,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74,
+ 0x65, 0x64, 0x53, 0x73, 0x6c, 0x43, 0x61, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x62, 0x66, 0x75, 0x73,
+ 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x53, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x62, 0x66, 0x75, 0x73,
+ 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53,
+ 0x73, 0x6c, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72,
+ 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
+ 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x76,
+ 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x73, 0x72, 0x76, 0x12, 0x37, 0x0a, 0x17, 0x61,
+ 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x61, 0x75,
+ 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f,
+ 0x73, 0x65, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x53, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73,
+ 0x68, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73,
+ 0x68, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x72,
+ 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x50, 0x6f, 0x72, 0x74,
+ 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x73,
+ 0x73, 0x68, 0x5f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61,
+ 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x73,
+ 0x68, 0x4f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77,
+ 0x6f, 0x72, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x73, 0x68, 0x5f, 0x6f, 0x62, 0x66, 0x75, 0x73,
+ 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65,
+ 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x73, 0x73, 0x68, 0x4f, 0x62, 0x66, 0x75,
+ 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
+ 0x12, 0x51, 0x0a, 0x25, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6f,
+ 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x22, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
+ 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61,
+ 0x74, 0x65, 0x64, 0x12, 0x51, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
+ 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62,
0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61,
- 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x09, 0x72, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a,
- 0x07, 0x75, 0x73, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x18, 0x22, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
- 0x75, 0x73, 0x65, 0x53, 0x73, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
- 0x72, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
- 0x12, 0x79, 0x0a, 0x1b, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18,
- 0x24, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x19, 0x65, 0x78, 0x74, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x77, 0x0a, 0x16, 0x43,
+ 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x5e, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e,
+ 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x16, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
+ 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
+ 0x70, 0x65, 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x6d, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
+ 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
+ 0x61, 0x6c, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65,
+ 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x16, 0x63,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65,
- 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
- 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
- 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 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, 0x1a, 0x4c, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x72, 0x61,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
- 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7c, 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, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x41,
- 0x4d, 0x10, 0x04, 0x22, 0x52, 0x0a, 0x09, 0x52, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x44, 0x49, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a,
- 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x4c, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
- 0x53, 0x45, 0x4e, 0x54, 0x49, 0x4e, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c,
- 0x55, 0x53, 0x54, 0x45, 0x52, 0x10, 0x03, 0x42, 0x0f, 0x0a, 0x0d, 0x69, 0x61, 0x6d, 0x5f, 0x65,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 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, 0x0c, 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, 0x22, 0x81, 0x07, 0x0a, 0x18, 0x44, 0x61, 0x74, 0x61,
- 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x12, 0x54, 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63,
- 0x72, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a,
- 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
- 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x4e, 0x0a, 0x09,
- 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x31, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72,
- 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x57, 0x0a, 0x08,
- 0x61, 0x70, 0x70, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
- 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65,
- 0x41, 0x75, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x61, 0x70,
- 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a,
- 0x0b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f,
- 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
- 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73,
- 0x77, 0x6f, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x8a, 0x02, 0x0a, 0x11,
- 0x41, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x12, 0x59, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e,
- 0x41, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
- 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74,
- 0x68, 0x22, 0x45, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
- 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x4e, 0x56, 0x49, 0x52,
- 0x4f, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x22, 0x6c, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x41, 0x45, 0x43, 0x52, 0x45,
+ 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x61, 0x73, 0x6c, 0x5f, 0x63, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x41, 0x53, 0x4c,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x73, 0x61, 0x73, 0x6c, 0x43, 0x6f, 0x6e, 0x66,
+ 0x69, 0x67, 0x12, 0x55, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
+ 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x52, 0x13, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
+ 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x72,
+ 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1b,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 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, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x21,
+ 0x0a, 0x0c, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x1d,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x49,
+ 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65,
+ 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x73,
+ 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x6d,
+ 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x18, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x65, 0x64,
+ 0x69, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x54,
+ 0x79, 0x70, 0x65, 0x52, 0x09, 0x72, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18,
+ 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x79, 0x0a, 0x1b, 0x65, 0x78, 0x74, 0x72,
+ 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72,
+ 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x24, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x43,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
+ 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x65, 0x78, 0x74, 0x72, 0x61, 0x43,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
+ 0x65, 0x72, 0x73, 0x1a, 0x77, 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a,
+ 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c,
+ 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
+ 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e,
+ 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 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, 0x1a,
+ 0x4c, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
+ 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7c, 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, 0x12, 0x0d, 0x0a, 0x09,
+ 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x04, 0x22, 0x52, 0x0a, 0x09, 0x52,
+ 0x65, 0x64, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x44, 0x49,
+ 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x4c, 0x4f,
+ 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x4e, 0x54, 0x49, 0x4e, 0x45, 0x4c,
+ 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x10, 0x03, 0x42,
+ 0x0f, 0x0a, 0x0d, 0x69, 0x61, 0x6d, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
+ 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, 0x0c, 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, 0x22,
+ 0x81, 0x07, 0x0a, 0x18, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x54, 0x0a, 0x0b,
+ 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x33, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
+ 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74,
+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x72,
+ 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x75, 0x72, 0x6c, 0x12, 0x4e, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65,
+ 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68,
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x57, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x72, 0x6f, 0x6c, 0x65,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72,
+ 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
+ 0x2e, 0x41, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x61, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a,
+ 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05,
+ 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x67, 0x69,
+ 0x6e, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,
+ 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, 0x77,
+ 0x6f, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x4e,
+ 0x61, 0x6d, 0x65, 0x1a, 0x8a, 0x02, 0x0a, 0x11, 0x41, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x41,
+ 0x75, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c,
+ 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65,
+ 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x12,
+ 0x59, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
+ 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x41,
+ 0x75, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f,
+ 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x45, 0x0a, 0x0a, 0x53, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x43, 0x52, 0x45,
0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x56, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x4b, 0x56,
- 0x5f, 0x56, 0x32, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x57, 0x53, 0x5f, 0x53, 0x45, 0x43,
- 0x52, 0x45, 0x54, 0x53, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x52, 0x10, 0x02, 0x12, 0x16,
- 0x0a, 0x12, 0x47, 0x43, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x4e,
- 0x41, 0x47, 0x45, 0x52, 0x10, 0x03, 0x22, 0x44, 0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 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, 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, 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,
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x4c, 0x41, 0x49, 0x4e, 0x10, 0x01, 0x12,
+ 0x0f, 0x0a, 0x0b, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02,
+ 0x22, 0x6c, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
+ 0x0a, 0x18, 0x53, 0x41, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
+ 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b,
+ 0x56, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x4b, 0x56, 0x5f, 0x56, 0x32, 0x10, 0x01, 0x12, 0x17, 0x0a,
+ 0x13, 0x41, 0x57, 0x53, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x53, 0x5f, 0x4d, 0x41, 0x4e,
+ 0x41, 0x47, 0x45, 0x52, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x43, 0x50, 0x5f, 0x53, 0x45,
+ 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x52, 0x10, 0x03, 0x22, 0x44,
+ 0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55,
+ 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 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, 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, 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 (
@@ -1643,7 +1643,7 @@ var file_store_instance_proto_goTypes = []any{
(DataSourceExternalSecret_SecretType)(0), // 3: bytebase.store.DataSourceExternalSecret.SecretType
(DataSourceExternalSecret_AuthType)(0), // 4: bytebase.store.DataSourceExternalSecret.AuthType
(DataSourceExternalSecret_AppRoleAuthOption_SecretType)(0), // 5: bytebase.store.DataSourceExternalSecret.AppRoleAuthOption.SecretType
- (*InstanceMetadata)(nil), // 6: bytebase.store.InstanceMetadata
+ (*Instance)(nil), // 6: bytebase.store.Instance
(*InstanceRole)(nil), // 7: bytebase.store.InstanceRole
(*DataSource)(nil), // 8: bytebase.store.DataSource
(*SASLConfig)(nil), // 9: bytebase.store.SASLConfig
@@ -1657,10 +1657,10 @@ var file_store_instance_proto_goTypes = []any{
(*durationpb.Duration)(nil), // 17: google.protobuf.Duration
}
var file_store_instance_proto_depIdxs = []int32{
- 16, // 0: bytebase.store.InstanceMetadata.last_sync_time:type_name -> google.protobuf.Timestamp
- 7, // 1: bytebase.store.InstanceMetadata.roles:type_name -> bytebase.store.InstanceRole
- 17, // 2: bytebase.store.InstanceMetadata.sync_interval:type_name -> google.protobuf.Duration
- 8, // 3: bytebase.store.InstanceMetadata.data_sources:type_name -> bytebase.store.DataSource
+ 16, // 0: bytebase.store.Instance.last_sync_time:type_name -> google.protobuf.Timestamp
+ 7, // 1: bytebase.store.Instance.roles:type_name -> bytebase.store.InstanceRole
+ 17, // 2: bytebase.store.Instance.sync_interval:type_name -> google.protobuf.Duration
+ 8, // 3: bytebase.store.Instance.data_sources:type_name -> bytebase.store.DataSource
0, // 4: bytebase.store.DataSource.type:type_name -> bytebase.store.DataSourceType
11, // 5: bytebase.store.DataSource.external_secret:type_name -> bytebase.store.DataSourceExternalSecret
1, // 6: bytebase.store.DataSource.authentication_type:type_name -> bytebase.store.DataSource.AuthenticationType
diff --git a/proto/generated-go/v1/actuator_service.pb.gw.go b/proto/generated-go/v1/actuator_service.pb.gw.go
index 463c4a1651..a6d90bf8c5 100644
--- a/proto/generated-go/v1/actuator_service.pb.gw.go
+++ b/proto/generated-go/v1/actuator_service.pb.gw.go
@@ -40,6 +40,7 @@ func request_ActuatorService_GetActuatorInfo_0(ctx context.Context, marshaler ru
protoReq GetActuatorInfoRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
msg, err := client.GetActuatorInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
@@ -118,6 +119,7 @@ func request_ActuatorService_DeleteCache_0(ctx context.Context, marshaler runtim
protoReq DeleteCacheRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
msg, err := client.DeleteCache(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
@@ -136,6 +138,7 @@ func request_ActuatorService_GetResourcePackage_0(ctx context.Context, marshaler
protoReq GetResourcePackageRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
msg, err := client.GetResourcePackage(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
diff --git a/proto/generated-go/v1/changelist_service.pb.gw.go b/proto/generated-go/v1/changelist_service.pb.gw.go
index cf5fabb479..94b93dfa70 100644
--- a/proto/generated-go/v1/changelist_service.pb.gw.go
+++ b/proto/generated-go/v1/changelist_service.pb.gw.go
@@ -97,6 +97,7 @@ func request_ChangelistService_GetChangelist_0(ctx context.Context, marshaler ru
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -135,6 +136,7 @@ func request_ChangelistService_ListChangelists_0(ctx context.Context, marshaler
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -261,6 +263,7 @@ func request_ChangelistService_DeleteChangelist_0(ctx context.Context, marshaler
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/database_catalog_service.pb.gw.go b/proto/generated-go/v1/database_catalog_service.pb.gw.go
index 7532ece20b..e009328c0b 100644
--- a/proto/generated-go/v1/database_catalog_service.pb.gw.go
+++ b/proto/generated-go/v1/database_catalog_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_DatabaseCatalogService_GetDatabaseCatalog_0(ctx context.Context, ma
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/database_group_service.pb.gw.go b/proto/generated-go/v1/database_group_service.pb.gw.go
index 154c8778cf..d3b05cff48 100644
--- a/proto/generated-go/v1/database_group_service.pb.gw.go
+++ b/proto/generated-go/v1/database_group_service.pb.gw.go
@@ -43,6 +43,7 @@ func request_DatabaseGroupService_ListDatabaseGroups_0(ctx context.Context, mars
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -93,6 +94,7 @@ func request_DatabaseGroupService_GetDatabaseGroup_0(ctx context.Context, marsha
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -275,6 +277,7 @@ func request_DatabaseGroupService_DeleteDatabaseGroup_0(ctx context.Context, mar
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/database_service.pb.gw.go b/proto/generated-go/v1/database_service.pb.gw.go
index 79b9b17bc2..0caf810fa1 100644
--- a/proto/generated-go/v1/database_service.pb.gw.go
+++ b/proto/generated-go/v1/database_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_DatabaseService_GetDatabase_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -79,6 +80,7 @@ func request_DatabaseService_ListInstanceDatabases_0(ctx context.Context, marsha
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -129,6 +131,7 @@ func request_DatabaseService_ListDatabases_0(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -179,6 +182,7 @@ func request_DatabaseService_ListDatabases_1(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -391,6 +395,7 @@ func request_DatabaseService_GetDatabaseMetadata_0(ctx context.Context, marshale
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -441,6 +446,7 @@ func request_DatabaseService_GetDatabaseSchema_0(ctx context.Context, marshaler
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -575,6 +581,7 @@ func request_DatabaseService_ListSlowQueries_0(ctx context.Context, marshaler ru
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -625,6 +632,7 @@ func request_DatabaseService_ListSecrets_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -751,6 +759,7 @@ func request_DatabaseService_DeleteSecret_0(ctx context.Context, marshaler runti
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -789,6 +798,7 @@ func request_DatabaseService_AdviseIndex_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -839,6 +849,7 @@ func request_DatabaseService_ListRevisions_0(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -887,6 +898,7 @@ func request_DatabaseService_GetRevision_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -965,6 +977,7 @@ func request_DatabaseService_DeleteRevision_0(ctx context.Context, marshaler run
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -1003,6 +1016,7 @@ func request_DatabaseService_ListChangelogs_0(ctx context.Context, marshaler run
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -1053,6 +1067,7 @@ func request_DatabaseService_GetChangelog_0(ctx context.Context, marshaler runti
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/environment_service.pb.gw.go b/proto/generated-go/v1/environment_service.pb.gw.go
index 52a79c661c..2410e674d1 100644
--- a/proto/generated-go/v1/environment_service.pb.gw.go
+++ b/proto/generated-go/v1/environment_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_EnvironmentService_GetEnvironment_0(ctx context.Context, marshaler
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -78,6 +79,7 @@ func request_EnvironmentService_ListEnvironments_0(ctx context.Context, marshale
protoReq ListEnvironmentsRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -225,6 +227,7 @@ func request_EnvironmentService_DeleteEnvironment_0(ctx context.Context, marshal
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/group_service.pb.gw.go b/proto/generated-go/v1/group_service.pb.gw.go
index c5fbac5201..b180737cb8 100644
--- a/proto/generated-go/v1/group_service.pb.gw.go
+++ b/proto/generated-go/v1/group_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_GroupService_GetGroup_0(ctx context.Context, marshaler runtime.Mars
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -78,6 +79,7 @@ func request_GroupService_ListGroups_0(ctx context.Context, marshaler runtime.Ma
protoReq ListGroupsRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -225,6 +227,7 @@ func request_GroupService_DeleteGroup_0(ctx context.Context, marshaler runtime.M
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/idp_service.pb.gw.go b/proto/generated-go/v1/idp_service.pb.gw.go
index 20816e1eb5..cf9d5cbb46 100644
--- a/proto/generated-go/v1/idp_service.pb.gw.go
+++ b/proto/generated-go/v1/idp_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_IdentityProviderService_GetIdentityProvider_0(ctx context.Context,
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -78,6 +79,7 @@ func request_IdentityProviderService_ListIdentityProviders_0(ctx context.Context
protoReq ListIdentityProvidersRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -225,6 +227,7 @@ func request_IdentityProviderService_DeleteIdentityProvider_0(ctx context.Contex
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/instance_role_service.pb.gw.go b/proto/generated-go/v1/instance_role_service.pb.gw.go
index 603a31acaa..ce7e132100 100644
--- a/proto/generated-go/v1/instance_role_service.pb.gw.go
+++ b/proto/generated-go/v1/instance_role_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_InstanceRoleService_GetInstanceRole_0(ctx context.Context, marshale
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -79,6 +80,7 @@ func request_InstanceRoleService_ListInstanceRoles_0(ctx context.Context, marsha
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
diff --git a/proto/generated-go/v1/instance_service.pb.go b/proto/generated-go/v1/instance_service.pb.go
index c8207e6840..855f82df61 100644
--- a/proto/generated-go/v1/instance_service.pb.go
+++ b/proto/generated-go/v1/instance_service.pb.go
@@ -1556,8 +1556,12 @@ type DataSource struct {
Port string `protobuf:"bytes,9,opt,name=port,proto3" json:"port,omitempty"`
Database string `protobuf:"bytes,10,opt,name=database,proto3" json:"database,omitempty"`
// srv, authentication_database and replica_set are used for MongoDB.
- Srv bool `protobuf:"varint,11,opt,name=srv,proto3" json:"srv,omitempty"`
+ // srv is a boolean flag that indicates whether the host is a DNS SRV record.
+ Srv bool `protobuf:"varint,11,opt,name=srv,proto3" json:"srv,omitempty"`
+ // authentication_database is the database name to authenticate against, which stores the user credentials.
AuthenticationDatabase string `protobuf:"bytes,12,opt,name=authentication_database,json=authenticationDatabase,proto3" json:"authentication_database,omitempty"`
+ // replica_set is used for MongoDB replica set.
+ ReplicaSet string `protobuf:"bytes,25,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
// sid and service_name are used for Oracle.
Sid string `protobuf:"bytes,13,opt,name=sid,proto3" json:"sid,omitempty"`
ServiceName string `protobuf:"bytes,14,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
@@ -1577,22 +1581,20 @@ type DataSource struct {
SshPrivateKey string `protobuf:"bytes,19,opt,name=ssh_private_key,json=sshPrivateKey,proto3" json:"ssh_private_key,omitempty"`
// PKCS#8 private key in PEM format. If it's empty string, no private key is required.
// Used for authentication when connecting to the data source.
- AuthenticationPrivateKey string `protobuf:"bytes,20,opt,name=authentication_private_key,json=authenticationPrivateKey,proto3" json:"authentication_private_key,omitempty"`
- ExternalSecret *DataSourceExternalSecret `protobuf:"bytes,21,opt,name=external_secret,json=externalSecret,proto3" json:"external_secret,omitempty"`
+ AuthenticationPrivateKey string `protobuf:"bytes,20,opt,name=authentication_private_key,json=authenticationPrivateKey,proto3" json:"authentication_private_key,omitempty"`
+ ExternalSecret *DataSourceExternalSecret `protobuf:"bytes,21,opt,name=external_secret,json=externalSecret,proto3" json:"external_secret,omitempty"`
+ AuthenticationType DataSource_AuthenticationType `protobuf:"varint,22,opt,name=authentication_type,json=authenticationType,proto3,enum=bytebase.v1.DataSource_AuthenticationType" json:"authentication_type,omitempty"`
// Types that are valid to be assigned to IamExtension:
//
// *DataSource_ClientSecretCredential_
- IamExtension isDataSource_IamExtension `protobuf_oneof:"iam_extension"`
- AuthenticationType DataSource_AuthenticationType `protobuf:"varint,22,opt,name=authentication_type,json=authenticationType,proto3,enum=bytebase.v1.DataSource_AuthenticationType" json:"authentication_type,omitempty"`
- SaslConfig *SASLConfig `protobuf:"bytes,23,opt,name=sasl_config,json=saslConfig,proto3" json:"sasl_config,omitempty"`
+ IamExtension isDataSource_IamExtension `protobuf_oneof:"iam_extension"`
+ SaslConfig *SASLConfig `protobuf:"bytes,24,opt,name=sasl_config,json=saslConfig,proto3" json:"sasl_config,omitempty"`
// additional_addresses is used for MongoDB replica set.
- AdditionalAddresses []*DataSource_Address `protobuf:"bytes,24,rep,name=additional_addresses,json=additionalAddresses,proto3" json:"additional_addresses,omitempty"`
- // replica_set is used for MongoDB replica set.
- ReplicaSet string `protobuf:"bytes,25,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"`
+ AdditionalAddresses []*DataSource_Address `protobuf:"bytes,26,rep,name=additional_addresses,json=additionalAddresses,proto3" json:"additional_addresses,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"`
+ DirectConnection bool `protobuf:"varint,27,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"`
+ Region string `protobuf:"bytes,28,opt,name=region,proto3" json:"region,omitempty"`
// warehouse_id is used by Databricks.
WarehouseId string `protobuf:"bytes,29,opt,name=warehouse_id,json=warehouseId,proto3" json:"warehouse_id,omitempty"`
// master_name is the master name used by connecting redis-master via redis sentinel.
@@ -1602,9 +1604,12 @@ type DataSource struct {
MasterPassword string `protobuf:"bytes,33,opt,name=master_password,json=masterPassword,proto3" json:"master_password,omitempty"`
RedisType DataSource_RedisType `protobuf:"varint,34,opt,name=redis_type,json=redisType,proto3,enum=bytebase.v1.DataSource_RedisType" json:"redis_type,omitempty"`
// Cluster is the cluster name for the data source. Used by CockroachDB.
- Cluster string `protobuf:"bytes,35,opt,name=cluster,proto3" json:"cluster,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ Cluster string `protobuf:"bytes,35,opt,name=cluster,proto3" json:"cluster,omitempty"`
+ // Extra connection parameters for the database connection.
+ // For PostgreSQL HA, this can be used to set target_session_attrs=read-write
+ ExtraConnectionParameters map[string]string `protobuf:"bytes,36,rep,name=extra_connection_parameters,json=extraConnectionParameters,proto3" json:"extra_connection_parameters,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *DataSource) Reset() {
@@ -1728,6 +1733,13 @@ func (x *DataSource) GetAuthenticationDatabase() string {
return ""
}
+func (x *DataSource) GetReplicaSet() string {
+ if x != nil {
+ return x.ReplicaSet
+ }
+ return ""
+}
+
func (x *DataSource) GetSid() string {
if x != nil {
return x.Sid
@@ -1791,6 +1803,13 @@ func (x *DataSource) GetExternalSecret() *DataSourceExternalSecret {
return nil
}
+func (x *DataSource) GetAuthenticationType() DataSource_AuthenticationType {
+ if x != nil {
+ return x.AuthenticationType
+ }
+ return DataSource_AUTHENTICATION_UNSPECIFIED
+}
+
func (x *DataSource) GetIamExtension() isDataSource_IamExtension {
if x != nil {
return x.IamExtension
@@ -1807,13 +1826,6 @@ func (x *DataSource) GetClientSecretCredential() *DataSource_ClientSecretCredent
return nil
}
-func (x *DataSource) GetAuthenticationType() DataSource_AuthenticationType {
- if x != nil {
- return x.AuthenticationType
- }
- return DataSource_AUTHENTICATION_UNSPECIFIED
-}
-
func (x *DataSource) GetSaslConfig() *SASLConfig {
if x != nil {
return x.SaslConfig
@@ -1828,13 +1840,6 @@ func (x *DataSource) GetAdditionalAddresses() []*DataSource_Address {
return nil
}
-func (x *DataSource) GetReplicaSet() string {
- if x != nil {
- return x.ReplicaSet
- }
- return ""
-}
-
func (x *DataSource) GetDirectConnection() bool {
if x != nil {
return x.DirectConnection
@@ -1891,12 +1896,19 @@ func (x *DataSource) GetCluster() string {
return ""
}
+func (x *DataSource) GetExtraConnectionParameters() map[string]string {
+ if x != nil {
+ return x.ExtraConnectionParameters
+ }
+ return nil
+}
+
type isDataSource_IamExtension interface {
isDataSource_IamExtension()
}
type DataSource_ClientSecretCredential_ struct {
- ClientSecretCredential *DataSource_ClientSecretCredential `protobuf:"bytes,36,opt,name=client_secret_credential,json=clientSecretCredential,proto3,oneof"`
+ ClientSecretCredential *DataSource_ClientSecretCredential `protobuf:"bytes,23,opt,name=client_secret_credential,json=clientSecretCredential,proto3,oneof"`
}
func (*DataSource_ClientSecretCredential_) isDataSource_IamExtension() {}
@@ -2576,8 +2588,8 @@ var file_v1_instance_service_proto_rawDesc = string([]byte{
0x50, 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, 0xc5,
- 0x0e, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0e, 0x0a,
+ 0x0d, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8b,
+ 0x10, 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, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,
@@ -2602,57 +2614,57 @@ var file_v1_instance_service_proto_rawDesc = string([]byte{
0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62,
0x61, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x61, 0x75, 0x74, 0x68, 0x65,
0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x73, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x68, 0x6f,
- 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x48, 0x6f, 0x73,
- 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x10, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x19, 0x0a, 0x08,
- 0x73, 0x73, 0x68, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x73, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x73, 0x68, 0x5f, 0x70,
- 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,
- 0x41, 0x01, 0x04, 0x52, 0x0b, 0x73, 0x73, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
- 0x12, 0x2c, 0x0a, 0x0f, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f,
- 0x6b, 0x65, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04, 0x52,
- 0x0d, 0x73, 0x73, 0x68, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x42,
- 0x0a, 0x1a, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x14, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04, 0x52, 0x18, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e,
- 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b,
- 0x65, 0x79, 0x12, 0x4e, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x12, 0x6a, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63,
- 0x72, 0x65, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x24,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x43, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x5b,
- 0x0a, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74,
- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x73,
- 0x61, 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
- 0x41, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x73, 0x61, 0x73, 0x6c, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x58, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x18, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x64,
- 0x72, 0x65, 0x73, 0x73, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x13, 0x61, 0x64, 0x64, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12,
- 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x19,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74,
+ 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x65, 0x74,
+ 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53,
+ 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x73, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x68,
+ 0x6f, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x48, 0x6f,
+ 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x10,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x68, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x19, 0x0a,
+ 0x08, 0x73, 0x73, 0x68, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x07, 0x73, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x73, 0x68, 0x5f,
+ 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
+ 0xe2, 0x41, 0x01, 0x04, 0x52, 0x0b, 0x73, 0x73, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
+ 0x64, 0x12, 0x2c, 0x0a, 0x0f, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
+ 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04,
+ 0x52, 0x0d, 0x73, 0x73, 0x68, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12,
+ 0x42, 0x0a, 0x1a, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x14, 0x20,
+ 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04, 0x52, 0x18, 0x61, 0x75, 0x74, 0x68, 0x65,
+ 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
+ 0x4b, 0x65, 0x79, 0x12, 0x4e, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
+ 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63,
+ 0x72, 0x65, 0x74, 0x12, 0x5b, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e,
+ 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x61, 0x75,
+ 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x6a, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65,
+ 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x17, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65,
+ 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
+ 0x61, 0x6c, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72,
+ 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x0b,
+ 0x73, 0x61, 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x53, 0x41, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x73, 0x61, 0x73, 0x6c,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x58, 0x0a, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x1a,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x01, 0x52, 0x13, 0x61, 0x64, 0x64,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73,
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,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 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, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
+ 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75,
0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x61, 0x72,
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x73, 0x74,
@@ -2668,208 +2680,220 @@ var file_v1_instance_service_proto_rawDesc = string([]byte{
0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79,
0x70, 0x65, 0x52, 0x09, 0x72, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x77, 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
- 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b,
- 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
- 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, 0x7c, 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, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x41, 0x4d, 0x10,
- 0x04, 0x22, 0x52, 0x0a, 0x09, 0x52, 0x65, 0x64, 0x69, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a,
- 0x0a, 0x16, 0x52, 0x45, 0x44, 0x49, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
- 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54,
- 0x41, 0x4e, 0x44, 0x41, 0x4c, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45,
- 0x4e, 0x54, 0x49, 0x4e, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x55, 0x53,
- 0x54, 0x45, 0x52, 0x10, 0x03, 0x42, 0x0f, 0x0a, 0x0d, 0x69, 0x61, 0x6d, 0x5f, 0x65, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x02, 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, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65,
- 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 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, 0x0c, 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, 0xca, 0x10, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 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, 0x3d,
- 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x69, 0x6e,
- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 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, 0x89, 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, 0x31, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x11, 0x62,
- 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74,
- 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x76, 0x31, 0x2f,
- 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x96, 0x01, 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, 0x49, 0xda, 0x41, 0x08, 0x69, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61,
- 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98,
- 0xea, 0x30, 0x01, 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, 0xb4, 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, 0x67, 0xda, 0x41, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2c, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e,
- 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0x92, 0x01, 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, 0x44, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
- 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01,
- 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, 0x9c,
- 0x01, 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, 0x4b, 0x8a, 0xea, 0x30, 0x15, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
- 0x65, 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98,
- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76,
+ 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x76, 0x0a, 0x1b, 0x65, 0x78, 0x74, 0x72, 0x61,
+ 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61,
+ 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x24, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45,
+ 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x65, 0x78, 0x74, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a,
+ 0x77, 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x43,
+ 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e,
+ 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65,
+ 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e,
+ 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65,
+ 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 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, 0x1a, 0x4c, 0x0a, 0x1e, 0x45,
+ 0x78, 0x74, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61,
+ 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
+ 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
+ 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7c, 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, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x5a, 0x55, 0x52,
+ 0x45, 0x5f, 0x49, 0x41, 0x4d, 0x10, 0x04, 0x22, 0x52, 0x0a, 0x09, 0x52, 0x65, 0x64, 0x69, 0x73,
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x44, 0x49, 0x53, 0x5f, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
+ 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x4c, 0x4f, 0x4e, 0x45, 0x10, 0x01,
+ 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x4e, 0x54, 0x49, 0x4e, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x0b,
+ 0x0a, 0x07, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x10, 0x03, 0x42, 0x0f, 0x0a, 0x0d, 0x69,
+ 0x61, 0x6d, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x02, 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, 0x12, 0x12, 0x0a,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
+ 0x65, 0x6e, 0x74, 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, 0x0c, 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, 0xca, 0x10, 0x0a, 0x0f, 0x49, 0x6e, 0x73,
+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 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, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,
+ 0x10, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65,
+ 0x74, 0x90, 0xea, 0x30, 0x01, 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, 0x89, 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, 0x31, 0xda, 0x41,
+ 0x00, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
+ 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f,
+ 0x12, 0x0d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12,
+ 0x96, 0x01, 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, 0x49, 0xda,
+ 0x41, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62,
+ 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0xb4, 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, 0x67, 0xda, 0x41, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61,
+ 0x6e, 0x63, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a,
+ 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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,
+ 0x92, 0x01, 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, 0x44,
+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e,
+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea,
+ 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0x3a, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x94, 0x01,
- 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, 0x3f, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01, 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, 0xb0, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73,
- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x28, 0x2e,
+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9c, 0x01, 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, 0x4b, 0x8a, 0xea, 0x30, 0x15, 0x62, 0x62, 0x2e, 0x69,
+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x74,
+ 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0x94, 0x01, 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, 0x3f, 0x8a, 0xea, 0x30, 0x11, 0x62,
+ 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63,
+ 0x90, 0xea, 0x30, 0x01, 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, 0xb0, 0x01, 0x0a, 0x14, 0x4c,
+ 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x12, 0x28, 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, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x43, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61,
- 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xa2, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63,
- 0x68, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 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, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 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, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x3b, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
- 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01, 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, 0x99, 0x01, 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, 0x4e, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62,
- 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a,
- 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 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, 0xa2, 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, 0x51, 0x8a, 0xea, 0x30, 0x13,
- 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 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, 0xa2, 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,
- 0x51, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
- 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x32, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
- 0x6e, 0x61, 0x6d, 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, 0xca, 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, 0x7a, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01, 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,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62,
+ 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea,
+ 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x76, 0x31,
+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xa2, 0x01,
+ 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61,
+ 0x6e, 0x63, 0x65, 0x73, 0x12, 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, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 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, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x69, 0x6e,
+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01,
+ 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, 0x99, 0x01, 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, 0x4e,
+ 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
+ 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
+ 0x61, 0x6d, 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, 0xa2,
+ 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, 0x51, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
+ 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30,
+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f,
+ 0x7b, 0x6e, 0x61, 0x6d, 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, 0xa2, 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, 0x51, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x69, 0x6e,
+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea,
+ 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x32,
+ 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 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, 0xca, 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, 0x7a, 0x8a, 0xea, 0x30, 0x11, 0x62,
+ 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63,
+ 0x90, 0xea, 0x30, 0x01, 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 (
@@ -2885,7 +2909,7 @@ func file_v1_instance_service_proto_rawDescGZIP() []byte {
}
var file_v1_instance_service_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
-var file_v1_instance_service_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
+var file_v1_instance_service_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
var file_v1_instance_service_proto_goTypes = []any{
(DataSourceType)(0), // 0: bytebase.v1.DataSourceType
(DataSourceExternalSecret_SecretType)(0), // 1: bytebase.v1.DataSourceExternalSecret.SecretType
@@ -2919,74 +2943,76 @@ var file_v1_instance_service_proto_goTypes = []any{
(*DataSourceExternalSecret_AppRoleAuthOption)(nil), // 29: bytebase.v1.DataSourceExternalSecret.AppRoleAuthOption
(*DataSource_ClientSecretCredential)(nil), // 30: bytebase.v1.DataSource.ClientSecretCredential
(*DataSource_Address)(nil), // 31: bytebase.v1.DataSource.Address
- (*fieldmaskpb.FieldMask)(nil), // 32: google.protobuf.FieldMask
- (State)(0), // 33: bytebase.v1.State
- (Engine)(0), // 34: bytebase.v1.Engine
- (*InstanceRole)(nil), // 35: bytebase.v1.InstanceRole
- (*durationpb.Duration)(nil), // 36: google.protobuf.Duration
- (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
+ nil, // 32: bytebase.v1.DataSource.ExtraConnectionParametersEntry
+ (*fieldmaskpb.FieldMask)(nil), // 33: google.protobuf.FieldMask
+ (State)(0), // 34: bytebase.v1.State
+ (Engine)(0), // 35: bytebase.v1.Engine
+ (*InstanceRole)(nil), // 36: bytebase.v1.InstanceRole
+ (*durationpb.Duration)(nil), // 37: google.protobuf.Duration
+ (*emptypb.Empty)(nil), // 38: google.protobuf.Empty
}
var file_v1_instance_service_proto_depIdxs = []int32{
23, // 0: bytebase.v1.ListInstancesResponse.instances:type_name -> bytebase.v1.Instance
23, // 1: bytebase.v1.CreateInstanceRequest.instance:type_name -> bytebase.v1.Instance
23, // 2: bytebase.v1.UpdateInstanceRequest.instance:type_name -> bytebase.v1.Instance
- 32, // 3: bytebase.v1.UpdateInstanceRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 33, // 3: bytebase.v1.UpdateInstanceRequest.update_mask:type_name -> google.protobuf.FieldMask
23, // 4: bytebase.v1.ListInstanceDatabaseRequest.instance:type_name -> bytebase.v1.Instance
13, // 5: bytebase.v1.BatchSyncInstancesRequest.requests:type_name -> bytebase.v1.SyncInstanceRequest
25, // 6: bytebase.v1.AddDataSourceRequest.data_source:type_name -> bytebase.v1.DataSource
25, // 7: bytebase.v1.RemoveDataSourceRequest.data_source:type_name -> bytebase.v1.DataSource
25, // 8: bytebase.v1.UpdateDataSourceRequest.data_source:type_name -> bytebase.v1.DataSource
- 32, // 9: bytebase.v1.UpdateDataSourceRequest.update_mask:type_name -> google.protobuf.FieldMask
- 33, // 10: bytebase.v1.Instance.state:type_name -> bytebase.v1.State
- 34, // 11: bytebase.v1.Instance.engine:type_name -> bytebase.v1.Engine
+ 33, // 9: bytebase.v1.UpdateDataSourceRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 34, // 10: bytebase.v1.Instance.state:type_name -> bytebase.v1.State
+ 35, // 11: bytebase.v1.Instance.engine:type_name -> bytebase.v1.Engine
25, // 12: bytebase.v1.Instance.data_sources:type_name -> bytebase.v1.DataSource
- 35, // 13: bytebase.v1.Instance.roles:type_name -> bytebase.v1.InstanceRole
- 36, // 14: bytebase.v1.Instance.sync_interval:type_name -> google.protobuf.Duration
+ 36, // 13: bytebase.v1.Instance.roles:type_name -> bytebase.v1.InstanceRole
+ 37, // 14: bytebase.v1.Instance.sync_interval:type_name -> google.protobuf.Duration
1, // 15: bytebase.v1.DataSourceExternalSecret.secret_type:type_name -> bytebase.v1.DataSourceExternalSecret.SecretType
2, // 16: bytebase.v1.DataSourceExternalSecret.auth_type:type_name -> bytebase.v1.DataSourceExternalSecret.AuthType
29, // 17: bytebase.v1.DataSourceExternalSecret.app_role:type_name -> bytebase.v1.DataSourceExternalSecret.AppRoleAuthOption
0, // 18: bytebase.v1.DataSource.type:type_name -> bytebase.v1.DataSourceType
24, // 19: bytebase.v1.DataSource.external_secret:type_name -> bytebase.v1.DataSourceExternalSecret
- 30, // 20: bytebase.v1.DataSource.client_secret_credential:type_name -> bytebase.v1.DataSource.ClientSecretCredential
- 4, // 21: bytebase.v1.DataSource.authentication_type:type_name -> bytebase.v1.DataSource.AuthenticationType
+ 4, // 20: bytebase.v1.DataSource.authentication_type:type_name -> bytebase.v1.DataSource.AuthenticationType
+ 30, // 21: bytebase.v1.DataSource.client_secret_credential:type_name -> bytebase.v1.DataSource.ClientSecretCredential
27, // 22: bytebase.v1.DataSource.sasl_config:type_name -> bytebase.v1.SASLConfig
31, // 23: bytebase.v1.DataSource.additional_addresses:type_name -> bytebase.v1.DataSource.Address
5, // 24: bytebase.v1.DataSource.redis_type:type_name -> bytebase.v1.DataSource.RedisType
- 34, // 25: bytebase.v1.InstanceResource.engine:type_name -> bytebase.v1.Engine
- 25, // 26: bytebase.v1.InstanceResource.data_sources:type_name -> bytebase.v1.DataSource
- 28, // 27: bytebase.v1.SASLConfig.krb_config:type_name -> bytebase.v1.KerberosConfig
- 3, // 28: bytebase.v1.DataSourceExternalSecret.AppRoleAuthOption.type:type_name -> bytebase.v1.DataSourceExternalSecret.AppRoleAuthOption.SecretType
- 6, // 29: bytebase.v1.InstanceService.GetInstance:input_type -> bytebase.v1.GetInstanceRequest
- 7, // 30: bytebase.v1.InstanceService.ListInstances:input_type -> bytebase.v1.ListInstancesRequest
- 9, // 31: bytebase.v1.InstanceService.CreateInstance:input_type -> bytebase.v1.CreateInstanceRequest
- 10, // 32: bytebase.v1.InstanceService.UpdateInstance:input_type -> bytebase.v1.UpdateInstanceRequest
- 11, // 33: bytebase.v1.InstanceService.DeleteInstance:input_type -> bytebase.v1.DeleteInstanceRequest
- 12, // 34: bytebase.v1.InstanceService.UndeleteInstance:input_type -> bytebase.v1.UndeleteInstanceRequest
- 13, // 35: bytebase.v1.InstanceService.SyncInstance:input_type -> bytebase.v1.SyncInstanceRequest
- 14, // 36: bytebase.v1.InstanceService.ListInstanceDatabase:input_type -> bytebase.v1.ListInstanceDatabaseRequest
- 17, // 37: bytebase.v1.InstanceService.BatchSyncInstances:input_type -> bytebase.v1.BatchSyncInstancesRequest
- 19, // 38: bytebase.v1.InstanceService.AddDataSource:input_type -> bytebase.v1.AddDataSourceRequest
- 20, // 39: bytebase.v1.InstanceService.RemoveDataSource:input_type -> bytebase.v1.RemoveDataSourceRequest
- 21, // 40: bytebase.v1.InstanceService.UpdateDataSource:input_type -> bytebase.v1.UpdateDataSourceRequest
- 22, // 41: bytebase.v1.InstanceService.SyncSlowQueries:input_type -> bytebase.v1.SyncSlowQueriesRequest
- 23, // 42: bytebase.v1.InstanceService.GetInstance:output_type -> bytebase.v1.Instance
- 8, // 43: bytebase.v1.InstanceService.ListInstances:output_type -> bytebase.v1.ListInstancesResponse
- 23, // 44: bytebase.v1.InstanceService.CreateInstance:output_type -> bytebase.v1.Instance
- 23, // 45: bytebase.v1.InstanceService.UpdateInstance:output_type -> bytebase.v1.Instance
- 37, // 46: bytebase.v1.InstanceService.DeleteInstance:output_type -> google.protobuf.Empty
- 23, // 47: bytebase.v1.InstanceService.UndeleteInstance:output_type -> bytebase.v1.Instance
- 16, // 48: bytebase.v1.InstanceService.SyncInstance:output_type -> bytebase.v1.SyncInstanceResponse
- 15, // 49: bytebase.v1.InstanceService.ListInstanceDatabase:output_type -> bytebase.v1.ListInstanceDatabaseResponse
- 18, // 50: bytebase.v1.InstanceService.BatchSyncInstances:output_type -> bytebase.v1.BatchSyncInstancesResponse
- 23, // 51: bytebase.v1.InstanceService.AddDataSource:output_type -> bytebase.v1.Instance
- 23, // 52: bytebase.v1.InstanceService.RemoveDataSource:output_type -> bytebase.v1.Instance
- 23, // 53: bytebase.v1.InstanceService.UpdateDataSource:output_type -> bytebase.v1.Instance
- 37, // 54: bytebase.v1.InstanceService.SyncSlowQueries:output_type -> google.protobuf.Empty
- 42, // [42:55] is the sub-list for method output_type
- 29, // [29:42] is the sub-list for method input_type
- 29, // [29:29] is the sub-list for extension type_name
- 29, // [29:29] is the sub-list for extension extendee
- 0, // [0:29] is the sub-list for field type_name
+ 32, // 25: bytebase.v1.DataSource.extra_connection_parameters:type_name -> bytebase.v1.DataSource.ExtraConnectionParametersEntry
+ 35, // 26: bytebase.v1.InstanceResource.engine:type_name -> bytebase.v1.Engine
+ 25, // 27: bytebase.v1.InstanceResource.data_sources:type_name -> bytebase.v1.DataSource
+ 28, // 28: bytebase.v1.SASLConfig.krb_config:type_name -> bytebase.v1.KerberosConfig
+ 3, // 29: bytebase.v1.DataSourceExternalSecret.AppRoleAuthOption.type:type_name -> bytebase.v1.DataSourceExternalSecret.AppRoleAuthOption.SecretType
+ 6, // 30: bytebase.v1.InstanceService.GetInstance:input_type -> bytebase.v1.GetInstanceRequest
+ 7, // 31: bytebase.v1.InstanceService.ListInstances:input_type -> bytebase.v1.ListInstancesRequest
+ 9, // 32: bytebase.v1.InstanceService.CreateInstance:input_type -> bytebase.v1.CreateInstanceRequest
+ 10, // 33: bytebase.v1.InstanceService.UpdateInstance:input_type -> bytebase.v1.UpdateInstanceRequest
+ 11, // 34: bytebase.v1.InstanceService.DeleteInstance:input_type -> bytebase.v1.DeleteInstanceRequest
+ 12, // 35: bytebase.v1.InstanceService.UndeleteInstance:input_type -> bytebase.v1.UndeleteInstanceRequest
+ 13, // 36: bytebase.v1.InstanceService.SyncInstance:input_type -> bytebase.v1.SyncInstanceRequest
+ 14, // 37: bytebase.v1.InstanceService.ListInstanceDatabase:input_type -> bytebase.v1.ListInstanceDatabaseRequest
+ 17, // 38: bytebase.v1.InstanceService.BatchSyncInstances:input_type -> bytebase.v1.BatchSyncInstancesRequest
+ 19, // 39: bytebase.v1.InstanceService.AddDataSource:input_type -> bytebase.v1.AddDataSourceRequest
+ 20, // 40: bytebase.v1.InstanceService.RemoveDataSource:input_type -> bytebase.v1.RemoveDataSourceRequest
+ 21, // 41: bytebase.v1.InstanceService.UpdateDataSource:input_type -> bytebase.v1.UpdateDataSourceRequest
+ 22, // 42: bytebase.v1.InstanceService.SyncSlowQueries:input_type -> bytebase.v1.SyncSlowQueriesRequest
+ 23, // 43: bytebase.v1.InstanceService.GetInstance:output_type -> bytebase.v1.Instance
+ 8, // 44: bytebase.v1.InstanceService.ListInstances:output_type -> bytebase.v1.ListInstancesResponse
+ 23, // 45: bytebase.v1.InstanceService.CreateInstance:output_type -> bytebase.v1.Instance
+ 23, // 46: bytebase.v1.InstanceService.UpdateInstance:output_type -> bytebase.v1.Instance
+ 38, // 47: bytebase.v1.InstanceService.DeleteInstance:output_type -> google.protobuf.Empty
+ 23, // 48: bytebase.v1.InstanceService.UndeleteInstance:output_type -> bytebase.v1.Instance
+ 16, // 49: bytebase.v1.InstanceService.SyncInstance:output_type -> bytebase.v1.SyncInstanceResponse
+ 15, // 50: bytebase.v1.InstanceService.ListInstanceDatabase:output_type -> bytebase.v1.ListInstanceDatabaseResponse
+ 18, // 51: bytebase.v1.InstanceService.BatchSyncInstances:output_type -> bytebase.v1.BatchSyncInstancesResponse
+ 23, // 52: bytebase.v1.InstanceService.AddDataSource:output_type -> bytebase.v1.Instance
+ 23, // 53: bytebase.v1.InstanceService.RemoveDataSource:output_type -> bytebase.v1.Instance
+ 23, // 54: bytebase.v1.InstanceService.UpdateDataSource:output_type -> bytebase.v1.Instance
+ 38, // 55: bytebase.v1.InstanceService.SyncSlowQueries:output_type -> google.protobuf.Empty
+ 43, // [43:56] is the sub-list for method output_type
+ 30, // [30:43] is the sub-list for method input_type
+ 30, // [30:30] is the sub-list for extension type_name
+ 30, // [30:30] is the sub-list for extension extendee
+ 0, // [0:30] is the sub-list for field type_name
}
func init() { file_v1_instance_service_proto_init() }
@@ -3014,7 +3040,7 @@ func file_v1_instance_service_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_instance_service_proto_rawDesc), len(file_v1_instance_service_proto_rawDesc)),
NumEnums: 6,
- NumMessages: 26,
+ NumMessages: 27,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/generated-go/v1/instance_service.pb.gw.go b/proto/generated-go/v1/instance_service.pb.gw.go
index 9f91605fad..5c295528f9 100644
--- a/proto/generated-go/v1/instance_service.pb.gw.go
+++ b/proto/generated-go/v1/instance_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_InstanceService_GetInstance_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -78,6 +79,7 @@ func request_InstanceService_ListInstances_0(ctx context.Context, marshaler runt
protoReq ListInstancesRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -227,6 +229,7 @@ func request_InstanceService_DeleteInstance_0(ctx context.Context, marshaler run
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/issue_service.pb.gw.go b/proto/generated-go/v1/issue_service.pb.gw.go
index 31cb827b9f..64994b3cde 100644
--- a/proto/generated-go/v1/issue_service.pb.gw.go
+++ b/proto/generated-go/v1/issue_service.pb.gw.go
@@ -43,6 +43,7 @@ func request_IssueService_GetIssue_0(ctx context.Context, marshaler runtime.Mars
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -135,6 +136,7 @@ func request_IssueService_ListIssues_0(ctx context.Context, marshaler runtime.Ma
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -305,6 +307,7 @@ func request_IssueService_ListIssueComments_0(ctx context.Context, marshaler run
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
diff --git a/proto/generated-go/v1/org_policy_service.pb.gw.go b/proto/generated-go/v1/org_policy_service.pb.gw.go
index f1eac609ad..2431349030 100644
--- a/proto/generated-go/v1/org_policy_service.pb.gw.go
+++ b/proto/generated-go/v1/org_policy_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_OrgPolicyService_GetPolicy_0(ctx context.Context, marshaler runtime
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -77,6 +78,7 @@ func request_OrgPolicyService_GetPolicy_1(ctx context.Context, marshaler runtime
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -113,6 +115,7 @@ func request_OrgPolicyService_GetPolicy_2(ctx context.Context, marshaler runtime
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -149,6 +152,7 @@ func request_OrgPolicyService_GetPolicy_3(ctx context.Context, marshaler runtime
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -185,6 +189,7 @@ func request_OrgPolicyService_GetPolicy_4(ctx context.Context, marshaler runtime
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -222,6 +227,7 @@ func request_OrgPolicyService_ListPolicies_0(ctx context.Context, marshaler runt
protoReq ListPoliciesRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -255,6 +261,7 @@ func request_OrgPolicyService_ListPolicies_1(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -305,6 +312,7 @@ func request_OrgPolicyService_ListPolicies_2(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -355,6 +363,7 @@ func request_OrgPolicyService_ListPolicies_3(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -405,6 +414,7 @@ func request_OrgPolicyService_ListPolicies_4(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -1105,6 +1115,7 @@ func request_OrgPolicyService_DeletePolicy_0(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -1141,6 +1152,7 @@ func request_OrgPolicyService_DeletePolicy_1(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -1177,6 +1189,7 @@ func request_OrgPolicyService_DeletePolicy_2(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -1213,6 +1226,7 @@ func request_OrgPolicyService_DeletePolicy_3(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -1249,6 +1263,7 @@ func request_OrgPolicyService_DeletePolicy_4(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/plan_service.pb.gw.go b/proto/generated-go/v1/plan_service.pb.gw.go
index 3639b7f928..680af4d753 100644
--- a/proto/generated-go/v1/plan_service.pb.gw.go
+++ b/proto/generated-go/v1/plan_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_PlanService_GetPlan_0(ctx context.Context, marshaler runtime.Marsha
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -79,6 +80,7 @@ func request_PlanService_ListPlans_0(ctx context.Context, marshaler runtime.Mars
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -291,6 +293,7 @@ func request_PlanService_ListPlanCheckRuns_0(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
diff --git a/proto/generated-go/v1/project_service.pb.gw.go b/proto/generated-go/v1/project_service.pb.gw.go
index eeea1526d4..2a70c5a457 100644
--- a/proto/generated-go/v1/project_service.pb.gw.go
+++ b/proto/generated-go/v1/project_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_ProjectService_GetProject_0(ctx context.Context, marshaler runtime.
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -78,6 +79,7 @@ func request_ProjectService_ListProjects_0(ctx context.Context, marshaler runtim
protoReq ListProjectsRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -251,6 +253,7 @@ func request_ProjectService_DeleteProject_0(ctx context.Context, marshaler runti
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -341,6 +344,7 @@ func request_ProjectService_GetIamPolicy_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["resource"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource")
@@ -379,6 +383,7 @@ func request_ProjectService_BatchGetIamPolicy_0(ctx context.Context, marshaler r
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["scope"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "scope")
@@ -469,6 +474,7 @@ func request_ProjectService_GetDeploymentConfig_0(ctx context.Context, marshaler
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/release_service.pb.gw.go b/proto/generated-go/v1/release_service.pb.gw.go
index bc4320c598..6d6f7f93f3 100644
--- a/proto/generated-go/v1/release_service.pb.gw.go
+++ b/proto/generated-go/v1/release_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_ReleaseService_GetRelease_0(ctx context.Context, marshaler runtime.
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -79,6 +80,7 @@ func request_ReleaseService_ListReleases_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -247,6 +249,7 @@ func request_ReleaseService_DeleteRelease_0(ctx context.Context, marshaler runti
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -283,6 +286,7 @@ func request_ReleaseService_UndeleteRelease_0(ctx context.Context, marshaler run
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/review_config_service.pb.gw.go b/proto/generated-go/v1/review_config_service.pb.gw.go
index c8132c38ea..db3b39239f 100644
--- a/proto/generated-go/v1/review_config_service.pb.gw.go
+++ b/proto/generated-go/v1/review_config_service.pb.gw.go
@@ -66,6 +66,7 @@ func request_ReviewConfigService_ListReviewConfigs_0(ctx context.Context, marsha
protoReq ListReviewConfigsRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -97,6 +98,7 @@ func request_ReviewConfigService_GetReviewConfig_0(ctx context.Context, marshale
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -211,6 +213,7 @@ func request_ReviewConfigService_DeleteReviewConfig_0(ctx context.Context, marsh
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/risk_service.pb.gw.go b/proto/generated-go/v1/risk_service.pb.gw.go
index 8383d2523e..7d9d04134f 100644
--- a/proto/generated-go/v1/risk_service.pb.gw.go
+++ b/proto/generated-go/v1/risk_service.pb.gw.go
@@ -42,6 +42,7 @@ func request_RiskService_ListRisks_0(ctx context.Context, marshaler runtime.Mars
protoReq ListRisksRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -175,6 +176,7 @@ func request_RiskService_DeleteRisk_0(ctx context.Context, marshaler runtime.Mar
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/role_service.pb.gw.go b/proto/generated-go/v1/role_service.pb.gw.go
index 91c48d24f1..18c5d2d52d 100644
--- a/proto/generated-go/v1/role_service.pb.gw.go
+++ b/proto/generated-go/v1/role_service.pb.gw.go
@@ -42,6 +42,7 @@ func request_RoleService_ListRoles_0(ctx context.Context, marshaler runtime.Mars
protoReq ListRolesRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -73,6 +74,7 @@ func request_RoleService_GetRole_0(ctx context.Context, marshaler runtime.Marsha
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -225,6 +227,7 @@ func request_RoleService_DeleteRole_0(ctx context.Context, marshaler runtime.Mar
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/rollout_service.pb.gw.go b/proto/generated-go/v1/rollout_service.pb.gw.go
index d234394c76..c3a481bd38 100644
--- a/proto/generated-go/v1/rollout_service.pb.gw.go
+++ b/proto/generated-go/v1/rollout_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_RolloutService_GetRollout_0(ctx context.Context, marshaler runtime.
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -79,6 +80,7 @@ func request_RolloutService_ListRollouts_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -227,6 +229,7 @@ func request_RolloutService_ListTaskRuns_0(ctx context.Context, marshaler runtim
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -275,6 +278,7 @@ func request_RolloutService_GetTaskRun_0(ctx context.Context, marshaler runtime.
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -311,6 +315,7 @@ func request_RolloutService_GetTaskRunLog_0(ctx context.Context, marshaler runti
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
@@ -347,6 +352,7 @@ func request_RolloutService_GetTaskRunSession_0(ctx context.Context, marshaler r
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["parent"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")
diff --git a/proto/generated-go/v1/setting_service.pb.gw.go b/proto/generated-go/v1/setting_service.pb.gw.go
index 172a600784..63c6b0964e 100644
--- a/proto/generated-go/v1/setting_service.pb.gw.go
+++ b/proto/generated-go/v1/setting_service.pb.gw.go
@@ -42,6 +42,7 @@ func request_SettingService_ListSettings_0(ctx context.Context, marshaler runtim
protoReq ListSettingsRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -73,6 +74,7 @@ func request_SettingService_GetSetting_0(ctx context.Context, marshaler runtime.
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/sheet_service.pb.gw.go b/proto/generated-go/v1/sheet_service.pb.gw.go
index faf05f248b..68df8dd664 100644
--- a/proto/generated-go/v1/sheet_service.pb.gw.go
+++ b/proto/generated-go/v1/sheet_service.pb.gw.go
@@ -127,6 +127,7 @@ func request_SheetService_GetSheet_0(ctx context.Context, marshaler runtime.Mars
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/sql_service.pb.gw.go b/proto/generated-go/v1/sql_service.pb.gw.go
index 4bb37507a6..50c51e6274 100644
--- a/proto/generated-go/v1/sql_service.pb.gw.go
+++ b/proto/generated-go/v1/sql_service.pb.gw.go
@@ -119,14 +119,12 @@ func local_request_SQLService_Query_1(ctx context.Context, marshaler runtime.Mar
return msg, metadata, err
}
-func request_SQLService_AdminExecute_0(ctx context.Context, marshaler runtime.Marshaler, client SQLServiceClient, req *http.Request, pathParams map[string]string) (SQLService_AdminExecuteClient, runtime.ServerMetadata, chan error, error) {
+func request_SQLService_AdminExecute_0(ctx context.Context, marshaler runtime.Marshaler, client SQLServiceClient, req *http.Request, pathParams map[string]string) (SQLService_AdminExecuteClient, runtime.ServerMetadata, error) {
var metadata runtime.ServerMetadata
- errChan := make(chan error, 1)
stream, err := client.AdminExecute(ctx)
if err != nil {
grpclog.Errorf("Failed to start streaming: %v", err)
- close(errChan)
- return nil, metadata, errChan, err
+ return nil, metadata, err
}
dec := marshaler.NewDecoder(req.Body)
handleSend := func() error {
@@ -146,10 +144,8 @@ func request_SQLService_AdminExecute_0(ctx context.Context, marshaler runtime.Ma
return nil
}
go func() {
- defer close(errChan)
for {
if err := handleSend(); err != nil {
- errChan <- err
break
}
}
@@ -160,10 +156,10 @@ func request_SQLService_AdminExecute_0(ctx context.Context, marshaler runtime.Ma
header, err := stream.Header()
if err != nil {
grpclog.Errorf("Failed to get header from client: %v", err)
- return nil, metadata, errChan, err
+ return nil, metadata, err
}
metadata.HeaderMD = header
- return stream, metadata, errChan, nil
+ return stream, metadata, nil
}
func request_SQLService_SearchQueryHistories_0(ctx context.Context, marshaler runtime.Marshaler, client SQLServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
@@ -752,20 +748,12 @@ func RegisterSQLServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux,
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
-
- resp, md, reqErrChan, err := request_SQLService_AdminExecute_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ resp, md, err := request_SQLService_AdminExecute_0(annotatedContext, inboundMarshaler, client, req, pathParams)
annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- go func() {
- for err := range reqErrChan {
- if err != nil && !errors.Is(err, io.EOF) {
- runtime.HTTPStreamError(annotatedContext, mux, outboundMarshaler, w, req, err)
- }
- }
- }()
forward_SQLService_AdminExecute_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
mux.Handle(http.MethodPost, pattern_SQLService_SearchQueryHistories_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
diff --git a/proto/generated-go/v1/subscription_service.pb.gw.go b/proto/generated-go/v1/subscription_service.pb.gw.go
index 5a9eab9314..00fb628fe4 100644
--- a/proto/generated-go/v1/subscription_service.pb.gw.go
+++ b/proto/generated-go/v1/subscription_service.pb.gw.go
@@ -40,6 +40,7 @@ func request_SubscriptionService_GetSubscription_0(ctx context.Context, marshale
protoReq GetSubscriptionRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
msg, err := client.GetSubscription(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
@@ -58,6 +59,7 @@ func request_SubscriptionService_GetFeatureMatrix_0(ctx context.Context, marshal
protoReq GetFeatureMatrixRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
msg, err := client.GetFeatureMatrix(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
diff --git a/proto/generated-go/v1/user_service.pb.gw.go b/proto/generated-go/v1/user_service.pb.gw.go
index b1c7dcfbe4..2c00ed8b98 100644
--- a/proto/generated-go/v1/user_service.pb.gw.go
+++ b/proto/generated-go/v1/user_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_UserService_GetUser_0(ctx context.Context, marshaler runtime.Marsha
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -78,6 +79,7 @@ func request_UserService_ListUsers_0(ctx context.Context, marshaler runtime.Mars
protoReq ListUsersRequest
metadata runtime.ServerMetadata
)
+ io.Copy(io.Discard, req.Body)
if err := req.ParseForm(); err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
@@ -211,6 +213,7 @@ func request_UserService_DeleteUser_0(ctx context.Context, marshaler runtime.Mar
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/worksheet_service.pb.gw.go b/proto/generated-go/v1/worksheet_service.pb.gw.go
index 79aa7e34f1..073dc075af 100644
--- a/proto/generated-go/v1/worksheet_service.pb.gw.go
+++ b/proto/generated-go/v1/worksheet_service.pb.gw.go
@@ -65,6 +65,7 @@ func request_WorksheetService_GetWorksheet_0(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
@@ -281,6 +282,7 @@ func request_WorksheetService_DeleteWorksheet_0(ctx context.Context, marshaler r
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
diff --git a/proto/generated-go/v1/workspace_service.pb.gw.go b/proto/generated-go/v1/workspace_service.pb.gw.go
index 912888369c..888fe0c724 100644
--- a/proto/generated-go/v1/workspace_service.pb.gw.go
+++ b/proto/generated-go/v1/workspace_service.pb.gw.go
@@ -41,6 +41,7 @@ func request_WorkspaceService_GetIamPolicy_0(ctx context.Context, marshaler runt
metadata runtime.ServerMetadata
err error
)
+ io.Copy(io.Discard, req.Body)
val, ok := pathParams["resource"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource")
diff --git a/proto/store/instance.proto b/proto/store/instance.proto
index a3c01bd48e..1094cf86f5 100644
--- a/proto/store/instance.proto
+++ b/proto/store/instance.proto
@@ -7,8 +7,8 @@ import "google/protobuf/timestamp.proto";
option go_package = "generated-go/store";
-// InstanceMetadata is the metadata for instances.
-message InstanceMetadata {
+// Instance is the proto for instances.
+message Instance {
// The lower_case_table_names config for MySQL instances.
// It is used to determine whether the table names and database names are case sensitive.
int32 mysql_lower_case_table_names = 1;
@@ -51,20 +51,24 @@ message InstanceRole {
message DataSource {
string id = 1;
DataSourceType type = 2;
- string host = 3;
- string port = 4;
- string username = 5;
- string obfuscated_password = 6;
- string database = 7;
- string obfuscated_ssl_key = 8;
- string obfuscated_ssl_cert = 9;
- string obfuscated_ssl_ca = 10;
-
+ string username = 3;
+ string obfuscated_password = 4;
+ // Use SSL to connect to the data source. By default, we use system default SSL configuration.
+ bool use_ssl = 30;
+ string obfuscated_ssl_ca = 5;
+ string obfuscated_ssl_cert = 6;
+ string obfuscated_ssl_key = 7;
+ string host = 8;
+ string port = 9;
+ string database = 10;
+
+ // srv, authentication_database and replica_set are used for MongoDB.
// srv is a boolean flag that indicates whether the host is a DNS SRV record.
bool srv = 11;
-
// authentication_database is the database name to authenticate against, which stores the user credentials.
string authentication_database = 12;
+ // replica_set is used for MongoDB replica set.
+ string replica_set = 25;
// sid and service_name are used for Oracle.
string sid = 13;
@@ -80,7 +84,6 @@ message DataSource {
string ssh_obfuscated_password = 18;
// The private key to login the server. If it's empty string, we will use the system default private key from os.Getenv("SSH_AUTH_SOCK").
string ssh_obfuscated_private_key = 19;
-
// PKCS#8 private key in PEM format. If it's empty string, no private key is required.
// Used for authentication when connecting to the data source.
string authentication_private_key_obfuscated = 20;
@@ -94,7 +97,6 @@ message DataSource {
AWS_RDS_IAM = 3;
AZURE_IAM = 4;
}
-
AuthenticationType authentication_type = 22;
message ClientSecretCredential {
@@ -113,9 +115,7 @@ message DataSource {
string port = 2;
}
// additional_addresses is used for MongoDB replica set.
- repeated Address additional_addresses = 25;
- // replica_set is used for MongoDB replica set.
- string replica_set = 26;
+ repeated Address additional_addresses = 26;
// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.
bool direct_connection = 27;
@@ -127,11 +127,11 @@ message DataSource {
string warehouse_id = 29;
// master_name is the master name used by connecting redis-master via redis sentinel.
- string master_name = 30;
+ string master_name = 31;
// master_username and master_obfuscated_password are master credentials used by redis sentinel mode.
- string master_username = 31;
- string master_obfuscated_password = 32;
+ string master_username = 32;
+ string master_obfuscated_password = 33;
enum RedisType {
REDIS_TYPE_UNSPECIFIED = 0;
@@ -139,11 +139,7 @@ message DataSource {
SENTINEL = 2;
CLUSTER = 3;
}
- RedisType redis_type = 33;
-
- // Use SSL to connect to the data source. By default, we use system default SSL configuration.
- bool use_ssl = 34;
-
+ RedisType redis_type = 34;
// Cluster is the cluster name for the data source. Used by CockroachDB.
string cluster = 35;
diff --git a/proto/v1/instance_service.proto b/proto/v1/instance_service.proto
index 0ae7302c19..88ab7401b5 100644
--- a/proto/v1/instance_service.proto
+++ b/proto/v1/instance_service.proto
@@ -436,8 +436,13 @@ message DataSource {
string port = 9;
string database = 10;
// srv, authentication_database and replica_set are used for MongoDB.
+ // srv is a boolean flag that indicates whether the host is a DNS SRV record.
bool srv = 11;
+ // authentication_database is the database name to authenticate against, which stores the user credentials.
string authentication_database = 12;
+ // replica_set is used for MongoDB replica set.
+ string replica_set = 25;
+
// sid and service_name are used for Oracle.
string sid = 13;
string service_name = 14;
@@ -468,6 +473,7 @@ message DataSource {
AWS_RDS_IAM = 3;
AZURE_IAM = 4;
}
+ AuthenticationType authentication_type = 22;
message ClientSecretCredential {
string tenant_id = 1;
@@ -475,27 +481,23 @@ message DataSource {
string client_secret = 3;
}
oneof iam_extension {
- ClientSecretCredential client_secret_credential = 36;
+ ClientSecretCredential client_secret_credential = 23;
}
- AuthenticationType authentication_type = 22;
-
- SASLConfig sasl_config = 23;
+ SASLConfig sasl_config = 24;
message Address {
string host = 1;
string port = 2;
}
// additional_addresses is used for MongoDB replica set.
- repeated Address additional_addresses = 24 [(google.api.field_behavior) = OPTIONAL];
- // replica_set is used for MongoDB replica set.
- string replica_set = 25;
+ repeated Address additional_addresses = 26 [(google.api.field_behavior) = OPTIONAL];
// direct_connection is used for MongoDB to dispatch all the operations to the node specified in the connection string.
- bool direct_connection = 26;
+ bool direct_connection = 27;
// region is the location of where the DB is, works for AWS RDS. For example, us-east-1.
- string region = 27;
+ string region = 28;
// warehouse_id is used by Databricks.
string warehouse_id = 29;
@@ -517,6 +519,10 @@ message DataSource {
// Cluster is the cluster name for the data source. Used by CockroachDB.
string cluster = 35;
+
+ // Extra connection parameters for the database connection.
+ // For PostgreSQL HA, this can be used to set target_session_attrs=read-write
+ map<string, string> extra_connection_parameters = 36;
}
enum DataSourceType {