Skip to content

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

chore: database catalog message (#14759)

Danny Xudc9aa2dea2e4
diff --git a/frontend/src/types/proto/v1/database_catalog_service.ts b/frontend/src/types/proto/v1/database_catalog_service.ts
index a8a2f56250..77c7164d57 100644
--- a/frontend/src/types/proto/v1/database_catalog_service.ts
+++ b/frontend/src/types/proto/v1/database_catalog_service.ts
@@ -8,6 +8,7 @@
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
import Long from "long";
import { FieldMask } from "../google/protobuf/field_mask";
+import { MaskingLevel, maskingLevelFromJSON, maskingLevelToJSON, maskingLevelToNumber } from "./common";
export const protobufPackage = "bytebase.v1";
@@ -39,24 +40,829 @@ export interface DatabaseCatalog {
* Format: instances/{instance}/databases/{database}/catalog
*/
name: string;
+ schemas: SchemaCatalog[];
+}
+
+export interface SchemaCatalog {
+ name: string;
+ tables: TableCatalog[];
+}
+
+export interface TableCatalog {
+ name: string;
+ columns?: TableCatalog_Columns | undefined;
+ objectSchema?: ObjectSchema | undefined;
+ classificationId: string;
+}
+
+export interface TableCatalog_Columns {
+ columns: ColumnCatalog[];
+}
+
+export interface ColumnCatalog {
+ name: string;
+ semanticTypeId: string;
+ /** The user labels for a column. */
+ labels: { [key: string]: string };
+ classificationId: string;
+ maskingLevel: MaskingLevel;
+ fullMaskingAlgorithmId: string;
+ partialMaskingAlgorithmId: string;
+ objectSchema: ObjectSchema | undefined;
+}
+
+export interface ColumnCatalog_LabelsEntry {
+ key: string;
+ value: string;
+}
+
+export interface ObjectSchema {
+ type: ObjectSchema_Type;
+ structKind?: ObjectSchema_StructKind | undefined;
+ arrayKind?: ObjectSchema_ArrayKind | undefined;
+}
+
+export enum ObjectSchema_Type {
+ TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
+ STRING = "STRING",
+ NUMBER = "NUMBER",
+ BOOLEAN = "BOOLEAN",
+ OBJECT = "OBJECT",
+ ARRAY = "ARRAY",
+ UNRECOGNIZED = "UNRECOGNIZED",
+}
+
+export function objectSchema_TypeFromJSON(object: any): ObjectSchema_Type {
+ switch (object) {
+ case 0:
+ case "TYPE_UNSPECIFIED":
+ return ObjectSchema_Type.TYPE_UNSPECIFIED;
+ case 1:
+ case "STRING":
+ return ObjectSchema_Type.STRING;
+ case 2:
+ case "NUMBER":
+ return ObjectSchema_Type.NUMBER;
+ case 3:
+ case "BOOLEAN":
+ return ObjectSchema_Type.BOOLEAN;
+ case 4:
+ case "OBJECT":
+ return ObjectSchema_Type.OBJECT;
+ case 5:
+ case "ARRAY":
+ return ObjectSchema_Type.ARRAY;
+ case -1:
+ case "UNRECOGNIZED":
+ default:
+ return ObjectSchema_Type.UNRECOGNIZED;
+ }
+}
+
+export function objectSchema_TypeToJSON(object: ObjectSchema_Type): string {
+ switch (object) {
+ case ObjectSchema_Type.TYPE_UNSPECIFIED:
+ return "TYPE_UNSPECIFIED";
+ case ObjectSchema_Type.STRING:
+ return "STRING";
+ case ObjectSchema_Type.NUMBER:
+ return "NUMBER";
+ case ObjectSchema_Type.BOOLEAN:
+ return "BOOLEAN";
+ case ObjectSchema_Type.OBJECT:
+ return "OBJECT";
+ case ObjectSchema_Type.ARRAY:
+ return "ARRAY";
+ case ObjectSchema_Type.UNRECOGNIZED:
+ default:
+ return "UNRECOGNIZED";
+ }
+}
+
+export function objectSchema_TypeToNumber(object: ObjectSchema_Type): number {
+ switch (object) {
+ case ObjectSchema_Type.TYPE_UNSPECIFIED:
+ return 0;
+ case ObjectSchema_Type.STRING:
+ return 1;
+ case ObjectSchema_Type.NUMBER:
+ return 2;
+ case ObjectSchema_Type.BOOLEAN:
+ return 3;
+ case ObjectSchema_Type.OBJECT:
+ return 4;
+ case ObjectSchema_Type.ARRAY:
+ return 5;
+ case ObjectSchema_Type.UNRECOGNIZED:
+ default:
+ return -1;
+ }
+}
+
+export interface ObjectSchema_StructKind {
+ properties: { [key: string]: ObjectSchema };
+}
+
+export interface ObjectSchema_StructKind_PropertiesEntry {
+ key: string;
+ value: ObjectSchema | undefined;
+}
+
+export interface ObjectSchema_ArrayKind {
+ kind: ObjectSchema | undefined;
}
function createBaseGetDatabaseCatalogRequest(): GetDatabaseCatalogRequest {
return { name: "" };
}
-export const GetDatabaseCatalogRequest: MessageFns<GetDatabaseCatalogRequest> = {
- encode(message: GetDatabaseCatalogRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+export const GetDatabaseCatalogRequest: MessageFns<GetDatabaseCatalogRequest> = {
+ encode(message: GetDatabaseCatalogRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): GetDatabaseCatalogRequest {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseGetDatabaseCatalogRequest();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): GetDatabaseCatalogRequest {
+ return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
+ },
+
+ toJSON(message: GetDatabaseCatalogRequest): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<GetDatabaseCatalogRequest>): GetDatabaseCatalogRequest {
+ return GetDatabaseCatalogRequest.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<GetDatabaseCatalogRequest>): GetDatabaseCatalogRequest {
+ const message = createBaseGetDatabaseCatalogRequest();
+ message.name = object.name ?? "";
+ return message;
+ },
+};
+
+function createBaseUpdateDatabaseCatalogRequest(): UpdateDatabaseCatalogRequest {
+ return { catalog: undefined, updateMask: undefined };
+}
+
+export const UpdateDatabaseCatalogRequest: MessageFns<UpdateDatabaseCatalogRequest> = {
+ encode(message: UpdateDatabaseCatalogRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.catalog !== undefined) {
+ DatabaseCatalog.encode(message.catalog, writer.uint32(10).fork()).join();
+ }
+ if (message.updateMask !== undefined) {
+ FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(18).fork()).join();
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): UpdateDatabaseCatalogRequest {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseUpdateDatabaseCatalogRequest();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.catalog = DatabaseCatalog.decode(reader, reader.uint32());
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.updateMask = FieldMask.unwrap(FieldMask.decode(reader, reader.uint32()));
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): UpdateDatabaseCatalogRequest {
+ return {
+ catalog: isSet(object.catalog) ? DatabaseCatalog.fromJSON(object.catalog) : undefined,
+ updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,
+ };
+ },
+
+ toJSON(message: UpdateDatabaseCatalogRequest): unknown {
+ const obj: any = {};
+ if (message.catalog !== undefined) {
+ obj.catalog = DatabaseCatalog.toJSON(message.catalog);
+ }
+ if (message.updateMask !== undefined) {
+ obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask));
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<UpdateDatabaseCatalogRequest>): UpdateDatabaseCatalogRequest {
+ return UpdateDatabaseCatalogRequest.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<UpdateDatabaseCatalogRequest>): UpdateDatabaseCatalogRequest {
+ const message = createBaseUpdateDatabaseCatalogRequest();
+ message.catalog = (object.catalog !== undefined && object.catalog !== null)
+ ? DatabaseCatalog.fromPartial(object.catalog)
+ : undefined;
+ message.updateMask = object.updateMask ?? undefined;
+ return message;
+ },
+};
+
+function createBaseDatabaseCatalog(): DatabaseCatalog {
+ return { name: "", schemas: [] };
+}
+
+export const DatabaseCatalog: MessageFns<DatabaseCatalog> = {
+ encode(message: DatabaseCatalog, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ for (const v of message.schemas) {
+ SchemaCatalog.encode(v!, writer.uint32(18).fork()).join();
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): DatabaseCatalog {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseDatabaseCatalog();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.schemas.push(SchemaCatalog.decode(reader, reader.uint32()));
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): DatabaseCatalog {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ schemas: globalThis.Array.isArray(object?.schemas)
+ ? object.schemas.map((e: any) => SchemaCatalog.fromJSON(e))
+ : [],
+ };
+ },
+
+ toJSON(message: DatabaseCatalog): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.schemas?.length) {
+ obj.schemas = message.schemas.map((e) => SchemaCatalog.toJSON(e));
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<DatabaseCatalog>): DatabaseCatalog {
+ return DatabaseCatalog.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<DatabaseCatalog>): DatabaseCatalog {
+ const message = createBaseDatabaseCatalog();
+ message.name = object.name ?? "";
+ message.schemas = object.schemas?.map((e) => SchemaCatalog.fromPartial(e)) || [];
+ return message;
+ },
+};
+
+function createBaseSchemaCatalog(): SchemaCatalog {
+ return { name: "", tables: [] };
+}
+
+export const SchemaCatalog: MessageFns<SchemaCatalog> = {
+ encode(message: SchemaCatalog, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ for (const v of message.tables) {
+ TableCatalog.encode(v!, writer.uint32(18).fork()).join();
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): SchemaCatalog {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseSchemaCatalog();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.tables.push(TableCatalog.decode(reader, reader.uint32()));
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): SchemaCatalog {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ tables: globalThis.Array.isArray(object?.tables) ? object.tables.map((e: any) => TableCatalog.fromJSON(e)) : [],
+ };
+ },
+
+ toJSON(message: SchemaCatalog): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.tables?.length) {
+ obj.tables = message.tables.map((e) => TableCatalog.toJSON(e));
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<SchemaCatalog>): SchemaCatalog {
+ return SchemaCatalog.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<SchemaCatalog>): SchemaCatalog {
+ const message = createBaseSchemaCatalog();
+ message.name = object.name ?? "";
+ message.tables = object.tables?.map((e) => TableCatalog.fromPartial(e)) || [];
+ return message;
+ },
+};
+
+function createBaseTableCatalog(): TableCatalog {
+ return { name: "", columns: undefined, objectSchema: undefined, classificationId: "" };
+}
+
+export const TableCatalog: MessageFns<TableCatalog> = {
+ encode(message: TableCatalog, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.columns !== undefined) {
+ TableCatalog_Columns.encode(message.columns, writer.uint32(18).fork()).join();
+ }
+ if (message.objectSchema !== undefined) {
+ ObjectSchema.encode(message.objectSchema, writer.uint32(26).fork()).join();
+ }
+ if (message.classificationId !== "") {
+ writer.uint32(34).string(message.classificationId);
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): TableCatalog {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTableCatalog();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.columns = TableCatalog_Columns.decode(reader, reader.uint32());
+ continue;
+ }
+ case 3: {
+ if (tag !== 26) {
+ break;
+ }
+
+ message.objectSchema = ObjectSchema.decode(reader, reader.uint32());
+ continue;
+ }
+ case 4: {
+ if (tag !== 34) {
+ break;
+ }
+
+ message.classificationId = reader.string();
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TableCatalog {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ columns: isSet(object.columns) ? TableCatalog_Columns.fromJSON(object.columns) : undefined,
+ objectSchema: isSet(object.objectSchema) ? ObjectSchema.fromJSON(object.objectSchema) : undefined,
+ classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",
+ };
+ },
+
+ toJSON(message: TableCatalog): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.columns !== undefined) {
+ obj.columns = TableCatalog_Columns.toJSON(message.columns);
+ }
+ if (message.objectSchema !== undefined) {
+ obj.objectSchema = ObjectSchema.toJSON(message.objectSchema);
+ }
+ if (message.classificationId !== "") {
+ obj.classificationId = message.classificationId;
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<TableCatalog>): TableCatalog {
+ return TableCatalog.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<TableCatalog>): TableCatalog {
+ const message = createBaseTableCatalog();
+ message.name = object.name ?? "";
+ message.columns = (object.columns !== undefined && object.columns !== null)
+ ? TableCatalog_Columns.fromPartial(object.columns)
+ : undefined;
+ message.objectSchema = (object.objectSchema !== undefined && object.objectSchema !== null)
+ ? ObjectSchema.fromPartial(object.objectSchema)
+ : undefined;
+ message.classificationId = object.classificationId ?? "";
+ return message;
+ },
+};
+
+function createBaseTableCatalog_Columns(): TableCatalog_Columns {
+ return { columns: [] };
+}
+
+export const TableCatalog_Columns: MessageFns<TableCatalog_Columns> = {
+ encode(message: TableCatalog_Columns, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ for (const v of message.columns) {
+ ColumnCatalog.encode(v!, writer.uint32(10).fork()).join();
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): TableCatalog_Columns {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseTableCatalog_Columns();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.columns.push(ColumnCatalog.decode(reader, reader.uint32()));
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): TableCatalog_Columns {
+ return {
+ columns: globalThis.Array.isArray(object?.columns)
+ ? object.columns.map((e: any) => ColumnCatalog.fromJSON(e))
+ : [],
+ };
+ },
+
+ toJSON(message: TableCatalog_Columns): unknown {
+ const obj: any = {};
+ if (message.columns?.length) {
+ obj.columns = message.columns.map((e) => ColumnCatalog.toJSON(e));
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<TableCatalog_Columns>): TableCatalog_Columns {
+ return TableCatalog_Columns.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<TableCatalog_Columns>): TableCatalog_Columns {
+ const message = createBaseTableCatalog_Columns();
+ message.columns = object.columns?.map((e) => ColumnCatalog.fromPartial(e)) || [];
+ return message;
+ },
+};
+
+function createBaseColumnCatalog(): ColumnCatalog {
+ return {
+ name: "",
+ semanticTypeId: "",
+ labels: {},
+ classificationId: "",
+ maskingLevel: MaskingLevel.MASKING_LEVEL_UNSPECIFIED,
+ fullMaskingAlgorithmId: "",
+ partialMaskingAlgorithmId: "",
+ objectSchema: undefined,
+ };
+}
+
+export const ColumnCatalog: MessageFns<ColumnCatalog> = {
+ encode(message: ColumnCatalog, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.semanticTypeId !== "") {
+ writer.uint32(18).string(message.semanticTypeId);
+ }
+ Object.entries(message.labels).forEach(([key, value]) => {
+ ColumnCatalog_LabelsEntry.encode({ key: key as any, value }, writer.uint32(26).fork()).join();
+ });
+ if (message.classificationId !== "") {
+ writer.uint32(34).string(message.classificationId);
+ }
+ if (message.maskingLevel !== MaskingLevel.MASKING_LEVEL_UNSPECIFIED) {
+ writer.uint32(40).int32(maskingLevelToNumber(message.maskingLevel));
+ }
+ if (message.fullMaskingAlgorithmId !== "") {
+ writer.uint32(50).string(message.fullMaskingAlgorithmId);
+ }
+ if (message.partialMaskingAlgorithmId !== "") {
+ writer.uint32(58).string(message.partialMaskingAlgorithmId);
+ }
+ if (message.objectSchema !== undefined) {
+ ObjectSchema.encode(message.objectSchema, writer.uint32(66).fork()).join();
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): ColumnCatalog {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseColumnCatalog();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 10) {
+ break;
+ }
+
+ message.name = reader.string();
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.semanticTypeId = reader.string();
+ continue;
+ }
+ case 3: {
+ if (tag !== 26) {
+ break;
+ }
+
+ const entry3 = ColumnCatalog_LabelsEntry.decode(reader, reader.uint32());
+ if (entry3.value !== undefined) {
+ message.labels[entry3.key] = entry3.value;
+ }
+ continue;
+ }
+ case 4: {
+ if (tag !== 34) {
+ break;
+ }
+
+ message.classificationId = reader.string();
+ continue;
+ }
+ case 5: {
+ if (tag !== 40) {
+ break;
+ }
+
+ message.maskingLevel = maskingLevelFromJSON(reader.int32());
+ continue;
+ }
+ case 6: {
+ if (tag !== 50) {
+ break;
+ }
+
+ message.fullMaskingAlgorithmId = reader.string();
+ continue;
+ }
+ case 7: {
+ if (tag !== 58) {
+ break;
+ }
+
+ message.partialMaskingAlgorithmId = reader.string();
+ continue;
+ }
+ case 8: {
+ if (tag !== 66) {
+ break;
+ }
+
+ message.objectSchema = ObjectSchema.decode(reader, reader.uint32());
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ColumnCatalog {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ semanticTypeId: isSet(object.semanticTypeId) ? globalThis.String(object.semanticTypeId) : "",
+ labels: isObject(object.labels)
+ ? Object.entries(object.labels).reduce<{ [key: string]: string }>((acc, [key, value]) => {
+ acc[key] = String(value);
+ return acc;
+ }, {})
+ : {},
+ classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",
+ maskingLevel: isSet(object.maskingLevel)
+ ? maskingLevelFromJSON(object.maskingLevel)
+ : MaskingLevel.MASKING_LEVEL_UNSPECIFIED,
+ fullMaskingAlgorithmId: isSet(object.fullMaskingAlgorithmId)
+ ? globalThis.String(object.fullMaskingAlgorithmId)
+ : "",
+ partialMaskingAlgorithmId: isSet(object.partialMaskingAlgorithmId)
+ ? globalThis.String(object.partialMaskingAlgorithmId)
+ : "",
+ objectSchema: isSet(object.objectSchema) ? ObjectSchema.fromJSON(object.objectSchema) : undefined,
+ };
+ },
+
+ toJSON(message: ColumnCatalog): unknown {
+ const obj: any = {};
if (message.name !== "") {
- writer.uint32(10).string(message.name);
+ obj.name = message.name;
+ }
+ if (message.semanticTypeId !== "") {
+ obj.semanticTypeId = message.semanticTypeId;
+ }
+ if (message.labels) {
+ const entries = Object.entries(message.labels);
+ if (entries.length > 0) {
+ obj.labels = {};
+ entries.forEach(([k, v]) => {
+ obj.labels[k] = v;
+ });
+ }
+ }
+ if (message.classificationId !== "") {
+ obj.classificationId = message.classificationId;
+ }
+ if (message.maskingLevel !== MaskingLevel.MASKING_LEVEL_UNSPECIFIED) {
+ obj.maskingLevel = maskingLevelToJSON(message.maskingLevel);
+ }
+ if (message.fullMaskingAlgorithmId !== "") {
+ obj.fullMaskingAlgorithmId = message.fullMaskingAlgorithmId;
+ }
+ if (message.partialMaskingAlgorithmId !== "") {
+ obj.partialMaskingAlgorithmId = message.partialMaskingAlgorithmId;
+ }
+ if (message.objectSchema !== undefined) {
+ obj.objectSchema = ObjectSchema.toJSON(message.objectSchema);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ColumnCatalog>): ColumnCatalog {
+ return ColumnCatalog.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ColumnCatalog>): ColumnCatalog {
+ const message = createBaseColumnCatalog();
+ message.name = object.name ?? "";
+ message.semanticTypeId = object.semanticTypeId ?? "";
+ message.labels = Object.entries(object.labels ?? {}).reduce<{ [key: string]: string }>((acc, [key, value]) => {
+ if (value !== undefined) {
+ acc[key] = globalThis.String(value);
+ }
+ return acc;
+ }, {});
+ message.classificationId = object.classificationId ?? "";
+ message.maskingLevel = object.maskingLevel ?? MaskingLevel.MASKING_LEVEL_UNSPECIFIED;
+ message.fullMaskingAlgorithmId = object.fullMaskingAlgorithmId ?? "";
+ message.partialMaskingAlgorithmId = object.partialMaskingAlgorithmId ?? "";
+ message.objectSchema = (object.objectSchema !== undefined && object.objectSchema !== null)
+ ? ObjectSchema.fromPartial(object.objectSchema)
+ : undefined;
+ return message;
+ },
+};
+
+function createBaseColumnCatalog_LabelsEntry(): ColumnCatalog_LabelsEntry {
+ return { key: "", value: "" };
+}
+
+export const ColumnCatalog_LabelsEntry: MessageFns<ColumnCatalog_LabelsEntry> = {
+ encode(message: ColumnCatalog_LabelsEntry, 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): GetDatabaseCatalogRequest {
+ decode(input: BinaryReader | Uint8Array, length?: number): ColumnCatalog_LabelsEntry {
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseGetDatabaseCatalogRequest();
+ const message = createBaseColumnCatalog_LabelsEntry();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -65,7 +871,15 @@ export const GetDatabaseCatalogRequest: MessageFns<GetDatabaseCatalogRequest> =
break;
}
- message.name = reader.string();
+ message.key = reader.string();
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.value = reader.string();
continue;
}
}
@@ -77,47 +891,232 @@ export const GetDatabaseCatalogRequest: MessageFns<GetDatabaseCatalogRequest> =
return message;
},
- fromJSON(object: any): GetDatabaseCatalogRequest {
- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
+ fromJSON(object: any): ColumnCatalog_LabelsEntry {
+ return {
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
+ };
},
- toJSON(message: GetDatabaseCatalogRequest): unknown {
+ toJSON(message: ColumnCatalog_LabelsEntry): unknown {
const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
+ if (message.key !== "") {
+ obj.key = message.key;
+ }
+ if (message.value !== "") {
+ obj.value = message.value;
}
return obj;
},
- create(base?: DeepPartial<GetDatabaseCatalogRequest>): GetDatabaseCatalogRequest {
- return GetDatabaseCatalogRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<ColumnCatalog_LabelsEntry>): ColumnCatalog_LabelsEntry {
+ return ColumnCatalog_LabelsEntry.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<GetDatabaseCatalogRequest>): GetDatabaseCatalogRequest {
- const message = createBaseGetDatabaseCatalogRequest();
- message.name = object.name ?? "";
+ fromPartial(object: DeepPartial<ColumnCatalog_LabelsEntry>): ColumnCatalog_LabelsEntry {
+ const message = createBaseColumnCatalog_LabelsEntry();
+ message.key = object.key ?? "";
+ message.value = object.value ?? "";
return message;
},
};
-function createBaseUpdateDatabaseCatalogRequest(): UpdateDatabaseCatalogRequest {
- return { catalog: undefined, updateMask: undefined };
+function createBaseObjectSchema(): ObjectSchema {
+ return { type: ObjectSchema_Type.TYPE_UNSPECIFIED, structKind: undefined, arrayKind: undefined };
}
-export const UpdateDatabaseCatalogRequest: MessageFns<UpdateDatabaseCatalogRequest> = {
- encode(message: UpdateDatabaseCatalogRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
- if (message.catalog !== undefined) {
- DatabaseCatalog.encode(message.catalog, writer.uint32(10).fork()).join();
+export const ObjectSchema: MessageFns<ObjectSchema> = {
+ encode(message: ObjectSchema, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.type !== ObjectSchema_Type.TYPE_UNSPECIFIED) {
+ writer.uint32(8).int32(objectSchema_TypeToNumber(message.type));
}
- if (message.updateMask !== undefined) {
- FieldMask.encode(FieldMask.wrap(message.updateMask), writer.uint32(18).fork()).join();
+ if (message.structKind !== undefined) {
+ ObjectSchema_StructKind.encode(message.structKind, writer.uint32(18).fork()).join();
+ }
+ if (message.arrayKind !== undefined) {
+ ObjectSchema_ArrayKind.encode(message.arrayKind, writer.uint32(26).fork()).join();
}
return writer;
},
- decode(input: BinaryReader | Uint8Array, length?: number): UpdateDatabaseCatalogRequest {
+ decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema {
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseUpdateDatabaseCatalogRequest();
+ const message = createBaseObjectSchema();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (tag !== 8) {
+ break;
+ }
+
+ message.type = objectSchema_TypeFromJSON(reader.int32());
+ continue;
+ }
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ message.structKind = ObjectSchema_StructKind.decode(reader, reader.uint32());
+ continue;
+ }
+ case 3: {
+ if (tag !== 26) {
+ break;
+ }
+
+ message.arrayKind = ObjectSchema_ArrayKind.decode(reader, reader.uint32());
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ObjectSchema {
+ return {
+ type: isSet(object.type) ? objectSchema_TypeFromJSON(object.type) : ObjectSchema_Type.TYPE_UNSPECIFIED,
+ structKind: isSet(object.structKind) ? ObjectSchema_StructKind.fromJSON(object.structKind) : undefined,
+ arrayKind: isSet(object.arrayKind) ? ObjectSchema_ArrayKind.fromJSON(object.arrayKind) : undefined,
+ };
+ },
+
+ toJSON(message: ObjectSchema): unknown {
+ const obj: any = {};
+ if (message.type !== ObjectSchema_Type.TYPE_UNSPECIFIED) {
+ obj.type = objectSchema_TypeToJSON(message.type);
+ }
+ if (message.structKind !== undefined) {
+ obj.structKind = ObjectSchema_StructKind.toJSON(message.structKind);
+ }
+ if (message.arrayKind !== undefined) {
+ obj.arrayKind = ObjectSchema_ArrayKind.toJSON(message.arrayKind);
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ObjectSchema>): ObjectSchema {
+ return ObjectSchema.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ObjectSchema>): ObjectSchema {
+ const message = createBaseObjectSchema();
+ message.type = object.type ?? ObjectSchema_Type.TYPE_UNSPECIFIED;
+ message.structKind = (object.structKind !== undefined && object.structKind !== null)
+ ? ObjectSchema_StructKind.fromPartial(object.structKind)
+ : undefined;
+ message.arrayKind = (object.arrayKind !== undefined && object.arrayKind !== null)
+ ? ObjectSchema_ArrayKind.fromPartial(object.arrayKind)
+ : undefined;
+ return message;
+ },
+};
+
+function createBaseObjectSchema_StructKind(): ObjectSchema_StructKind {
+ return { properties: {} };
+}
+
+export const ObjectSchema_StructKind: MessageFns<ObjectSchema_StructKind> = {
+ encode(message: ObjectSchema_StructKind, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ Object.entries(message.properties).forEach(([key, value]) => {
+ ObjectSchema_StructKind_PropertiesEntry.encode({ key: key as any, value }, writer.uint32(18).fork()).join();
+ });
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema_StructKind {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseObjectSchema_StructKind();
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 2: {
+ if (tag !== 18) {
+ break;
+ }
+
+ const entry2 = ObjectSchema_StructKind_PropertiesEntry.decode(reader, reader.uint32());
+ if (entry2.value !== undefined) {
+ message.properties[entry2.key] = entry2.value;
+ }
+ continue;
+ }
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skip(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ObjectSchema_StructKind {
+ return {
+ properties: isObject(object.properties)
+ ? Object.entries(object.properties).reduce<{ [key: string]: ObjectSchema }>((acc, [key, value]) => {
+ acc[key] = ObjectSchema.fromJSON(value);
+ return acc;
+ }, {})
+ : {},
+ };
+ },
+
+ toJSON(message: ObjectSchema_StructKind): unknown {
+ const obj: any = {};
+ if (message.properties) {
+ const entries = Object.entries(message.properties);
+ if (entries.length > 0) {
+ obj.properties = {};
+ entries.forEach(([k, v]) => {
+ obj.properties[k] = ObjectSchema.toJSON(v);
+ });
+ }
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ObjectSchema_StructKind>): ObjectSchema_StructKind {
+ return ObjectSchema_StructKind.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ObjectSchema_StructKind>): ObjectSchema_StructKind {
+ const message = createBaseObjectSchema_StructKind();
+ message.properties = Object.entries(object.properties ?? {}).reduce<{ [key: string]: ObjectSchema }>(
+ (acc, [key, value]) => {
+ if (value !== undefined) {
+ acc[key] = ObjectSchema.fromPartial(value);
+ }
+ return acc;
+ },
+ {},
+ );
+ return message;
+ },
+};
+
+function createBaseObjectSchema_StructKind_PropertiesEntry(): ObjectSchema_StructKind_PropertiesEntry {
+ return { key: "", value: undefined };
+}
+
+export const ObjectSchema_StructKind_PropertiesEntry: MessageFns<ObjectSchema_StructKind_PropertiesEntry> = {
+ encode(message: ObjectSchema_StructKind_PropertiesEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.key !== "") {
+ writer.uint32(10).string(message.key);
+ }
+ if (message.value !== undefined) {
+ ObjectSchema.encode(message.value, writer.uint32(18).fork()).join();
+ }
+ return writer;
+ },
+
+ decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema_StructKind_PropertiesEntry {
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseObjectSchema_StructKind_PropertiesEntry();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -126,7 +1125,7 @@ export const UpdateDatabaseCatalogRequest: MessageFns<UpdateDatabaseCatalogReque
break;
}
- message.catalog = DatabaseCatalog.decode(reader, reader.uint32());
+ message.key = reader.string();
continue;
}
case 2: {
@@ -134,7 +1133,7 @@ export const UpdateDatabaseCatalogRequest: MessageFns<UpdateDatabaseCatalogReque
break;
}
- message.updateMask = FieldMask.unwrap(FieldMask.decode(reader, reader.uint32()));
+ message.value = ObjectSchema.decode(reader, reader.uint32());
continue;
}
}
@@ -146,53 +1145,53 @@ export const UpdateDatabaseCatalogRequest: MessageFns<UpdateDatabaseCatalogReque
return message;
},
- fromJSON(object: any): UpdateDatabaseCatalogRequest {
+ fromJSON(object: any): ObjectSchema_StructKind_PropertiesEntry {
return {
- catalog: isSet(object.catalog) ? DatabaseCatalog.fromJSON(object.catalog) : undefined,
- updateMask: isSet(object.updateMask) ? FieldMask.unwrap(FieldMask.fromJSON(object.updateMask)) : undefined,
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
+ value: isSet(object.value) ? ObjectSchema.fromJSON(object.value) : undefined,
};
},
- toJSON(message: UpdateDatabaseCatalogRequest): unknown {
+ toJSON(message: ObjectSchema_StructKind_PropertiesEntry): unknown {
const obj: any = {};
- if (message.catalog !== undefined) {
- obj.catalog = DatabaseCatalog.toJSON(message.catalog);
+ if (message.key !== "") {
+ obj.key = message.key;
}
- if (message.updateMask !== undefined) {
- obj.updateMask = FieldMask.toJSON(FieldMask.wrap(message.updateMask));
+ if (message.value !== undefined) {
+ obj.value = ObjectSchema.toJSON(message.value);
}
return obj;
},
- create(base?: DeepPartial<UpdateDatabaseCatalogRequest>): UpdateDatabaseCatalogRequest {
- return UpdateDatabaseCatalogRequest.fromPartial(base ?? {});
+ create(base?: DeepPartial<ObjectSchema_StructKind_PropertiesEntry>): ObjectSchema_StructKind_PropertiesEntry {
+ return ObjectSchema_StructKind_PropertiesEntry.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<UpdateDatabaseCatalogRequest>): UpdateDatabaseCatalogRequest {
- const message = createBaseUpdateDatabaseCatalogRequest();
- message.catalog = (object.catalog !== undefined && object.catalog !== null)
- ? DatabaseCatalog.fromPartial(object.catalog)
+ fromPartial(object: DeepPartial<ObjectSchema_StructKind_PropertiesEntry>): ObjectSchema_StructKind_PropertiesEntry {
+ const message = createBaseObjectSchema_StructKind_PropertiesEntry();
+ message.key = object.key ?? "";
+ message.value = (object.value !== undefined && object.value !== null)
+ ? ObjectSchema.fromPartial(object.value)
: undefined;
- message.updateMask = object.updateMask ?? undefined;
return message;
},
};
-function createBaseDatabaseCatalog(): DatabaseCatalog {
- return { name: "" };
+function createBaseObjectSchema_ArrayKind(): ObjectSchema_ArrayKind {
+ return { kind: undefined };
}
-export const DatabaseCatalog: MessageFns<DatabaseCatalog> = {
- encode(message: DatabaseCatalog, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
+export const ObjectSchema_ArrayKind: MessageFns<ObjectSchema_ArrayKind> = {
+ encode(message: ObjectSchema_ArrayKind, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
+ if (message.kind !== undefined) {
+ ObjectSchema.encode(message.kind, writer.uint32(10).fork()).join();
}
return writer;
},
- decode(input: BinaryReader | Uint8Array, length?: number): DatabaseCatalog {
+ decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema_ArrayKind {
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseDatabaseCatalog();
+ const message = createBaseObjectSchema_ArrayKind();
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
@@ -201,7 +1200,7 @@ export const DatabaseCatalog: MessageFns<DatabaseCatalog> = {
break;
}
- message.name = reader.string();
+ message.kind = ObjectSchema.decode(reader, reader.uint32());
continue;
}
}
@@ -213,24 +1212,26 @@ export const DatabaseCatalog: MessageFns<DatabaseCatalog> = {
return message;
},
- fromJSON(object: any): DatabaseCatalog {
- return { name: isSet(object.name) ? globalThis.String(object.name) : "" };
+ fromJSON(object: any): ObjectSchema_ArrayKind {
+ return { kind: isSet(object.kind) ? ObjectSchema.fromJSON(object.kind) : undefined };
},
- toJSON(message: DatabaseCatalog): unknown {
+ toJSON(message: ObjectSchema_ArrayKind): unknown {
const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
+ if (message.kind !== undefined) {
+ obj.kind = ObjectSchema.toJSON(message.kind);
}
return obj;
},
- create(base?: DeepPartial<DatabaseCatalog>): DatabaseCatalog {
- return DatabaseCatalog.fromPartial(base ?? {});
+ create(base?: DeepPartial<ObjectSchema_ArrayKind>): ObjectSchema_ArrayKind {
+ return ObjectSchema_ArrayKind.fromPartial(base ?? {});
},
- fromPartial(object: DeepPartial<DatabaseCatalog>): DatabaseCatalog {
- const message = createBaseDatabaseCatalog();
- message.name = object.name ?? "";
+ fromPartial(object: DeepPartial<ObjectSchema_ArrayKind>): ObjectSchema_ArrayKind {
+ const message = createBaseObjectSchema_ArrayKind();
+ message.kind = (object.kind !== undefined && object.kind !== null)
+ ? ObjectSchema.fromPartial(object.kind)
+ : undefined;
return message;
},
};
@@ -475,6 +1476,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/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.ts
index f8f28bb10d..42de07dc89 100644
--- a/frontend/src/types/proto/v1/database_service.ts
+++ b/frontend/src/types/proto/v1/database_service.ts
@@ -2244,102 +2244,6 @@ export function changelog_StatusToNumber(object: Changelog_Status): number {
}
}
-export interface ObjectSchema {
- type: ObjectSchema_Type;
- structKind?: ObjectSchema_StructKind | undefined;
- arrayKind?: ObjectSchema_ArrayKind | undefined;
-}
-
-export enum ObjectSchema_Type {
- TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
- STRING = "STRING",
- NUMBER = "NUMBER",
- BOOLEAN = "BOOLEAN",
- OBJECT = "OBJECT",
- ARRAY = "ARRAY",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function objectSchema_TypeFromJSON(object: any): ObjectSchema_Type {
- switch (object) {
- case 0:
- case "TYPE_UNSPECIFIED":
- return ObjectSchema_Type.TYPE_UNSPECIFIED;
- case 1:
- case "STRING":
- return ObjectSchema_Type.STRING;
- case 2:
- case "NUMBER":
- return ObjectSchema_Type.NUMBER;
- case 3:
- case "BOOLEAN":
- return ObjectSchema_Type.BOOLEAN;
- case 4:
- case "OBJECT":
- return ObjectSchema_Type.OBJECT;
- case 5:
- case "ARRAY":
- return ObjectSchema_Type.ARRAY;
- case -1:
- case "UNRECOGNIZED":
- default:
- return ObjectSchema_Type.UNRECOGNIZED;
- }
-}
-
-export function objectSchema_TypeToJSON(object: ObjectSchema_Type): string {
- switch (object) {
- case ObjectSchema_Type.TYPE_UNSPECIFIED:
- return "TYPE_UNSPECIFIED";
- case ObjectSchema_Type.STRING:
- return "STRING";
- case ObjectSchema_Type.NUMBER:
- return "NUMBER";
- case ObjectSchema_Type.BOOLEAN:
- return "BOOLEAN";
- case ObjectSchema_Type.OBJECT:
- return "OBJECT";
- case ObjectSchema_Type.ARRAY:
- return "ARRAY";
- case ObjectSchema_Type.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function objectSchema_TypeToNumber(object: ObjectSchema_Type): number {
- switch (object) {
- case ObjectSchema_Type.TYPE_UNSPECIFIED:
- return 0;
- case ObjectSchema_Type.STRING:
- return 1;
- case ObjectSchema_Type.NUMBER:
- return 2;
- case ObjectSchema_Type.BOOLEAN:
- return 3;
- case ObjectSchema_Type.OBJECT:
- return 4;
- case ObjectSchema_Type.ARRAY:
- return 5;
- case ObjectSchema_Type.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-export interface ObjectSchema_StructKind {
- properties: { [key: string]: ObjectSchema };
-}
-
-export interface ObjectSchema_StructKind_PropertiesEntry {
- key: string;
- value: ObjectSchema | undefined;
-}
-
-export interface ObjectSchema_ArrayKind {
- kind: ObjectSchema | undefined;
-}
-
function createBaseGetDatabaseRequest(): GetDatabaseRequest {
return { name: "" };
}
@@ -12703,322 +12607,6 @@ export const Changelog: MessageFns<Changelog> = {
},
};
-function createBaseObjectSchema(): ObjectSchema {
- return { type: ObjectSchema_Type.TYPE_UNSPECIFIED, structKind: undefined, arrayKind: undefined };
-}
-
-export const ObjectSchema: MessageFns<ObjectSchema> = {
- encode(message: ObjectSchema, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
- if (message.type !== ObjectSchema_Type.TYPE_UNSPECIFIED) {
- writer.uint32(8).int32(objectSchema_TypeToNumber(message.type));
- }
- if (message.structKind !== undefined) {
- ObjectSchema_StructKind.encode(message.structKind, writer.uint32(18).fork()).join();
- }
- if (message.arrayKind !== undefined) {
- ObjectSchema_ArrayKind.encode(message.arrayKind, writer.uint32(26).fork()).join();
- }
- return writer;
- },
-
- decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema {
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseObjectSchema();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1: {
- if (tag !== 8) {
- break;
- }
-
- message.type = objectSchema_TypeFromJSON(reader.int32());
- continue;
- }
- case 2: {
- if (tag !== 18) {
- break;
- }
-
- message.structKind = ObjectSchema_StructKind.decode(reader, reader.uint32());
- continue;
- }
- case 3: {
- if (tag !== 26) {
- break;
- }
-
- message.arrayKind = ObjectSchema_ArrayKind.decode(reader, reader.uint32());
- continue;
- }
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skip(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ObjectSchema {
- return {
- type: isSet(object.type) ? objectSchema_TypeFromJSON(object.type) : ObjectSchema_Type.TYPE_UNSPECIFIED,
- structKind: isSet(object.structKind) ? ObjectSchema_StructKind.fromJSON(object.structKind) : undefined,
- arrayKind: isSet(object.arrayKind) ? ObjectSchema_ArrayKind.fromJSON(object.arrayKind) : undefined,
- };
- },
-
- toJSON(message: ObjectSchema): unknown {
- const obj: any = {};
- if (message.type !== ObjectSchema_Type.TYPE_UNSPECIFIED) {
- obj.type = objectSchema_TypeToJSON(message.type);
- }
- if (message.structKind !== undefined) {
- obj.structKind = ObjectSchema_StructKind.toJSON(message.structKind);
- }
- if (message.arrayKind !== undefined) {
- obj.arrayKind = ObjectSchema_ArrayKind.toJSON(message.arrayKind);
- }
- return obj;
- },
-
- create(base?: DeepPartial<ObjectSchema>): ObjectSchema {
- return ObjectSchema.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ObjectSchema>): ObjectSchema {
- const message = createBaseObjectSchema();
- message.type = object.type ?? ObjectSchema_Type.TYPE_UNSPECIFIED;
- message.structKind = (object.structKind !== undefined && object.structKind !== null)
- ? ObjectSchema_StructKind.fromPartial(object.structKind)
- : undefined;
- message.arrayKind = (object.arrayKind !== undefined && object.arrayKind !== null)
- ? ObjectSchema_ArrayKind.fromPartial(object.arrayKind)
- : undefined;
- return message;
- },
-};
-
-function createBaseObjectSchema_StructKind(): ObjectSchema_StructKind {
- return { properties: {} };
-}
-
-export const ObjectSchema_StructKind: MessageFns<ObjectSchema_StructKind> = {
- encode(message: ObjectSchema_StructKind, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
- Object.entries(message.properties).forEach(([key, value]) => {
- ObjectSchema_StructKind_PropertiesEntry.encode({ key: key as any, value }, writer.uint32(18).fork()).join();
- });
- return writer;
- },
-
- decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema_StructKind {
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseObjectSchema_StructKind();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 2: {
- if (tag !== 18) {
- break;
- }
-
- const entry2 = ObjectSchema_StructKind_PropertiesEntry.decode(reader, reader.uint32());
- if (entry2.value !== undefined) {
- message.properties[entry2.key] = entry2.value;
- }
- continue;
- }
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skip(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ObjectSchema_StructKind {
- return {
- properties: isObject(object.properties)
- ? Object.entries(object.properties).reduce<{ [key: string]: ObjectSchema }>((acc, [key, value]) => {
- acc[key] = ObjectSchema.fromJSON(value);
- return acc;
- }, {})
- : {},
- };
- },
-
- toJSON(message: ObjectSchema_StructKind): unknown {
- const obj: any = {};
- if (message.properties) {
- const entries = Object.entries(message.properties);
- if (entries.length > 0) {
- obj.properties = {};
- entries.forEach(([k, v]) => {
- obj.properties[k] = ObjectSchema.toJSON(v);
- });
- }
- }
- return obj;
- },
-
- create(base?: DeepPartial<ObjectSchema_StructKind>): ObjectSchema_StructKind {
- return ObjectSchema_StructKind.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ObjectSchema_StructKind>): ObjectSchema_StructKind {
- const message = createBaseObjectSchema_StructKind();
- message.properties = Object.entries(object.properties ?? {}).reduce<{ [key: string]: ObjectSchema }>(
- (acc, [key, value]) => {
- if (value !== undefined) {
- acc[key] = ObjectSchema.fromPartial(value);
- }
- return acc;
- },
- {},
- );
- return message;
- },
-};
-
-function createBaseObjectSchema_StructKind_PropertiesEntry(): ObjectSchema_StructKind_PropertiesEntry {
- return { key: "", value: undefined };
-}
-
-export const ObjectSchema_StructKind_PropertiesEntry: MessageFns<ObjectSchema_StructKind_PropertiesEntry> = {
- encode(message: ObjectSchema_StructKind_PropertiesEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
- if (message.key !== "") {
- writer.uint32(10).string(message.key);
- }
- if (message.value !== undefined) {
- ObjectSchema.encode(message.value, writer.uint32(18).fork()).join();
- }
- return writer;
- },
-
- decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema_StructKind_PropertiesEntry {
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseObjectSchema_StructKind_PropertiesEntry();
- 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 = ObjectSchema.decode(reader, reader.uint32());
- continue;
- }
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skip(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ObjectSchema_StructKind_PropertiesEntry {
- return {
- key: isSet(object.key) ? globalThis.String(object.key) : "",
- value: isSet(object.value) ? ObjectSchema.fromJSON(object.value) : undefined,
- };
- },
-
- toJSON(message: ObjectSchema_StructKind_PropertiesEntry): unknown {
- const obj: any = {};
- if (message.key !== "") {
- obj.key = message.key;
- }
- if (message.value !== undefined) {
- obj.value = ObjectSchema.toJSON(message.value);
- }
- return obj;
- },
-
- create(base?: DeepPartial<ObjectSchema_StructKind_PropertiesEntry>): ObjectSchema_StructKind_PropertiesEntry {
- return ObjectSchema_StructKind_PropertiesEntry.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ObjectSchema_StructKind_PropertiesEntry>): ObjectSchema_StructKind_PropertiesEntry {
- const message = createBaseObjectSchema_StructKind_PropertiesEntry();
- message.key = object.key ?? "";
- message.value = (object.value !== undefined && object.value !== null)
- ? ObjectSchema.fromPartial(object.value)
- : undefined;
- return message;
- },
-};
-
-function createBaseObjectSchema_ArrayKind(): ObjectSchema_ArrayKind {
- return { kind: undefined };
-}
-
-export const ObjectSchema_ArrayKind: MessageFns<ObjectSchema_ArrayKind> = {
- encode(message: ObjectSchema_ArrayKind, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
- if (message.kind !== undefined) {
- ObjectSchema.encode(message.kind, writer.uint32(10).fork()).join();
- }
- return writer;
- },
-
- decode(input: BinaryReader | Uint8Array, length?: number): ObjectSchema_ArrayKind {
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseObjectSchema_ArrayKind();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1: {
- if (tag !== 10) {
- break;
- }
-
- message.kind = ObjectSchema.decode(reader, reader.uint32());
- continue;
- }
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skip(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): ObjectSchema_ArrayKind {
- return { kind: isSet(object.kind) ? ObjectSchema.fromJSON(object.kind) : undefined };
- },
-
- toJSON(message: ObjectSchema_ArrayKind): unknown {
- const obj: any = {};
- if (message.kind !== undefined) {
- obj.kind = ObjectSchema.toJSON(message.kind);
- }
- return obj;
- },
-
- create(base?: DeepPartial<ObjectSchema_ArrayKind>): ObjectSchema_ArrayKind {
- return ObjectSchema_ArrayKind.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<ObjectSchema_ArrayKind>): ObjectSchema_ArrayKind {
- const message = createBaseObjectSchema_ArrayKind();
- message.kind = (object.kind !== undefined && object.kind !== null)
- ? ObjectSchema.fromPartial(object.kind)
- : undefined;
- return message;
- },
-};
-
export type DatabaseServiceDefinition = typeof DatabaseServiceDefinition;
export const DatabaseServiceDefinition = {
name: "DatabaseService",
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 7f53e5f349..c3f6cede96 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -9789,6 +9789,34 @@ components:
type: array
items:
$ref: '#/components/schemas/Advice'
+ ColumnCatalog:
+ type: object
+ properties:
+ name:
+ type: string
+ semanticTypeId:
+ type: string
+ labels:
+ type: object
+ additionalProperties:
+ type: string
+ description: The user labels for a column.
+ classificationId:
+ type: string
+ maskingLevel:
+ enum:
+ - MASKING_LEVEL_UNSPECIFIED
+ - NONE
+ - PARTIAL
+ - FULL
+ type: string
+ format: enum
+ fullMaskingAlgorithmId:
+ type: string
+ partialMaskingAlgorithmId:
+ type: string
+ objectSchema:
+ $ref: '#/components/schemas/ObjectSchema'
ColumnConfig:
type: object
properties:
@@ -10215,6 +10243,10 @@ components:
description: |-
The name of the database catalog.
Format: instances/{instance}/databases/{database}/catalog
+ schemas:
+ type: array
+ items:
+ $ref: '#/components/schemas/SchemaCatalog'
DatabaseConfig:
type: object
properties:
@@ -12066,6 +12098,35 @@ components:
OIDCIdentityProviderContext:
type: object
properties: {}
+ ObjectSchema:
+ type: object
+ properties:
+ type:
+ enum:
+ - TYPE_UNSPECIFIED
+ - STRING
+ - NUMBER
+ - BOOLEAN
+ - OBJECT
+ - ARRAY
+ type: string
+ format: enum
+ structKind:
+ $ref: '#/components/schemas/ObjectSchema_StructKind'
+ arrayKind:
+ $ref: '#/components/schemas/ObjectSchema_ArrayKind'
+ ObjectSchema_ArrayKind:
+ type: object
+ properties:
+ kind:
+ $ref: '#/components/schemas/ObjectSchema'
+ ObjectSchema_StructKind:
+ type: object
+ properties:
+ properties:
+ type: object
+ additionalProperties:
+ $ref: '#/components/schemas/ObjectSchema'
ParseMyBatisMapperRequest:
type: object
properties:
@@ -13559,6 +13620,15 @@ components:
taskUid:
type: integer
format: int32
+ SchemaCatalog:
+ type: object
+ properties:
+ name:
+ type: string
+ tables:
+ type: array
+ items:
+ $ref: '#/components/schemas/TableCatalog'
SchemaConfig:
type: object
properties:
@@ -14490,6 +14560,24 @@ components:
The name of the instance to sync slow queries.
Format: instances/{instance} for one instance
or projects/{project} for one project.
+ TableCatalog:
+ type: object
+ properties:
+ name:
+ type: string
+ columns:
+ $ref: '#/components/schemas/TableCatalog_Columns'
+ objectSchema:
+ $ref: '#/components/schemas/ObjectSchema'
+ classificationId:
+ type: string
+ TableCatalog_Columns:
+ type: object
+ properties:
+ columns:
+ type: array
+ items:
+ $ref: '#/components/schemas/ColumnCatalog'
TableConfig:
type: object
properties:
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 7d28822a60..48d3b99af5 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -123,10 +123,6 @@
- [ListSlowQueriesRequest](#bytebase-v1-ListSlowQueriesRequest)
- [ListSlowQueriesResponse](#bytebase-v1-ListSlowQueriesResponse)
- [MaterializedViewMetadata](#bytebase-v1-MaterializedViewMetadata)
- - [ObjectSchema](#bytebase-v1-ObjectSchema)
- - [ObjectSchema.ArrayKind](#bytebase-v1-ObjectSchema-ArrayKind)
- - [ObjectSchema.StructKind](#bytebase-v1-ObjectSchema-StructKind)
- - [ObjectSchema.StructKind.PropertiesEntry](#bytebase-v1-ObjectSchema-StructKind-PropertiesEntry)
- [PackageMetadata](#bytebase-v1-PackageMetadata)
- [ProcedureConfig](#bytebase-v1-ProcedureConfig)
- [ProcedureMetadata](#bytebase-v1-ProcedureMetadata)
@@ -160,7 +156,6 @@
- [ChangelogView](#bytebase-v1-ChangelogView)
- [DatabaseMetadataView](#bytebase-v1-DatabaseMetadataView)
- [GenerationMetadata.Type](#bytebase-v1-GenerationMetadata-Type)
- - [ObjectSchema.Type](#bytebase-v1-ObjectSchema-Type)
- [StreamMetadata.Mode](#bytebase-v1-StreamMetadata-Mode)
- [StreamMetadata.Type](#bytebase-v1-StreamMetadata-Type)
- [TablePartitionMetadata.Type](#bytebase-v1-TablePartitionMetadata-Type)
@@ -387,10 +382,21 @@
- [ChangelistService](#bytebase-v1-ChangelistService)
- [v1/database_catalog_service.proto](#v1_database_catalog_service-proto)
+ - [ColumnCatalog](#bytebase-v1-ColumnCatalog)
+ - [ColumnCatalog.LabelsEntry](#bytebase-v1-ColumnCatalog-LabelsEntry)
- [DatabaseCatalog](#bytebase-v1-DatabaseCatalog)
- [GetDatabaseCatalogRequest](#bytebase-v1-GetDatabaseCatalogRequest)
+ - [ObjectSchema](#bytebase-v1-ObjectSchema)
+ - [ObjectSchema.ArrayKind](#bytebase-v1-ObjectSchema-ArrayKind)
+ - [ObjectSchema.StructKind](#bytebase-v1-ObjectSchema-StructKind)
+ - [ObjectSchema.StructKind.PropertiesEntry](#bytebase-v1-ObjectSchema-StructKind-PropertiesEntry)
+ - [SchemaCatalog](#bytebase-v1-SchemaCatalog)
+ - [TableCatalog](#bytebase-v1-TableCatalog)
+ - [TableCatalog.Columns](#bytebase-v1-TableCatalog-Columns)
- [UpdateDatabaseCatalogRequest](#bytebase-v1-UpdateDatabaseCatalogRequest)
+ - [ObjectSchema.Type](#bytebase-v1-ObjectSchema-Type)
+
- [DatabaseCatalogService](#bytebase-v1-DatabaseCatalogService)
- [v1/database_group_service.proto](#v1_database_group_service-proto)
@@ -2694,69 +2700,6 @@ MaterializedViewMetadata is the metadata for materialized views.
-<a name="bytebase-v1-ObjectSchema"></a>
-
-### ObjectSchema
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| type | [ObjectSchema.Type](#bytebase-v1-ObjectSchema-Type) | | |
-| struct_kind | [ObjectSchema.StructKind](#bytebase-v1-ObjectSchema-StructKind) | | |
-| array_kind | [ObjectSchema.ArrayKind](#bytebase-v1-ObjectSchema-ArrayKind) | | |
-
-
-
-
-
-
-<a name="bytebase-v1-ObjectSchema-ArrayKind"></a>
-
-### ObjectSchema.ArrayKind
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| kind | [ObjectSchema](#bytebase-v1-ObjectSchema) | | |
-
-
-
-
-
-
-<a name="bytebase-v1-ObjectSchema-StructKind"></a>
-
-### ObjectSchema.StructKind
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| properties | [ObjectSchema.StructKind.PropertiesEntry](#bytebase-v1-ObjectSchema-StructKind-PropertiesEntry) | repeated | |
-
-
-
-
-
-
-<a name="bytebase-v1-ObjectSchema-StructKind-PropertiesEntry"></a>
-
-### ObjectSchema.StructKind.PropertiesEntry
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| key | [string](#string) | | |
-| value | [ObjectSchema](#bytebase-v1-ObjectSchema) | | |
-
-
-
-
-
-
<a name="bytebase-v1-PackageMetadata"></a>
### PackageMetadata
@@ -3367,22 +3310,6 @@ ViewMetadata is the metadata for views.
-<a name="bytebase-v1-ObjectSchema-Type"></a>
-
-### ObjectSchema.Type
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| TYPE_UNSPECIFIED | 0 | |
-| STRING | 1 | |
-| NUMBER | 2 | |
-| BOOLEAN | 3 | |
-| OBJECT | 4 | |
-| ARRAY | 5 | |
-
-
-
<a name="bytebase-v1-StreamMetadata-Mode"></a>
### StreamMetadata.Mode
@@ -6666,6 +6593,44 @@ The changelist&#39;s `name` field is used to identify the changelist to update.
+<a name="bytebase-v1-ColumnCatalog"></a>
+
+### ColumnCatalog
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | |
+| semantic_type_id | [string](#string) | | |
+| labels | [ColumnCatalog.LabelsEntry](#bytebase-v1-ColumnCatalog-LabelsEntry) | repeated | The user labels for a column. |
+| classification_id | [string](#string) | | |
+| masking_level | [MaskingLevel](#bytebase-v1-MaskingLevel) | | |
+| full_masking_algorithm_id | [string](#string) | | |
+| partial_masking_algorithm_id | [string](#string) | | |
+| object_schema | [ObjectSchema](#bytebase-v1-ObjectSchema) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-ColumnCatalog-LabelsEntry"></a>
+
+### ColumnCatalog.LabelsEntry
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [string](#string) | | |
+
+
+
+
+
+
<a name="bytebase-v1-DatabaseCatalog"></a>
### DatabaseCatalog
@@ -6675,6 +6640,7 @@ The changelist&#39;s `name` field is used to identify the changelist to update.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | The name of the database catalog. Format: instances/{instance}/databases/{database}/catalog |
+| schemas | [SchemaCatalog](#bytebase-v1-SchemaCatalog) | repeated | |
@@ -6696,6 +6662,118 @@ The changelist&#39;s `name` field is used to identify the changelist to update.
+<a name="bytebase-v1-ObjectSchema"></a>
+
+### ObjectSchema
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| type | [ObjectSchema.Type](#bytebase-v1-ObjectSchema-Type) | | |
+| struct_kind | [ObjectSchema.StructKind](#bytebase-v1-ObjectSchema-StructKind) | | |
+| array_kind | [ObjectSchema.ArrayKind](#bytebase-v1-ObjectSchema-ArrayKind) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-ObjectSchema-ArrayKind"></a>
+
+### ObjectSchema.ArrayKind
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| kind | [ObjectSchema](#bytebase-v1-ObjectSchema) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-ObjectSchema-StructKind"></a>
+
+### ObjectSchema.StructKind
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| properties | [ObjectSchema.StructKind.PropertiesEntry](#bytebase-v1-ObjectSchema-StructKind-PropertiesEntry) | repeated | |
+
+
+
+
+
+
+<a name="bytebase-v1-ObjectSchema-StructKind-PropertiesEntry"></a>
+
+### ObjectSchema.StructKind.PropertiesEntry
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| key | [string](#string) | | |
+| value | [ObjectSchema](#bytebase-v1-ObjectSchema) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-SchemaCatalog"></a>
+
+### SchemaCatalog
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | |
+| tables | [TableCatalog](#bytebase-v1-TableCatalog) | repeated | |
+
+
+
+
+
+
+<a name="bytebase-v1-TableCatalog"></a>
+
+### TableCatalog
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | |
+| columns | [TableCatalog.Columns](#bytebase-v1-TableCatalog-Columns) | | |
+| object_schema | [ObjectSchema](#bytebase-v1-ObjectSchema) | | |
+| classification_id | [string](#string) | | |
+
+
+
+
+
+
+<a name="bytebase-v1-TableCatalog-Columns"></a>
+
+### TableCatalog.Columns
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| columns | [ColumnCatalog](#bytebase-v1-ColumnCatalog) | repeated | |
+
+
+
+
+
+
<a name="bytebase-v1-UpdateDatabaseCatalogRequest"></a>
### UpdateDatabaseCatalogRequest
@@ -6715,6 +6793,22 @@ The catalog&#39;s `name` field is used to identify the database catalog to updat
+
+<a name="bytebase-v1-ObjectSchema-Type"></a>
+
+### ObjectSchema.Type
+
+
+| Name | Number | Description |
+| ---- | ------ | ----------- |
+| TYPE_UNSPECIFIED | 0 | |
+| STRING | 1 | |
+| NUMBER | 2 | |
+| BOOLEAN | 3 | |
+| OBJECT | 4 | |
+| ARRAY | 5 | |
+
+
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 6953093820..565808c594 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -646,22 +646,6 @@
<a href="#bytebase.v1.MaterializedViewMetadata"><span class="badge">M</span>MaterializedViewMetadata</a>
</li>
- <li>
- <a href="#bytebase.v1.ObjectSchema"><span class="badge">M</span>ObjectSchema</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ObjectSchema.ArrayKind"><span class="badge">M</span>ObjectSchema.ArrayKind</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ObjectSchema.StructKind"><span class="badge">M</span>ObjectSchema.StructKind</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.ObjectSchema.StructKind.PropertiesEntry"><span class="badge">M</span>ObjectSchema.StructKind.PropertiesEntry</a>
- </li>
-
<li>
<a href="#bytebase.v1.PackageMetadata"><span class="badge">M</span>PackageMetadata</a>
</li>
@@ -791,10 +775,6 @@
<a href="#bytebase.v1.GenerationMetadata.Type"><span class="badge">E</span>GenerationMetadata.Type</a>
</li>
- <li>
- <a href="#bytebase.v1.ObjectSchema.Type"><span class="badge">E</span>ObjectSchema.Type</a>
- </li>
-
<li>
<a href="#bytebase.v1.StreamMetadata.Mode"><span class="badge">E</span>StreamMetadata.Mode</a>
</li>
@@ -1658,6 +1638,14 @@
<a href="#v1%2fdatabase_catalog_service.proto">v1/database_catalog_service.proto</a>
<ul>
+ <li>
+ <a href="#bytebase.v1.ColumnCatalog"><span class="badge">M</span>ColumnCatalog</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ColumnCatalog.LabelsEntry"><span class="badge">M</span>ColumnCatalog.LabelsEntry</a>
+ </li>
+
<li>
<a href="#bytebase.v1.DatabaseCatalog"><span class="badge">M</span>DatabaseCatalog</a>
</li>
@@ -1666,11 +1654,43 @@
<a href="#bytebase.v1.GetDatabaseCatalogRequest"><span class="badge">M</span>GetDatabaseCatalogRequest</a>
</li>
+ <li>
+ <a href="#bytebase.v1.ObjectSchema"><span class="badge">M</span>ObjectSchema</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ObjectSchema.ArrayKind"><span class="badge">M</span>ObjectSchema.ArrayKind</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ObjectSchema.StructKind"><span class="badge">M</span>ObjectSchema.StructKind</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.ObjectSchema.StructKind.PropertiesEntry"><span class="badge">M</span>ObjectSchema.StructKind.PropertiesEntry</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.SchemaCatalog"><span class="badge">M</span>SchemaCatalog</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.TableCatalog"><span class="badge">M</span>TableCatalog</a>
+ </li>
+
+ <li>
+ <a href="#bytebase.v1.TableCatalog.Columns"><span class="badge">M</span>TableCatalog.Columns</a>
+ </li>
+
<li>
<a href="#bytebase.v1.UpdateDatabaseCatalogRequest"><span class="badge">M</span>UpdateDatabaseCatalogRequest</a>
</li>
+ <li>
+ <a href="#bytebase.v1.ObjectSchema.Type"><span class="badge">E</span>ObjectSchema.Type</a>
+ </li>
+
<li>
@@ -8284,123 +8304,6 @@ view. </p></td>
- <h3 id="bytebase.v1.ObjectSchema">ObjectSchema</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>type</td>
- <td><a href="#bytebase.v1.ObjectSchema.Type">ObjectSchema.Type</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>struct_kind</td>
- <td><a href="#bytebase.v1.ObjectSchema.StructKind">ObjectSchema.StructKind</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>array_kind</td>
- <td><a href="#bytebase.v1.ObjectSchema.ArrayKind">ObjectSchema.ArrayKind</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ObjectSchema.ArrayKind">ObjectSchema.ArrayKind</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>kind</td>
- <td><a href="#bytebase.v1.ObjectSchema">ObjectSchema</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ObjectSchema.StructKind">ObjectSchema.StructKind</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>properties</td>
- <td><a href="#bytebase.v1.ObjectSchema.StructKind.PropertiesEntry">ObjectSchema.StructKind.PropertiesEntry</a></td>
- <td>repeated</td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.ObjectSchema.StructKind.PropertiesEntry">ObjectSchema.StructKind.PropertiesEntry</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="#bytebase.v1.ObjectSchema">ObjectSchema</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
<h3 id="bytebase.v1.PackageMetadata">PackageMetadata</h3>
<p>PackageMetadata is the metadata for packages.</p>
@@ -10258,53 +10161,6 @@ view, function names.</p></td>
</tbody>
</table>
- <h3 id="bytebase.v1.ObjectSchema.Type">ObjectSchema.Type</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>STRING</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>NUMBER</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>BOOLEAN</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>OBJECT</td>
- <td>4</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>ARRAY</td>
- <td>5</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
<h3 id="bytebase.v1.StreamMetadata.Mode">StreamMetadata.Mode</h3>
<p></p>
<table class="enum-table">
@@ -19047,7 +18903,7 @@ Format: projects/{project}/changelists/{changelist} </p></td>
<p></p>
- <h3 id="bytebase.v1.DatabaseCatalog">DatabaseCatalog</h3>
+ <h3 id="bytebase.v1.ColumnCatalog">ColumnCatalog</h3>
<p></p>
@@ -19061,33 +18917,361 @@ Format: projects/{project}/changelists/{changelist} </p></td>
<td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the database catalog.
-Format: instances/{instance}/databases/{database}/catalog </p></td>
+ <td><p> </p></td>
</tr>
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.GetDatabaseCatalogRequest">GetDatabaseCatalogRequest</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>semantic_type_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
<tr>
- <td>name</td>
+ <td>labels</td>
+ <td><a href="#bytebase.v1.ColumnCatalog.LabelsEntry">ColumnCatalog.LabelsEntry</a></td>
+ <td>repeated</td>
+ <td><p>The user labels for a column. </p></td>
+ </tr>
+
+ <tr>
+ <td>classification_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name of the database catalog to retrieve.
-Format: instances/{instance}/databases/{database}/catalog </p></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>masking_level</td>
+ <td><a href="#bytebase.v1.MaskingLevel">MaskingLevel</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>full_masking_algorithm_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>partial_masking_algorithm_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>object_schema</td>
+ <td><a href="#bytebase.v1.ObjectSchema">ObjectSchema</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ColumnCatalog.LabelsEntry">ColumnCatalog.LabelsEntry</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.DatabaseCatalog">DatabaseCatalog</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the database catalog.
+Format: instances/{instance}/databases/{database}/catalog </p></td>
+ </tr>
+
+ <tr>
+ <td>schemas</td>
+ <td><a href="#bytebase.v1.SchemaCatalog">SchemaCatalog</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.GetDatabaseCatalogRequest">GetDatabaseCatalogRequest</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The name of the database catalog to retrieve.
+Format: instances/{instance}/databases/{database}/catalog </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ObjectSchema">ObjectSchema</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>type</td>
+ <td><a href="#bytebase.v1.ObjectSchema.Type">ObjectSchema.Type</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>struct_kind</td>
+ <td><a href="#bytebase.v1.ObjectSchema.StructKind">ObjectSchema.StructKind</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>array_kind</td>
+ <td><a href="#bytebase.v1.ObjectSchema.ArrayKind">ObjectSchema.ArrayKind</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ObjectSchema.ArrayKind">ObjectSchema.ArrayKind</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>kind</td>
+ <td><a href="#bytebase.v1.ObjectSchema">ObjectSchema</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ObjectSchema.StructKind">ObjectSchema.StructKind</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>properties</td>
+ <td><a href="#bytebase.v1.ObjectSchema.StructKind.PropertiesEntry">ObjectSchema.StructKind.PropertiesEntry</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.ObjectSchema.StructKind.PropertiesEntry">ObjectSchema.StructKind.PropertiesEntry</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="#bytebase.v1.ObjectSchema">ObjectSchema</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.SchemaCatalog">SchemaCatalog</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>tables</td>
+ <td><a href="#bytebase.v1.TableCatalog">TableCatalog</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.TableCatalog">TableCatalog</h3>
+ <p></p>
+
+
+ <table class="field-table">
+ <thead>
+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>name</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>columns</td>
+ <td><a href="#bytebase.v1.TableCatalog.Columns">TableCatalog.Columns</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>object_schema</td>
+ <td><a href="#bytebase.v1.ObjectSchema">ObjectSchema</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>classification_id</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p> </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.TableCatalog.Columns">TableCatalog.Columns</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>columns</td>
+ <td><a href="#bytebase.v1.ColumnCatalog">ColumnCatalog</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
</tr>
</tbody>
@@ -19133,6 +19317,53 @@ Format: instances/{instance}/databases/{database}/catalog </p></td>
+ <h3 id="bytebase.v1.ObjectSchema.Type">ObjectSchema.Type</h3>
+ <p></p>
+ <table class="enum-table">
+ <thead>
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td>TYPE_UNSPECIFIED</td>
+ <td>0</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>STRING</td>
+ <td>1</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>NUMBER</td>
+ <td>2</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>BOOLEAN</td>
+ <td>3</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>OBJECT</td>
+ <td>4</td>
+ <td><p></p></td>
+ </tr>
+
+ <tr>
+ <td>ARRAY</td>
+ <td>5</td>
+ <td><p></p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
diff --git a/proto/generated-go/v1/database_catalog_service.pb.go b/proto/generated-go/v1/database_catalog_service.pb.go
index 7546ed4da3..f33af3d1fb 100644
--- a/proto/generated-go/v1/database_catalog_service.pb.go
+++ b/proto/generated-go/v1/database_catalog_service.pb.go
@@ -22,6 +22,64 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
+type ObjectSchema_Type int32
+
+const (
+ ObjectSchema_TYPE_UNSPECIFIED ObjectSchema_Type = 0
+ ObjectSchema_STRING ObjectSchema_Type = 1
+ ObjectSchema_NUMBER ObjectSchema_Type = 2
+ ObjectSchema_BOOLEAN ObjectSchema_Type = 3
+ ObjectSchema_OBJECT ObjectSchema_Type = 4
+ ObjectSchema_ARRAY ObjectSchema_Type = 5
+)
+
+// Enum value maps for ObjectSchema_Type.
+var (
+ ObjectSchema_Type_name = map[int32]string{
+ 0: "TYPE_UNSPECIFIED",
+ 1: "STRING",
+ 2: "NUMBER",
+ 3: "BOOLEAN",
+ 4: "OBJECT",
+ 5: "ARRAY",
+ }
+ ObjectSchema_Type_value = map[string]int32{
+ "TYPE_UNSPECIFIED": 0,
+ "STRING": 1,
+ "NUMBER": 2,
+ "BOOLEAN": 3,
+ "OBJECT": 4,
+ "ARRAY": 5,
+ }
+)
+
+func (x ObjectSchema_Type) Enum() *ObjectSchema_Type {
+ p := new(ObjectSchema_Type)
+ *p = x
+ return p
+}
+
+func (x ObjectSchema_Type) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ObjectSchema_Type) Descriptor() protoreflect.EnumDescriptor {
+ return file_v1_database_catalog_service_proto_enumTypes[0].Descriptor()
+}
+
+func (ObjectSchema_Type) Type() protoreflect.EnumType {
+ return &file_v1_database_catalog_service_proto_enumTypes[0]
+}
+
+func (x ObjectSchema_Type) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use ObjectSchema_Type.Descriptor instead.
+func (ObjectSchema_Type) EnumDescriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{6, 0}
+}
+
type GetDatabaseCatalogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the database catalog to retrieve.
@@ -129,7 +187,8 @@ type DatabaseCatalog struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the database catalog.
// Format: instances/{instance}/databases/{database}/catalog
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Schemas []*SchemaCatalog `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -171,6 +230,486 @@ func (x *DatabaseCatalog) GetName() string {
return ""
}
+func (x *DatabaseCatalog) GetSchemas() []*SchemaCatalog {
+ if x != nil {
+ return x.Schemas
+ }
+ return nil
+}
+
+type SchemaCatalog struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Tables []*TableCatalog `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *SchemaCatalog) Reset() {
+ *x = SchemaCatalog{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *SchemaCatalog) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SchemaCatalog) ProtoMessage() {}
+
+func (x *SchemaCatalog) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[3]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SchemaCatalog.ProtoReflect.Descriptor instead.
+func (*SchemaCatalog) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *SchemaCatalog) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *SchemaCatalog) GetTables() []*TableCatalog {
+ if x != nil {
+ return x.Tables
+ }
+ return nil
+}
+
+type TableCatalog struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // Types that are valid to be assigned to Kind:
+ //
+ // *TableCatalog_Columns_
+ // *TableCatalog_ObjectSchema
+ Kind isTableCatalog_Kind `protobuf_oneof:"kind"`
+ ClassificationId string `protobuf:"bytes,4,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *TableCatalog) Reset() {
+ *x = TableCatalog{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *TableCatalog) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TableCatalog) ProtoMessage() {}
+
+func (x *TableCatalog) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[4]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TableCatalog.ProtoReflect.Descriptor instead.
+func (*TableCatalog) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *TableCatalog) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *TableCatalog) GetKind() isTableCatalog_Kind {
+ if x != nil {
+ return x.Kind
+ }
+ return nil
+}
+
+func (x *TableCatalog) GetColumns() *TableCatalog_Columns {
+ if x != nil {
+ if x, ok := x.Kind.(*TableCatalog_Columns_); ok {
+ return x.Columns
+ }
+ }
+ return nil
+}
+
+func (x *TableCatalog) GetObjectSchema() *ObjectSchema {
+ if x != nil {
+ if x, ok := x.Kind.(*TableCatalog_ObjectSchema); ok {
+ return x.ObjectSchema
+ }
+ }
+ return nil
+}
+
+func (x *TableCatalog) GetClassificationId() string {
+ if x != nil {
+ return x.ClassificationId
+ }
+ return ""
+}
+
+type isTableCatalog_Kind interface {
+ isTableCatalog_Kind()
+}
+
+type TableCatalog_Columns_ struct {
+ Columns *TableCatalog_Columns `protobuf:"bytes,2,opt,name=columns,proto3,oneof"`
+}
+
+type TableCatalog_ObjectSchema struct {
+ ObjectSchema *ObjectSchema `protobuf:"bytes,3,opt,name=object_schema,json=objectSchema,proto3,oneof"`
+}
+
+func (*TableCatalog_Columns_) isTableCatalog_Kind() {}
+
+func (*TableCatalog_ObjectSchema) isTableCatalog_Kind() {}
+
+type ColumnCatalog struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ SemanticTypeId string `protobuf:"bytes,2,opt,name=semantic_type_id,json=semanticTypeId,proto3" json:"semantic_type_id,omitempty"`
+ // The user labels for a column.
+ Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ ClassificationId string `protobuf:"bytes,4,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`
+ MaskingLevel MaskingLevel `protobuf:"varint,5,opt,name=masking_level,json=maskingLevel,proto3,enum=bytebase.v1.MaskingLevel" json:"masking_level,omitempty"`
+ FullMaskingAlgorithmId string `protobuf:"bytes,6,opt,name=full_masking_algorithm_id,json=fullMaskingAlgorithmId,proto3" json:"full_masking_algorithm_id,omitempty"`
+ PartialMaskingAlgorithmId string `protobuf:"bytes,7,opt,name=partial_masking_algorithm_id,json=partialMaskingAlgorithmId,proto3" json:"partial_masking_algorithm_id,omitempty"`
+ ObjectSchema *ObjectSchema `protobuf:"bytes,8,opt,name=object_schema,json=objectSchema,proto3" json:"object_schema,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ColumnCatalog) Reset() {
+ *x = ColumnCatalog{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ColumnCatalog) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ColumnCatalog) ProtoMessage() {}
+
+func (x *ColumnCatalog) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[5]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ColumnCatalog.ProtoReflect.Descriptor instead.
+func (*ColumnCatalog) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *ColumnCatalog) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ColumnCatalog) GetSemanticTypeId() string {
+ if x != nil {
+ return x.SemanticTypeId
+ }
+ return ""
+}
+
+func (x *ColumnCatalog) GetLabels() map[string]string {
+ if x != nil {
+ return x.Labels
+ }
+ return nil
+}
+
+func (x *ColumnCatalog) GetClassificationId() string {
+ if x != nil {
+ return x.ClassificationId
+ }
+ return ""
+}
+
+func (x *ColumnCatalog) GetMaskingLevel() MaskingLevel {
+ if x != nil {
+ return x.MaskingLevel
+ }
+ return MaskingLevel_MASKING_LEVEL_UNSPECIFIED
+}
+
+func (x *ColumnCatalog) GetFullMaskingAlgorithmId() string {
+ if x != nil {
+ return x.FullMaskingAlgorithmId
+ }
+ return ""
+}
+
+func (x *ColumnCatalog) GetPartialMaskingAlgorithmId() string {
+ if x != nil {
+ return x.PartialMaskingAlgorithmId
+ }
+ return ""
+}
+
+func (x *ColumnCatalog) GetObjectSchema() *ObjectSchema {
+ if x != nil {
+ return x.ObjectSchema
+ }
+ return nil
+}
+
+type ObjectSchema struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Type ObjectSchema_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.ObjectSchema_Type" json:"type,omitempty"`
+ // Types that are valid to be assigned to Kind:
+ //
+ // *ObjectSchema_StructKind_
+ // *ObjectSchema_ArrayKind_
+ Kind isObjectSchema_Kind `protobuf_oneof:"kind"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ObjectSchema) Reset() {
+ *x = ObjectSchema{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ObjectSchema) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ObjectSchema) ProtoMessage() {}
+
+func (x *ObjectSchema) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[6]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ObjectSchema.ProtoReflect.Descriptor instead.
+func (*ObjectSchema) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *ObjectSchema) GetType() ObjectSchema_Type {
+ if x != nil {
+ return x.Type
+ }
+ return ObjectSchema_TYPE_UNSPECIFIED
+}
+
+func (x *ObjectSchema) GetKind() isObjectSchema_Kind {
+ if x != nil {
+ return x.Kind
+ }
+ return nil
+}
+
+func (x *ObjectSchema) GetStructKind() *ObjectSchema_StructKind {
+ if x != nil {
+ if x, ok := x.Kind.(*ObjectSchema_StructKind_); ok {
+ return x.StructKind
+ }
+ }
+ return nil
+}
+
+func (x *ObjectSchema) GetArrayKind() *ObjectSchema_ArrayKind {
+ if x != nil {
+ if x, ok := x.Kind.(*ObjectSchema_ArrayKind_); ok {
+ return x.ArrayKind
+ }
+ }
+ return nil
+}
+
+type isObjectSchema_Kind interface {
+ isObjectSchema_Kind()
+}
+
+type ObjectSchema_StructKind_ struct {
+ StructKind *ObjectSchema_StructKind `protobuf:"bytes,2,opt,name=struct_kind,json=structKind,proto3,oneof"`
+}
+
+type ObjectSchema_ArrayKind_ struct {
+ ArrayKind *ObjectSchema_ArrayKind `protobuf:"bytes,3,opt,name=array_kind,json=arrayKind,proto3,oneof"`
+}
+
+func (*ObjectSchema_StructKind_) isObjectSchema_Kind() {}
+
+func (*ObjectSchema_ArrayKind_) isObjectSchema_Kind() {}
+
+type TableCatalog_Columns struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Columns []*ColumnCatalog `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *TableCatalog_Columns) Reset() {
+ *x = TableCatalog_Columns{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *TableCatalog_Columns) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TableCatalog_Columns) ProtoMessage() {}
+
+func (x *TableCatalog_Columns) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[7]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TableCatalog_Columns.ProtoReflect.Descriptor instead.
+func (*TableCatalog_Columns) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{4, 0}
+}
+
+func (x *TableCatalog_Columns) GetColumns() []*ColumnCatalog {
+ if x != nil {
+ return x.Columns
+ }
+ return nil
+}
+
+type ObjectSchema_StructKind struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Properties map[string]*ObjectSchema `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ObjectSchema_StructKind) Reset() {
+ *x = ObjectSchema_StructKind{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ObjectSchema_StructKind) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ObjectSchema_StructKind) ProtoMessage() {}
+
+func (x *ObjectSchema_StructKind) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[9]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ObjectSchema_StructKind.ProtoReflect.Descriptor instead.
+func (*ObjectSchema_StructKind) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{6, 0}
+}
+
+func (x *ObjectSchema_StructKind) GetProperties() map[string]*ObjectSchema {
+ if x != nil {
+ return x.Properties
+ }
+ return nil
+}
+
+type ObjectSchema_ArrayKind struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Kind *ObjectSchema `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ObjectSchema_ArrayKind) Reset() {
+ *x = ObjectSchema_ArrayKind{}
+ mi := &file_v1_database_catalog_service_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ObjectSchema_ArrayKind) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ObjectSchema_ArrayKind) ProtoMessage() {}
+
+func (x *ObjectSchema_ArrayKind) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_catalog_service_proto_msgTypes[10]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ObjectSchema_ArrayKind.ProtoReflect.Descriptor instead.
+func (*ObjectSchema_ArrayKind) Descriptor() ([]byte, []int) {
+ return file_v1_database_catalog_service_proto_rawDescGZIP(), []int{6, 1}
+}
+
+func (x *ObjectSchema_ArrayKind) GetKind() *ObjectSchema {
+ if x != nil {
+ return x.Kind
+ }
+ return nil
+}
+
var File_v1_database_catalog_service_proto protoreflect.FileDescriptor
var file_v1_database_catalog_service_proto_rawDesc = []byte{
@@ -187,59 +726,153 @@ var file_v1_database_catalog_service_proto_rawDesc = []byte{
0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x19, 0x47, 0x65,
- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c,
- 0x6f, 0x67, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
- 0x67, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
- 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, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61,
- 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x7b,
- 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f,
- 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x54, 0xea, 0x41, 0x51, 0x0a, 0x1c, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x31, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
- 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x32, 0xb3, 0x03, 0x0a, 0x16,
- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x53,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x26, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x31, 0x2f, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x19, 0x47,
+ 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f,
+ 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x1e, 0x0a,
+ 0x1c, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61,
- 0x6c, 0x6f, 0x67, 0x22, 0x58, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x17,
- 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c,
- 0x6f, 0x67, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,
- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x7d, 0x12, 0xe1, 0x01,
- 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
- 0x22, 0x7f, 0xda, 0x41, 0x13, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2c, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x1a, 0x62, 0x62, 0x2e, 0x64,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2e,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x32, 0x32, 0x2f,
- 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
- 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67,
- 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x6c, 0x6f, 0x67, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c,
+ 0x6f, 0x67, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
+ 0x6b, 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, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
+ 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22,
+ 0xb1, 0x01, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61,
+ 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61, 0x74,
+ 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x3a, 0x54, 0xea,
+ 0x41, 0x51, 0x0a, 0x1c, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
+ 0x12, 0x31, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73,
+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
+ 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x61, 0x74, 0x61,
+ 0x6c, 0x6f, 0x67, 0x22, 0x56, 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61, 0x74,
+ 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61,
+ 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x99, 0x02, 0x0a, 0x0c,
+ 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x43, 0x6f, 0x6c,
+ 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12,
+ 0x40, 0x0a, 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c,
+ 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x3f,
+ 0x0a, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x6f, 0x6c,
+ 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43,
+ 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x42,
+ 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xf1, 0x03, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75,
+ 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a,
+ 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69,
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69,
+ 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61,
+ 0x6c, 0x6f, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
+ 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73,
+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f,
+ 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e,
+ 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c,
+ 0x65, 0x76, 0x65, 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73,
+ 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69,
+ 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73,
+ 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12,
+ 0x3f, 0x0a, 0x1c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69,
+ 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4d, 0x61,
+ 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64,
+ 0x12, 0x3e, 0x0a, 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0xae, 0x04, 0x0a, 0x0c,
+ 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x32, 0x0a, 0x04,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53,
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
+ 0x12, 0x47, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x73,
+ 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x44, 0x0a, 0x0a, 0x61, 0x72, 0x72,
+ 0x61, 0x79, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65,
+ 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69,
+ 0x6e, 0x64, 0x48, 0x00, 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x1a,
+ 0xbc, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x54,
+ 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x74,
+ 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
+ 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
+ 0x74, 0x69, 0x65, 0x73, 0x1a, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,
+ 0x65, 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, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a,
+ 0x0a, 0x09, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x6b,
+ 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x58, 0x0a, 0x04, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
+ 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49,
+ 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02,
+ 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x03, 0x12, 0x0a, 0x0a,
+ 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52,
+ 0x41, 0x59, 0x10, 0x05, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x32, 0xb3, 0x03, 0x0a,
+ 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x26,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74,
+ 0x61, 0x6c, 0x6f, 0x67, 0x22, 0x58, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,
+ 0x17, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61,
+ 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,
+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x7d, 0x12, 0xe1,
+ 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f,
+ 0x67, 0x22, 0x7f, 0xda, 0x41, 0x13, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2c, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x1a, 0x62, 0x62, 0x2e,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73,
+ 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x32, 0x32,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x6e, 0x61, 0x6d,
+ 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
+ 0x67, 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d,
+ 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -254,25 +887,51 @@ func file_v1_database_catalog_service_proto_rawDescGZIP() []byte {
return file_v1_database_catalog_service_proto_rawDescData
}
-var file_v1_database_catalog_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
+var file_v1_database_catalog_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_v1_database_catalog_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_v1_database_catalog_service_proto_goTypes = []any{
- (*GetDatabaseCatalogRequest)(nil), // 0: bytebase.v1.GetDatabaseCatalogRequest
- (*UpdateDatabaseCatalogRequest)(nil), // 1: bytebase.v1.UpdateDatabaseCatalogRequest
- (*DatabaseCatalog)(nil), // 2: bytebase.v1.DatabaseCatalog
- (*fieldmaskpb.FieldMask)(nil), // 3: google.protobuf.FieldMask
+ (ObjectSchema_Type)(0), // 0: bytebase.v1.ObjectSchema.Type
+ (*GetDatabaseCatalogRequest)(nil), // 1: bytebase.v1.GetDatabaseCatalogRequest
+ (*UpdateDatabaseCatalogRequest)(nil), // 2: bytebase.v1.UpdateDatabaseCatalogRequest
+ (*DatabaseCatalog)(nil), // 3: bytebase.v1.DatabaseCatalog
+ (*SchemaCatalog)(nil), // 4: bytebase.v1.SchemaCatalog
+ (*TableCatalog)(nil), // 5: bytebase.v1.TableCatalog
+ (*ColumnCatalog)(nil), // 6: bytebase.v1.ColumnCatalog
+ (*ObjectSchema)(nil), // 7: bytebase.v1.ObjectSchema
+ (*TableCatalog_Columns)(nil), // 8: bytebase.v1.TableCatalog.Columns
+ nil, // 9: bytebase.v1.ColumnCatalog.LabelsEntry
+ (*ObjectSchema_StructKind)(nil), // 10: bytebase.v1.ObjectSchema.StructKind
+ (*ObjectSchema_ArrayKind)(nil), // 11: bytebase.v1.ObjectSchema.ArrayKind
+ nil, // 12: bytebase.v1.ObjectSchema.StructKind.PropertiesEntry
+ (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
+ (MaskingLevel)(0), // 14: bytebase.v1.MaskingLevel
}
var file_v1_database_catalog_service_proto_depIdxs = []int32{
- 2, // 0: bytebase.v1.UpdateDatabaseCatalogRequest.catalog:type_name -> bytebase.v1.DatabaseCatalog
- 3, // 1: bytebase.v1.UpdateDatabaseCatalogRequest.update_mask:type_name -> google.protobuf.FieldMask
- 0, // 2: bytebase.v1.DatabaseCatalogService.GetDatabaseCatalog:input_type -> bytebase.v1.GetDatabaseCatalogRequest
- 1, // 3: bytebase.v1.DatabaseCatalogService.UpdateDatabaseCatalog:input_type -> bytebase.v1.UpdateDatabaseCatalogRequest
- 2, // 4: bytebase.v1.DatabaseCatalogService.GetDatabaseCatalog:output_type -> bytebase.v1.DatabaseCatalog
- 2, // 5: bytebase.v1.DatabaseCatalogService.UpdateDatabaseCatalog:output_type -> bytebase.v1.DatabaseCatalog
- 4, // [4:6] is the sub-list for method output_type
- 2, // [2:4] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
+ 3, // 0: bytebase.v1.UpdateDatabaseCatalogRequest.catalog:type_name -> bytebase.v1.DatabaseCatalog
+ 13, // 1: bytebase.v1.UpdateDatabaseCatalogRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 4, // 2: bytebase.v1.DatabaseCatalog.schemas:type_name -> bytebase.v1.SchemaCatalog
+ 5, // 3: bytebase.v1.SchemaCatalog.tables:type_name -> bytebase.v1.TableCatalog
+ 8, // 4: bytebase.v1.TableCatalog.columns:type_name -> bytebase.v1.TableCatalog.Columns
+ 7, // 5: bytebase.v1.TableCatalog.object_schema:type_name -> bytebase.v1.ObjectSchema
+ 9, // 6: bytebase.v1.ColumnCatalog.labels:type_name -> bytebase.v1.ColumnCatalog.LabelsEntry
+ 14, // 7: bytebase.v1.ColumnCatalog.masking_level:type_name -> bytebase.v1.MaskingLevel
+ 7, // 8: bytebase.v1.ColumnCatalog.object_schema:type_name -> bytebase.v1.ObjectSchema
+ 0, // 9: bytebase.v1.ObjectSchema.type:type_name -> bytebase.v1.ObjectSchema.Type
+ 10, // 10: bytebase.v1.ObjectSchema.struct_kind:type_name -> bytebase.v1.ObjectSchema.StructKind
+ 11, // 11: bytebase.v1.ObjectSchema.array_kind:type_name -> bytebase.v1.ObjectSchema.ArrayKind
+ 6, // 12: bytebase.v1.TableCatalog.Columns.columns:type_name -> bytebase.v1.ColumnCatalog
+ 12, // 13: bytebase.v1.ObjectSchema.StructKind.properties:type_name -> bytebase.v1.ObjectSchema.StructKind.PropertiesEntry
+ 7, // 14: bytebase.v1.ObjectSchema.ArrayKind.kind:type_name -> bytebase.v1.ObjectSchema
+ 7, // 15: bytebase.v1.ObjectSchema.StructKind.PropertiesEntry.value:type_name -> bytebase.v1.ObjectSchema
+ 1, // 16: bytebase.v1.DatabaseCatalogService.GetDatabaseCatalog:input_type -> bytebase.v1.GetDatabaseCatalogRequest
+ 2, // 17: bytebase.v1.DatabaseCatalogService.UpdateDatabaseCatalog:input_type -> bytebase.v1.UpdateDatabaseCatalogRequest
+ 3, // 18: bytebase.v1.DatabaseCatalogService.GetDatabaseCatalog:output_type -> bytebase.v1.DatabaseCatalog
+ 3, // 19: bytebase.v1.DatabaseCatalogService.UpdateDatabaseCatalog:output_type -> bytebase.v1.DatabaseCatalog
+ 18, // [18:20] is the sub-list for method output_type
+ 16, // [16:18] is the sub-list for method input_type
+ 16, // [16:16] is the sub-list for extension type_name
+ 16, // [16:16] is the sub-list for extension extendee
+ 0, // [0:16] is the sub-list for field type_name
}
func init() { file_v1_database_catalog_service_proto_init() }
@@ -281,18 +940,28 @@ func file_v1_database_catalog_service_proto_init() {
return
}
file_v1_annotation_proto_init()
+ file_v1_common_proto_init()
+ file_v1_database_catalog_service_proto_msgTypes[4].OneofWrappers = []any{
+ (*TableCatalog_Columns_)(nil),
+ (*TableCatalog_ObjectSchema)(nil),
+ }
+ file_v1_database_catalog_service_proto_msgTypes[6].OneofWrappers = []any{
+ (*ObjectSchema_StructKind_)(nil),
+ (*ObjectSchema_ArrayKind_)(nil),
+ }
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_database_catalog_service_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 3,
+ NumEnums: 1,
+ NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_v1_database_catalog_service_proto_goTypes,
DependencyIndexes: file_v1_database_catalog_service_proto_depIdxs,
+ EnumInfos: file_v1_database_catalog_service_proto_enumTypes,
MessageInfos: file_v1_database_catalog_service_proto_msgTypes,
}.Build()
File_v1_database_catalog_service_proto = out.File
diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.go
index 02289ae81a..9e8cd1db87 100644
--- a/proto/generated-go/v1/database_service.pb.go
+++ b/proto/generated-go/v1/database_service.pb.go
@@ -665,64 +665,6 @@ func (Changelog_Status) EnumDescriptor() ([]byte, []int) {
return file_v1_database_service_proto_rawDescGZIP(), []int{79, 0}
}
-type ObjectSchema_Type int32
-
-const (
- ObjectSchema_TYPE_UNSPECIFIED ObjectSchema_Type = 0
- ObjectSchema_STRING ObjectSchema_Type = 1
- ObjectSchema_NUMBER ObjectSchema_Type = 2
- ObjectSchema_BOOLEAN ObjectSchema_Type = 3
- ObjectSchema_OBJECT ObjectSchema_Type = 4
- ObjectSchema_ARRAY ObjectSchema_Type = 5
-)
-
-// Enum value maps for ObjectSchema_Type.
-var (
- ObjectSchema_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "STRING",
- 2: "NUMBER",
- 3: "BOOLEAN",
- 4: "OBJECT",
- 5: "ARRAY",
- }
- ObjectSchema_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "STRING": 1,
- "NUMBER": 2,
- "BOOLEAN": 3,
- "OBJECT": 4,
- "ARRAY": 5,
- }
-)
-
-func (x ObjectSchema_Type) Enum() *ObjectSchema_Type {
- p := new(ObjectSchema_Type)
- *p = x
- return p
-}
-
-func (x ObjectSchema_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ObjectSchema_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_database_service_proto_enumTypes[12].Descriptor()
-}
-
-func (ObjectSchema_Type) Type() protoreflect.EnumType {
- return &file_v1_database_service_proto_enumTypes[12]
-}
-
-func (x ObjectSchema_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ObjectSchema_Type.Descriptor instead.
-func (ObjectSchema_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{80, 0}
-}
-
type GetDatabaseRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the database to retrieve.
@@ -7370,184 +7312,6 @@ func (x *Changelog) GetChangedResources() *ChangedResources {
return nil
}
-type ObjectSchema struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Type ObjectSchema_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.ObjectSchema_Type" json:"type,omitempty"`
- // Types that are valid to be assigned to Kind:
- //
- // *ObjectSchema_StructKind_
- // *ObjectSchema_ArrayKind_
- Kind isObjectSchema_Kind `protobuf_oneof:"kind"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
-}
-
-func (x *ObjectSchema) Reset() {
- *x = ObjectSchema{}
- mi := &file_v1_database_service_proto_msgTypes[80]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ObjectSchema) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ObjectSchema) ProtoMessage() {}
-
-func (x *ObjectSchema) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[80]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ObjectSchema.ProtoReflect.Descriptor instead.
-func (*ObjectSchema) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{80}
-}
-
-func (x *ObjectSchema) GetType() ObjectSchema_Type {
- if x != nil {
- return x.Type
- }
- return ObjectSchema_TYPE_UNSPECIFIED
-}
-
-func (x *ObjectSchema) GetKind() isObjectSchema_Kind {
- if x != nil {
- return x.Kind
- }
- return nil
-}
-
-func (x *ObjectSchema) GetStructKind() *ObjectSchema_StructKind {
- if x != nil {
- if x, ok := x.Kind.(*ObjectSchema_StructKind_); ok {
- return x.StructKind
- }
- }
- return nil
-}
-
-func (x *ObjectSchema) GetArrayKind() *ObjectSchema_ArrayKind {
- if x != nil {
- if x, ok := x.Kind.(*ObjectSchema_ArrayKind_); ok {
- return x.ArrayKind
- }
- }
- return nil
-}
-
-type isObjectSchema_Kind interface {
- isObjectSchema_Kind()
-}
-
-type ObjectSchema_StructKind_ struct {
- StructKind *ObjectSchema_StructKind `protobuf:"bytes,2,opt,name=struct_kind,json=structKind,proto3,oneof"`
-}
-
-type ObjectSchema_ArrayKind_ struct {
- ArrayKind *ObjectSchema_ArrayKind `protobuf:"bytes,3,opt,name=array_kind,json=arrayKind,proto3,oneof"`
-}
-
-func (*ObjectSchema_StructKind_) isObjectSchema_Kind() {}
-
-func (*ObjectSchema_ArrayKind_) isObjectSchema_Kind() {}
-
-type ObjectSchema_StructKind struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Properties map[string]*ObjectSchema `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
-}
-
-func (x *ObjectSchema_StructKind) Reset() {
- *x = ObjectSchema_StructKind{}
- mi := &file_v1_database_service_proto_msgTypes[83]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ObjectSchema_StructKind) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ObjectSchema_StructKind) ProtoMessage() {}
-
-func (x *ObjectSchema_StructKind) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[83]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ObjectSchema_StructKind.ProtoReflect.Descriptor instead.
-func (*ObjectSchema_StructKind) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{80, 0}
-}
-
-func (x *ObjectSchema_StructKind) GetProperties() map[string]*ObjectSchema {
- if x != nil {
- return x.Properties
- }
- return nil
-}
-
-type ObjectSchema_ArrayKind struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Kind *ObjectSchema `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
-}
-
-func (x *ObjectSchema_ArrayKind) Reset() {
- *x = ObjectSchema_ArrayKind{}
- mi := &file_v1_database_service_proto_msgTypes[84]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ObjectSchema_ArrayKind) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ObjectSchema_ArrayKind) ProtoMessage() {}
-
-func (x *ObjectSchema_ArrayKind) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[84]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ObjectSchema_ArrayKind.ProtoReflect.Descriptor instead.
-func (*ObjectSchema_ArrayKind) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{80, 1}
-}
-
-func (x *ObjectSchema_ArrayKind) GetKind() *ObjectSchema {
- if x != nil {
- return x.Kind
- }
- return nil
-}
-
var File_v1_database_service_proto protoreflect.FileDescriptor
var file_v1_database_service_proto_rawDesc = []byte{
@@ -8764,319 +8528,284 @@ var file_v1_database_service_proto_rawDesc = []byte{
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,
- 0x6f, 0x67, 0x7d, 0x22, 0xae, 0x04, 0x0a, 0x0c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63,
- 0x68, 0x65, 0x6d, 0x61, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75,
- 0x63, 0x74, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65,
- 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b,
- 0x69, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e,
- 0x64, 0x12, 0x44, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
- 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x09, 0x61, 0x72,
- 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x1a, 0xbc, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75,
- 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
- 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64,
- 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x58, 0x0a, 0x0f,
- 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 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, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x09, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b,
- 0x69, 0x6e, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6b, 0x69,
- 0x6e, 0x64, 0x22, 0x58, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
- 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
- 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c,
- 0x45, 0x41, 0x4e, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10,
- 0x04, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x05, 0x42, 0x06, 0x0a, 0x04,
- 0x6b, 0x69, 0x6e, 0x64, 0x2a, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x69, 0x65, 0x77, 0x12, 0x26, 0x0a,
- 0x22, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41,
- 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
- 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53,
- 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f,
- 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41, 0x54, 0x41, 0x42,
- 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45,
- 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x65, 0x77, 0x12, 0x23, 0x0a,
- 0x1f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f,
- 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
- 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53,
- 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10,
- 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54,
- 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a,
- 0x62, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69, 0x65, 0x77,
- 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49,
- 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
- 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49,
- 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48,
- 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c,
- 0x4c, 0x10, 0x02, 0x32, 0xd9, 0x1f, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22,
- 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
- 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x15, 0x4c,
- 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x73, 0x12, 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, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
+ 0x6f, 0x67, 0x7d, 0x2a, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x69, 0x65, 0x77, 0x12, 0x26, 0x0a, 0x22,
+ 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54,
+ 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45,
+ 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42,
+ 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,
+ 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57,
+ 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x65, 0x77, 0x12, 0x23, 0x0a, 0x1f,
+ 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56,
+ 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
+ 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54,
+ 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01,
+ 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f,
+ 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x62,
+ 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69, 0x65, 0x77, 0x12,
+ 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45,
+ 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
+ 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45,
+ 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 0x41,
+ 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c,
+ 0x10, 0x02, 0x32, 0xd9, 0x1f, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x49,
+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
+ 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x15, 0x4c, 0x69,
0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0xda, 0x41, 0x00,
- 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, 0x24, 0x12, 0x22,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x73, 0x12, 0xc4, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6c, 0xda, 0x41, 0x00,
- 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
- 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x5a,
- 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x77,
- 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xc0, 0x01, 0x0a, 0x0e, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x22, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x73, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
- 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
- 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x32,
- 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc5, 0x01, 0x0a,
- 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61,
- 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x8a, 0xea, 0x30, 0x13,
- 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x33, 0x3a, 0x01, 0x2a, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
- 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x8a, 0xea, 0x30, 0x11,
- 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e,
- 0x63, 0x90, 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, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,
- 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
- 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x51, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f,
+ 0x73, 0x65, 0x73, 0x12, 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, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a,
+ 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, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0xda, 0x41, 0x00, 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, 0x24, 0x12, 0x22, 0x2f,
+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,
+ 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x73, 0x12, 0xc4, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
+ 0x73, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6c, 0xda, 0x41, 0x00, 0x8a,
+ 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e,
+ 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x5a, 0x25,
+ 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x77, 0x6f,
+ 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
+ 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xc0, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x73, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a,
+ 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x32, 0x2b,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc5, 0x01, 0x0a, 0x14,
+ 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,
+ 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x8a, 0xea, 0x30, 0x13, 0x62,
+ 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33,
+ 0x3a, 0x01, 0x2a, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
+ 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x8a, 0xea, 0x30, 0x11, 0x62,
+ 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63,
+ 0x90, 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, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a,
- 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xdc, 0x01, 0x0a, 0x16, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x27,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x22, 0x77, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30,
- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52, 0x3a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x3d, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x51, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76,
+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
- 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x47, 0x65,
- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,
- 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x22, 0x4f, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90,
- 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
- 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,
- 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x7d, 0x12, 0xe6, 0x01, 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, 0x01, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x3a, 0x01, 0x2a, 0x5a, 0x44, 0x3a, 0x01, 0x2a, 0x22, 0x3f, 0x2f,
+ 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xdc, 0x01, 0x0a, 0x16, 0x55, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22,
+ 0x77, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52, 0x3a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
+ 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x6d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74,
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x22, 0x4f, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90, 0xea,
+ 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x7d, 0x12, 0xe6, 0x01, 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x96, 0x01, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x78, 0x3a, 0x01, 0x2a, 0x5a, 0x44, 0x3a, 0x01, 0x2a, 0x22, 0x3f, 0x2f, 0x76,
+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
+ 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f,
+ 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x2d, 0x2f,
0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a,
- 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,
- 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x2d,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
- 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,
- 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0xad, 0x01,
- 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 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,
- 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,
- 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xda, 0x41,
- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x73, 0x6c,
- 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea,
- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
- 0x7d, 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xae, 0x01,
- 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e,
+ 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0xad, 0x01, 0x0a,
+ 0x0f, 0x4c, 0x69, 0x73, 0x74, 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, 0x4c,
+ 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72,
+ 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xda, 0x41, 0x06,
+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x73, 0x6c, 0x6f,
+ 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30,
+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
+ 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
+ 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xae, 0x01, 0x0a,
+ 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,
+ 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
- 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62,
- 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
- 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e,
- 0x12, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e,
- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0xaf,
- 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12,
- 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x68, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x3d, 0x3a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x33, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,
- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
- 0x12, 0xa3, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65,
- 0x74, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x59, 0x8a, 0xea, 0x30,
- 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea,
- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb3, 0x01, 0x0a, 0x0b, 0x41, 0x64, 0x76, 0x69, 0x73,
- 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+ 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62, 0x62,
+ 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73,
+ 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12,
+ 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73,
+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0xaf, 0x01,
+ 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x20,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
+ 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x68, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x3d, 0x3a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x33, 0x2f, 0x76, 0x31, 0x2f,
+ 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,
+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
+ 0xa3, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
+ 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x59, 0x8a, 0xea, 0x30, 0x19,
+ 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65,
+ 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30,
+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65,
+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb3, 0x01, 0x0a, 0x0b, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65,
+ 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65,
- 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0xda, 0x41, 0x06, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,
- 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d,
- 0x3a, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0xce, 0x01, 0x0a,
- 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f,
- 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,
- 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48,
- 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30,
- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
+ 0x73, 0x65, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x90,
+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
+ 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0xce, 0x01, 0x0a, 0x13,
+ 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
+ 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74,
+ 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69,
+ 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0xb7, 0x01, 0x0a,
+ 0x10, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
+ 0x79, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74,
+ 0x6f, 0x72, 0x79, 0x22, 0x61, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x16,
+ 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69,
+ 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36,
+ 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,
+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
+ 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x52,
+ 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73,
+ 0x69, 0x6f, 0x6e, 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, 0x52, 0x65,
+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+ 0x3f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30,
+ 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e,
+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73,
+ 0x12, 0x84, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
+ 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
+ 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
+ 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73,
+ 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
+ 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76,
+ 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x08, 0x72,
+ 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,
- 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0xb7, 0x01,
- 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f,
- 0x72, 0x79, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
- 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,
- 0x74, 0x6f, 0x72, 0x79, 0x22, 0x61, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,
- 0x16, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
- 0x69, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x36, 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,
- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f,
- 0x72, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74,
- 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69,
- 0x73, 0x69, 0x6f, 0x6e, 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, 0x52,
- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x3f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69,
- 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x12, 0x84, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
- 0x6e, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
- 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
- 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x08,
- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,
- 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72,
- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
- 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9b, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x40, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
+ 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65,
+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65,
+ 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
+ 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
+ 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x22,
- 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
- 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,
- 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42,
- 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f,
- 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
+ 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9b, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x22, 0x40, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
+ 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,
+ 0x6f, 0x67, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x22, 0x3e,
+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f,
+ 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
+ 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a,
+ 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11,
+ 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76,
+ 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -9091,8 +8820,8 @@ func file_v1_database_service_proto_rawDescGZIP() []byte {
return file_v1_database_service_proto_rawDescData
}
-var file_v1_database_service_proto_enumTypes = make([]protoimpl.EnumInfo, 13)
-var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 86)
+var file_v1_database_service_proto_enumTypes = make([]protoimpl.EnumInfo, 12)
+var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 82)
var file_v1_database_service_proto_goTypes = []any{
(DatabaseMetadataView)(0), // 0: bytebase.v1.DatabaseMetadataView
(ChangeHistoryView)(0), // 1: bytebase.v1.ChangeHistoryView
@@ -9106,263 +8835,252 @@ var file_v1_database_service_proto_goTypes = []any{
(ChangeHistory_Type)(0), // 9: bytebase.v1.ChangeHistory.Type
(ChangeHistory_Status)(0), // 10: bytebase.v1.ChangeHistory.Status
(Changelog_Status)(0), // 11: bytebase.v1.Changelog.Status
- (ObjectSchema_Type)(0), // 12: bytebase.v1.ObjectSchema.Type
- (*GetDatabaseRequest)(nil), // 13: bytebase.v1.GetDatabaseRequest
- (*ListInstanceDatabasesRequest)(nil), // 14: bytebase.v1.ListInstanceDatabasesRequest
- (*ListInstanceDatabasesResponse)(nil), // 15: bytebase.v1.ListInstanceDatabasesResponse
- (*ListDatabasesRequest)(nil), // 16: bytebase.v1.ListDatabasesRequest
- (*ListDatabasesResponse)(nil), // 17: bytebase.v1.ListDatabasesResponse
- (*UpdateDatabaseRequest)(nil), // 18: bytebase.v1.UpdateDatabaseRequest
- (*BatchUpdateDatabasesRequest)(nil), // 19: bytebase.v1.BatchUpdateDatabasesRequest
- (*BatchUpdateDatabasesResponse)(nil), // 20: bytebase.v1.BatchUpdateDatabasesResponse
- (*SyncDatabaseRequest)(nil), // 21: bytebase.v1.SyncDatabaseRequest
- (*SyncDatabaseResponse)(nil), // 22: bytebase.v1.SyncDatabaseResponse
- (*GetDatabaseMetadataRequest)(nil), // 23: bytebase.v1.GetDatabaseMetadataRequest
- (*UpdateDatabaseMetadataRequest)(nil), // 24: bytebase.v1.UpdateDatabaseMetadataRequest
- (*GetDatabaseSchemaRequest)(nil), // 25: bytebase.v1.GetDatabaseSchemaRequest
- (*DiffSchemaRequest)(nil), // 26: bytebase.v1.DiffSchemaRequest
- (*DiffSchemaResponse)(nil), // 27: bytebase.v1.DiffSchemaResponse
- (*Database)(nil), // 28: bytebase.v1.Database
- (*DatabaseMetadata)(nil), // 29: bytebase.v1.DatabaseMetadata
- (*SchemaMetadata)(nil), // 30: bytebase.v1.SchemaMetadata
- (*EnumTypeMetadata)(nil), // 31: bytebase.v1.EnumTypeMetadata
- (*EventMetadata)(nil), // 32: bytebase.v1.EventMetadata
- (*SequenceMetadata)(nil), // 33: bytebase.v1.SequenceMetadata
- (*TriggerMetadata)(nil), // 34: bytebase.v1.TriggerMetadata
- (*ExternalTableMetadata)(nil), // 35: bytebase.v1.ExternalTableMetadata
- (*TableMetadata)(nil), // 36: bytebase.v1.TableMetadata
- (*CheckConstraintMetadata)(nil), // 37: bytebase.v1.CheckConstraintMetadata
- (*TablePartitionMetadata)(nil), // 38: bytebase.v1.TablePartitionMetadata
- (*ColumnMetadata)(nil), // 39: bytebase.v1.ColumnMetadata
- (*GenerationMetadata)(nil), // 40: bytebase.v1.GenerationMetadata
- (*ViewMetadata)(nil), // 41: bytebase.v1.ViewMetadata
- (*DependentColumn)(nil), // 42: bytebase.v1.DependentColumn
- (*MaterializedViewMetadata)(nil), // 43: bytebase.v1.MaterializedViewMetadata
- (*FunctionMetadata)(nil), // 44: bytebase.v1.FunctionMetadata
- (*ProcedureMetadata)(nil), // 45: bytebase.v1.ProcedureMetadata
- (*PackageMetadata)(nil), // 46: bytebase.v1.PackageMetadata
- (*TaskMetadata)(nil), // 47: bytebase.v1.TaskMetadata
- (*StreamMetadata)(nil), // 48: bytebase.v1.StreamMetadata
- (*IndexMetadata)(nil), // 49: bytebase.v1.IndexMetadata
- (*ExtensionMetadata)(nil), // 50: bytebase.v1.ExtensionMetadata
- (*ForeignKeyMetadata)(nil), // 51: bytebase.v1.ForeignKeyMetadata
- (*DatabaseConfig)(nil), // 52: bytebase.v1.DatabaseConfig
- (*SchemaConfig)(nil), // 53: bytebase.v1.SchemaConfig
- (*TableConfig)(nil), // 54: bytebase.v1.TableConfig
- (*FunctionConfig)(nil), // 55: bytebase.v1.FunctionConfig
- (*ProcedureConfig)(nil), // 56: bytebase.v1.ProcedureConfig
- (*ViewConfig)(nil), // 57: bytebase.v1.ViewConfig
- (*ColumnConfig)(nil), // 58: bytebase.v1.ColumnConfig
- (*DatabaseSchema)(nil), // 59: bytebase.v1.DatabaseSchema
- (*ListSlowQueriesRequest)(nil), // 60: bytebase.v1.ListSlowQueriesRequest
- (*ListSlowQueriesResponse)(nil), // 61: bytebase.v1.ListSlowQueriesResponse
- (*SlowQueryLog)(nil), // 62: bytebase.v1.SlowQueryLog
- (*SlowQueryStatistics)(nil), // 63: bytebase.v1.SlowQueryStatistics
- (*SlowQueryDetails)(nil), // 64: bytebase.v1.SlowQueryDetails
- (*ListSecretsRequest)(nil), // 65: bytebase.v1.ListSecretsRequest
- (*ListSecretsResponse)(nil), // 66: bytebase.v1.ListSecretsResponse
- (*UpdateSecretRequest)(nil), // 67: bytebase.v1.UpdateSecretRequest
- (*DeleteSecretRequest)(nil), // 68: bytebase.v1.DeleteSecretRequest
- (*Secret)(nil), // 69: bytebase.v1.Secret
- (*AdviseIndexRequest)(nil), // 70: bytebase.v1.AdviseIndexRequest
- (*AdviseIndexResponse)(nil), // 71: bytebase.v1.AdviseIndexResponse
- (*ChangeHistory)(nil), // 72: bytebase.v1.ChangeHistory
- (*ChangedResources)(nil), // 73: bytebase.v1.ChangedResources
- (*ChangedResourceDatabase)(nil), // 74: bytebase.v1.ChangedResourceDatabase
- (*ChangedResourceSchema)(nil), // 75: bytebase.v1.ChangedResourceSchema
- (*ChangedResourceTable)(nil), // 76: bytebase.v1.ChangedResourceTable
- (*ChangedResourceView)(nil), // 77: bytebase.v1.ChangedResourceView
- (*ChangedResourceFunction)(nil), // 78: bytebase.v1.ChangedResourceFunction
- (*ChangedResourceProcedure)(nil), // 79: bytebase.v1.ChangedResourceProcedure
- (*ListChangeHistoriesRequest)(nil), // 80: bytebase.v1.ListChangeHistoriesRequest
- (*ListChangeHistoriesResponse)(nil), // 81: bytebase.v1.ListChangeHistoriesResponse
- (*GetChangeHistoryRequest)(nil), // 82: bytebase.v1.GetChangeHistoryRequest
- (*ListRevisionsRequest)(nil), // 83: bytebase.v1.ListRevisionsRequest
- (*ListRevisionsResponse)(nil), // 84: bytebase.v1.ListRevisionsResponse
- (*CreateRevisionRequest)(nil), // 85: bytebase.v1.CreateRevisionRequest
- (*GetRevisionRequest)(nil), // 86: bytebase.v1.GetRevisionRequest
- (*DeleteRevisionRequest)(nil), // 87: bytebase.v1.DeleteRevisionRequest
- (*Revision)(nil), // 88: bytebase.v1.Revision
- (*ListChangelogsRequest)(nil), // 89: bytebase.v1.ListChangelogsRequest
- (*ListChangelogsResponse)(nil), // 90: bytebase.v1.ListChangelogsResponse
- (*GetChangelogRequest)(nil), // 91: bytebase.v1.GetChangelogRequest
- (*Changelog)(nil), // 92: bytebase.v1.Changelog
- (*ObjectSchema)(nil), // 93: bytebase.v1.ObjectSchema
- nil, // 94: bytebase.v1.Database.LabelsEntry
- nil, // 95: bytebase.v1.ColumnConfig.LabelsEntry
- (*ObjectSchema_StructKind)(nil), // 96: bytebase.v1.ObjectSchema.StructKind
- (*ObjectSchema_ArrayKind)(nil), // 97: bytebase.v1.ObjectSchema.ArrayKind
- nil, // 98: bytebase.v1.ObjectSchema.StructKind.PropertiesEntry
- (*fieldmaskpb.FieldMask)(nil), // 99: google.protobuf.FieldMask
- (State)(0), // 100: bytebase.v1.State
- (*timestamppb.Timestamp)(nil), // 101: google.protobuf.Timestamp
- (*InstanceResource)(nil), // 102: bytebase.v1.InstanceResource
- (MaskingLevel)(0), // 103: bytebase.v1.MaskingLevel
- (*durationpb.Duration)(nil), // 104: google.protobuf.Duration
- (*Range)(nil), // 105: bytebase.v1.Range
- (*emptypb.Empty)(nil), // 106: google.protobuf.Empty
+ (*GetDatabaseRequest)(nil), // 12: bytebase.v1.GetDatabaseRequest
+ (*ListInstanceDatabasesRequest)(nil), // 13: bytebase.v1.ListInstanceDatabasesRequest
+ (*ListInstanceDatabasesResponse)(nil), // 14: bytebase.v1.ListInstanceDatabasesResponse
+ (*ListDatabasesRequest)(nil), // 15: bytebase.v1.ListDatabasesRequest
+ (*ListDatabasesResponse)(nil), // 16: bytebase.v1.ListDatabasesResponse
+ (*UpdateDatabaseRequest)(nil), // 17: bytebase.v1.UpdateDatabaseRequest
+ (*BatchUpdateDatabasesRequest)(nil), // 18: bytebase.v1.BatchUpdateDatabasesRequest
+ (*BatchUpdateDatabasesResponse)(nil), // 19: bytebase.v1.BatchUpdateDatabasesResponse
+ (*SyncDatabaseRequest)(nil), // 20: bytebase.v1.SyncDatabaseRequest
+ (*SyncDatabaseResponse)(nil), // 21: bytebase.v1.SyncDatabaseResponse
+ (*GetDatabaseMetadataRequest)(nil), // 22: bytebase.v1.GetDatabaseMetadataRequest
+ (*UpdateDatabaseMetadataRequest)(nil), // 23: bytebase.v1.UpdateDatabaseMetadataRequest
+ (*GetDatabaseSchemaRequest)(nil), // 24: bytebase.v1.GetDatabaseSchemaRequest
+ (*DiffSchemaRequest)(nil), // 25: bytebase.v1.DiffSchemaRequest
+ (*DiffSchemaResponse)(nil), // 26: bytebase.v1.DiffSchemaResponse
+ (*Database)(nil), // 27: bytebase.v1.Database
+ (*DatabaseMetadata)(nil), // 28: bytebase.v1.DatabaseMetadata
+ (*SchemaMetadata)(nil), // 29: bytebase.v1.SchemaMetadata
+ (*EnumTypeMetadata)(nil), // 30: bytebase.v1.EnumTypeMetadata
+ (*EventMetadata)(nil), // 31: bytebase.v1.EventMetadata
+ (*SequenceMetadata)(nil), // 32: bytebase.v1.SequenceMetadata
+ (*TriggerMetadata)(nil), // 33: bytebase.v1.TriggerMetadata
+ (*ExternalTableMetadata)(nil), // 34: bytebase.v1.ExternalTableMetadata
+ (*TableMetadata)(nil), // 35: bytebase.v1.TableMetadata
+ (*CheckConstraintMetadata)(nil), // 36: bytebase.v1.CheckConstraintMetadata
+ (*TablePartitionMetadata)(nil), // 37: bytebase.v1.TablePartitionMetadata
+ (*ColumnMetadata)(nil), // 38: bytebase.v1.ColumnMetadata
+ (*GenerationMetadata)(nil), // 39: bytebase.v1.GenerationMetadata
+ (*ViewMetadata)(nil), // 40: bytebase.v1.ViewMetadata
+ (*DependentColumn)(nil), // 41: bytebase.v1.DependentColumn
+ (*MaterializedViewMetadata)(nil), // 42: bytebase.v1.MaterializedViewMetadata
+ (*FunctionMetadata)(nil), // 43: bytebase.v1.FunctionMetadata
+ (*ProcedureMetadata)(nil), // 44: bytebase.v1.ProcedureMetadata
+ (*PackageMetadata)(nil), // 45: bytebase.v1.PackageMetadata
+ (*TaskMetadata)(nil), // 46: bytebase.v1.TaskMetadata
+ (*StreamMetadata)(nil), // 47: bytebase.v1.StreamMetadata
+ (*IndexMetadata)(nil), // 48: bytebase.v1.IndexMetadata
+ (*ExtensionMetadata)(nil), // 49: bytebase.v1.ExtensionMetadata
+ (*ForeignKeyMetadata)(nil), // 50: bytebase.v1.ForeignKeyMetadata
+ (*DatabaseConfig)(nil), // 51: bytebase.v1.DatabaseConfig
+ (*SchemaConfig)(nil), // 52: bytebase.v1.SchemaConfig
+ (*TableConfig)(nil), // 53: bytebase.v1.TableConfig
+ (*FunctionConfig)(nil), // 54: bytebase.v1.FunctionConfig
+ (*ProcedureConfig)(nil), // 55: bytebase.v1.ProcedureConfig
+ (*ViewConfig)(nil), // 56: bytebase.v1.ViewConfig
+ (*ColumnConfig)(nil), // 57: bytebase.v1.ColumnConfig
+ (*DatabaseSchema)(nil), // 58: bytebase.v1.DatabaseSchema
+ (*ListSlowQueriesRequest)(nil), // 59: bytebase.v1.ListSlowQueriesRequest
+ (*ListSlowQueriesResponse)(nil), // 60: bytebase.v1.ListSlowQueriesResponse
+ (*SlowQueryLog)(nil), // 61: bytebase.v1.SlowQueryLog
+ (*SlowQueryStatistics)(nil), // 62: bytebase.v1.SlowQueryStatistics
+ (*SlowQueryDetails)(nil), // 63: bytebase.v1.SlowQueryDetails
+ (*ListSecretsRequest)(nil), // 64: bytebase.v1.ListSecretsRequest
+ (*ListSecretsResponse)(nil), // 65: bytebase.v1.ListSecretsResponse
+ (*UpdateSecretRequest)(nil), // 66: bytebase.v1.UpdateSecretRequest
+ (*DeleteSecretRequest)(nil), // 67: bytebase.v1.DeleteSecretRequest
+ (*Secret)(nil), // 68: bytebase.v1.Secret
+ (*AdviseIndexRequest)(nil), // 69: bytebase.v1.AdviseIndexRequest
+ (*AdviseIndexResponse)(nil), // 70: bytebase.v1.AdviseIndexResponse
+ (*ChangeHistory)(nil), // 71: bytebase.v1.ChangeHistory
+ (*ChangedResources)(nil), // 72: bytebase.v1.ChangedResources
+ (*ChangedResourceDatabase)(nil), // 73: bytebase.v1.ChangedResourceDatabase
+ (*ChangedResourceSchema)(nil), // 74: bytebase.v1.ChangedResourceSchema
+ (*ChangedResourceTable)(nil), // 75: bytebase.v1.ChangedResourceTable
+ (*ChangedResourceView)(nil), // 76: bytebase.v1.ChangedResourceView
+ (*ChangedResourceFunction)(nil), // 77: bytebase.v1.ChangedResourceFunction
+ (*ChangedResourceProcedure)(nil), // 78: bytebase.v1.ChangedResourceProcedure
+ (*ListChangeHistoriesRequest)(nil), // 79: bytebase.v1.ListChangeHistoriesRequest
+ (*ListChangeHistoriesResponse)(nil), // 80: bytebase.v1.ListChangeHistoriesResponse
+ (*GetChangeHistoryRequest)(nil), // 81: bytebase.v1.GetChangeHistoryRequest
+ (*ListRevisionsRequest)(nil), // 82: bytebase.v1.ListRevisionsRequest
+ (*ListRevisionsResponse)(nil), // 83: bytebase.v1.ListRevisionsResponse
+ (*CreateRevisionRequest)(nil), // 84: bytebase.v1.CreateRevisionRequest
+ (*GetRevisionRequest)(nil), // 85: bytebase.v1.GetRevisionRequest
+ (*DeleteRevisionRequest)(nil), // 86: bytebase.v1.DeleteRevisionRequest
+ (*Revision)(nil), // 87: bytebase.v1.Revision
+ (*ListChangelogsRequest)(nil), // 88: bytebase.v1.ListChangelogsRequest
+ (*ListChangelogsResponse)(nil), // 89: bytebase.v1.ListChangelogsResponse
+ (*GetChangelogRequest)(nil), // 90: bytebase.v1.GetChangelogRequest
+ (*Changelog)(nil), // 91: bytebase.v1.Changelog
+ nil, // 92: bytebase.v1.Database.LabelsEntry
+ nil, // 93: bytebase.v1.ColumnConfig.LabelsEntry
+ (*fieldmaskpb.FieldMask)(nil), // 94: google.protobuf.FieldMask
+ (State)(0), // 95: bytebase.v1.State
+ (*timestamppb.Timestamp)(nil), // 96: google.protobuf.Timestamp
+ (*InstanceResource)(nil), // 97: bytebase.v1.InstanceResource
+ (MaskingLevel)(0), // 98: bytebase.v1.MaskingLevel
+ (*durationpb.Duration)(nil), // 99: google.protobuf.Duration
+ (*Range)(nil), // 100: bytebase.v1.Range
+ (*emptypb.Empty)(nil), // 101: google.protobuf.Empty
}
var file_v1_database_service_proto_depIdxs = []int32{
- 28, // 0: bytebase.v1.ListInstanceDatabasesResponse.databases:type_name -> bytebase.v1.Database
- 28, // 1: bytebase.v1.ListDatabasesResponse.databases:type_name -> bytebase.v1.Database
- 28, // 2: bytebase.v1.UpdateDatabaseRequest.database:type_name -> bytebase.v1.Database
- 99, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
- 18, // 4: bytebase.v1.BatchUpdateDatabasesRequest.requests:type_name -> bytebase.v1.UpdateDatabaseRequest
- 28, // 5: bytebase.v1.BatchUpdateDatabasesResponse.databases:type_name -> bytebase.v1.Database
+ 27, // 0: bytebase.v1.ListInstanceDatabasesResponse.databases:type_name -> bytebase.v1.Database
+ 27, // 1: bytebase.v1.ListDatabasesResponse.databases:type_name -> bytebase.v1.Database
+ 27, // 2: bytebase.v1.UpdateDatabaseRequest.database:type_name -> bytebase.v1.Database
+ 94, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 17, // 4: bytebase.v1.BatchUpdateDatabasesRequest.requests:type_name -> bytebase.v1.UpdateDatabaseRequest
+ 27, // 5: bytebase.v1.BatchUpdateDatabasesResponse.databases:type_name -> bytebase.v1.Database
0, // 6: bytebase.v1.GetDatabaseMetadataRequest.view:type_name -> bytebase.v1.DatabaseMetadataView
- 29, // 7: bytebase.v1.UpdateDatabaseMetadataRequest.database_metadata:type_name -> bytebase.v1.DatabaseMetadata
- 99, // 8: bytebase.v1.UpdateDatabaseMetadataRequest.update_mask:type_name -> google.protobuf.FieldMask
- 100, // 9: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State
- 101, // 10: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp
- 94, // 11: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry
- 102, // 12: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource
- 30, // 13: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata
- 50, // 14: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata
- 53, // 15: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig
- 36, // 16: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata
- 35, // 17: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata
- 41, // 18: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata
- 44, // 19: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata
- 45, // 20: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata
- 48, // 21: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata
- 47, // 22: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata
- 43, // 23: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata
- 46, // 24: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata
- 34, // 25: bytebase.v1.SchemaMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
- 33, // 26: bytebase.v1.SchemaMetadata.sequences:type_name -> bytebase.v1.SequenceMetadata
- 32, // 27: bytebase.v1.SchemaMetadata.events:type_name -> bytebase.v1.EventMetadata
- 31, // 28: bytebase.v1.SchemaMetadata.enum_types:type_name -> bytebase.v1.EnumTypeMetadata
- 39, // 29: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
- 39, // 30: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
- 49, // 31: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
- 51, // 32: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata
- 38, // 33: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata
- 37, // 34: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata
+ 28, // 7: bytebase.v1.UpdateDatabaseMetadataRequest.database_metadata:type_name -> bytebase.v1.DatabaseMetadata
+ 94, // 8: bytebase.v1.UpdateDatabaseMetadataRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 95, // 9: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State
+ 96, // 10: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp
+ 92, // 11: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry
+ 97, // 12: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource
+ 29, // 13: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata
+ 49, // 14: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata
+ 52, // 15: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig
+ 35, // 16: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata
+ 34, // 17: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata
+ 40, // 18: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata
+ 43, // 19: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata
+ 44, // 20: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata
+ 47, // 21: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata
+ 46, // 22: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata
+ 42, // 23: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata
+ 45, // 24: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata
+ 33, // 25: bytebase.v1.SchemaMetadata.triggers:type_name -> bytebase.v1.TriggerMetadata
+ 32, // 26: bytebase.v1.SchemaMetadata.sequences:type_name -> bytebase.v1.SequenceMetadata
+ 31, // 27: bytebase.v1.SchemaMetadata.events:type_name -> bytebase.v1.EventMetadata
+ 30, // 28: bytebase.v1.SchemaMetadata.enum_types:type_name -> bytebase.v1.EnumTypeMetadata
+ 38, // 29: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
+ 38, // 30: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
+ 48, // 31: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
+ 50, // 32: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata
+ 37, // 33: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata
+ 36, // 34: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata
3, // 35: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type
- 38, // 36: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata
- 49, // 37: bytebase.v1.TablePartitionMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
- 103, // 38: bytebase.v1.ColumnMetadata.effective_masking_level:type_name -> bytebase.v1.MaskingLevel
- 40, // 39: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata
+ 37, // 36: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata
+ 48, // 37: bytebase.v1.TablePartitionMetadata.indexes:type_name -> bytebase.v1.IndexMetadata
+ 98, // 38: bytebase.v1.ColumnMetadata.effective_masking_level:type_name -> bytebase.v1.MaskingLevel
+ 39, // 39: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata
4, // 40: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type
- 42, // 41: bytebase.v1.ViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn
- 39, // 42: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
- 42, // 43: bytebase.v1.MaterializedViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn
+ 41, // 41: bytebase.v1.ViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn
+ 38, // 42: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata
+ 41, // 43: bytebase.v1.MaterializedViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn
5, // 44: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State
6, // 45: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type
7, // 46: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode
- 53, // 47: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig
- 54, // 48: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig
- 55, // 49: bytebase.v1.SchemaConfig.function_configs:type_name -> bytebase.v1.FunctionConfig
- 56, // 50: bytebase.v1.SchemaConfig.procedure_configs:type_name -> bytebase.v1.ProcedureConfig
- 57, // 51: bytebase.v1.SchemaConfig.view_configs:type_name -> bytebase.v1.ViewConfig
- 58, // 52: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig
- 101, // 53: bytebase.v1.TableConfig.update_time:type_name -> google.protobuf.Timestamp
- 101, // 54: bytebase.v1.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp
- 101, // 55: bytebase.v1.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp
- 101, // 56: bytebase.v1.ViewConfig.update_time:type_name -> google.protobuf.Timestamp
- 95, // 57: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry
- 103, // 58: bytebase.v1.ColumnConfig.masking_level:type_name -> bytebase.v1.MaskingLevel
- 62, // 59: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog
- 63, // 60: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics
- 101, // 61: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp
- 104, // 62: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration
- 104, // 63: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration
- 64, // 64: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails
- 101, // 65: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp
- 104, // 66: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration
- 104, // 67: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration
- 69, // 68: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret
- 69, // 69: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret
- 99, // 70: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask
- 101, // 71: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp
- 101, // 72: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp
- 101, // 73: bytebase.v1.ChangeHistory.create_time:type_name -> google.protobuf.Timestamp
- 101, // 74: bytebase.v1.ChangeHistory.update_time:type_name -> google.protobuf.Timestamp
+ 52, // 47: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig
+ 53, // 48: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig
+ 54, // 49: bytebase.v1.SchemaConfig.function_configs:type_name -> bytebase.v1.FunctionConfig
+ 55, // 50: bytebase.v1.SchemaConfig.procedure_configs:type_name -> bytebase.v1.ProcedureConfig
+ 56, // 51: bytebase.v1.SchemaConfig.view_configs:type_name -> bytebase.v1.ViewConfig
+ 57, // 52: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig
+ 96, // 53: bytebase.v1.TableConfig.update_time:type_name -> google.protobuf.Timestamp
+ 96, // 54: bytebase.v1.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp
+ 96, // 55: bytebase.v1.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp
+ 96, // 56: bytebase.v1.ViewConfig.update_time:type_name -> google.protobuf.Timestamp
+ 93, // 57: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry
+ 98, // 58: bytebase.v1.ColumnConfig.masking_level:type_name -> bytebase.v1.MaskingLevel
+ 61, // 59: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog
+ 62, // 60: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics
+ 96, // 61: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp
+ 99, // 62: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration
+ 99, // 63: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration
+ 63, // 64: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails
+ 96, // 65: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp
+ 99, // 66: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration
+ 99, // 67: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration
+ 68, // 68: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret
+ 68, // 69: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret
+ 94, // 70: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 96, // 71: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp
+ 96, // 72: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp
+ 96, // 73: bytebase.v1.ChangeHistory.create_time:type_name -> google.protobuf.Timestamp
+ 96, // 74: bytebase.v1.ChangeHistory.update_time:type_name -> google.protobuf.Timestamp
8, // 75: bytebase.v1.ChangeHistory.source:type_name -> bytebase.v1.ChangeHistory.Source
9, // 76: bytebase.v1.ChangeHistory.type:type_name -> bytebase.v1.ChangeHistory.Type
10, // 77: bytebase.v1.ChangeHistory.status:type_name -> bytebase.v1.ChangeHistory.Status
- 104, // 78: bytebase.v1.ChangeHistory.execution_duration:type_name -> google.protobuf.Duration
- 73, // 79: bytebase.v1.ChangeHistory.changed_resources:type_name -> bytebase.v1.ChangedResources
- 74, // 80: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase
- 75, // 81: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema
- 76, // 82: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable
- 77, // 83: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView
- 78, // 84: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction
- 79, // 85: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure
- 105, // 86: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range
- 105, // 87: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range
- 105, // 88: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range
- 105, // 89: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range
+ 99, // 78: bytebase.v1.ChangeHistory.execution_duration:type_name -> google.protobuf.Duration
+ 72, // 79: bytebase.v1.ChangeHistory.changed_resources:type_name -> bytebase.v1.ChangedResources
+ 73, // 80: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase
+ 74, // 81: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema
+ 75, // 82: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable
+ 76, // 83: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView
+ 77, // 84: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction
+ 78, // 85: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure
+ 100, // 86: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range
+ 100, // 87: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range
+ 100, // 88: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range
+ 100, // 89: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range
1, // 90: bytebase.v1.ListChangeHistoriesRequest.view:type_name -> bytebase.v1.ChangeHistoryView
- 72, // 91: bytebase.v1.ListChangeHistoriesResponse.change_histories:type_name -> bytebase.v1.ChangeHistory
+ 71, // 91: bytebase.v1.ListChangeHistoriesResponse.change_histories:type_name -> bytebase.v1.ChangeHistory
1, // 92: bytebase.v1.GetChangeHistoryRequest.view:type_name -> bytebase.v1.ChangeHistoryView
- 88, // 93: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision
- 88, // 94: bytebase.v1.CreateRevisionRequest.revision:type_name -> bytebase.v1.Revision
- 101, // 95: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp
- 101, // 96: bytebase.v1.Revision.delete_time:type_name -> google.protobuf.Timestamp
+ 87, // 93: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision
+ 87, // 94: bytebase.v1.CreateRevisionRequest.revision:type_name -> bytebase.v1.Revision
+ 96, // 95: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp
+ 96, // 96: bytebase.v1.Revision.delete_time:type_name -> google.protobuf.Timestamp
2, // 97: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView
- 92, // 98: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog
+ 91, // 98: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog
2, // 99: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangelogView
- 101, // 100: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp
+ 96, // 100: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp
11, // 101: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status
- 73, // 102: bytebase.v1.Changelog.changed_resources:type_name -> bytebase.v1.ChangedResources
- 12, // 103: bytebase.v1.ObjectSchema.type:type_name -> bytebase.v1.ObjectSchema.Type
- 96, // 104: bytebase.v1.ObjectSchema.struct_kind:type_name -> bytebase.v1.ObjectSchema.StructKind
- 97, // 105: bytebase.v1.ObjectSchema.array_kind:type_name -> bytebase.v1.ObjectSchema.ArrayKind
- 98, // 106: bytebase.v1.ObjectSchema.StructKind.properties:type_name -> bytebase.v1.ObjectSchema.StructKind.PropertiesEntry
- 93, // 107: bytebase.v1.ObjectSchema.ArrayKind.kind:type_name -> bytebase.v1.ObjectSchema
- 93, // 108: bytebase.v1.ObjectSchema.StructKind.PropertiesEntry.value:type_name -> bytebase.v1.ObjectSchema
- 13, // 109: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest
- 14, // 110: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest
- 16, // 111: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest
- 18, // 112: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest
- 19, // 113: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest
- 21, // 114: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest
- 23, // 115: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest
- 24, // 116: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:input_type -> bytebase.v1.UpdateDatabaseMetadataRequest
- 25, // 117: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest
- 26, // 118: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest
- 60, // 119: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest
- 65, // 120: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest
- 67, // 121: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest
- 68, // 122: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest
- 70, // 123: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest
- 80, // 124: bytebase.v1.DatabaseService.ListChangeHistories:input_type -> bytebase.v1.ListChangeHistoriesRequest
- 82, // 125: bytebase.v1.DatabaseService.GetChangeHistory:input_type -> bytebase.v1.GetChangeHistoryRequest
- 83, // 126: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest
- 86, // 127: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest
- 85, // 128: bytebase.v1.DatabaseService.CreateRevision:input_type -> bytebase.v1.CreateRevisionRequest
- 87, // 129: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest
- 89, // 130: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest
- 91, // 131: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest
- 28, // 132: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database
- 15, // 133: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse
- 17, // 134: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse
- 28, // 135: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database
- 20, // 136: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse
- 22, // 137: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse
- 29, // 138: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
- 29, // 139: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
- 59, // 140: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema
- 27, // 141: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse
- 61, // 142: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse
- 66, // 143: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse
- 69, // 144: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret
- 106, // 145: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty
- 71, // 146: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse
- 81, // 147: bytebase.v1.DatabaseService.ListChangeHistories:output_type -> bytebase.v1.ListChangeHistoriesResponse
- 72, // 148: bytebase.v1.DatabaseService.GetChangeHistory:output_type -> bytebase.v1.ChangeHistory
- 84, // 149: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse
- 88, // 150: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision
- 88, // 151: bytebase.v1.DatabaseService.CreateRevision:output_type -> bytebase.v1.Revision
- 106, // 152: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty
- 90, // 153: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse
- 92, // 154: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog
- 132, // [132:155] is the sub-list for method output_type
- 109, // [109:132] is the sub-list for method input_type
- 109, // [109:109] is the sub-list for extension type_name
- 109, // [109:109] is the sub-list for extension extendee
- 0, // [0:109] is the sub-list for field type_name
+ 72, // 102: bytebase.v1.Changelog.changed_resources:type_name -> bytebase.v1.ChangedResources
+ 12, // 103: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest
+ 13, // 104: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest
+ 15, // 105: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest
+ 17, // 106: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest
+ 18, // 107: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest
+ 20, // 108: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest
+ 22, // 109: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest
+ 23, // 110: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:input_type -> bytebase.v1.UpdateDatabaseMetadataRequest
+ 24, // 111: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest
+ 25, // 112: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest
+ 59, // 113: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest
+ 64, // 114: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest
+ 66, // 115: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest
+ 67, // 116: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest
+ 69, // 117: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest
+ 79, // 118: bytebase.v1.DatabaseService.ListChangeHistories:input_type -> bytebase.v1.ListChangeHistoriesRequest
+ 81, // 119: bytebase.v1.DatabaseService.GetChangeHistory:input_type -> bytebase.v1.GetChangeHistoryRequest
+ 82, // 120: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest
+ 85, // 121: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest
+ 84, // 122: bytebase.v1.DatabaseService.CreateRevision:input_type -> bytebase.v1.CreateRevisionRequest
+ 86, // 123: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest
+ 88, // 124: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest
+ 90, // 125: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest
+ 27, // 126: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database
+ 14, // 127: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse
+ 16, // 128: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse
+ 27, // 129: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database
+ 19, // 130: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse
+ 21, // 131: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse
+ 28, // 132: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
+ 28, // 133: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
+ 58, // 134: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema
+ 26, // 135: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse
+ 60, // 136: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse
+ 65, // 137: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse
+ 68, // 138: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret
+ 101, // 139: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty
+ 70, // 140: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse
+ 80, // 141: bytebase.v1.DatabaseService.ListChangeHistories:output_type -> bytebase.v1.ListChangeHistoriesResponse
+ 71, // 142: bytebase.v1.DatabaseService.GetChangeHistory:output_type -> bytebase.v1.ChangeHistory
+ 83, // 143: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse
+ 87, // 144: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision
+ 87, // 145: bytebase.v1.DatabaseService.CreateRevision:output_type -> bytebase.v1.Revision
+ 101, // 146: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty
+ 89, // 147: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse
+ 91, // 148: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog
+ 126, // [126:149] is the sub-list for method output_type
+ 103, // [103:126] is the sub-list for method input_type
+ 103, // [103:103] is the sub-list for extension type_name
+ 103, // [103:103] is the sub-list for extension extendee
+ 0, // [0:103] is the sub-list for field type_name
}
func init() { file_v1_database_service_proto_init() }
@@ -9382,17 +9100,13 @@ func file_v1_database_service_proto_init() {
(*ColumnMetadata_DefaultString)(nil),
(*ColumnMetadata_DefaultExpression)(nil),
}
- file_v1_database_service_proto_msgTypes[80].OneofWrappers = []any{
- (*ObjectSchema_StructKind_)(nil),
- (*ObjectSchema_ArrayKind_)(nil),
- }
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_database_service_proto_rawDesc,
- NumEnums: 13,
- NumMessages: 86,
+ NumEnums: 12,
+ NumMessages: 82,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/v1/database_catalog_service.proto b/proto/v1/database_catalog_service.proto
index 56f7fa30b9..d761fc1a5e 100644
--- a/proto/v1/database_catalog_service.proto
+++ b/proto/v1/database_catalog_service.proto
@@ -8,6 +8,7 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/field_mask.proto";
import "v1/annotation.proto";
+import "v1/common.proto";
option go_package = "generated-go/v1";
@@ -60,4 +61,67 @@ message DatabaseCatalog {
// The name of the database catalog.
// Format: instances/{instance}/databases/{database}/catalog
string name = 1;
+
+ repeated SchemaCatalog schemas = 2;
+}
+
+message SchemaCatalog {
+ string name = 1;
+
+ repeated TableCatalog tables = 2;
+}
+
+message TableCatalog {
+ string name = 1;
+
+ message Columns {
+ repeated ColumnCatalog columns = 1;
+ }
+ oneof kind {
+ Columns columns = 2;
+ ObjectSchema object_schema = 3;
+ }
+
+ string classification_id = 4;
+}
+
+message ColumnCatalog {
+ string name = 1;
+
+ string semantic_type_id = 2;
+
+ // The user labels for a column.
+ map<string, string> labels = 3;
+
+ string classification_id = 4;
+
+ MaskingLevel masking_level = 5;
+
+ string full_masking_algorithm_id = 6;
+
+ string partial_masking_algorithm_id = 7;
+
+ ObjectSchema object_schema = 8;
+}
+
+message ObjectSchema {
+ enum Type {
+ TYPE_UNSPECIFIED = 0;
+ STRING = 1;
+ NUMBER = 2;
+ BOOLEAN = 3;
+ OBJECT = 4;
+ ARRAY = 5;
+ }
+ Type type = 1;
+ message StructKind {
+ map<string, ObjectSchema> properties = 2;
+ }
+ message ArrayKind {
+ ObjectSchema kind = 1;
+ }
+ oneof kind {
+ StructKind struct_kind = 2;
+ ArrayKind array_kind = 3;
+ }
}
diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.proto
index af05ac516d..eb49aa7608 100644
--- a/proto/v1/database_service.proto
+++ b/proto/v1/database_service.proto
@@ -1872,25 +1872,3 @@ message Changelog {
ChangedResources changed_resources = 16;
}
-
-message ObjectSchema {
- enum Type {
- TYPE_UNSPECIFIED = 0;
- STRING = 1;
- NUMBER = 2;
- BOOLEAN = 3;
- OBJECT = 4;
- ARRAY = 5;
- }
- Type type = 1;
- message StructKind {
- map<string, ObjectSchema> properties = 2;
- }
- message ArrayKind {
- ObjectSchema kind = 1;
- }
- oneof kind {
- StructKind struct_kind = 2;
- ArrayKind array_kind = 3;
- }
-}