Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat(proto): changelogs api (#14183)
p0ny149fbaedf264
diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.tsindex 392c9124ee..a494b8ce55 100644--- a/frontend/src/types/proto/v1/database_service.ts+++ b/frontend/src/types/proto/v1/database_service.ts@@ -148,6 +148,63 @@ export function changeHistoryViewToNumber(object: ChangeHistoryView): number {}}+export enum ChangelogView {+ /**+ * CHANGELOG_VIEW_UNSPECIFIED - The default / unset value.+ * The API will default to the BASIC view.+ */+ CHANGELOG_VIEW_UNSPECIFIED = "CHANGELOG_VIEW_UNSPECIFIED",+ CHANGELOG_VIEW_BASIC = "CHANGELOG_VIEW_BASIC",+ CHANGELOG_VIEW_FULL = "CHANGELOG_VIEW_FULL",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function changelogViewFromJSON(object: any): ChangelogView {+ switch (object) {+ case 0:+ case "CHANGELOG_VIEW_UNSPECIFIED":+ return ChangelogView.CHANGELOG_VIEW_UNSPECIFIED;+ case 1:+ case "CHANGELOG_VIEW_BASIC":+ return ChangelogView.CHANGELOG_VIEW_BASIC;+ case 2:+ case "CHANGELOG_VIEW_FULL":+ return ChangelogView.CHANGELOG_VIEW_FULL;+ case -1:+ case "UNRECOGNIZED":+ default:+ return ChangelogView.UNRECOGNIZED;+ }+}++export function changelogViewToJSON(object: ChangelogView): string {+ switch (object) {+ case ChangelogView.CHANGELOG_VIEW_UNSPECIFIED:+ return "CHANGELOG_VIEW_UNSPECIFIED";+ case ChangelogView.CHANGELOG_VIEW_BASIC:+ return "CHANGELOG_VIEW_BASIC";+ case ChangelogView.CHANGELOG_VIEW_FULL:+ return "CHANGELOG_VIEW_FULL";+ case ChangelogView.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function changelogViewToNumber(object: ChangelogView): number {+ switch (object) {+ case ChangelogView.CHANGELOG_VIEW_UNSPECIFIED:+ return 0;+ case ChangelogView.CHANGELOG_VIEW_BASIC:+ return 1;+ case ChangelogView.CHANGELOG_VIEW_FULL:+ return 2;+ case ChangelogView.UNRECOGNIZED:+ default:+ return -1;+ }+}+export interface GetDatabaseRequest {/*** The name of the database to retrieve.@@ -1844,6 +1901,185 @@ export interface Revision {taskRun: string;}+export interface ListChangelogsRequest {+ /**+ * The parent of the changelogs.+ * Format: instances/{instance}/databases/{database}+ */+ parent: string;+ /**+ * The maximum number of changelogs to return. The service may return fewer than this value.+ * If unspecified, at most 10 changelogs will be returned.+ * The maximum value is 1000; values above 1000 will be coerced to 1000.+ */+ pageSize: number;+ /**+ * A page token, received from the previous call.+ * Provide this to retrieve the subsequent page.+ *+ * When paginating, all other parameters provided must match+ * the call that provided the page token.+ */+ pageToken: string;+ view: ChangelogView;+ /**+ * The filter of the changelogs.+ * follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.+ * Support filter by type, source or table.+ * For example:+ * table = "tableExists('{database}', '{schema}', '{table}')"+ * table = "tableExists('db', 'public', 'table1') || tableExists('db', 'public', 'table2')"+ * type = "MIGRATE | DATA"+ * source = "UI"+ * source = "VCS"+ *+ * The table filter follow the CEL syntax.+ * currently, we have one function for CEL:+ * - tableExists(database, schema, table): return true if the table exists in changed resources.+ *+ * examples:+ * Use+ * tableExists("db", "public", "table1")+ * to filter the changelogs which have the table "table1" in the schema "public" of the database "db".+ * For MySQL, the schema is always "", such as tableExists("db", "", "table1").+ *+ * Combine multiple functions with "&&" and "||", we MUST use the Disjunctive Normal Form(DNF).+ * In other words, the CEL expression consists of several parts connected by OR operators.+ * For example, the following expression is valid:+ * (+ * tableExists("db", "public", "table1") &&+ * tableExists("db", "public", "table2")+ * ) || (+ * tableExists("db", "public", "table3")+ * )+ */+ filter: string;+}++export interface ListChangelogsResponse {+ /** The list of changelogs. */+ changelogs: Changelog[];+ /**+ * A token, which can be sent as `page_token` to retrieve the next page.+ * If this field is omitted, there are no subsequent pages.+ */+ nextPageToken: string;+}++export interface GetChangelogRequest {+ /**+ * The name of the changelog to retrieve.+ * Format: instances/{instance}/databases/{database}/changelogs/{changelog}+ */+ name: string;+ view: ChangeHistoryView;+ /** Format the schema dump into SDL format. */+ sdlFormat: boolean;+ /**+ * When true, the schema dump will be concise.+ * For Oracle, there will be tables and indexes only for Sync Schema.+ * For Postgres, we'll filter the backup schema.+ */+ concise: boolean;+}++export interface Changelog {+ /** Format: instances/{instance}/databases/{database}/changelogs/{changelog} */+ name: string;+ /** Format: users/[email protected] */+ creator: string;+ createTime: Timestamp | undefined;+ status: Changelog_Status;+ /** The statement is used for preview purpose. */+ statement: string;+ statementSize: Long;+ /**+ * The name of the sheet resource.+ * Format: projects/{project}/sheets/{sheet}+ */+ statementSheet: string;+ schema: string;+ schemaSize: Long;+ prevSchema: string;+ prevSchemaSize: Long;+ /** Format: projects/{project}/issues/{issue} */+ issue: string;+ /**+ * Could be empty+ * TODO(p0ny): We will migrate ChangeHistory to Changelog, and they won't have task_run.+ */+ taskRun: string;+ /** Could be empty */+ version: string;+ /**+ * Could be empty+ * Or present but not found if deleted+ */+ revision: string;+ changedResources: ChangedResources | undefined;+}++export enum Changelog_Status {+ STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",+ PENDING = "PENDING",+ DONE = "DONE",+ FAILED = "FAILED",+ UNRECOGNIZED = "UNRECOGNIZED",+}++export function changelog_StatusFromJSON(object: any): Changelog_Status {+ switch (object) {+ case 0:+ case "STATUS_UNSPECIFIED":+ return Changelog_Status.STATUS_UNSPECIFIED;+ case 1:+ case "PENDING":+ return Changelog_Status.PENDING;+ case 2:+ case "DONE":+ return Changelog_Status.DONE;+ case 3:+ case "FAILED":+ return Changelog_Status.FAILED;+ case -1:+ case "UNRECOGNIZED":+ default:+ return Changelog_Status.UNRECOGNIZED;+ }+}++export function changelog_StatusToJSON(object: Changelog_Status): string {+ switch (object) {+ case Changelog_Status.STATUS_UNSPECIFIED:+ return "STATUS_UNSPECIFIED";+ case Changelog_Status.PENDING:+ return "PENDING";+ case Changelog_Status.DONE:+ return "DONE";+ case Changelog_Status.FAILED:+ return "FAILED";+ case Changelog_Status.UNRECOGNIZED:+ default:+ return "UNRECOGNIZED";+ }+}++export function changelog_StatusToNumber(object: Changelog_Status): number {+ switch (object) {+ case Changelog_Status.STATUS_UNSPECIFIED:+ return 0;+ case Changelog_Status.PENDING:+ return 1;+ case Changelog_Status.DONE:+ return 2;+ case Changelog_Status.FAILED:+ return 3;+ case Changelog_Status.UNRECOGNIZED:+ default:+ return -1;+ }+}+function createBaseGetDatabaseRequest(): GetDatabaseRequest {return { name: "" };}@@ -10078,95 +10314,707 @@ export const Revision: MessageFns<Revision> = {},};-export type DatabaseServiceDefinition = typeof DatabaseServiceDefinition;-export const DatabaseServiceDefinition = {- name: "DatabaseService",- fullName: "bytebase.v1.DatabaseService",- methods: {- getDatabase: {- name: "GetDatabase",- requestType: GetDatabaseRequest,- requestStream: false,- responseType: Database,- responseStream: false,- options: {- _unknownFields: {- 8410: [new Uint8Array([4, 110, 97, 109, 101])],- 800010: [new Uint8Array([16, 98, 98, 46, 100, 97, 116, 97, 98, 97, 115, 101, 115, 46, 103, 101, 116])],- 800016: [new Uint8Array([1])],- 578365826: [- new Uint8Array([- 36,- 18,- 34,- 47,- 118,- 49,- 47,- 123,- 110,- 97,- 109,- 101,- 61,- 105,- 110,- 115,- 116,- 97,- 110,- 99,- 101,- 115,- 47,- 42,- 47,- 100,- 97,- 116,- 97,- 98,- 97,- 115,- 101,- 115,- 47,- 42,- 125,- ]),- ],- },- },- },- listInstanceDatabases: {- name: "ListInstanceDatabases",- requestType: ListInstanceDatabasesRequest,- requestStream: false,- responseType: ListInstanceDatabasesResponse,- responseStream: false,- options: {- _unknownFields: {- 8410: [new Uint8Array([0])],- 800010: [new Uint8Array([16, 98, 98, 46, 105, 110, 115, 116, 97, 110, 99, 101, 115, 46, 103, 101, 116])],- 800016: [new Uint8Array([1])],- 578365826: [- new Uint8Array([- 36,- 18,- 34,- 47,- 118,- 49,- 47,- 123,- 112,- 97,- 114,- 101,- 110,- 116,- 61,- 105,+function createBaseListChangelogsRequest(): ListChangelogsRequest {+ return { parent: "", pageSize: 0, pageToken: "", view: ChangelogView.CHANGELOG_VIEW_UNSPECIFIED, filter: "" };+}++export const ListChangelogsRequest: MessageFns<ListChangelogsRequest> = {+ encode(message: ListChangelogsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {+ if (message.parent !== "") {+ writer.uint32(10).string(message.parent);+ }+ if (message.pageSize !== 0) {+ writer.uint32(16).int32(message.pageSize);+ }+ if (message.pageToken !== "") {+ writer.uint32(26).string(message.pageToken);+ }+ if (message.view !== ChangelogView.CHANGELOG_VIEW_UNSPECIFIED) {+ writer.uint32(32).int32(changelogViewToNumber(message.view));+ }+ if (message.filter !== "") {+ writer.uint32(42).string(message.filter);+ }+ return writer;+ },++ decode(input: BinaryReader | Uint8Array, length?: number): ListChangelogsRequest {+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseListChangelogsRequest();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.parent = reader.string();+ continue;+ case 2:+ if (tag !== 16) {+ break;+ }++ message.pageSize = reader.int32();+ continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.pageToken = reader.string();+ continue;+ case 4:+ if (tag !== 32) {+ break;+ }++ message.view = changelogViewFromJSON(reader.int32());+ continue;+ case 5:+ if (tag !== 42) {+ break;+ }++ message.filter = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skip(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): ListChangelogsRequest {+ return {+ parent: isSet(object.parent) ? globalThis.String(object.parent) : "",+ pageSize: isSet(object.pageSize) ? globalThis.Number(object.pageSize) : 0,+ pageToken: isSet(object.pageToken) ? globalThis.String(object.pageToken) : "",+ view: isSet(object.view) ? changelogViewFromJSON(object.view) : ChangelogView.CHANGELOG_VIEW_UNSPECIFIED,+ filter: isSet(object.filter) ? globalThis.String(object.filter) : "",+ };+ },++ toJSON(message: ListChangelogsRequest): unknown {+ const obj: any = {};+ if (message.parent !== "") {+ obj.parent = message.parent;+ }+ if (message.pageSize !== 0) {+ obj.pageSize = Math.round(message.pageSize);+ }+ if (message.pageToken !== "") {+ obj.pageToken = message.pageToken;+ }+ if (message.view !== ChangelogView.CHANGELOG_VIEW_UNSPECIFIED) {+ obj.view = changelogViewToJSON(message.view);+ }+ if (message.filter !== "") {+ obj.filter = message.filter;+ }+ return obj;+ },++ create(base?: DeepPartial<ListChangelogsRequest>): ListChangelogsRequest {+ return ListChangelogsRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<ListChangelogsRequest>): ListChangelogsRequest {+ const message = createBaseListChangelogsRequest();+ message.parent = object.parent ?? "";+ message.pageSize = object.pageSize ?? 0;+ message.pageToken = object.pageToken ?? "";+ message.view = object.view ?? ChangelogView.CHANGELOG_VIEW_UNSPECIFIED;+ message.filter = object.filter ?? "";+ return message;+ },+};++function createBaseListChangelogsResponse(): ListChangelogsResponse {+ return { changelogs: [], nextPageToken: "" };+}++export const ListChangelogsResponse: MessageFns<ListChangelogsResponse> = {+ encode(message: ListChangelogsResponse, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {+ for (const v of message.changelogs) {+ Changelog.encode(v!, writer.uint32(10).fork()).join();+ }+ if (message.nextPageToken !== "") {+ writer.uint32(18).string(message.nextPageToken);+ }+ return writer;+ },++ decode(input: BinaryReader | Uint8Array, length?: number): ListChangelogsResponse {+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseListChangelogsResponse();+ while (reader.pos < end) {+ const tag = reader.uint32();+ switch (tag >>> 3) {+ case 1:+ if (tag !== 10) {+ break;+ }++ message.changelogs.push(Changelog.decode(reader, reader.uint32()));+ continue;+ case 2:+ if (tag !== 18) {+ break;+ }++ message.nextPageToken = reader.string();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skip(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): ListChangelogsResponse {+ return {+ changelogs: globalThis.Array.isArray(object?.changelogs)+ ? object.changelogs.map((e: any) => Changelog.fromJSON(e))+ : [],+ nextPageToken: isSet(object.nextPageToken) ? globalThis.String(object.nextPageToken) : "",+ };+ },++ toJSON(message: ListChangelogsResponse): unknown {+ const obj: any = {};+ if (message.changelogs?.length) {+ obj.changelogs = message.changelogs.map((e) => Changelog.toJSON(e));+ }+ if (message.nextPageToken !== "") {+ obj.nextPageToken = message.nextPageToken;+ }+ return obj;+ },++ create(base?: DeepPartial<ListChangelogsResponse>): ListChangelogsResponse {+ return ListChangelogsResponse.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<ListChangelogsResponse>): ListChangelogsResponse {+ const message = createBaseListChangelogsResponse();+ message.changelogs = object.changelogs?.map((e) => Changelog.fromPartial(e)) || [];+ message.nextPageToken = object.nextPageToken ?? "";+ return message;+ },+};++function createBaseGetChangelogRequest(): GetChangelogRequest {+ return { name: "", view: ChangeHistoryView.CHANGE_HISTORY_VIEW_UNSPECIFIED, sdlFormat: false, concise: false };+}++export const GetChangelogRequest: MessageFns<GetChangelogRequest> = {+ encode(message: GetChangelogRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ if (message.view !== ChangeHistoryView.CHANGE_HISTORY_VIEW_UNSPECIFIED) {+ writer.uint32(16).int32(changeHistoryViewToNumber(message.view));+ }+ if (message.sdlFormat !== false) {+ writer.uint32(24).bool(message.sdlFormat);+ }+ if (message.concise !== false) {+ writer.uint32(32).bool(message.concise);+ }+ return writer;+ },++ decode(input: BinaryReader | Uint8Array, length?: number): GetChangelogRequest {+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseGetChangelogRequest();+ 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 !== 16) {+ break;+ }++ message.view = changeHistoryViewFromJSON(reader.int32());+ continue;+ case 3:+ if (tag !== 24) {+ break;+ }++ message.sdlFormat = reader.bool();+ continue;+ case 4:+ if (tag !== 32) {+ break;+ }++ message.concise = reader.bool();+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skip(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): GetChangelogRequest {+ return {+ name: isSet(object.name) ? globalThis.String(object.name) : "",+ view: isSet(object.view)+ ? changeHistoryViewFromJSON(object.view)+ : ChangeHistoryView.CHANGE_HISTORY_VIEW_UNSPECIFIED,+ sdlFormat: isSet(object.sdlFormat) ? globalThis.Boolean(object.sdlFormat) : false,+ concise: isSet(object.concise) ? globalThis.Boolean(object.concise) : false,+ };+ },++ toJSON(message: GetChangelogRequest): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ if (message.view !== ChangeHistoryView.CHANGE_HISTORY_VIEW_UNSPECIFIED) {+ obj.view = changeHistoryViewToJSON(message.view);+ }+ if (message.sdlFormat !== false) {+ obj.sdlFormat = message.sdlFormat;+ }+ if (message.concise !== false) {+ obj.concise = message.concise;+ }+ return obj;+ },++ create(base?: DeepPartial<GetChangelogRequest>): GetChangelogRequest {+ return GetChangelogRequest.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<GetChangelogRequest>): GetChangelogRequest {+ const message = createBaseGetChangelogRequest();+ message.name = object.name ?? "";+ message.view = object.view ?? ChangeHistoryView.CHANGE_HISTORY_VIEW_UNSPECIFIED;+ message.sdlFormat = object.sdlFormat ?? false;+ message.concise = object.concise ?? false;+ return message;+ },+};++function createBaseChangelog(): Changelog {+ return {+ name: "",+ creator: "",+ createTime: undefined,+ status: Changelog_Status.STATUS_UNSPECIFIED,+ statement: "",+ statementSize: Long.ZERO,+ statementSheet: "",+ schema: "",+ schemaSize: Long.ZERO,+ prevSchema: "",+ prevSchemaSize: Long.ZERO,+ issue: "",+ taskRun: "",+ version: "",+ revision: "",+ changedResources: undefined,+ };+}++export const Changelog: MessageFns<Changelog> = {+ encode(message: Changelog, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {+ if (message.name !== "") {+ writer.uint32(10).string(message.name);+ }+ if (message.creator !== "") {+ writer.uint32(18).string(message.creator);+ }+ if (message.createTime !== undefined) {+ Timestamp.encode(message.createTime, writer.uint32(26).fork()).join();+ }+ if (message.status !== Changelog_Status.STATUS_UNSPECIFIED) {+ writer.uint32(32).int32(changelog_StatusToNumber(message.status));+ }+ if (message.statement !== "") {+ writer.uint32(42).string(message.statement);+ }+ if (!message.statementSize.equals(Long.ZERO)) {+ writer.uint32(48).int64(message.statementSize.toString());+ }+ if (message.statementSheet !== "") {+ writer.uint32(58).string(message.statementSheet);+ }+ if (message.schema !== "") {+ writer.uint32(66).string(message.schema);+ }+ if (!message.schemaSize.equals(Long.ZERO)) {+ writer.uint32(72).int64(message.schemaSize.toString());+ }+ if (message.prevSchema !== "") {+ writer.uint32(82).string(message.prevSchema);+ }+ if (!message.prevSchemaSize.equals(Long.ZERO)) {+ writer.uint32(88).int64(message.prevSchemaSize.toString());+ }+ if (message.issue !== "") {+ writer.uint32(98).string(message.issue);+ }+ if (message.taskRun !== "") {+ writer.uint32(106).string(message.taskRun);+ }+ if (message.version !== "") {+ writer.uint32(114).string(message.version);+ }+ if (message.revision !== "") {+ writer.uint32(122).string(message.revision);+ }+ if (message.changedResources !== undefined) {+ ChangedResources.encode(message.changedResources, writer.uint32(130).fork()).join();+ }+ return writer;+ },++ decode(input: BinaryReader | Uint8Array, length?: number): Changelog {+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);+ let end = length === undefined ? reader.len : reader.pos + length;+ const message = createBaseChangelog();+ 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.creator = reader.string();+ continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.createTime = Timestamp.decode(reader, reader.uint32());+ continue;+ case 4:+ if (tag !== 32) {+ break;+ }++ message.status = changelog_StatusFromJSON(reader.int32());+ continue;+ case 5:+ if (tag !== 42) {+ break;+ }++ message.statement = reader.string();+ continue;+ case 6:+ if (tag !== 48) {+ break;+ }++ message.statementSize = Long.fromString(reader.int64().toString());+ continue;+ case 7:+ if (tag !== 58) {+ break;+ }++ message.statementSheet = reader.string();+ continue;+ case 8:+ if (tag !== 66) {+ break;+ }++ message.schema = reader.string();+ continue;+ case 9:+ if (tag !== 72) {+ break;+ }++ message.schemaSize = Long.fromString(reader.int64().toString());+ continue;+ case 10:+ if (tag !== 82) {+ break;+ }++ message.prevSchema = reader.string();+ continue;+ case 11:+ if (tag !== 88) {+ break;+ }++ message.prevSchemaSize = Long.fromString(reader.int64().toString());+ continue;+ case 12:+ if (tag !== 98) {+ break;+ }++ message.issue = reader.string();+ continue;+ case 13:+ if (tag !== 106) {+ break;+ }++ message.taskRun = reader.string();+ continue;+ case 14:+ if (tag !== 114) {+ break;+ }++ message.version = reader.string();+ continue;+ case 15:+ if (tag !== 122) {+ break;+ }++ message.revision = reader.string();+ continue;+ case 16:+ if (tag !== 130) {+ break;+ }++ message.changedResources = ChangedResources.decode(reader, reader.uint32());+ continue;+ }+ if ((tag & 7) === 4 || tag === 0) {+ break;+ }+ reader.skip(tag & 7);+ }+ return message;+ },++ fromJSON(object: any): Changelog {+ return {+ name: isSet(object.name) ? globalThis.String(object.name) : "",+ creator: isSet(object.creator) ? globalThis.String(object.creator) : "",+ createTime: isSet(object.createTime) ? fromJsonTimestamp(object.createTime) : undefined,+ status: isSet(object.status) ? changelog_StatusFromJSON(object.status) : Changelog_Status.STATUS_UNSPECIFIED,+ statement: isSet(object.statement) ? globalThis.String(object.statement) : "",+ statementSize: isSet(object.statementSize) ? Long.fromValue(object.statementSize) : Long.ZERO,+ statementSheet: isSet(object.statementSheet) ? globalThis.String(object.statementSheet) : "",+ schema: isSet(object.schema) ? globalThis.String(object.schema) : "",+ schemaSize: isSet(object.schemaSize) ? Long.fromValue(object.schemaSize) : Long.ZERO,+ prevSchema: isSet(object.prevSchema) ? globalThis.String(object.prevSchema) : "",+ prevSchemaSize: isSet(object.prevSchemaSize) ? Long.fromValue(object.prevSchemaSize) : Long.ZERO,+ issue: isSet(object.issue) ? globalThis.String(object.issue) : "",+ taskRun: isSet(object.taskRun) ? globalThis.String(object.taskRun) : "",+ version: isSet(object.version) ? globalThis.String(object.version) : "",+ revision: isSet(object.revision) ? globalThis.String(object.revision) : "",+ changedResources: isSet(object.changedResources) ? ChangedResources.fromJSON(object.changedResources) : undefined,+ };+ },++ toJSON(message: Changelog): unknown {+ const obj: any = {};+ if (message.name !== "") {+ obj.name = message.name;+ }+ if (message.creator !== "") {+ obj.creator = message.creator;+ }+ if (message.createTime !== undefined) {+ obj.createTime = fromTimestamp(message.createTime).toISOString();+ }+ if (message.status !== Changelog_Status.STATUS_UNSPECIFIED) {+ obj.status = changelog_StatusToJSON(message.status);+ }+ if (message.statement !== "") {+ obj.statement = message.statement;+ }+ if (!message.statementSize.equals(Long.ZERO)) {+ obj.statementSize = (message.statementSize || Long.ZERO).toString();+ }+ if (message.statementSheet !== "") {+ obj.statementSheet = message.statementSheet;+ }+ if (message.schema !== "") {+ obj.schema = message.schema;+ }+ if (!message.schemaSize.equals(Long.ZERO)) {+ obj.schemaSize = (message.schemaSize || Long.ZERO).toString();+ }+ if (message.prevSchema !== "") {+ obj.prevSchema = message.prevSchema;+ }+ if (!message.prevSchemaSize.equals(Long.ZERO)) {+ obj.prevSchemaSize = (message.prevSchemaSize || Long.ZERO).toString();+ }+ if (message.issue !== "") {+ obj.issue = message.issue;+ }+ if (message.taskRun !== "") {+ obj.taskRun = message.taskRun;+ }+ if (message.version !== "") {+ obj.version = message.version;+ }+ if (message.revision !== "") {+ obj.revision = message.revision;+ }+ if (message.changedResources !== undefined) {+ obj.changedResources = ChangedResources.toJSON(message.changedResources);+ }+ return obj;+ },++ create(base?: DeepPartial<Changelog>): Changelog {+ return Changelog.fromPartial(base ?? {});+ },+ fromPartial(object: DeepPartial<Changelog>): Changelog {+ const message = createBaseChangelog();+ message.name = object.name ?? "";+ message.creator = object.creator ?? "";+ message.createTime = (object.createTime !== undefined && object.createTime !== null)+ ? Timestamp.fromPartial(object.createTime)+ : undefined;+ message.status = object.status ?? Changelog_Status.STATUS_UNSPECIFIED;+ message.statement = object.statement ?? "";+ message.statementSize = (object.statementSize !== undefined && object.statementSize !== null)+ ? Long.fromValue(object.statementSize)+ : Long.ZERO;+ message.statementSheet = object.statementSheet ?? "";+ message.schema = object.schema ?? "";+ message.schemaSize = (object.schemaSize !== undefined && object.schemaSize !== null)+ ? Long.fromValue(object.schemaSize)+ : Long.ZERO;+ message.prevSchema = object.prevSchema ?? "";+ message.prevSchemaSize = (object.prevSchemaSize !== undefined && object.prevSchemaSize !== null)+ ? Long.fromValue(object.prevSchemaSize)+ : Long.ZERO;+ message.issue = object.issue ?? "";+ message.taskRun = object.taskRun ?? "";+ message.version = object.version ?? "";+ message.revision = object.revision ?? "";+ message.changedResources = (object.changedResources !== undefined && object.changedResources !== null)+ ? ChangedResources.fromPartial(object.changedResources)+ : undefined;+ return message;+ },+};++export type DatabaseServiceDefinition = typeof DatabaseServiceDefinition;+export const DatabaseServiceDefinition = {+ name: "DatabaseService",+ fullName: "bytebase.v1.DatabaseService",+ methods: {+ getDatabase: {+ name: "GetDatabase",+ requestType: GetDatabaseRequest,+ requestStream: false,+ responseType: Database,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([4, 110, 97, 109, 101])],+ 800010: [new Uint8Array([16, 98, 98, 46, 100, 97, 116, 97, 98, 97, 115, 101, 115, 46, 103, 101, 116])],+ 800016: [new Uint8Array([1])],+ 578365826: [+ new Uint8Array([+ 36,+ 18,+ 34,+ 47,+ 118,+ 49,+ 47,+ 123,+ 110,+ 97,+ 109,+ 101,+ 61,+ 105,+ 110,+ 115,+ 116,+ 97,+ 110,+ 99,+ 101,+ 115,+ 47,+ 42,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 115,+ 47,+ 42,+ 125,+ ]),+ ],+ },+ },+ },+ listInstanceDatabases: {+ name: "ListInstanceDatabases",+ requestType: ListInstanceDatabasesRequest,+ requestStream: false,+ responseType: ListInstanceDatabasesResponse,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([0])],+ 800010: [new Uint8Array([16, 98, 98, 46, 105, 110, 115, 116, 97, 110, 99, 101, 115, 46, 103, 101, 116])],+ 800016: [new Uint8Array([1])],+ 578365826: [+ new Uint8Array([+ 36,+ 18,+ 34,+ 47,+ 118,+ 49,+ 47,+ 123,+ 112,+ 97,+ 114,+ 101,+ 110,+ 116,+ 61,+ 105,110,115,116,@@ -11803,6 +12651,138 @@ export const DatabaseServiceDefinition = {},},},+ listChangelogs: {+ name: "ListChangelogs",+ requestType: ListChangelogsRequest,+ requestStream: false,+ responseType: ListChangelogsResponse,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([6, 112, 97, 114, 101, 110, 116])],+ 578365826: [+ new Uint8Array([+ 49,+ 18,+ 47,+ 47,+ 118,+ 49,+ 47,+ 123,+ 112,+ 97,+ 114,+ 101,+ 110,+ 116,+ 61,+ 105,+ 110,+ 115,+ 116,+ 97,+ 110,+ 99,+ 101,+ 115,+ 47,+ 42,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 115,+ 47,+ 42,+ 125,+ 47,+ 99,+ 104,+ 97,+ 110,+ 103,+ 101,+ 108,+ 111,+ 103,+ 115,+ ]),+ ],+ },+ },+ },+ getChangelog: {+ name: "GetChangelog",+ requestType: GetChangelogRequest,+ requestStream: false,+ responseType: Changelog,+ responseStream: false,+ options: {+ _unknownFields: {+ 8410: [new Uint8Array([4, 110, 97, 109, 101])],+ 578365826: [+ new Uint8Array([+ 49,+ 18,+ 47,+ 47,+ 118,+ 49,+ 47,+ 123,+ 110,+ 97,+ 109,+ 101,+ 61,+ 105,+ 110,+ 115,+ 116,+ 97,+ 110,+ 99,+ 101,+ 115,+ 47,+ 42,+ 47,+ 100,+ 97,+ 116,+ 97,+ 98,+ 97,+ 115,+ 101,+ 115,+ 47,+ 42,+ 47,+ 99,+ 104,+ 97,+ 110,+ 103,+ 101,+ 108,+ 111,+ 103,+ 115,+ 47,+ 42,+ 125,+ ]),+ ],+ },+ },+ },},} as const;diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 1b27a2bb3b..781a06e3cb 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -1581,6 +1581,158 @@ paths:application/json:schema:$ref: '#/components/schemas/Status'+ /v1/instances/{instance}/databases/{database}/changelogs:+ get:+ tags:+ - DatabaseService+ operationId: DatabaseService_ListChangelogs+ parameters:+ - name: instance+ in: path+ description: The instance id.+ required: true+ schema:+ type: string+ - name: database+ in: path+ description: The database id.+ required: true+ schema:+ type: string+ - name: pageSize+ in: query+ description: |-+ The maximum number of changelogs to return. The service may return fewer than this value.+ If unspecified, at most 10 changelogs will be returned.+ The maximum value is 1000; values above 1000 will be coerced to 1000.+ schema:+ type: integer+ format: int32+ - name: pageToken+ in: query+ description: |-+ A page token, received from the previous call.+ Provide this to retrieve the subsequent page.++ When paginating, all other parameters provided must match+ the call that provided the page token.+ schema:+ type: string+ - name: view+ in: query+ schema:+ enum:+ - CHANGELOG_VIEW_UNSPECIFIED+ - CHANGELOG_VIEW_BASIC+ - CHANGELOG_VIEW_FULL+ type: string+ format: enum+ - name: filter+ in: query+ description: |-+ The filter of the changelogs.+ follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.+ Support filter by type, source or table.+ For example:+ table = "tableExists('{database}', '{schema}', '{table}')"+ table = "tableExists('db', 'public', 'table1') || tableExists('db', 'public', 'table2')"+ type = "MIGRATE | DATA"+ source = "UI"+ source = "VCS"++ The table filter follow the CEL syntax.+ currently, we have one function for CEL:+ - tableExists(database, schema, table): return true if the table exists in changed resources.++ examples:+ Use+ tableExists("db", "public", "table1")+ to filter the changelogs which have the table "table1" in the schema "public" of the database "db".+ For MySQL, the schema is always "", such as tableExists("db", "", "table1").++ Combine multiple functions with "&&" and "||", we MUST use the Disjunctive Normal Form(DNF).+ In other words, the CEL expression consists of several parts connected by OR operators.+ For example, the following expression is valid:+ (+ tableExists("db", "public", "table1") &&+ tableExists("db", "public", "table2")+ ) || (+ tableExists("db", "public", "table3")+ )+ schema:+ type: string+ responses:+ "200":+ description: OK+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ListChangelogsResponse'+ default:+ description: Default error response+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/Status'+ /v1/instances/{instance}/databases/{database}/changelogs/{changelog}:+ get:+ tags:+ - DatabaseService+ operationId: DatabaseService_GetChangelog+ parameters:+ - name: instance+ in: path+ description: The instance id.+ required: true+ schema:+ type: string+ - name: database+ in: path+ description: The database id.+ required: true+ schema:+ type: string+ - name: changelog+ in: path+ description: The changelog id.+ required: true+ schema:+ type: string+ - name: view+ in: query+ schema:+ enum:+ - CHANGE_HISTORY_VIEW_UNSPECIFIED+ - CHANGE_HISTORY_VIEW_BASIC+ - CHANGE_HISTORY_VIEW_FULL+ type: string+ format: enum+ - name: sdlFormat+ in: query+ description: Format the schema dump into SDL format.+ schema:+ type: boolean+ - name: concise+ in: query+ description: |-+ When true, the schema dump will be concise.+ For Oracle, there will be tables and indexes only for Sync Schema.+ For Postgres, we'll filter the backup schema.+ schema:+ type: boolean+ responses:+ "200":+ description: OK+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/Changelog'+ default:+ description: Default error response+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/Status'/v1/instances/{instance}/databases/{database}/metadata:get:tags:@@ -9224,6 +9376,62 @@ components:version:type: stringdescription: The migration version for a change.+ Changelog:+ type: object+ properties:+ name:+ type: string+ description: 'Format: instances/{instance}/databases/{database}/changelogs/{changelog}'+ creator:+ type: string+ description: 'Format: users/[email protected]'+ createTime:+ type: string+ format: date-time+ status:+ enum:+ - STATUS_UNSPECIFIED+ - PENDING+ - DONE+ - FAILED+ type: string+ format: enum+ statement:+ type: string+ description: The statement is used for preview purpose.+ statementSize:+ type: string+ statementSheet:+ type: string+ description: |-+ The name of the sheet resource.+ Format: projects/{project}/sheets/{sheet}+ schema:+ type: string+ schemaSize:+ type: string+ prevSchema:+ type: string+ prevSchemaSize:+ type: string+ issue:+ type: string+ description: 'Format: projects/{project}/issues/{issue}'+ taskRun:+ type: string+ description: |-+ Could be empty+ TODO(p0ny): We will migrate ChangeHistory to Changelog, and they won't have task_run.+ version:+ type: string+ description: Could be empty+ revision:+ type: string+ description: |-+ Could be empty+ Or present but not found if deleted+ changedResources:+ $ref: '#/components/schemas/ChangedResources'CheckConstraintMetadata:type: objectproperties:@@ -10951,6 +11159,19 @@ components:description: |-A token, which can be sent as `page_token` to retrieve the next page.If this field is omitted, there are no subsequent pages.+ ListChangelogsResponse:+ type: object+ properties:+ changelogs:+ type: array+ items:+ $ref: '#/components/schemas/Changelog'+ description: The list of changelogs.+ nextPageToken:+ type: string+ description: |-+ A token, which can be sent as `page_token` to retrieve the next page.+ If this field is omitted, there are no subsequent pages.ListDatabaseGroupsResponse:type: objectproperties:diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 3f3e476717..daa10d7ac0 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -93,6 +93,7 @@- [ChangedResourceTable](#bytebase-v1-ChangedResourceTable)- [ChangedResourceView](#bytebase-v1-ChangedResourceView)- [ChangedResources](#bytebase-v1-ChangedResources)+ - [Changelog](#bytebase-v1-Changelog)- [CheckConstraintMetadata](#bytebase-v1-CheckConstraintMetadata)- [ColumnConfig](#bytebase-v1-ColumnConfig)- [ColumnConfig.LabelsEntry](#bytebase-v1-ColumnConfig-LabelsEntry)@@ -114,6 +115,7 @@- [FunctionMetadata](#bytebase-v1-FunctionMetadata)- [GenerationMetadata](#bytebase-v1-GenerationMetadata)- [GetChangeHistoryRequest](#bytebase-v1-GetChangeHistoryRequest)+ - [GetChangelogRequest](#bytebase-v1-GetChangelogRequest)- [GetDatabaseMetadataRequest](#bytebase-v1-GetDatabaseMetadataRequest)- [GetDatabaseRequest](#bytebase-v1-GetDatabaseRequest)- [GetDatabaseSchemaRequest](#bytebase-v1-GetDatabaseSchemaRequest)@@ -121,6 +123,8 @@- [IndexMetadata](#bytebase-v1-IndexMetadata)- [ListChangeHistoriesRequest](#bytebase-v1-ListChangeHistoriesRequest)- [ListChangeHistoriesResponse](#bytebase-v1-ListChangeHistoriesResponse)+ - [ListChangelogsRequest](#bytebase-v1-ListChangelogsRequest)+ - [ListChangelogsResponse](#bytebase-v1-ListChangelogsResponse)- [ListDatabasesRequest](#bytebase-v1-ListDatabasesRequest)- [ListDatabasesResponse](#bytebase-v1-ListDatabasesResponse)- [ListInstanceDatabasesRequest](#bytebase-v1-ListInstanceDatabasesRequest)@@ -159,6 +163,8 @@- [ChangeHistory.Status](#bytebase-v1-ChangeHistory-Status)- [ChangeHistory.Type](#bytebase-v1-ChangeHistory-Type)- [ChangeHistoryView](#bytebase-v1-ChangeHistoryView)+ - [Changelog.Status](#bytebase-v1-Changelog-Status)+ - [ChangelogView](#bytebase-v1-ChangelogView)- [DatabaseMetadataView](#bytebase-v1-DatabaseMetadataView)- [GenerationMetadata.Type](#bytebase-v1-GenerationMetadata-Type)- [StreamMetadata.Mode](#bytebase-v1-StreamMetadata-Mode)@@ -2012,6 +2018,36 @@ AdviseIndexResponse is the response of advising index.+<a name="bytebase-v1-Changelog"></a>++### Changelog++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | Format: instances/{instance}/databases/{database}/changelogs/{changelog} |+| creator | [string](#string) | | Format: users/[email protected] |+| create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |+| status | [Changelog.Status](#bytebase-v1-Changelog-Status) | | |+| statement | [string](#string) | | The statement is used for preview purpose. |+| statement_size | [int64](#int64) | | |+| statement_sheet | [string](#string) | | The name of the sheet resource. Format: projects/{project}/sheets/{sheet} |+| schema | [string](#string) | | |+| schema_size | [int64](#int64) | | |+| prev_schema | [string](#string) | | |+| prev_schema_size | [int64](#int64) | | |+| issue | [string](#string) | | Format: projects/{project}/issues/{issue} |+| task_run | [string](#string) | | Could be empty TODO(p0ny): We will migrate ChangeHistory to Changelog, and they won't have task_run. |+| version | [string](#string) | | Could be empty |+| revision | [string](#string) | | Could be empty Or present but not found if deleted |+| changed_resources | [ChangedResources](#bytebase-v1-ChangedResources) | | |++++++<a name="bytebase-v1-CheckConstraintMetadata"></a>### CheckConstraintMetadata@@ -2392,6 +2428,24 @@ FunctionMetadata is the metadata for functions.+<a name="bytebase-v1-GetChangelogRequest"></a>++### GetChangelogRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| name | [string](#string) | | The name of the changelog to retrieve. Format: instances/{instance}/databases/{database}/changelogs/{changelog} |+| view | [ChangeHistoryView](#bytebase-v1-ChangeHistoryView) | | |+| sdl_format | [bool](#bool) | | Format the schema dump into SDL format. |+| concise | [bool](#bool) | | When true, the schema dump will be concise. For Oracle, there will be tables and indexes only for Sync Schema. For Postgres, we'll filter the backup schema. |++++++<a name="bytebase-v1-GetDatabaseMetadataRequest"></a>### GetDatabaseMetadataRequest@@ -2523,6 +2577,49 @@ Combine multiple functions with "&&" and "||", we MUST u+<a name="bytebase-v1-ListChangelogsRequest"></a>++### ListChangelogsRequest++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| parent | [string](#string) | | The parent of the changelogs. Format: instances/{instance}/databases/{database} |+| page_size | [int32](#int32) | | The maximum number of changelogs to return. The service may return fewer than this value. If unspecified, at most 10 changelogs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |+| page_token | [string](#string) | | A page token, received from the previous call. Provide this to retrieve the subsequent page.++When paginating, all other parameters provided must match the call that provided the page token. |+| view | [ChangelogView](#bytebase-v1-ChangelogView) | | |+| filter | [string](#string) | | The filter of the changelogs. follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax. Support filter by type, source or table. For example: table = "tableExists('{database}', '{schema}', '{table}')" table = "tableExists('db', 'public', 'table1') || tableExists('db', 'public', 'table2')" type = "MIGRATE | DATA" source = "UI" source = "VCS"++The table filter follow the CEL syntax. currently, we have one function for CEL: - tableExists(database, schema, table): return true if the table exists in changed resources.++examples: Use tableExists("db", "public", "table1") to filter the changelogs which have the table "table1" in the schema "public" of the database "db". For MySQL, the schema is always "", such as tableExists("db", "", "table1").++Combine multiple functions with "&&" and "||", we MUST use the Disjunctive Normal Form(DNF). In other words, the CEL expression consists of several parts connected by OR operators. For example, the following expression is valid: ( tableExists("db", "public", "table1") && tableExists("db", "public", "table2") ) || ( tableExists("db", "public", "table3") ) |+++++++<a name="bytebase-v1-ListChangelogsResponse"></a>++### ListChangelogsResponse++++| Field | Type | Label | Description |+| ----- | ---- | ----- | ----------- |+| changelogs | [Changelog](#bytebase-v1-Changelog) | repeated | The list of changelogs. |+| next_page_token | [string](#string) | | A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |++++++<a name="bytebase-v1-ListDatabasesRequest"></a>### ListDatabasesRequest@@ -3209,6 +3306,33 @@ ViewMetadata is the metadata for views.+<a name="bytebase-v1-Changelog-Status"></a>++### Changelog.Status+++| Name | Number | Description |+| ---- | ------ | ----------- |+| STATUS_UNSPECIFIED | 0 | |+| PENDING | 1 | |+| DONE | 2 | |+| FAILED | 3 | |++++<a name="bytebase-v1-ChangelogView"></a>++### ChangelogView+++| Name | Number | Description |+| ---- | ------ | ----------- |+| CHANGELOG_VIEW_UNSPECIFIED | 0 | The default / unset value. The API will default to the BASIC view. |+| CHANGELOG_VIEW_BASIC | 1 | |+| CHANGELOG_VIEW_FULL | 2 | |+++<a name="bytebase-v1-DatabaseMetadataView"></a>### DatabaseMetadataView@@ -3328,6 +3452,8 @@ PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-parti| ListRevisions | [ListRevisionsRequest](#bytebase-v1-ListRevisionsRequest) | [ListRevisionsResponse](#bytebase-v1-ListRevisionsResponse) | || GetRevision | [GetRevisionRequest](#bytebase-v1-GetRevisionRequest) | [Revision](#bytebase-v1-Revision) | || DeleteRevision | [DeleteRevisionRequest](#bytebase-v1-DeleteRevisionRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | |+| ListChangelogs | [ListChangelogsRequest](#bytebase-v1-ListChangelogsRequest) | [ListChangelogsResponse](#bytebase-v1-ListChangelogsResponse) | |+| GetChangelog | [GetChangelogRequest](#bytebase-v1-GetChangelogRequest) | [Changelog](#bytebase-v1-Changelog) | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex e2c2bd16b3..318fce70c8 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -521,6 +521,10 @@<a href="#bytebase.v1.ChangedResources"><span class="badge">M</span>ChangedResources</a></li>+ <li>+ <a href="#bytebase.v1.Changelog"><span class="badge">M</span>Changelog</a>+ </li>+<li><a href="#bytebase.v1.CheckConstraintMetadata"><span class="badge">M</span>CheckConstraintMetadata</a></li>@@ -605,6 +609,10 @@<a href="#bytebase.v1.GetChangeHistoryRequest"><span class="badge">M</span>GetChangeHistoryRequest</a></li>+ <li>+ <a href="#bytebase.v1.GetChangelogRequest"><span class="badge">M</span>GetChangelogRequest</a>+ </li>+<li><a href="#bytebase.v1.GetDatabaseMetadataRequest"><span class="badge">M</span>GetDatabaseMetadataRequest</a></li>@@ -633,6 +641,14 @@<a href="#bytebase.v1.ListChangeHistoriesResponse"><span class="badge">M</span>ListChangeHistoriesResponse</a></li>+ <li>+ <a href="#bytebase.v1.ListChangelogsRequest"><span class="badge">M</span>ListChangelogsRequest</a>+ </li>++ <li>+ <a href="#bytebase.v1.ListChangelogsResponse"><span class="badge">M</span>ListChangelogsResponse</a>+ </li>+<li><a href="#bytebase.v1.ListDatabasesRequest"><span class="badge">M</span>ListDatabasesRequest</a></li>@@ -782,6 +798,14 @@<a href="#bytebase.v1.ChangeHistoryView"><span class="badge">E</span>ChangeHistoryView</a></li>+ <li>+ <a href="#bytebase.v1.Changelog.Status"><span class="badge">E</span>Changelog.Status</a>+ </li>++ <li>+ <a href="#bytebase.v1.ChangelogView"><span class="badge">E</span>ChangelogView</a>+ </li>+<li><a href="#bytebase.v1.DatabaseMetadataView"><span class="badge">E</span>DatabaseMetadataView</a></li>@@ -6410,6 +6434,138 @@ Format: projects/{project}/sheets/{sheet} </p></td>+ <h3 id="bytebase.v1.Changelog">Changelog</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>Format: instances/{instance}/databases/{database}/changelogs/{changelog} </p></td>+ </tr>++ <tr>+ <td>creator</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Format: users/[email protected] </p></td>+ </tr>++ <tr>+ <td>create_time</td>+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>status</td>+ <td><a href="#bytebase.v1.Changelog.Status">Changelog.Status</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>statement</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The statement is used for preview purpose. </p></td>+ </tr>++ <tr>+ <td>statement_size</td>+ <td><a href="#int64">int64</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>statement_sheet</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The name of the sheet resource.+Format: projects/{project}/sheets/{sheet} </p></td>+ </tr>++ <tr>+ <td>schema</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>schema_size</td>+ <td><a href="#int64">int64</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>prev_schema</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>prev_schema_size</td>+ <td><a href="#int64">int64</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>issue</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Format: projects/{project}/issues/{issue} </p></td>+ </tr>++ <tr>+ <td>task_run</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Could be empty+TODO(p0ny): We will migrate ChangeHistory to Changelog, and they won't have task_run. </p></td>+ </tr>++ <tr>+ <td>version</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Could be empty </p></td>+ </tr>++ <tr>+ <td>revision</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>Could be empty+Or present but not found if deleted </p></td>+ </tr>++ <tr>+ <td>changed_resources</td>+ <td><a href="#bytebase.v1.ChangedResources">ChangedResources</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.CheckConstraintMetadata">CheckConstraintMetadata</h3><p>CheckConstraintMetadata is the metadata for check constraints.</p>@@ -7380,6 +7536,54 @@ For Postgres, we'll filter the backup schema. </p></td>+ <h3 id="bytebase.v1.GetChangelogRequest">GetChangelogRequest</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 changelog to retrieve.+Format: instances/{instance}/databases/{database}/changelogs/{changelog} </p></td>+ </tr>++ <tr>+ <td>view</td>+ <td><a href="#bytebase.v1.ChangeHistoryView">ChangeHistoryView</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>sdl_format</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>Format the schema dump into SDL format. </p></td>+ </tr>++ <tr>+ <td>concise</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>When true, the schema dump will be concise.+For Oracle, there will be tables and indexes only for Sync Schema.+For Postgres, we'll filter the backup schema. </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.GetDatabaseMetadataRequest">GetDatabaseMetadataRequest</h3><p></p>@@ -7720,6 +7924,125 @@ If this field is omitted, there are no subsequent pages. </p></td>+ <h3 id="bytebase.v1.ListChangelogsRequest">ListChangelogsRequest</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>parent</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The parent of the changelogs.+Format: instances/{instance}/databases/{database} </p></td>+ </tr>++ <tr>+ <td>page_size</td>+ <td><a href="#int32">int32</a></td>+ <td></td>+ <td><p>The maximum number of changelogs to return. The service may return fewer than this value.+If unspecified, at most 10 changelogs will be returned.+The maximum value is 1000; values above 1000 will be coerced to 1000. </p></td>+ </tr>++ <tr>+ <td>page_token</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>A page token, received from the previous call.+Provide this to retrieve the subsequent page.++When paginating, all other parameters provided must match+the call that provided the page token. </p></td>+ </tr>++ <tr>+ <td>view</td>+ <td><a href="#bytebase.v1.ChangelogView">ChangelogView</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>++ <tr>+ <td>filter</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>The filter of the changelogs.+follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.+Support filter by type, source or table.+For example:+table = "tableExists('{database}', '{schema}', '{table}')"+table = "tableExists('db', 'public', 'table1') || tableExists('db', 'public', 'table2')"+type = "MIGRATE | DATA"+source = "UI"+source = "VCS"++The table filter follow the CEL syntax.+currently, we have one function for CEL:+- tableExists(database, schema, table): return true if the table exists in changed resources.++examples:+Use+ tableExists("db", "public", "table1")+to filter the changelogs which have the table "table1" in the schema "public" of the database "db".+For MySQL, the schema is always "", such as tableExists("db", "", "table1").++Combine multiple functions with "&&" and "||", we MUST use the Disjunctive Normal Form(DNF).+In other words, the CEL expression consists of several parts connected by OR operators.+For example, the following expression is valid:+(+ tableExists("db", "public", "table1") &&+ tableExists("db", "public", "table2")+) || (+ tableExists("db", "public", "table3")+) </p></td>+ </tr>++ </tbody>+ </table>++++++ <h3 id="bytebase.v1.ListChangelogsResponse">ListChangelogsResponse</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>changelogs</td>+ <td><a href="#bytebase.v1.Changelog">Changelog</a></td>+ <td>repeated</td>+ <td><p>The list of changelogs. </p></td>+ </tr>++ <tr>+ <td>next_page_token</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p>A token, which can be sent as `page_token` to retrieve the next page.+If this field is omitted, there are no subsequent pages. </p></td>+ </tr>++ </tbody>+ </table>+++++<h3 id="bytebase.v1.ListDatabasesRequest">ListDatabasesRequest</h3><p></p>@@ -9607,6 +9930,71 @@ The API will default to the BASIC view.</p></td></tbody></table>+ <h3 id="bytebase.v1.Changelog.Status">Changelog.Status</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>STATUS_UNSPECIFIED</td>+ <td>0</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>PENDING</td>+ <td>1</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>DONE</td>+ <td>2</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>FAILED</td>+ <td>3</td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>++ <h3 id="bytebase.v1.ChangelogView">ChangelogView</h3>+ <p></p>+ <table class="enum-table">+ <thead>+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>+ </thead>+ <tbody>++ <tr>+ <td>CHANGELOG_VIEW_UNSPECIFIED</td>+ <td>0</td>+ <td><p>The default / unset value.+The API will default to the BASIC view.</p></td>+ </tr>++ <tr>+ <td>CHANGELOG_VIEW_BASIC</td>+ <td>1</td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>CHANGELOG_VIEW_FULL</td>+ <td>2</td>+ <td><p></p></td>+ </tr>++ </tbody>+ </table>+<h3 id="bytebase.v1.DatabaseMetadataView">DatabaseMetadataView</h3><p></p><table class="enum-table">@@ -9970,6 +10358,20 @@ The API will default to the BASIC view.</p></td><td><p></p></td></tr>+ <tr>+ <td>ListChangelogs</td>+ <td><a href="#bytebase.v1.ListChangelogsRequest">ListChangelogsRequest</a></td>+ <td><a href="#bytebase.v1.ListChangelogsResponse">ListChangelogsResponse</a></td>+ <td><p></p></td>+ </tr>++ <tr>+ <td>GetChangelog</td>+ <td><a href="#bytebase.v1.GetChangelogRequest">GetChangelogRequest</a></td>+ <td><a href="#bytebase.v1.Changelog">Changelog</a></td>+ <td><p></p></td>+ </tr>+</tbody></table>@@ -10202,6 +10604,26 @@ The API will default to the BASIC view.</p></td></tr>+++ <tr>+ <td>ListChangelogs</td>+ <td>GET</td>+ <td>/v1/{parent=instances/*/databases/*}/changelogs</td>+ <td></td>+ </tr>+++++ <tr>+ <td>GetChangelog</td>+ <td>GET</td>+ <td>/v1/{name=instances/*/databases/*/changelogs/*}</td>+ <td></td>+ </tr>++</tbody></table>diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.goindex 7ca2e963f2..66616ca287 100644--- a/proto/generated-go/v1/database_service.pb.go+++ b/proto/generated-go/v1/database_service.pb.go@@ -129,6 +129,57 @@ func (ChangeHistoryView) EnumDescriptor() ([]byte, []int) {return file_v1_database_service_proto_rawDescGZIP(), []int{1}}+type ChangelogView int32++const (+ // The default / unset value.+ // The API will default to the BASIC view.+ ChangelogView_CHANGELOG_VIEW_UNSPECIFIED ChangelogView = 0+ ChangelogView_CHANGELOG_VIEW_BASIC ChangelogView = 1+ ChangelogView_CHANGELOG_VIEW_FULL ChangelogView = 2+)++// Enum value maps for ChangelogView.+var (+ ChangelogView_name = map[int32]string{+ 0: "CHANGELOG_VIEW_UNSPECIFIED",+ 1: "CHANGELOG_VIEW_BASIC",+ 2: "CHANGELOG_VIEW_FULL",+ }+ ChangelogView_value = map[string]int32{+ "CHANGELOG_VIEW_UNSPECIFIED": 0,+ "CHANGELOG_VIEW_BASIC": 1,+ "CHANGELOG_VIEW_FULL": 2,+ }+)++func (x ChangelogView) Enum() *ChangelogView {+ p := new(ChangelogView)+ *p = x+ return p+}++func (x ChangelogView) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (ChangelogView) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_database_service_proto_enumTypes[2].Descriptor()+}++func (ChangelogView) Type() protoreflect.EnumType {+ return &file_v1_database_service_proto_enumTypes[2]+}++func (x ChangelogView) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use ChangelogView.Descriptor instead.+func (ChangelogView) EnumDescriptor() ([]byte, []int) {+ return file_v1_database_service_proto_rawDescGZIP(), []int{2}+}+// Type is the type of a table partition, some database engines may not support all types.// Only avilable for the following database engines now:// MySQL: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, LINEAR HASH, KEY, LINEAR_KEY (https://dev.mysql.com/doc/refman/8.0/en/partitioning-types.html)@@ -185,11 +236,11 @@ func (x TablePartitionMetadata_Type) String() string {}func (TablePartitionMetadata_Type) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[2].Descriptor()+ return file_v1_database_service_proto_enumTypes[3].Descriptor()}func (TablePartitionMetadata_Type) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[2]+ return &file_v1_database_service_proto_enumTypes[3]}func (x TablePartitionMetadata_Type) Number() protoreflect.EnumNumber {@@ -234,11 +285,11 @@ func (x GenerationMetadata_Type) String() string {}func (GenerationMetadata_Type) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[3].Descriptor()+ return file_v1_database_service_proto_enumTypes[4].Descriptor()}func (GenerationMetadata_Type) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[3]+ return &file_v1_database_service_proto_enumTypes[4]}func (x GenerationMetadata_Type) Number() protoreflect.EnumNumber {@@ -283,11 +334,11 @@ func (x TaskMetadata_State) String() string {}func (TaskMetadata_State) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[4].Descriptor()+ return file_v1_database_service_proto_enumTypes[5].Descriptor()}func (TaskMetadata_State) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[4]+ return &file_v1_database_service_proto_enumTypes[5]}func (x TaskMetadata_State) Number() protoreflect.EnumNumber {@@ -329,11 +380,11 @@ func (x StreamMetadata_Type) String() string {}func (StreamMetadata_Type) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[5].Descriptor()+ return file_v1_database_service_proto_enumTypes[6].Descriptor()}func (StreamMetadata_Type) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[5]+ return &file_v1_database_service_proto_enumTypes[6]}func (x StreamMetadata_Type) Number() protoreflect.EnumNumber {@@ -381,11 +432,11 @@ func (x StreamMetadata_Mode) String() string {}func (StreamMetadata_Mode) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[6].Descriptor()+ return file_v1_database_service_proto_enumTypes[7].Descriptor()}func (StreamMetadata_Mode) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[6]+ return &file_v1_database_service_proto_enumTypes[7]}func (x StreamMetadata_Mode) Number() protoreflect.EnumNumber {@@ -433,11 +484,11 @@ func (x ChangeHistory_Source) String() string {}func (ChangeHistory_Source) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[7].Descriptor()+ return file_v1_database_service_proto_enumTypes[8].Descriptor()}func (ChangeHistory_Source) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[7]+ return &file_v1_database_service_proto_enumTypes[8]}func (x ChangeHistory_Source) Number() protoreflect.EnumNumber {@@ -491,11 +542,11 @@ func (x ChangeHistory_Type) String() string {}func (ChangeHistory_Type) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[8].Descriptor()+ return file_v1_database_service_proto_enumTypes[9].Descriptor()}func (ChangeHistory_Type) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[8]+ return &file_v1_database_service_proto_enumTypes[9]}func (x ChangeHistory_Type) Number() protoreflect.EnumNumber {@@ -543,11 +594,11 @@ func (x ChangeHistory_Status) String() string {}func (ChangeHistory_Status) Descriptor() protoreflect.EnumDescriptor {- return file_v1_database_service_proto_enumTypes[9].Descriptor()+ return file_v1_database_service_proto_enumTypes[10].Descriptor()}func (ChangeHistory_Status) Type() protoreflect.EnumType {- return &file_v1_database_service_proto_enumTypes[9]+ return &file_v1_database_service_proto_enumTypes[10]}func (x ChangeHistory_Status) Number() protoreflect.EnumNumber {@@ -559,6 +610,58 @@ func (ChangeHistory_Status) EnumDescriptor() ([]byte, []int) {return file_v1_database_service_proto_rawDescGZIP(), []int{55, 2}}+type Changelog_Status int32++const (+ Changelog_STATUS_UNSPECIFIED Changelog_Status = 0+ Changelog_PENDING Changelog_Status = 1+ Changelog_DONE Changelog_Status = 2+ Changelog_FAILED Changelog_Status = 3+)++// Enum value maps for Changelog_Status.+var (+ Changelog_Status_name = map[int32]string{+ 0: "STATUS_UNSPECIFIED",+ 1: "PENDING",+ 2: "DONE",+ 3: "FAILED",+ }+ Changelog_Status_value = map[string]int32{+ "STATUS_UNSPECIFIED": 0,+ "PENDING": 1,+ "DONE": 2,+ "FAILED": 3,+ }+)++func (x Changelog_Status) Enum() *Changelog_Status {+ p := new(Changelog_Status)+ *p = x+ return p+}++func (x Changelog_Status) String() string {+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))+}++func (Changelog_Status) Descriptor() protoreflect.EnumDescriptor {+ return file_v1_database_service_proto_enumTypes[11].Descriptor()+}++func (Changelog_Status) Type() protoreflect.EnumType {+ return &file_v1_database_service_proto_enumTypes[11]+}++func (x Changelog_Status) Number() protoreflect.EnumNumber {+ return protoreflect.EnumNumber(x)+}++// Deprecated: Use Changelog_Status.Descriptor instead.+func (Changelog_Status) EnumDescriptor() ([]byte, []int) {+ return file_v1_database_service_proto_rawDescGZIP(), []int{74, 0}+}+type GetDatabaseRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -6154,6 +6257,435 @@ func (x *Revision) GetTaskRun() string {return ""}+type ListChangelogsRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The parent of the changelogs.+ // Format: instances/{instance}/databases/{database}+ Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`+ // The maximum number of changelogs to return. The service may return fewer than this value.+ // If unspecified, at most 10 changelogs will be returned.+ // The maximum value is 1000; values above 1000 will be coerced to 1000.+ PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`+ // A page token, received from the previous call.+ // Provide this to retrieve the subsequent page.+ //+ // When paginating, all other parameters provided must match+ // the call that provided the page token.+ PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`+ View ChangelogView `protobuf:"varint,4,opt,name=view,proto3,enum=bytebase.v1.ChangelogView" json:"view,omitempty"`+ // The filter of the changelogs.+ // follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.+ // Support filter by type, source or table.+ // For example:+ // table = "tableExists('{database}', '{schema}', '{table}')"+ // table = "tableExists('db', 'public', 'table1') || tableExists('db', 'public', 'table2')"+ // type = "MIGRATE | DATA"+ // source = "UI"+ // source = "VCS"+ //+ // The table filter follow the CEL syntax.+ // currently, we have one function for CEL:+ // - tableExists(database, schema, table): return true if the table exists in changed resources.+ //+ // examples:+ // Use+ //+ // tableExists("db", "public", "table1")+ //+ // to filter the changelogs which have the table "table1" in the schema "public" of the database "db".+ // For MySQL, the schema is always "", such as tableExists("db", "", "table1").+ //+ // Combine multiple functions with "&&" and "||", we MUST use the Disjunctive Normal Form(DNF).+ // In other words, the CEL expression consists of several parts connected by OR operators.+ // For example, the following expression is valid:+ // (+ //+ // tableExists("db", "public", "table1") &&+ // tableExists("db", "public", "table2")+ //+ // ) || (+ //+ // tableExists("db", "public", "table3")+ //+ // )+ Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`+}++func (x *ListChangelogsRequest) Reset() {+ *x = ListChangelogsRequest{}+ mi := &file_v1_database_service_proto_msgTypes[71]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *ListChangelogsRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*ListChangelogsRequest) ProtoMessage() {}++func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_service_proto_msgTypes[71]+ 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 ListChangelogsRequest.ProtoReflect.Descriptor instead.+func (*ListChangelogsRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_service_proto_rawDescGZIP(), []int{71}+}++func (x *ListChangelogsRequest) GetParent() string {+ if x != nil {+ return x.Parent+ }+ return ""+}++func (x *ListChangelogsRequest) GetPageSize() int32 {+ if x != nil {+ return x.PageSize+ }+ return 0+}++func (x *ListChangelogsRequest) GetPageToken() string {+ if x != nil {+ return x.PageToken+ }+ return ""+}++func (x *ListChangelogsRequest) GetView() ChangelogView {+ if x != nil {+ return x.View+ }+ return ChangelogView_CHANGELOG_VIEW_UNSPECIFIED+}++func (x *ListChangelogsRequest) GetFilter() string {+ if x != nil {+ return x.Filter+ }+ return ""+}++type ListChangelogsResponse struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The list of changelogs.+ Changelogs []*Changelog `protobuf:"bytes,1,rep,name=changelogs,proto3" json:"changelogs,omitempty"`+ // A token, which can be sent as `page_token` to retrieve the next page.+ // If this field is omitted, there are no subsequent pages.+ NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`+}++func (x *ListChangelogsResponse) Reset() {+ *x = ListChangelogsResponse{}+ mi := &file_v1_database_service_proto_msgTypes[72]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *ListChangelogsResponse) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*ListChangelogsResponse) ProtoMessage() {}++func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_service_proto_msgTypes[72]+ 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 ListChangelogsResponse.ProtoReflect.Descriptor instead.+func (*ListChangelogsResponse) Descriptor() ([]byte, []int) {+ return file_v1_database_service_proto_rawDescGZIP(), []int{72}+}++func (x *ListChangelogsResponse) GetChangelogs() []*Changelog {+ if x != nil {+ return x.Changelogs+ }+ return nil+}++func (x *ListChangelogsResponse) GetNextPageToken() string {+ if x != nil {+ return x.NextPageToken+ }+ return ""+}++type GetChangelogRequest struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // The name of the changelog to retrieve.+ // Format: instances/{instance}/databases/{database}/changelogs/{changelog}+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ View ChangeHistoryView `protobuf:"varint,2,opt,name=view,proto3,enum=bytebase.v1.ChangeHistoryView" json:"view,omitempty"`+ // Format the schema dump into SDL format.+ SdlFormat bool `protobuf:"varint,3,opt,name=sdl_format,json=sdlFormat,proto3" json:"sdl_format,omitempty"`+ // When true, the schema dump will be concise.+ // For Oracle, there will be tables and indexes only for Sync Schema.+ // For Postgres, we'll filter the backup schema.+ Concise bool `protobuf:"varint,4,opt,name=concise,proto3" json:"concise,omitempty"`+}++func (x *GetChangelogRequest) Reset() {+ *x = GetChangelogRequest{}+ mi := &file_v1_database_service_proto_msgTypes[73]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *GetChangelogRequest) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*GetChangelogRequest) ProtoMessage() {}++func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_service_proto_msgTypes[73]+ 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 GetChangelogRequest.ProtoReflect.Descriptor instead.+func (*GetChangelogRequest) Descriptor() ([]byte, []int) {+ return file_v1_database_service_proto_rawDescGZIP(), []int{73}+}++func (x *GetChangelogRequest) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++func (x *GetChangelogRequest) GetView() ChangeHistoryView {+ if x != nil {+ return x.View+ }+ return ChangeHistoryView_CHANGE_HISTORY_VIEW_UNSPECIFIED+}++func (x *GetChangelogRequest) GetSdlFormat() bool {+ if x != nil {+ return x.SdlFormat+ }+ return false+}++func (x *GetChangelogRequest) GetConcise() bool {+ if x != nil {+ return x.Concise+ }+ return false+}++type Changelog struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // Format: instances/{instance}/databases/{database}/changelogs/{changelog}+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ // Format: users/[email protected]+ Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`+ CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`+ Status Changelog_Status `protobuf:"varint,4,opt,name=status,proto3,enum=bytebase.v1.Changelog_Status" json:"status,omitempty"`+ // The statement is used for preview purpose.+ Statement string `protobuf:"bytes,5,opt,name=statement,proto3" json:"statement,omitempty"`+ StatementSize int64 `protobuf:"varint,6,opt,name=statement_size,json=statementSize,proto3" json:"statement_size,omitempty"`+ // The name of the sheet resource.+ // Format: projects/{project}/sheets/{sheet}+ StatementSheet string `protobuf:"bytes,7,opt,name=statement_sheet,json=statementSheet,proto3" json:"statement_sheet,omitempty"`+ Schema string `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"`+ SchemaSize int64 `protobuf:"varint,9,opt,name=schema_size,json=schemaSize,proto3" json:"schema_size,omitempty"`+ PrevSchema string `protobuf:"bytes,10,opt,name=prev_schema,json=prevSchema,proto3" json:"prev_schema,omitempty"`+ PrevSchemaSize int64 `protobuf:"varint,11,opt,name=prev_schema_size,json=prevSchemaSize,proto3" json:"prev_schema_size,omitempty"`+ // Format: projects/{project}/issues/{issue}+ Issue string `protobuf:"bytes,12,opt,name=issue,proto3" json:"issue,omitempty"`+ // Could be empty+ // TODO(p0ny): We will migrate ChangeHistory to Changelog, and they won't have task_run.+ TaskRun string `protobuf:"bytes,13,opt,name=task_run,json=taskRun,proto3" json:"task_run,omitempty"`+ // Could be empty+ Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`+ // Could be empty+ // Or present but not found if deleted+ Revision string `protobuf:"bytes,15,opt,name=revision,proto3" json:"revision,omitempty"`+ ChangedResources *ChangedResources `protobuf:"bytes,16,opt,name=changed_resources,json=changedResources,proto3" json:"changed_resources,omitempty"`+}++func (x *Changelog) Reset() {+ *x = Changelog{}+ mi := &file_v1_database_service_proto_msgTypes[74]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *Changelog) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*Changelog) ProtoMessage() {}++func (x *Changelog) ProtoReflect() protoreflect.Message {+ mi := &file_v1_database_service_proto_msgTypes[74]+ 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 Changelog.ProtoReflect.Descriptor instead.+func (*Changelog) Descriptor() ([]byte, []int) {+ return file_v1_database_service_proto_rawDescGZIP(), []int{74}+}++func (x *Changelog) GetName() string {+ if x != nil {+ return x.Name+ }+ return ""+}++func (x *Changelog) GetCreator() string {+ if x != nil {+ return x.Creator+ }+ return ""+}++func (x *Changelog) GetCreateTime() *timestamppb.Timestamp {+ if x != nil {+ return x.CreateTime+ }+ return nil+}++func (x *Changelog) GetStatus() Changelog_Status {+ if x != nil {+ return x.Status+ }+ return Changelog_STATUS_UNSPECIFIED+}++func (x *Changelog) GetStatement() string {+ if x != nil {+ return x.Statement+ }+ return ""+}++func (x *Changelog) GetStatementSize() int64 {+ if x != nil {+ return x.StatementSize+ }+ return 0+}++func (x *Changelog) GetStatementSheet() string {+ if x != nil {+ return x.StatementSheet+ }+ return ""+}++func (x *Changelog) GetSchema() string {+ if x != nil {+ return x.Schema+ }+ return ""+}++func (x *Changelog) GetSchemaSize() int64 {+ if x != nil {+ return x.SchemaSize+ }+ return 0+}++func (x *Changelog) GetPrevSchema() string {+ if x != nil {+ return x.PrevSchema+ }+ return ""+}++func (x *Changelog) GetPrevSchemaSize() int64 {+ if x != nil {+ return x.PrevSchemaSize+ }+ return 0+}++func (x *Changelog) GetIssue() string {+ if x != nil {+ return x.Issue+ }+ return ""+}++func (x *Changelog) GetTaskRun() string {+ if x != nil {+ return x.TaskRun+ }+ return ""+}++func (x *Changelog) GetVersion() string {+ if x != nil {+ return x.Version+ }+ return ""+}++func (x *Changelog) GetRevision() string {+ if x != nil {+ return x.Revision+ }+ return ""+}++func (x *Changelog) GetChangedResources() *ChangedResources {+ if x != nil {+ return x.ChangedResources+ }+ return nil+}+var File_v1_database_service_proto protoreflect.FileDescriptorvar file_v1_database_service_proto_rawDesc = []byte{@@ -7151,248 +7683,354 @@ var file_v1_database_service_proto_rawDesc = []byte{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, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x76, 0x69,- 0x73, 0x69, 0x6f, 0x6e, 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,- 0x32, 0xa0, 0x1c, 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, 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,+ 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xd3, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68,+ 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,+ 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,+ 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52,+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,+ 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,+ 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,+ 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,+ 0x6b, 0x65, 0x6e, 0x12, 0x2e, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76,+ 0x69, 0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x78, 0x0a, 0x16, 0x4c,+ 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,+ 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f,+ 0x67, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a,+ 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,+ 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xbf, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe2, 0x41, 0x01,+ 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,+ 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x76, 0x69,+ 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 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, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d,+ 0x0a, 0x0a, 0x73, 0x64, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x08, 0x52, 0x09, 0x73, 0x64, 0x6c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a,+ 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,+ 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x73, 0x65, 0x22, 0xfe, 0x05, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e,+ 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65,+ 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61,+ 0x74, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,+ 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,+ 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,+ 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,+ 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65,+ 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74,+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,+ 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73,+ 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x0f,+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18,+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,+ 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,+ 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a,+ 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01,+ 0x28, 0x03, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f,+ 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0a, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,+ 0x28, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73,+ 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73,+ 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12,+ 0x19, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,+ 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,+ 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f,+ 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e,+ 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x06,+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,+ 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b,+ 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44,+ 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10,+ 0x03, 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x1e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x40, 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, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x68,+ 0x61, 0x6e, 0x67, 0x65, 0x6c, 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, 0xc9, 0x1e, 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, 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, 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, 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, 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, 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, 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, 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,- 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,+ 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, 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, 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, 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,+ 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, 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, 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,+ 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, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,- 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 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,+ 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, 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, 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,}@@ -7409,238 +8047,254 @@ 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, 10)-var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 73)+var file_v1_database_service_proto_enumTypes = make([]protoimpl.EnumInfo, 12)+var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 77)var file_v1_database_service_proto_goTypes = []any{(DatabaseMetadataView)(0), // 0: bytebase.v1.DatabaseMetadataView(ChangeHistoryView)(0), // 1: bytebase.v1.ChangeHistoryView- (TablePartitionMetadata_Type)(0), // 2: bytebase.v1.TablePartitionMetadata.Type- (GenerationMetadata_Type)(0), // 3: bytebase.v1.GenerationMetadata.Type- (TaskMetadata_State)(0), // 4: bytebase.v1.TaskMetadata.State- (StreamMetadata_Type)(0), // 5: bytebase.v1.StreamMetadata.Type- (StreamMetadata_Mode)(0), // 6: bytebase.v1.StreamMetadata.Mode- (ChangeHistory_Source)(0), // 7: bytebase.v1.ChangeHistory.Source- (ChangeHistory_Type)(0), // 8: bytebase.v1.ChangeHistory.Type- (ChangeHistory_Status)(0), // 9: bytebase.v1.ChangeHistory.Status- (*GetDatabaseRequest)(nil), // 10: bytebase.v1.GetDatabaseRequest- (*ListInstanceDatabasesRequest)(nil), // 11: bytebase.v1.ListInstanceDatabasesRequest- (*ListInstanceDatabasesResponse)(nil), // 12: bytebase.v1.ListInstanceDatabasesResponse- (*ListDatabasesRequest)(nil), // 13: bytebase.v1.ListDatabasesRequest- (*ListDatabasesResponse)(nil), // 14: bytebase.v1.ListDatabasesResponse- (*UpdateDatabaseRequest)(nil), // 15: bytebase.v1.UpdateDatabaseRequest- (*BatchUpdateDatabasesRequest)(nil), // 16: bytebase.v1.BatchUpdateDatabasesRequest- (*BatchUpdateDatabasesResponse)(nil), // 17: bytebase.v1.BatchUpdateDatabasesResponse- (*SyncDatabaseRequest)(nil), // 18: bytebase.v1.SyncDatabaseRequest- (*SyncDatabaseResponse)(nil), // 19: bytebase.v1.SyncDatabaseResponse- (*GetDatabaseMetadataRequest)(nil), // 20: bytebase.v1.GetDatabaseMetadataRequest- (*UpdateDatabaseMetadataRequest)(nil), // 21: bytebase.v1.UpdateDatabaseMetadataRequest- (*GetDatabaseSchemaRequest)(nil), // 22: bytebase.v1.GetDatabaseSchemaRequest- (*DiffSchemaRequest)(nil), // 23: bytebase.v1.DiffSchemaRequest- (*DiffSchemaResponse)(nil), // 24: bytebase.v1.DiffSchemaResponse- (*Database)(nil), // 25: bytebase.v1.Database- (*DatabaseMetadata)(nil), // 26: bytebase.v1.DatabaseMetadata- (*SchemaMetadata)(nil), // 27: bytebase.v1.SchemaMetadata- (*ExternalTableMetadata)(nil), // 28: bytebase.v1.ExternalTableMetadata- (*TableMetadata)(nil), // 29: bytebase.v1.TableMetadata- (*CheckConstraintMetadata)(nil), // 30: bytebase.v1.CheckConstraintMetadata- (*TablePartitionMetadata)(nil), // 31: bytebase.v1.TablePartitionMetadata- (*ColumnMetadata)(nil), // 32: bytebase.v1.ColumnMetadata- (*GenerationMetadata)(nil), // 33: bytebase.v1.GenerationMetadata- (*ViewMetadata)(nil), // 34: bytebase.v1.ViewMetadata- (*DependentColumn)(nil), // 35: bytebase.v1.DependentColumn- (*MaterializedViewMetadata)(nil), // 36: bytebase.v1.MaterializedViewMetadata- (*FunctionMetadata)(nil), // 37: bytebase.v1.FunctionMetadata- (*ProcedureMetadata)(nil), // 38: bytebase.v1.ProcedureMetadata- (*PackageMetadata)(nil), // 39: bytebase.v1.PackageMetadata- (*TaskMetadata)(nil), // 40: bytebase.v1.TaskMetadata- (*StreamMetadata)(nil), // 41: bytebase.v1.StreamMetadata- (*IndexMetadata)(nil), // 42: bytebase.v1.IndexMetadata- (*ExtensionMetadata)(nil), // 43: bytebase.v1.ExtensionMetadata- (*ForeignKeyMetadata)(nil), // 44: bytebase.v1.ForeignKeyMetadata- (*DatabaseConfig)(nil), // 45: bytebase.v1.DatabaseConfig- (*SchemaConfig)(nil), // 46: bytebase.v1.SchemaConfig- (*TableConfig)(nil), // 47: bytebase.v1.TableConfig- (*FunctionConfig)(nil), // 48: bytebase.v1.FunctionConfig- (*ProcedureConfig)(nil), // 49: bytebase.v1.ProcedureConfig- (*ViewConfig)(nil), // 50: bytebase.v1.ViewConfig- (*ColumnConfig)(nil), // 51: bytebase.v1.ColumnConfig- (*DatabaseSchema)(nil), // 52: bytebase.v1.DatabaseSchema- (*ListSlowQueriesRequest)(nil), // 53: bytebase.v1.ListSlowQueriesRequest- (*ListSlowQueriesResponse)(nil), // 54: bytebase.v1.ListSlowQueriesResponse- (*SlowQueryLog)(nil), // 55: bytebase.v1.SlowQueryLog- (*SlowQueryStatistics)(nil), // 56: bytebase.v1.SlowQueryStatistics- (*SlowQueryDetails)(nil), // 57: bytebase.v1.SlowQueryDetails- (*ListSecretsRequest)(nil), // 58: bytebase.v1.ListSecretsRequest- (*ListSecretsResponse)(nil), // 59: bytebase.v1.ListSecretsResponse- (*UpdateSecretRequest)(nil), // 60: bytebase.v1.UpdateSecretRequest- (*DeleteSecretRequest)(nil), // 61: bytebase.v1.DeleteSecretRequest- (*Secret)(nil), // 62: bytebase.v1.Secret- (*AdviseIndexRequest)(nil), // 63: bytebase.v1.AdviseIndexRequest- (*AdviseIndexResponse)(nil), // 64: bytebase.v1.AdviseIndexResponse- (*ChangeHistory)(nil), // 65: bytebase.v1.ChangeHistory- (*ChangedResources)(nil), // 66: bytebase.v1.ChangedResources- (*ChangedResourceDatabase)(nil), // 67: bytebase.v1.ChangedResourceDatabase- (*ChangedResourceSchema)(nil), // 68: bytebase.v1.ChangedResourceSchema- (*ChangedResourceTable)(nil), // 69: bytebase.v1.ChangedResourceTable- (*ChangedResourceView)(nil), // 70: bytebase.v1.ChangedResourceView- (*ChangedResourceFunction)(nil), // 71: bytebase.v1.ChangedResourceFunction- (*ChangedResourceProcedure)(nil), // 72: bytebase.v1.ChangedResourceProcedure- (*ListChangeHistoriesRequest)(nil), // 73: bytebase.v1.ListChangeHistoriesRequest- (*ListChangeHistoriesResponse)(nil), // 74: bytebase.v1.ListChangeHistoriesResponse- (*GetChangeHistoryRequest)(nil), // 75: bytebase.v1.GetChangeHistoryRequest- (*ListRevisionsRequest)(nil), // 76: bytebase.v1.ListRevisionsRequest- (*ListRevisionsResponse)(nil), // 77: bytebase.v1.ListRevisionsResponse- (*GetRevisionRequest)(nil), // 78: bytebase.v1.GetRevisionRequest- (*DeleteRevisionRequest)(nil), // 79: bytebase.v1.DeleteRevisionRequest- (*Revision)(nil), // 80: bytebase.v1.Revision- nil, // 81: bytebase.v1.Database.LabelsEntry- nil, // 82: bytebase.v1.ColumnConfig.LabelsEntry- (*fieldmaskpb.FieldMask)(nil), // 83: google.protobuf.FieldMask- (State)(0), // 84: bytebase.v1.State- (*timestamppb.Timestamp)(nil), // 85: google.protobuf.Timestamp- (*InstanceResource)(nil), // 86: bytebase.v1.InstanceResource- (MaskingLevel)(0), // 87: bytebase.v1.MaskingLevel- (*durationpb.Duration)(nil), // 88: google.protobuf.Duration- (*Range)(nil), // 89: bytebase.v1.Range- (ReleaseFileType)(0), // 90: bytebase.v1.ReleaseFileType- (*emptypb.Empty)(nil), // 91: google.protobuf.Empty+ (ChangelogView)(0), // 2: bytebase.v1.ChangelogView+ (TablePartitionMetadata_Type)(0), // 3: bytebase.v1.TablePartitionMetadata.Type+ (GenerationMetadata_Type)(0), // 4: bytebase.v1.GenerationMetadata.Type+ (TaskMetadata_State)(0), // 5: bytebase.v1.TaskMetadata.State+ (StreamMetadata_Type)(0), // 6: bytebase.v1.StreamMetadata.Type+ (StreamMetadata_Mode)(0), // 7: bytebase.v1.StreamMetadata.Mode+ (ChangeHistory_Source)(0), // 8: bytebase.v1.ChangeHistory.Source+ (ChangeHistory_Type)(0), // 9: bytebase.v1.ChangeHistory.Type+ (ChangeHistory_Status)(0), // 10: bytebase.v1.ChangeHistory.Status+ (Changelog_Status)(0), // 11: bytebase.v1.Changelog.Status+ (*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+ (*ExternalTableMetadata)(nil), // 30: bytebase.v1.ExternalTableMetadata+ (*TableMetadata)(nil), // 31: bytebase.v1.TableMetadata+ (*CheckConstraintMetadata)(nil), // 32: bytebase.v1.CheckConstraintMetadata+ (*TablePartitionMetadata)(nil), // 33: bytebase.v1.TablePartitionMetadata+ (*ColumnMetadata)(nil), // 34: bytebase.v1.ColumnMetadata+ (*GenerationMetadata)(nil), // 35: bytebase.v1.GenerationMetadata+ (*ViewMetadata)(nil), // 36: bytebase.v1.ViewMetadata+ (*DependentColumn)(nil), // 37: bytebase.v1.DependentColumn+ (*MaterializedViewMetadata)(nil), // 38: bytebase.v1.MaterializedViewMetadata+ (*FunctionMetadata)(nil), // 39: bytebase.v1.FunctionMetadata+ (*ProcedureMetadata)(nil), // 40: bytebase.v1.ProcedureMetadata+ (*PackageMetadata)(nil), // 41: bytebase.v1.PackageMetadata+ (*TaskMetadata)(nil), // 42: bytebase.v1.TaskMetadata+ (*StreamMetadata)(nil), // 43: bytebase.v1.StreamMetadata+ (*IndexMetadata)(nil), // 44: bytebase.v1.IndexMetadata+ (*ExtensionMetadata)(nil), // 45: bytebase.v1.ExtensionMetadata+ (*ForeignKeyMetadata)(nil), // 46: bytebase.v1.ForeignKeyMetadata+ (*DatabaseConfig)(nil), // 47: bytebase.v1.DatabaseConfig+ (*SchemaConfig)(nil), // 48: bytebase.v1.SchemaConfig+ (*TableConfig)(nil), // 49: bytebase.v1.TableConfig+ (*FunctionConfig)(nil), // 50: bytebase.v1.FunctionConfig+ (*ProcedureConfig)(nil), // 51: bytebase.v1.ProcedureConfig+ (*ViewConfig)(nil), // 52: bytebase.v1.ViewConfig+ (*ColumnConfig)(nil), // 53: bytebase.v1.ColumnConfig+ (*DatabaseSchema)(nil), // 54: bytebase.v1.DatabaseSchema+ (*ListSlowQueriesRequest)(nil), // 55: bytebase.v1.ListSlowQueriesRequest+ (*ListSlowQueriesResponse)(nil), // 56: bytebase.v1.ListSlowQueriesResponse+ (*SlowQueryLog)(nil), // 57: bytebase.v1.SlowQueryLog+ (*SlowQueryStatistics)(nil), // 58: bytebase.v1.SlowQueryStatistics+ (*SlowQueryDetails)(nil), // 59: bytebase.v1.SlowQueryDetails+ (*ListSecretsRequest)(nil), // 60: bytebase.v1.ListSecretsRequest+ (*ListSecretsResponse)(nil), // 61: bytebase.v1.ListSecretsResponse+ (*UpdateSecretRequest)(nil), // 62: bytebase.v1.UpdateSecretRequest+ (*DeleteSecretRequest)(nil), // 63: bytebase.v1.DeleteSecretRequest+ (*Secret)(nil), // 64: bytebase.v1.Secret+ (*AdviseIndexRequest)(nil), // 65: bytebase.v1.AdviseIndexRequest+ (*AdviseIndexResponse)(nil), // 66: bytebase.v1.AdviseIndexResponse+ (*ChangeHistory)(nil), // 67: bytebase.v1.ChangeHistory+ (*ChangedResources)(nil), // 68: bytebase.v1.ChangedResources+ (*ChangedResourceDatabase)(nil), // 69: bytebase.v1.ChangedResourceDatabase+ (*ChangedResourceSchema)(nil), // 70: bytebase.v1.ChangedResourceSchema+ (*ChangedResourceTable)(nil), // 71: bytebase.v1.ChangedResourceTable+ (*ChangedResourceView)(nil), // 72: bytebase.v1.ChangedResourceView+ (*ChangedResourceFunction)(nil), // 73: bytebase.v1.ChangedResourceFunction+ (*ChangedResourceProcedure)(nil), // 74: bytebase.v1.ChangedResourceProcedure+ (*ListChangeHistoriesRequest)(nil), // 75: bytebase.v1.ListChangeHistoriesRequest+ (*ListChangeHistoriesResponse)(nil), // 76: bytebase.v1.ListChangeHistoriesResponse+ (*GetChangeHistoryRequest)(nil), // 77: bytebase.v1.GetChangeHistoryRequest+ (*ListRevisionsRequest)(nil), // 78: bytebase.v1.ListRevisionsRequest+ (*ListRevisionsResponse)(nil), // 79: bytebase.v1.ListRevisionsResponse+ (*GetRevisionRequest)(nil), // 80: bytebase.v1.GetRevisionRequest+ (*DeleteRevisionRequest)(nil), // 81: bytebase.v1.DeleteRevisionRequest+ (*Revision)(nil), // 82: bytebase.v1.Revision+ (*ListChangelogsRequest)(nil), // 83: bytebase.v1.ListChangelogsRequest+ (*ListChangelogsResponse)(nil), // 84: bytebase.v1.ListChangelogsResponse+ (*GetChangelogRequest)(nil), // 85: bytebase.v1.GetChangelogRequest+ (*Changelog)(nil), // 86: bytebase.v1.Changelog+ nil, // 87: bytebase.v1.Database.LabelsEntry+ nil, // 88: bytebase.v1.ColumnConfig.LabelsEntry+ (*fieldmaskpb.FieldMask)(nil), // 89: google.protobuf.FieldMask+ (State)(0), // 90: bytebase.v1.State+ (*timestamppb.Timestamp)(nil), // 91: google.protobuf.Timestamp+ (*InstanceResource)(nil), // 92: bytebase.v1.InstanceResource+ (MaskingLevel)(0), // 93: bytebase.v1.MaskingLevel+ (*durationpb.Duration)(nil), // 94: google.protobuf.Duration+ (*Range)(nil), // 95: bytebase.v1.Range+ (ReleaseFileType)(0), // 96: bytebase.v1.ReleaseFileType+ (*emptypb.Empty)(nil), // 97: google.protobuf.Empty}var file_v1_database_service_proto_depIdxs = []int32{- 25, // 0: bytebase.v1.ListInstanceDatabasesResponse.databases:type_name -> bytebase.v1.Database- 25, // 1: bytebase.v1.ListDatabasesResponse.databases:type_name -> bytebase.v1.Database- 25, // 2: bytebase.v1.UpdateDatabaseRequest.database:type_name -> bytebase.v1.Database- 83, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask- 15, // 4: bytebase.v1.BatchUpdateDatabasesRequest.requests:type_name -> bytebase.v1.UpdateDatabaseRequest- 25, // 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+ 89, // 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.Database0, // 6: bytebase.v1.GetDatabaseMetadataRequest.view:type_name -> bytebase.v1.DatabaseMetadataView- 26, // 7: bytebase.v1.UpdateDatabaseMetadataRequest.database_metadata:type_name -> bytebase.v1.DatabaseMetadata- 83, // 8: bytebase.v1.UpdateDatabaseMetadataRequest.update_mask:type_name -> google.protobuf.FieldMask- 84, // 9: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State- 85, // 10: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp- 81, // 11: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry- 86, // 12: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource- 27, // 13: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata- 43, // 14: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata- 46, // 15: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig- 29, // 16: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata- 28, // 17: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata- 34, // 18: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata- 37, // 19: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata- 38, // 20: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata- 41, // 21: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata- 40, // 22: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata- 36, // 23: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata- 39, // 24: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata- 32, // 25: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata- 32, // 26: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata- 42, // 27: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata- 44, // 28: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata- 31, // 29: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata- 30, // 30: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata- 2, // 31: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type- 31, // 32: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata- 87, // 33: bytebase.v1.ColumnMetadata.effective_masking_level:type_name -> bytebase.v1.MaskingLevel- 33, // 34: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata- 3, // 35: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type- 35, // 36: bytebase.v1.ViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn- 32, // 37: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata- 35, // 38: bytebase.v1.MaterializedViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn- 4, // 39: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State- 5, // 40: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type- 6, // 41: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode- 46, // 42: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig- 47, // 43: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig- 48, // 44: bytebase.v1.SchemaConfig.function_configs:type_name -> bytebase.v1.FunctionConfig- 49, // 45: bytebase.v1.SchemaConfig.procedure_configs:type_name -> bytebase.v1.ProcedureConfig- 50, // 46: bytebase.v1.SchemaConfig.view_configs:type_name -> bytebase.v1.ViewConfig- 51, // 47: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig- 85, // 48: bytebase.v1.TableConfig.update_time:type_name -> google.protobuf.Timestamp- 85, // 49: bytebase.v1.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp- 85, // 50: bytebase.v1.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp- 85, // 51: bytebase.v1.ViewConfig.update_time:type_name -> google.protobuf.Timestamp- 82, // 52: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry- 55, // 53: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog- 56, // 54: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics- 85, // 55: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp- 88, // 56: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration- 88, // 57: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration- 57, // 58: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails- 85, // 59: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp- 88, // 60: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration- 88, // 61: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration- 62, // 62: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret- 62, // 63: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret- 83, // 64: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask- 85, // 65: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp- 85, // 66: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp- 85, // 67: bytebase.v1.ChangeHistory.create_time:type_name -> google.protobuf.Timestamp- 85, // 68: bytebase.v1.ChangeHistory.update_time:type_name -> google.protobuf.Timestamp- 7, // 69: bytebase.v1.ChangeHistory.source:type_name -> bytebase.v1.ChangeHistory.Source- 8, // 70: bytebase.v1.ChangeHistory.type:type_name -> bytebase.v1.ChangeHistory.Type- 9, // 71: bytebase.v1.ChangeHistory.status:type_name -> bytebase.v1.ChangeHistory.Status- 88, // 72: bytebase.v1.ChangeHistory.execution_duration:type_name -> google.protobuf.Duration- 66, // 73: bytebase.v1.ChangeHistory.changed_resources:type_name -> bytebase.v1.ChangedResources- 67, // 74: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase- 68, // 75: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema- 69, // 76: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable- 70, // 77: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView- 71, // 78: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction- 72, // 79: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure- 89, // 80: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range- 89, // 81: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range- 89, // 82: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range- 89, // 83: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range+ 28, // 7: bytebase.v1.UpdateDatabaseMetadataRequest.database_metadata:type_name -> bytebase.v1.DatabaseMetadata+ 89, // 8: bytebase.v1.UpdateDatabaseMetadataRequest.update_mask:type_name -> google.protobuf.FieldMask+ 90, // 9: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State+ 91, // 10: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp+ 87, // 11: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry+ 92, // 12: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource+ 29, // 13: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata+ 45, // 14: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata+ 48, // 15: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig+ 31, // 16: bytebase.v1.SchemaMetadata.tables:type_name -> bytebase.v1.TableMetadata+ 30, // 17: bytebase.v1.SchemaMetadata.external_tables:type_name -> bytebase.v1.ExternalTableMetadata+ 36, // 18: bytebase.v1.SchemaMetadata.views:type_name -> bytebase.v1.ViewMetadata+ 39, // 19: bytebase.v1.SchemaMetadata.functions:type_name -> bytebase.v1.FunctionMetadata+ 40, // 20: bytebase.v1.SchemaMetadata.procedures:type_name -> bytebase.v1.ProcedureMetadata+ 43, // 21: bytebase.v1.SchemaMetadata.streams:type_name -> bytebase.v1.StreamMetadata+ 42, // 22: bytebase.v1.SchemaMetadata.tasks:type_name -> bytebase.v1.TaskMetadata+ 38, // 23: bytebase.v1.SchemaMetadata.materialized_views:type_name -> bytebase.v1.MaterializedViewMetadata+ 41, // 24: bytebase.v1.SchemaMetadata.packages:type_name -> bytebase.v1.PackageMetadata+ 34, // 25: bytebase.v1.ExternalTableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata+ 34, // 26: bytebase.v1.TableMetadata.columns:type_name -> bytebase.v1.ColumnMetadata+ 44, // 27: bytebase.v1.TableMetadata.indexes:type_name -> bytebase.v1.IndexMetadata+ 46, // 28: bytebase.v1.TableMetadata.foreign_keys:type_name -> bytebase.v1.ForeignKeyMetadata+ 33, // 29: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata+ 32, // 30: bytebase.v1.TableMetadata.check_constraints:type_name -> bytebase.v1.CheckConstraintMetadata+ 3, // 31: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type+ 33, // 32: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata+ 93, // 33: bytebase.v1.ColumnMetadata.effective_masking_level:type_name -> bytebase.v1.MaskingLevel+ 35, // 34: bytebase.v1.ColumnMetadata.generation:type_name -> bytebase.v1.GenerationMetadata+ 4, // 35: bytebase.v1.GenerationMetadata.type:type_name -> bytebase.v1.GenerationMetadata.Type+ 37, // 36: bytebase.v1.ViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn+ 34, // 37: bytebase.v1.ViewMetadata.columns:type_name -> bytebase.v1.ColumnMetadata+ 37, // 38: bytebase.v1.MaterializedViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn+ 5, // 39: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State+ 6, // 40: bytebase.v1.StreamMetadata.type:type_name -> bytebase.v1.StreamMetadata.Type+ 7, // 41: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode+ 48, // 42: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig+ 49, // 43: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig+ 50, // 44: bytebase.v1.SchemaConfig.function_configs:type_name -> bytebase.v1.FunctionConfig+ 51, // 45: bytebase.v1.SchemaConfig.procedure_configs:type_name -> bytebase.v1.ProcedureConfig+ 52, // 46: bytebase.v1.SchemaConfig.view_configs:type_name -> bytebase.v1.ViewConfig+ 53, // 47: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig+ 91, // 48: bytebase.v1.TableConfig.update_time:type_name -> google.protobuf.Timestamp+ 91, // 49: bytebase.v1.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp+ 91, // 50: bytebase.v1.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp+ 91, // 51: bytebase.v1.ViewConfig.update_time:type_name -> google.protobuf.Timestamp+ 88, // 52: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry+ 57, // 53: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog+ 58, // 54: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics+ 91, // 55: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp+ 94, // 56: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration+ 94, // 57: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration+ 59, // 58: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails+ 91, // 59: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp+ 94, // 60: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration+ 94, // 61: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration+ 64, // 62: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret+ 64, // 63: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret+ 89, // 64: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask+ 91, // 65: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp+ 91, // 66: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp+ 91, // 67: bytebase.v1.ChangeHistory.create_time:type_name -> google.protobuf.Timestamp+ 91, // 68: bytebase.v1.ChangeHistory.update_time:type_name -> google.protobuf.Timestamp+ 8, // 69: bytebase.v1.ChangeHistory.source:type_name -> bytebase.v1.ChangeHistory.Source+ 9, // 70: bytebase.v1.ChangeHistory.type:type_name -> bytebase.v1.ChangeHistory.Type+ 10, // 71: bytebase.v1.ChangeHistory.status:type_name -> bytebase.v1.ChangeHistory.Status+ 94, // 72: bytebase.v1.ChangeHistory.execution_duration:type_name -> google.protobuf.Duration+ 68, // 73: bytebase.v1.ChangeHistory.changed_resources:type_name -> bytebase.v1.ChangedResources+ 69, // 74: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase+ 70, // 75: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema+ 71, // 76: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable+ 72, // 77: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView+ 73, // 78: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction+ 74, // 79: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure+ 95, // 80: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range+ 95, // 81: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range+ 95, // 82: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range+ 95, // 83: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range1, // 84: bytebase.v1.ListChangeHistoriesRequest.view:type_name -> bytebase.v1.ChangeHistoryView- 65, // 85: bytebase.v1.ListChangeHistoriesResponse.change_histories:type_name -> bytebase.v1.ChangeHistory+ 67, // 85: bytebase.v1.ListChangeHistoriesResponse.change_histories:type_name -> bytebase.v1.ChangeHistory1, // 86: bytebase.v1.GetChangeHistoryRequest.view:type_name -> bytebase.v1.ChangeHistoryView- 80, // 87: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision- 85, // 88: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp- 90, // 89: bytebase.v1.Revision.type:type_name -> bytebase.v1.ReleaseFileType- 10, // 90: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest- 11, // 91: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest- 13, // 92: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest- 15, // 93: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest- 16, // 94: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest- 18, // 95: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest- 20, // 96: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest- 21, // 97: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:input_type -> bytebase.v1.UpdateDatabaseMetadataRequest- 22, // 98: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest- 23, // 99: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest- 53, // 100: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest- 58, // 101: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest- 60, // 102: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest- 61, // 103: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest- 63, // 104: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest- 73, // 105: bytebase.v1.DatabaseService.ListChangeHistories:input_type -> bytebase.v1.ListChangeHistoriesRequest- 75, // 106: bytebase.v1.DatabaseService.GetChangeHistory:input_type -> bytebase.v1.GetChangeHistoryRequest- 76, // 107: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest- 78, // 108: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest- 79, // 109: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest- 25, // 110: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database- 12, // 111: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse- 14, // 112: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse- 25, // 113: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database- 17, // 114: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse- 19, // 115: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse- 26, // 116: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata- 26, // 117: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata- 52, // 118: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema- 24, // 119: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse- 54, // 120: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse- 59, // 121: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse- 62, // 122: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret- 91, // 123: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty- 64, // 124: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse- 74, // 125: bytebase.v1.DatabaseService.ListChangeHistories:output_type -> bytebase.v1.ListChangeHistoriesResponse- 65, // 126: bytebase.v1.DatabaseService.GetChangeHistory:output_type -> bytebase.v1.ChangeHistory- 77, // 127: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse- 80, // 128: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision- 91, // 129: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty- 110, // [110:130] is the sub-list for method output_type- 90, // [90:110] is the sub-list for method input_type- 90, // [90:90] is the sub-list for extension type_name- 90, // [90:90] is the sub-list for extension extendee- 0, // [0:90] is the sub-list for field type_name+ 82, // 87: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision+ 91, // 88: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp+ 96, // 89: bytebase.v1.Revision.type:type_name -> bytebase.v1.ReleaseFileType+ 2, // 90: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView+ 86, // 91: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog+ 1, // 92: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangeHistoryView+ 91, // 93: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp+ 11, // 94: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status+ 68, // 95: bytebase.v1.Changelog.changed_resources:type_name -> bytebase.v1.ChangedResources+ 12, // 96: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest+ 13, // 97: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest+ 15, // 98: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest+ 17, // 99: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest+ 18, // 100: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest+ 20, // 101: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest+ 22, // 102: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest+ 23, // 103: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:input_type -> bytebase.v1.UpdateDatabaseMetadataRequest+ 24, // 104: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest+ 25, // 105: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest+ 55, // 106: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest+ 60, // 107: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest+ 62, // 108: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest+ 63, // 109: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest+ 65, // 110: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest+ 75, // 111: bytebase.v1.DatabaseService.ListChangeHistories:input_type -> bytebase.v1.ListChangeHistoriesRequest+ 77, // 112: bytebase.v1.DatabaseService.GetChangeHistory:input_type -> bytebase.v1.GetChangeHistoryRequest+ 78, // 113: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest+ 80, // 114: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest+ 81, // 115: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest+ 83, // 116: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest+ 85, // 117: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest+ 27, // 118: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database+ 14, // 119: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse+ 16, // 120: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse+ 27, // 121: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database+ 19, // 122: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse+ 21, // 123: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse+ 28, // 124: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata+ 28, // 125: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata+ 54, // 126: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema+ 26, // 127: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse+ 56, // 128: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse+ 61, // 129: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse+ 64, // 130: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret+ 97, // 131: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty+ 66, // 132: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse+ 76, // 133: bytebase.v1.DatabaseService.ListChangeHistories:output_type -> bytebase.v1.ListChangeHistoriesResponse+ 67, // 134: bytebase.v1.DatabaseService.GetChangeHistory:output_type -> bytebase.v1.ChangeHistory+ 79, // 135: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse+ 82, // 136: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision+ 97, // 137: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty+ 84, // 138: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse+ 86, // 139: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog+ 118, // [118:140] is the sub-list for method output_type+ 96, // [96:118] is the sub-list for method input_type+ 96, // [96:96] is the sub-list for extension type_name+ 96, // [96:96] is the sub-list for extension extendee+ 0, // [0:96] is the sub-list for field type_name}func init() { file_v1_database_service_proto_init() }@@ -7666,8 +8320,8 @@ func file_v1_database_service_proto_init() {File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_database_service_proto_rawDesc,- NumEnums: 10,- NumMessages: 73,+ NumEnums: 12,+ NumMessages: 77,NumExtensions: 0,NumServices: 1,},diff --git a/proto/generated-go/v1/database_service.pb.gw.go b/proto/generated-go/v1/database_service.pb.gw.goindex 8d4f9573dd..9229947e84 100644--- a/proto/generated-go/v1/database_service.pb.gw.go+++ b/proto/generated-go/v1/database_service.pb.gw.go@@ -1549,6 +1549,146 @@ func local_request_DatabaseService_DeleteRevision_0(ctx context.Context, marshal}+var (+ filter_DatabaseService_ListChangelogs_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}+)++func request_DatabaseService_ListChangelogs_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq ListChangelogsRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseService_ListChangelogs_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := client.ListChangelogs(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseService_ListChangelogs_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq ListChangelogsRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["parent"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent")+ }++ protoReq.Parent, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseService_ListChangelogs_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := server.ListChangelogs(ctx, &protoReq)+ return msg, metadata, err++}++var (+ filter_DatabaseService_GetChangelog_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}+)++func request_DatabaseService_GetChangelog_0(ctx context.Context, marshaler runtime.Marshaler, client DatabaseServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq GetChangelogRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")+ }++ protoReq.Name, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseService_GetChangelog_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := client.GetChangelog(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))+ return msg, metadata, err++}++func local_request_DatabaseService_GetChangelog_0(ctx context.Context, marshaler runtime.Marshaler, server DatabaseServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {+ var protoReq GetChangelogRequest+ var metadata runtime.ServerMetadata++ var (+ val string+ ok bool+ err error+ _ = err+ )++ val, ok = pathParams["name"]+ if !ok {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")+ }++ protoReq.Name, err = runtime.String(val)+ if err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)+ }++ if err := req.ParseForm(); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }+ if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DatabaseService_GetChangelog_0); err != nil {+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)+ }++ msg, err := server.GetChangelog(ctx, &protoReq)+ return msg, metadata, err++}+// RegisterDatabaseServiceHandlerServer registers the http handlers for service DatabaseService to "mux".// UnaryRPC :call DatabaseServiceServer directly.// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.@@ -2106,6 +2246,56 @@ func RegisterDatabaseServiceHandlerServer(ctx context.Context, mux *runtime.Serv})+ mux.Handle("GET", pattern_DatabaseService_ListChangelogs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ var stream runtime.ServerTransportStream+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.DatabaseService/ListChangelogs", runtime.WithHTTPPathPattern("/v1/{parent=instances/*/databases/*}/changelogs"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseService_ListChangelogs_0(annotatedContext, inboundMarshaler, server, req, pathParams)+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseService_ListChangelogs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("GET", pattern_DatabaseService_GetChangelog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ var stream runtime.ServerTransportStream+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/bytebase.v1.DatabaseService/GetChangelog", runtime.WithHTTPPathPattern("/v1/{name=instances/*/databases/*/changelogs/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := local_request_DatabaseService_GetChangelog_0(annotatedContext, inboundMarshaler, server, req, pathParams)+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseService_GetChangelog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })+return nil}@@ -2631,6 +2821,50 @@ func RegisterDatabaseServiceHandlerClient(ctx context.Context, mux *runtime.Serv})+ mux.Handle("GET", pattern_DatabaseService_ListChangelogs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.DatabaseService/ListChangelogs", runtime.WithHTTPPathPattern("/v1/{parent=instances/*/databases/*}/changelogs"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseService_ListChangelogs_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseService_ListChangelogs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })++ mux.Handle("GET", pattern_DatabaseService_GetChangelog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ ctx, cancel := context.WithCancel(req.Context())+ defer cancel()+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)+ var err error+ var annotatedContext context.Context+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/bytebase.v1.DatabaseService/GetChangelog", runtime.WithHTTPPathPattern("/v1/{name=instances/*/databases/*/changelogs/*}"))+ if err != nil {+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)+ return+ }+ resp, md, err := request_DatabaseService_GetChangelog_0(annotatedContext, inboundMarshaler, client, req, pathParams)+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)+ if err != nil {+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)+ return+ }++ forward_DatabaseService_GetChangelog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)++ })+return nil}@@ -2678,6 +2912,10 @@ var (pattern_DatabaseService_GetRevision_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 4, 6, 5, 4}, []string{"v1", "instances", "databases", "revisions", "name"}, ""))pattern_DatabaseService_DeleteRevision_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 4, 6, 5, 4}, []string{"v1", "instances", "databases", "revisions", "name"}, ""))++ pattern_DatabaseService_ListChangelogs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1", "instances", "databases", "parent", "changelogs"}, ""))++ pattern_DatabaseService_GetChangelog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 1, 0, 4, 6, 5, 4}, []string{"v1", "instances", "databases", "changelogs", "name"}, "")))var (@@ -2724,4 +2962,8 @@ var (forward_DatabaseService_GetRevision_0 = runtime.ForwardResponseMessageforward_DatabaseService_DeleteRevision_0 = runtime.ForwardResponseMessage++ forward_DatabaseService_ListChangelogs_0 = runtime.ForwardResponseMessage++ forward_DatabaseService_GetChangelog_0 = runtime.ForwardResponseMessage)diff --git a/proto/generated-go/v1/database_service_grpc.pb.go b/proto/generated-go/v1/database_service_grpc.pb.goindex 7c7e5afb10..341c0c154e 100644--- a/proto/generated-go/v1/database_service_grpc.pb.go+++ b/proto/generated-go/v1/database_service_grpc.pb.go@@ -40,6 +40,8 @@ const (DatabaseService_ListRevisions_FullMethodName = "/bytebase.v1.DatabaseService/ListRevisions"DatabaseService_GetRevision_FullMethodName = "/bytebase.v1.DatabaseService/GetRevision"DatabaseService_DeleteRevision_FullMethodName = "/bytebase.v1.DatabaseService/DeleteRevision"+ DatabaseService_ListChangelogs_FullMethodName = "/bytebase.v1.DatabaseService/ListChangelogs"+ DatabaseService_GetChangelog_FullMethodName = "/bytebase.v1.DatabaseService/GetChangelog")// DatabaseServiceClient is the client API for DatabaseService service.@@ -66,6 +68,8 @@ type DatabaseServiceClient interface {ListRevisions(ctx context.Context, in *ListRevisionsRequest, opts ...grpc.CallOption) (*ListRevisionsResponse, error)GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*Revision, error)DeleteRevision(ctx context.Context, in *DeleteRevisionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)+ ListChangelogs(ctx context.Context, in *ListChangelogsRequest, opts ...grpc.CallOption) (*ListChangelogsResponse, error)+ GetChangelog(ctx context.Context, in *GetChangelogRequest, opts ...grpc.CallOption) (*Changelog, error)}type databaseServiceClient struct {@@ -276,6 +280,26 @@ func (c *databaseServiceClient) DeleteRevision(ctx context.Context, in *DeleteRereturn out, nil}+func (c *databaseServiceClient) ListChangelogs(ctx context.Context, in *ListChangelogsRequest, opts ...grpc.CallOption) (*ListChangelogsResponse, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(ListChangelogsResponse)+ err := c.cc.Invoke(ctx, DatabaseService_ListChangelogs_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}++func (c *databaseServiceClient) GetChangelog(ctx context.Context, in *GetChangelogRequest, opts ...grpc.CallOption) (*Changelog, error) {+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)+ out := new(Changelog)+ err := c.cc.Invoke(ctx, DatabaseService_GetChangelog_FullMethodName, in, out, cOpts...)+ if err != nil {+ return nil, err+ }+ return out, nil+}+// DatabaseServiceServer is the server API for DatabaseService service.// All implementations must embed UnimplementedDatabaseServiceServer// for forward compatibility.@@ -300,6 +324,8 @@ type DatabaseServiceServer interface {ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)DeleteRevision(context.Context, *DeleteRevisionRequest) (*emptypb.Empty, error)+ ListChangelogs(context.Context, *ListChangelogsRequest) (*ListChangelogsResponse, error)+ GetChangelog(context.Context, *GetChangelogRequest) (*Changelog, error)mustEmbedUnimplementedDatabaseServiceServer()}@@ -370,6 +396,12 @@ func (UnimplementedDatabaseServiceServer) GetRevision(context.Context, *GetRevisfunc (UnimplementedDatabaseServiceServer) DeleteRevision(context.Context, *DeleteRevisionRequest) (*emptypb.Empty, error) {return nil, status.Errorf(codes.Unimplemented, "method DeleteRevision not implemented")}+func (UnimplementedDatabaseServiceServer) ListChangelogs(context.Context, *ListChangelogsRequest) (*ListChangelogsResponse, error) {+ return nil, status.Errorf(codes.Unimplemented, "method ListChangelogs not implemented")+}+func (UnimplementedDatabaseServiceServer) GetChangelog(context.Context, *GetChangelogRequest) (*Changelog, error) {+ return nil, status.Errorf(codes.Unimplemented, "method GetChangelog not implemented")+}func (UnimplementedDatabaseServiceServer) mustEmbedUnimplementedDatabaseServiceServer() {}func (UnimplementedDatabaseServiceServer) testEmbeddedByValue() {}@@ -751,6 +783,42 @@ func _DatabaseService_DeleteRevision_Handler(srv interface{}, ctx context.Contexreturn interceptor(ctx, in, info, handler)}+func _DatabaseService_ListChangelogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(ListChangelogsRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseServiceServer).ListChangelogs(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseService_ListChangelogs_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseServiceServer).ListChangelogs(ctx, req.(*ListChangelogsRequest))+ }+ return interceptor(ctx, in, info, handler)+}++func _DatabaseService_GetChangelog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {+ in := new(GetChangelogRequest)+ if err := dec(in); err != nil {+ return nil, err+ }+ if interceptor == nil {+ return srv.(DatabaseServiceServer).GetChangelog(ctx, in)+ }+ info := &grpc.UnaryServerInfo{+ Server: srv,+ FullMethod: DatabaseService_GetChangelog_FullMethodName,+ }+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {+ return srv.(DatabaseServiceServer).GetChangelog(ctx, req.(*GetChangelogRequest))+ }+ return interceptor(ctx, in, info, handler)+}+// DatabaseService_ServiceDesc is the grpc.ServiceDesc for DatabaseService service.// It's only intended for direct use with grpc.RegisterService,// and not to be introspected or modified (even as a copy)@@ -838,6 +906,14 @@ var DatabaseService_ServiceDesc = grpc.ServiceDesc{MethodName: "DeleteRevision",Handler: _DatabaseService_DeleteRevision_Handler,},+ {+ MethodName: "ListChangelogs",+ Handler: _DatabaseService_ListChangelogs_Handler,+ },+ {+ MethodName: "GetChangelog",+ Handler: _DatabaseService_GetChangelog_Handler,+ },},Streams: []grpc.StreamDesc{},Metadata: "v1/database_service.proto",diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.protoindex 69a237f89b..47db0f9981 100644--- a/proto/v1/database_service.proto+++ b/proto/v1/database_service.proto@@ -174,6 +174,16 @@ service DatabaseService {option (google.api.http) = {delete: "/v1/{name=instances/*/databases/*/revisions/*}"};option (google.api.method_signature) = "name";}++ rpc ListChangelogs(ListChangelogsRequest) returns (ListChangelogsResponse) {+ option (google.api.http) = {get: "/v1/{parent=instances/*/databases/*}/changelogs"};+ option (google.api.method_signature) = "parent";+ }++ rpc GetChangelog(GetChangelogRequest) returns (Changelog) {+ option (google.api.http) = {get: "/v1/{name=instances/*/databases/*/changelogs/*}"};+ option (google.api.method_signature) = "name";+ }}message GetDatabaseRequest {@@ -1524,3 +1534,140 @@ message Revision {// Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}string task_run = 13 [(google.api.resource_reference) = {type: "bytebase.com/TaskRun"}];}++enum ChangelogView {+ // The default / unset value.+ // The API will default to the BASIC view.+ CHANGELOG_VIEW_UNSPECIFIED = 0;+ CHANGELOG_VIEW_BASIC = 1;+ CHANGELOG_VIEW_FULL = 2;+}++message ListChangelogsRequest {+ // The parent of the changelogs.+ // Format: instances/{instance}/databases/{database}+ string parent = 1 [+ (google.api.field_behavior) = REQUIRED,+ (google.api.resource_reference) = {type: "bytebase.com/Database"}+ ];++ // The maximum number of changelogs to return. The service may return fewer than this value.+ // If unspecified, at most 10 changelogs will be returned.+ // The maximum value is 1000; values above 1000 will be coerced to 1000.+ int32 page_size = 2;++ // A page token, received from the previous call.+ // Provide this to retrieve the subsequent page.+ //+ // When paginating, all other parameters provided must match+ // the call that provided the page token.+ string page_token = 3;++ ChangelogView view = 4;++ // The filter of the changelogs.+ // follow the [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form) syntax.+ // Support filter by type, source or table.+ // For example:+ // table = "tableExists('{database}', '{schema}', '{table}')"+ // table = "tableExists('db', 'public', 'table1') || tableExists('db', 'public', 'table2')"+ // type = "MIGRATE | DATA"+ // source = "UI"+ // source = "VCS"+ //+ // The table filter follow the CEL syntax.+ // currently, we have one function for CEL:+ // - tableExists(database, schema, table): return true if the table exists in changed resources.+ //+ // examples:+ // Use+ // tableExists("db", "public", "table1")+ // to filter the changelogs which have the table "table1" in the schema "public" of the database "db".+ // For MySQL, the schema is always "", such as tableExists("db", "", "table1").+ //+ // Combine multiple functions with "&&" and "||", we MUST use the Disjunctive Normal Form(DNF).+ // In other words, the CEL expression consists of several parts connected by OR operators.+ // For example, the following expression is valid:+ // (+ // tableExists("db", "public", "table1") &&+ // tableExists("db", "public", "table2")+ // ) || (+ // tableExists("db", "public", "table3")+ // )+ string filter = 5;+}++message ListChangelogsResponse {+ // The list of changelogs.+ repeated Changelog changelogs = 1;++ // A token, which can be sent as `page_token` to retrieve the next page.+ // If this field is omitted, there are no subsequent pages.+ string next_page_token = 2;+}++message GetChangelogRequest {+ // The name of the changelog to retrieve.+ // Format: instances/{instance}/databases/{database}/changelogs/{changelog}+ string name = 1 [+ (google.api.field_behavior) = REQUIRED,+ (google.api.resource_reference) = {type: "bytebase.com/DatabaseChangelog"}+ ];++ ChangeHistoryView view = 2;++ // Format the schema dump into SDL format.+ bool sdl_format = 3;++ // When true, the schema dump will be concise.+ // For Oracle, there will be tables and indexes only for Sync Schema.+ // For Postgres, we'll filter the backup schema.+ bool concise = 4;+}++message Changelog {+ option (google.api.resource) = {+ type: "bytebase.com/DatabaseChangelog"+ pattern: "instances/{instance}/databases/{database}/changelogs/{changelog}"+ };++ // Format: instances/{instance}/databases/{database}/changelogs/{changelog}+ string name = 1;++ // Format: users/[email protected]+ string creator = 2;+ google.protobuf.Timestamp create_time = 3;++ enum Status {+ STATUS_UNSPECIFIED = 0;+ PENDING = 1;+ DONE = 2;+ FAILED = 3;+ }+ Status status = 4;++ // The statement is used for preview purpose.+ string statement = 5;+ int64 statement_size = 6;+ // The name of the sheet resource.+ // Format: projects/{project}/sheets/{sheet}+ string statement_sheet = 7;+ string schema = 8;+ int64 schema_size = 9;+ string prev_schema = 10;+ int64 prev_schema_size = 11;++ // Format: projects/{project}/issues/{issue}+ string issue = 12;+ // Could be empty+ // TODO(p0ny): We will migrate ChangeHistory to Changelog, and they won't have task_run.+ string task_run = 13;++ // Could be empty+ string version = 14;+ // Could be empty+ // Or present but not found if deleted+ string revision = 15;++ ChangedResources changed_resources = 16;+}