Skip to content

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

chore: store last updater in database config (#11980)

h3n4l564e3750fcf4
diff --git a/frontend/src/types/proto/store/branch.ts b/frontend/src/types/proto/store/branch.ts
index d7f02dfd7d..b1e23b6acd 100644
--- a/frontend/src/types/proto/store/branch.ts
+++ b/frontend/src/types/proto/store/branch.ts
@@ -1,9 +1,7 @@
/* eslint-disable */
import Long from "long";
import _m0 from "protobufjs/minimal";
-import { Timestamp } from "../google/protobuf/timestamp";
-import { StringValue } from "../google/protobuf/wrappers";
-import { DatabaseConfig, DatabaseSchemaMetadata, ExtensionMetadata } from "./database";
+import { DatabaseConfig, DatabaseSchemaMetadata } from "./database";
export const protobufPackage = "bytebase.store";
@@ -27,633 +25,6 @@ export interface BranchConfig {
sourceBranch: string;
}
-/** BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch. */
-export interface BranchDatabaseSchemaMetadata {
- name: string;
- /** The schemas is the list of schemas in a database. */
- schemas: BranchSchemaMetadata[];
- /** The character_set is the character set of a database. */
- characterSet: string;
- /** The collation is the collation of a database. */
- collation: string;
- /** The extensions is the list of extensions in a database. */
- extensions: ExtensionMetadata[];
- /** The database belongs to a datashare. */
- datashare: boolean;
- /** The service name of the database. It's the Oracle specific concept. */
- serviceName: string;
-}
-
-/**
- * BranchSchemaMetadata is the metadata for schemas used in branch.
- * This is the concept of schema in Postgres, but it's a no-op for MySQL.
- */
-export interface BranchSchemaMetadata {
- /**
- * The name is the schema name.
- * It is an empty string for databases without such concept such as MySQL.
- */
- name: string;
- /** The tables is the list of tables in a schema. */
- tables: BranchTableMetadata[];
- /** The external_tables is the list of external tables in a schema. */
- externalTables: BranchExternalTableMetadata[];
- /** The views is the list of views in a schema. */
- views: BranchViewMetadata[];
- /** The functions is the list of functions in a schema. */
- functions: BranchFunctionMetadata[];
- /** The procedures is the list of procedures in a schema. */
- procedures: BranchProcedureMetadata[];
- /** The streams is the list of streams in a schema, currently, only used for Snowflake. */
- streams: BranchStreamMetadata[];
- /** The routines is the list of routines in a schema, currently, only used for Snowflake. */
- tasks: BranchTaskMetadata[];
- /** The materialized_views is the list of materialized views in a schema. */
- materializedViews: BranchMaterializedViewMetadata[];
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-export interface BranchTaskMetadata {
- /** The name is the name of a task. */
- name: string;
- /**
- * The id is the snowflake-generated id of a task.
- * Example: 01ad32a0-1bb6-5e93-0000-000000000001
- */
- id: string;
- /** The owner of the task. */
- owner: string;
- /** The comment of the task. */
- comment: string;
- /** The warehouse of the task. */
- warehouse: string;
- /** The schedule interval of the task. */
- schedule: string;
- /** The predecessor tasks of the task. */
- predecessors: string[];
- /** The state of the task. */
- state: BranchTaskMetadata_State;
- /** The condition of the task. */
- condition: string;
- /** The definition of the task. */
- definition: string;
-}
-
-export enum BranchTaskMetadata_State {
- STATE_UNSPECIFIED = "STATE_UNSPECIFIED",
- STATE_STARTED = "STATE_STARTED",
- STATE_SUSPENDED = "STATE_SUSPENDED",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchTaskMetadata_StateFromJSON(object: any): BranchTaskMetadata_State {
- switch (object) {
- case 0:
- case "STATE_UNSPECIFIED":
- return BranchTaskMetadata_State.STATE_UNSPECIFIED;
- case 1:
- case "STATE_STARTED":
- return BranchTaskMetadata_State.STATE_STARTED;
- case 2:
- case "STATE_SUSPENDED":
- return BranchTaskMetadata_State.STATE_SUSPENDED;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchTaskMetadata_State.UNRECOGNIZED;
- }
-}
-
-export function branchTaskMetadata_StateToJSON(object: BranchTaskMetadata_State): string {
- switch (object) {
- case BranchTaskMetadata_State.STATE_UNSPECIFIED:
- return "STATE_UNSPECIFIED";
- case BranchTaskMetadata_State.STATE_STARTED:
- return "STATE_STARTED";
- case BranchTaskMetadata_State.STATE_SUSPENDED:
- return "STATE_SUSPENDED";
- case BranchTaskMetadata_State.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchTaskMetadata_StateToNumber(object: BranchTaskMetadata_State): number {
- switch (object) {
- case BranchTaskMetadata_State.STATE_UNSPECIFIED:
- return 0;
- case BranchTaskMetadata_State.STATE_STARTED:
- return 1;
- case BranchTaskMetadata_State.STATE_SUSPENDED:
- return 2;
- case BranchTaskMetadata_State.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-export interface BranchStreamMetadata {
- /** The name is the name of a stream. */
- name: string;
- /** The table_name is the name of the table/view that the stream is created on. */
- tableName: string;
- /** The owner of the stream. */
- owner: string;
- /** The comment of the stream. */
- comment: string;
- /** The type of the stream. */
- type: BranchStreamMetadata_Type;
- /** Indicates whether the stream was last read before the `stale_after` time. */
- stale: boolean;
- /** The mode of the stream. */
- mode: BranchStreamMetadata_Mode;
- /** The definition of the stream. */
- definition: string;
-}
-
-export enum BranchStreamMetadata_Type {
- TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
- TYPE_DELTA = "TYPE_DELTA",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchStreamMetadata_TypeFromJSON(object: any): BranchStreamMetadata_Type {
- switch (object) {
- case 0:
- case "TYPE_UNSPECIFIED":
- return BranchStreamMetadata_Type.TYPE_UNSPECIFIED;
- case 1:
- case "TYPE_DELTA":
- return BranchStreamMetadata_Type.TYPE_DELTA;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchStreamMetadata_Type.UNRECOGNIZED;
- }
-}
-
-export function branchStreamMetadata_TypeToJSON(object: BranchStreamMetadata_Type): string {
- switch (object) {
- case BranchStreamMetadata_Type.TYPE_UNSPECIFIED:
- return "TYPE_UNSPECIFIED";
- case BranchStreamMetadata_Type.TYPE_DELTA:
- return "TYPE_DELTA";
- case BranchStreamMetadata_Type.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchStreamMetadata_TypeToNumber(object: BranchStreamMetadata_Type): number {
- switch (object) {
- case BranchStreamMetadata_Type.TYPE_UNSPECIFIED:
- return 0;
- case BranchStreamMetadata_Type.TYPE_DELTA:
- return 1;
- case BranchStreamMetadata_Type.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-export enum BranchStreamMetadata_Mode {
- MODE_UNSPECIFIED = "MODE_UNSPECIFIED",
- MODE_DEFAULT = "MODE_DEFAULT",
- MODE_APPEND_ONLY = "MODE_APPEND_ONLY",
- MODE_INSERT_ONLY = "MODE_INSERT_ONLY",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchStreamMetadata_ModeFromJSON(object: any): BranchStreamMetadata_Mode {
- switch (object) {
- case 0:
- case "MODE_UNSPECIFIED":
- return BranchStreamMetadata_Mode.MODE_UNSPECIFIED;
- case 1:
- case "MODE_DEFAULT":
- return BranchStreamMetadata_Mode.MODE_DEFAULT;
- case 2:
- case "MODE_APPEND_ONLY":
- return BranchStreamMetadata_Mode.MODE_APPEND_ONLY;
- case 3:
- case "MODE_INSERT_ONLY":
- return BranchStreamMetadata_Mode.MODE_INSERT_ONLY;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchStreamMetadata_Mode.UNRECOGNIZED;
- }
-}
-
-export function branchStreamMetadata_ModeToJSON(object: BranchStreamMetadata_Mode): string {
- switch (object) {
- case BranchStreamMetadata_Mode.MODE_UNSPECIFIED:
- return "MODE_UNSPECIFIED";
- case BranchStreamMetadata_Mode.MODE_DEFAULT:
- return "MODE_DEFAULT";
- case BranchStreamMetadata_Mode.MODE_APPEND_ONLY:
- return "MODE_APPEND_ONLY";
- case BranchStreamMetadata_Mode.MODE_INSERT_ONLY:
- return "MODE_INSERT_ONLY";
- case BranchStreamMetadata_Mode.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchStreamMetadata_ModeToNumber(object: BranchStreamMetadata_Mode): number {
- switch (object) {
- case BranchStreamMetadata_Mode.MODE_UNSPECIFIED:
- return 0;
- case BranchStreamMetadata_Mode.MODE_DEFAULT:
- return 1;
- case BranchStreamMetadata_Mode.MODE_APPEND_ONLY:
- return 2;
- case BranchStreamMetadata_Mode.MODE_INSERT_ONLY:
- return 3;
- case BranchStreamMetadata_Mode.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-/** BranchTableMetadata is the metadata for tables used in branch. */
-export interface BranchTableMetadata {
- /** The name is the name of a table. */
- name: string;
- /** The columns is the ordered list of columns in a table. */
- columns: BranchColumnMetadata[];
- /** The indexes is the list of indexes in a table. */
- indexes: BranchIndexMetadata[];
- /** The engine is the engine of a table. */
- engine: string;
- /** The collation is the collation of a table. */
- collation: string;
- /** The row_count is the estimated number of rows of a table. */
- rowCount: Long;
- /** The data_size is the estimated data size of a table. */
- dataSize: Long;
- /** The index_size is the estimated index size of a table. */
- indexSize: Long;
- /** The data_free is the estimated free data size of a table. */
- dataFree: Long;
- /** The create_options is the create option of a table. */
- createOptions: string;
- /**
- * The comment is the comment of a table.
- * classification and user_comment is parsed from the comment.
- */
- comment: string;
- /** The classification is the classification of a table parsed from the comment. */
- classification: string;
- /** The user_comment is the user comment of a table parsed from the comment. */
- userComment: string;
- /** The foreign_keys is the list of foreign keys in a table. */
- foreignKeys: BranchForeignKeyMetadata[];
- /** The partitions is the list of partitions in a table. */
- partitions: BranchTablePartitionMetadata[];
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-export interface BranchExternalTableMetadata {
- /** The name is the name of a external table. */
- name: string;
- /** The external_server_name is the name of the external server. */
- externalServerName: string;
- /** The external_database_name is the name of the external database. */
- externalDatabaseName: string;
- /** The columns is the ordered list of columns in a foreign table. */
- columns: BranchColumnMetadata[];
-}
-
-/** BranchTablePartitionMetadata is the metadata for table partitions used in branch. */
-export interface BranchTablePartitionMetadata {
- /** The name is the name of a table partition. */
- name: string;
- /** The type of a table partition. */
- type: BranchTablePartitionMetadata_Type;
- /**
- * The expression is the expression of a table partition.
- * For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
- * For MySQL, the expression is the `expr` or `column_list` of the following syntax.
- * PARTITION BY
- * { [LINEAR] HASH(expr)
- * | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- * | RANGE{(expr) | COLUMNS(column_list)}
- * | LIST{(expr) | COLUMNS(column_list)} }.
- */
- expression: string;
- /**
- * The value is the value of a table partition.
- * For MySQL, the value is for RANGE and LIST partition types,
- * - For a RANGE partition, it contains the value set in the partition's VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
- * - For a LIST partition, this column contains the values defined in the partition's VALUES IN clause, which is a list of comma-separated integer values.
- * - For others, it's an empty string.
- */
- value: string;
- /**
- * The use_default is whether the users use the default partition, it stores the different value for different database engines.
- * For MySQL, it's [INT] type, 0 means not use default partition, otherwise, it's equals to number in syntax [SUB]PARTITION {number}.
- */
- useDefault: string;
- /** The subpartitions is the list of subpartitions in a table partition. */
- subpartitions: BranchTablePartitionMetadata[];
-}
-
-/**
- * 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)
- * TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
- * PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
- */
-export enum BranchTablePartitionMetadata_Type {
- TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
- RANGE = "RANGE",
- RANGE_COLUMNS = "RANGE_COLUMNS",
- LIST = "LIST",
- LIST_COLUMNS = "LIST_COLUMNS",
- HASH = "HASH",
- LINEAR_HASH = "LINEAR_HASH",
- KEY = "KEY",
- LINEAR_KEY = "LINEAR_KEY",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchTablePartitionMetadata_TypeFromJSON(object: any): BranchTablePartitionMetadata_Type {
- switch (object) {
- case 0:
- case "TYPE_UNSPECIFIED":
- return BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED;
- case 1:
- case "RANGE":
- return BranchTablePartitionMetadata_Type.RANGE;
- case 2:
- case "RANGE_COLUMNS":
- return BranchTablePartitionMetadata_Type.RANGE_COLUMNS;
- case 3:
- case "LIST":
- return BranchTablePartitionMetadata_Type.LIST;
- case 4:
- case "LIST_COLUMNS":
- return BranchTablePartitionMetadata_Type.LIST_COLUMNS;
- case 5:
- case "HASH":
- return BranchTablePartitionMetadata_Type.HASH;
- case 6:
- case "LINEAR_HASH":
- return BranchTablePartitionMetadata_Type.LINEAR_HASH;
- case 7:
- case "KEY":
- return BranchTablePartitionMetadata_Type.KEY;
- case 8:
- case "LINEAR_KEY":
- return BranchTablePartitionMetadata_Type.LINEAR_KEY;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchTablePartitionMetadata_Type.UNRECOGNIZED;
- }
-}
-
-export function branchTablePartitionMetadata_TypeToJSON(object: BranchTablePartitionMetadata_Type): string {
- switch (object) {
- case BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED:
- return "TYPE_UNSPECIFIED";
- case BranchTablePartitionMetadata_Type.RANGE:
- return "RANGE";
- case BranchTablePartitionMetadata_Type.RANGE_COLUMNS:
- return "RANGE_COLUMNS";
- case BranchTablePartitionMetadata_Type.LIST:
- return "LIST";
- case BranchTablePartitionMetadata_Type.LIST_COLUMNS:
- return "LIST_COLUMNS";
- case BranchTablePartitionMetadata_Type.HASH:
- return "HASH";
- case BranchTablePartitionMetadata_Type.LINEAR_HASH:
- return "LINEAR_HASH";
- case BranchTablePartitionMetadata_Type.KEY:
- return "KEY";
- case BranchTablePartitionMetadata_Type.LINEAR_KEY:
- return "LINEAR_KEY";
- case BranchTablePartitionMetadata_Type.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchTablePartitionMetadata_TypeToNumber(object: BranchTablePartitionMetadata_Type): number {
- switch (object) {
- case BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED:
- return 0;
- case BranchTablePartitionMetadata_Type.RANGE:
- return 1;
- case BranchTablePartitionMetadata_Type.RANGE_COLUMNS:
- return 2;
- case BranchTablePartitionMetadata_Type.LIST:
- return 3;
- case BranchTablePartitionMetadata_Type.LIST_COLUMNS:
- return 4;
- case BranchTablePartitionMetadata_Type.HASH:
- return 5;
- case BranchTablePartitionMetadata_Type.LINEAR_HASH:
- return 6;
- case BranchTablePartitionMetadata_Type.KEY:
- return 7;
- case BranchTablePartitionMetadata_Type.LINEAR_KEY:
- return 8;
- case BranchTablePartitionMetadata_Type.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-/** BranchColumnMetadata is the metadata for columns used in branch. */
-export interface BranchColumnMetadata {
- /** The name is the name of a column. */
- name: string;
- /** The position is the position in columns. */
- position: number;
- /** The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default. */
- default?: string | undefined;
- defaultNull?: boolean | undefined;
- defaultExpression?:
- | string
- | undefined;
- /**
- * The on_update is the on update action of a column.
- * For MySQL like databases, it's only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value.
- */
- onUpdate: string;
- /** The nullable is the nullable of a column. */
- nullable: boolean;
- /** The type is the type of a column. */
- type: string;
- /** The character_set is the character_set of a column. */
- characterSet: string;
- /** The collation is the collation of a column. */
- collation: string;
- /**
- * The comment is the comment of a column.
- * classification and user_comment is parsed from the comment.
- */
- comment: string;
- /** The classification is the classification of a table parsed from the comment. */
- classification: string;
- /** The user_comment is the user comment of a table parsed from the comment. */
- userComment: string;
-}
-
-/** BranchViewMetadata is the metadata for views used in branch. */
-export interface BranchViewMetadata {
- /** The name is the name of a view. */
- name: string;
- /** The definition is the definition of a view. */
- definition: string;
- /** The comment is the comment of a view. */
- comment: string;
- /** The dependent_columns is the list of dependent columns of a view. */
- dependentColumns: BranchDependentColumn[];
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-/** BranchDependentColumn is the metadata for dependent columns used in branch. */
-export interface BranchDependentColumn {
- /** The schema is the schema of a reference column. */
- schema: string;
- /** The table is the table of a reference column. */
- table: string;
- /** The column is the name of a reference column. */
- column: string;
-}
-
-/** BranchMaterializedViewMetadata is the metadata for materialized views used in branch. */
-export interface BranchMaterializedViewMetadata {
- /** The name is the name of a view. */
- name: string;
- /** The definition is the definition of a view. */
- definition: string;
- /** The comment is the comment of a view. */
- comment: string;
- /** The dependent_columns is the list of dependent columns of a view. */
- dependentColumns: BranchDependentColumn[];
-}
-
-/** BranchFunctionMetadata is the metadata for functions used in branch. */
-export interface BranchFunctionMetadata {
- /** The name is the name of a function. */
- name: string;
- /** The definition is the definition of a function. */
- definition: string;
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-/** BranchProcedureMetadata is the metadata for procedures used in branch. */
-export interface BranchProcedureMetadata {
- /** The name is the name of a procedure. */
- name: string;
- /** The definition is the definition of a procedure. */
- definition: string;
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-/** BranchIndexMetadata is the metadata for indexes used in branch. */
-export interface BranchIndexMetadata {
- /** The name is the name of an index. */
- name: string;
- /**
- * The expressions are the ordered columns or expressions of an index.
- * This could refer to a column or an expression.
- */
- expressions: string[];
- /**
- * The key_lengths are the ordered key lengths of an index.
- * If the key length is not specified, it's -1.
- */
- keyLength: Long[];
- /** The type is the type of an index. */
- type: string;
- /** The unique is whether the index is unique. */
- unique: boolean;
- /** The primary is whether the index is a primary key index. */
- primary: boolean;
- /** The visible is whether the index is visible. */
- visible: boolean;
- /** The comment is the comment of an index. */
- comment: string;
- /** The definition of an index. */
- definition: string;
-}
-
-/** BranchExtensionMetadata is the metadata for extensions used in branch. */
-export interface BranchExtensionMetadata {
- /** The name is the name of an extension. */
- name: string;
- /** The schema is the extension that is installed to. But the extension usage is not limited to the schema. */
- schema: string;
- /** The version is the version of an extension. */
- version: string;
- /** The description is the description of an extension. */
- description: string;
-}
-
-/** BranchForeignKeyMetadata is the metadata for foreign keys used in branch. */
-export interface BranchForeignKeyMetadata {
- /** The name is the name of a foreign key. */
- name: string;
- /** The columns are the ordered referencing columns of a foreign key. */
- columns: string[];
- /**
- * The referenced_schema is the referenced schema name of a foreign key.
- * It is an empty string for databases without such concept such as MySQL.
- */
- referencedSchema: string;
- /** The referenced_table is the referenced table name of a foreign key. */
- referencedTable: string;
- /** The referenced_columns are the ordered referenced columns of a foreign key. */
- referencedColumns: string[];
- /** The on_delete is the on delete action of a foreign key. */
- onDelete: string;
- /** The on_update is the on update action of a foreign key. */
- onUpdate: string;
- /**
- * The match_type is the match type of a foreign key.
- * The match_type is the PostgreSQL specific field.
- * It's empty string for other databases.
- */
- matchType: string;
-}
-
function createBaseBranchSnapshot(): BranchSnapshot {
return { metadata: undefined, databaseConfig: undefined };
}
@@ -806,2642 +177,7 @@ export const BranchConfig = {
},
};
-function createBaseBranchDatabaseSchemaMetadata(): BranchDatabaseSchemaMetadata {
- return { name: "", schemas: [], characterSet: "", collation: "", extensions: [], datashare: false, serviceName: "" };
-}
-
-export const BranchDatabaseSchemaMetadata = {
- encode(message: BranchDatabaseSchemaMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.schemas) {
- BranchSchemaMetadata.encode(v!, writer.uint32(18).fork()).ldelim();
- }
- if (message.characterSet !== "") {
- writer.uint32(26).string(message.characterSet);
- }
- if (message.collation !== "") {
- writer.uint32(34).string(message.collation);
- }
- for (const v of message.extensions) {
- ExtensionMetadata.encode(v!, writer.uint32(42).fork()).ldelim();
- }
- if (message.datashare === true) {
- writer.uint32(48).bool(message.datashare);
- }
- if (message.serviceName !== "") {
- writer.uint32(58).string(message.serviceName);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchDatabaseSchemaMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchDatabaseSchemaMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.schemas.push(BranchSchemaMetadata.decode(reader, reader.uint32()));
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.characterSet = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.collation = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.extensions.push(ExtensionMetadata.decode(reader, reader.uint32()));
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.datashare = reader.bool();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.serviceName = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchDatabaseSchemaMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- schemas: globalThis.Array.isArray(object?.schemas)
- ? object.schemas.map((e: any) => BranchSchemaMetadata.fromJSON(e))
- : [],
- characterSet: isSet(object.characterSet) ? globalThis.String(object.characterSet) : "",
- collation: isSet(object.collation) ? globalThis.String(object.collation) : "",
- extensions: globalThis.Array.isArray(object?.extensions)
- ? object.extensions.map((e: any) => ExtensionMetadata.fromJSON(e))
- : [],
- datashare: isSet(object.datashare) ? globalThis.Boolean(object.datashare) : false,
- serviceName: isSet(object.serviceName) ? globalThis.String(object.serviceName) : "",
- };
- },
-
- toJSON(message: BranchDatabaseSchemaMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.schemas?.length) {
- obj.schemas = message.schemas.map((e) => BranchSchemaMetadata.toJSON(e));
- }
- if (message.characterSet !== "") {
- obj.characterSet = message.characterSet;
- }
- if (message.collation !== "") {
- obj.collation = message.collation;
- }
- if (message.extensions?.length) {
- obj.extensions = message.extensions.map((e) => ExtensionMetadata.toJSON(e));
- }
- if (message.datashare === true) {
- obj.datashare = message.datashare;
- }
- if (message.serviceName !== "") {
- obj.serviceName = message.serviceName;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchDatabaseSchemaMetadata>): BranchDatabaseSchemaMetadata {
- return BranchDatabaseSchemaMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchDatabaseSchemaMetadata>): BranchDatabaseSchemaMetadata {
- const message = createBaseBranchDatabaseSchemaMetadata();
- message.name = object.name ?? "";
- message.schemas = object.schemas?.map((e) => BranchSchemaMetadata.fromPartial(e)) || [];
- message.characterSet = object.characterSet ?? "";
- message.collation = object.collation ?? "";
- message.extensions = object.extensions?.map((e) => ExtensionMetadata.fromPartial(e)) || [];
- message.datashare = object.datashare ?? false;
- message.serviceName = object.serviceName ?? "";
- return message;
- },
-};
-
-function createBaseBranchSchemaMetadata(): BranchSchemaMetadata {
- return {
- name: "",
- tables: [],
- externalTables: [],
- views: [],
- functions: [],
- procedures: [],
- streams: [],
- tasks: [],
- materializedViews: [],
- updater: "",
- updateTime: undefined,
- };
-}
-
-export const BranchSchemaMetadata = {
- encode(message: BranchSchemaMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.tables) {
- BranchTableMetadata.encode(v!, writer.uint32(18).fork()).ldelim();
- }
- for (const v of message.externalTables) {
- BranchExternalTableMetadata.encode(v!, writer.uint32(26).fork()).ldelim();
- }
- for (const v of message.views) {
- BranchViewMetadata.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- for (const v of message.functions) {
- BranchFunctionMetadata.encode(v!, writer.uint32(42).fork()).ldelim();
- }
- for (const v of message.procedures) {
- BranchProcedureMetadata.encode(v!, writer.uint32(50).fork()).ldelim();
- }
- for (const v of message.streams) {
- BranchStreamMetadata.encode(v!, writer.uint32(58).fork()).ldelim();
- }
- for (const v of message.tasks) {
- BranchTaskMetadata.encode(v!, writer.uint32(66).fork()).ldelim();
- }
- for (const v of message.materializedViews) {
- BranchMaterializedViewMetadata.encode(v!, writer.uint32(74).fork()).ldelim();
- }
- if (message.updater !== "") {
- writer.uint32(82).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(90).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchSchemaMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchSchemaMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.tables.push(BranchTableMetadata.decode(reader, reader.uint32()));
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.externalTables.push(BranchExternalTableMetadata.decode(reader, reader.uint32()));
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.views.push(BranchViewMetadata.decode(reader, reader.uint32()));
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.functions.push(BranchFunctionMetadata.decode(reader, reader.uint32()));
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.procedures.push(BranchProcedureMetadata.decode(reader, reader.uint32()));
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.streams.push(BranchStreamMetadata.decode(reader, reader.uint32()));
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.tasks.push(BranchTaskMetadata.decode(reader, reader.uint32()));
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.materializedViews.push(BranchMaterializedViewMetadata.decode(reader, reader.uint32()));
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 11:
- if (tag !== 90) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchSchemaMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- tables: globalThis.Array.isArray(object?.tables)
- ? object.tables.map((e: any) => BranchTableMetadata.fromJSON(e))
- : [],
- externalTables: globalThis.Array.isArray(object?.externalTables)
- ? object.externalTables.map((e: any) => BranchExternalTableMetadata.fromJSON(e))
- : [],
- views: globalThis.Array.isArray(object?.views)
- ? object.views.map((e: any) => BranchViewMetadata.fromJSON(e))
- : [],
- functions: globalThis.Array.isArray(object?.functions)
- ? object.functions.map((e: any) => BranchFunctionMetadata.fromJSON(e))
- : [],
- procedures: globalThis.Array.isArray(object?.procedures)
- ? object.procedures.map((e: any) => BranchProcedureMetadata.fromJSON(e))
- : [],
- streams: globalThis.Array.isArray(object?.streams)
- ? object.streams.map((e: any) => BranchStreamMetadata.fromJSON(e))
- : [],
- tasks: globalThis.Array.isArray(object?.tasks)
- ? object.tasks.map((e: any) => BranchTaskMetadata.fromJSON(e))
- : [],
- materializedViews: globalThis.Array.isArray(object?.materializedViews)
- ? object.materializedViews.map((e: any) => BranchMaterializedViewMetadata.fromJSON(e))
- : [],
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchSchemaMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.tables?.length) {
- obj.tables = message.tables.map((e) => BranchTableMetadata.toJSON(e));
- }
- if (message.externalTables?.length) {
- obj.externalTables = message.externalTables.map((e) => BranchExternalTableMetadata.toJSON(e));
- }
- if (message.views?.length) {
- obj.views = message.views.map((e) => BranchViewMetadata.toJSON(e));
- }
- if (message.functions?.length) {
- obj.functions = message.functions.map((e) => BranchFunctionMetadata.toJSON(e));
- }
- if (message.procedures?.length) {
- obj.procedures = message.procedures.map((e) => BranchProcedureMetadata.toJSON(e));
- }
- if (message.streams?.length) {
- obj.streams = message.streams.map((e) => BranchStreamMetadata.toJSON(e));
- }
- if (message.tasks?.length) {
- obj.tasks = message.tasks.map((e) => BranchTaskMetadata.toJSON(e));
- }
- if (message.materializedViews?.length) {
- obj.materializedViews = message.materializedViews.map((e) => BranchMaterializedViewMetadata.toJSON(e));
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchSchemaMetadata>): BranchSchemaMetadata {
- return BranchSchemaMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchSchemaMetadata>): BranchSchemaMetadata {
- const message = createBaseBranchSchemaMetadata();
- message.name = object.name ?? "";
- message.tables = object.tables?.map((e) => BranchTableMetadata.fromPartial(e)) || [];
- message.externalTables = object.externalTables?.map((e) => BranchExternalTableMetadata.fromPartial(e)) || [];
- message.views = object.views?.map((e) => BranchViewMetadata.fromPartial(e)) || [];
- message.functions = object.functions?.map((e) => BranchFunctionMetadata.fromPartial(e)) || [];
- message.procedures = object.procedures?.map((e) => BranchProcedureMetadata.fromPartial(e)) || [];
- message.streams = object.streams?.map((e) => BranchStreamMetadata.fromPartial(e)) || [];
- message.tasks = object.tasks?.map((e) => BranchTaskMetadata.fromPartial(e)) || [];
- message.materializedViews = object.materializedViews?.map((e) => BranchMaterializedViewMetadata.fromPartial(e)) ||
- [];
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchTaskMetadata(): BranchTaskMetadata {
- return {
- name: "",
- id: "",
- owner: "",
- comment: "",
- warehouse: "",
- schedule: "",
- predecessors: [],
- state: BranchTaskMetadata_State.STATE_UNSPECIFIED,
- condition: "",
- definition: "",
- };
-}
-
-export const BranchTaskMetadata = {
- encode(message: BranchTaskMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.id !== "") {
- writer.uint32(18).string(message.id);
- }
- if (message.owner !== "") {
- writer.uint32(26).string(message.owner);
- }
- if (message.comment !== "") {
- writer.uint32(34).string(message.comment);
- }
- if (message.warehouse !== "") {
- writer.uint32(42).string(message.warehouse);
- }
- if (message.schedule !== "") {
- writer.uint32(50).string(message.schedule);
- }
- for (const v of message.predecessors) {
- writer.uint32(58).string(v!);
- }
- if (message.state !== BranchTaskMetadata_State.STATE_UNSPECIFIED) {
- writer.uint32(64).int32(branchTaskMetadata_StateToNumber(message.state));
- }
- if (message.condition !== "") {
- writer.uint32(74).string(message.condition);
- }
- if (message.definition !== "") {
- writer.uint32(82).string(message.definition);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchTaskMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchTaskMetadata();
- 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.id = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.owner = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.warehouse = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.schedule = reader.string();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.predecessors.push(reader.string());
- continue;
- case 8:
- if (tag !== 64) {
- break;
- }
-
- message.state = branchTaskMetadata_StateFromJSON(reader.int32());
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.condition = reader.string();
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.definition = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchTaskMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- id: isSet(object.id) ? globalThis.String(object.id) : "",
- owner: isSet(object.owner) ? globalThis.String(object.owner) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- warehouse: isSet(object.warehouse) ? globalThis.String(object.warehouse) : "",
- schedule: isSet(object.schedule) ? globalThis.String(object.schedule) : "",
- predecessors: globalThis.Array.isArray(object?.predecessors)
- ? object.predecessors.map((e: any) => globalThis.String(e))
- : [],
- state: isSet(object.state)
- ? branchTaskMetadata_StateFromJSON(object.state)
- : BranchTaskMetadata_State.STATE_UNSPECIFIED,
- condition: isSet(object.condition) ? globalThis.String(object.condition) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- };
- },
-
- toJSON(message: BranchTaskMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.id !== "") {
- obj.id = message.id;
- }
- if (message.owner !== "") {
- obj.owner = message.owner;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.warehouse !== "") {
- obj.warehouse = message.warehouse;
- }
- if (message.schedule !== "") {
- obj.schedule = message.schedule;
- }
- if (message.predecessors?.length) {
- obj.predecessors = message.predecessors;
- }
- if (message.state !== BranchTaskMetadata_State.STATE_UNSPECIFIED) {
- obj.state = branchTaskMetadata_StateToJSON(message.state);
- }
- if (message.condition !== "") {
- obj.condition = message.condition;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchTaskMetadata>): BranchTaskMetadata {
- return BranchTaskMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchTaskMetadata>): BranchTaskMetadata {
- const message = createBaseBranchTaskMetadata();
- message.name = object.name ?? "";
- message.id = object.id ?? "";
- message.owner = object.owner ?? "";
- message.comment = object.comment ?? "";
- message.warehouse = object.warehouse ?? "";
- message.schedule = object.schedule ?? "";
- message.predecessors = object.predecessors?.map((e) => e) || [];
- message.state = object.state ?? BranchTaskMetadata_State.STATE_UNSPECIFIED;
- message.condition = object.condition ?? "";
- message.definition = object.definition ?? "";
- return message;
- },
-};
-
-function createBaseBranchStreamMetadata(): BranchStreamMetadata {
- return {
- name: "",
- tableName: "",
- owner: "",
- comment: "",
- type: BranchStreamMetadata_Type.TYPE_UNSPECIFIED,
- stale: false,
- mode: BranchStreamMetadata_Mode.MODE_UNSPECIFIED,
- definition: "",
- };
-}
-
-export const BranchStreamMetadata = {
- encode(message: BranchStreamMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.tableName !== "") {
- writer.uint32(18).string(message.tableName);
- }
- if (message.owner !== "") {
- writer.uint32(26).string(message.owner);
- }
- if (message.comment !== "") {
- writer.uint32(34).string(message.comment);
- }
- if (message.type !== BranchStreamMetadata_Type.TYPE_UNSPECIFIED) {
- writer.uint32(40).int32(branchStreamMetadata_TypeToNumber(message.type));
- }
- if (message.stale === true) {
- writer.uint32(48).bool(message.stale);
- }
- if (message.mode !== BranchStreamMetadata_Mode.MODE_UNSPECIFIED) {
- writer.uint32(56).int32(branchStreamMetadata_ModeToNumber(message.mode));
- }
- if (message.definition !== "") {
- writer.uint32(66).string(message.definition);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchStreamMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchStreamMetadata();
- 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.tableName = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.owner = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 5:
- if (tag !== 40) {
- break;
- }
-
- message.type = branchStreamMetadata_TypeFromJSON(reader.int32());
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.stale = reader.bool();
- continue;
- case 7:
- if (tag !== 56) {
- break;
- }
-
- message.mode = branchStreamMetadata_ModeFromJSON(reader.int32());
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.definition = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchStreamMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- tableName: isSet(object.tableName) ? globalThis.String(object.tableName) : "",
- owner: isSet(object.owner) ? globalThis.String(object.owner) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- type: isSet(object.type)
- ? branchStreamMetadata_TypeFromJSON(object.type)
- : BranchStreamMetadata_Type.TYPE_UNSPECIFIED,
- stale: isSet(object.stale) ? globalThis.Boolean(object.stale) : false,
- mode: isSet(object.mode)
- ? branchStreamMetadata_ModeFromJSON(object.mode)
- : BranchStreamMetadata_Mode.MODE_UNSPECIFIED,
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- };
- },
-
- toJSON(message: BranchStreamMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.tableName !== "") {
- obj.tableName = message.tableName;
- }
- if (message.owner !== "") {
- obj.owner = message.owner;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.type !== BranchStreamMetadata_Type.TYPE_UNSPECIFIED) {
- obj.type = branchStreamMetadata_TypeToJSON(message.type);
- }
- if (message.stale === true) {
- obj.stale = message.stale;
- }
- if (message.mode !== BranchStreamMetadata_Mode.MODE_UNSPECIFIED) {
- obj.mode = branchStreamMetadata_ModeToJSON(message.mode);
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchStreamMetadata>): BranchStreamMetadata {
- return BranchStreamMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchStreamMetadata>): BranchStreamMetadata {
- const message = createBaseBranchStreamMetadata();
- message.name = object.name ?? "";
- message.tableName = object.tableName ?? "";
- message.owner = object.owner ?? "";
- message.comment = object.comment ?? "";
- message.type = object.type ?? BranchStreamMetadata_Type.TYPE_UNSPECIFIED;
- message.stale = object.stale ?? false;
- message.mode = object.mode ?? BranchStreamMetadata_Mode.MODE_UNSPECIFIED;
- message.definition = object.definition ?? "";
- return message;
- },
-};
-
-function createBaseBranchTableMetadata(): BranchTableMetadata {
- return {
- name: "",
- columns: [],
- indexes: [],
- engine: "",
- collation: "",
- rowCount: Long.ZERO,
- dataSize: Long.ZERO,
- indexSize: Long.ZERO,
- dataFree: Long.ZERO,
- createOptions: "",
- comment: "",
- classification: "",
- userComment: "",
- foreignKeys: [],
- partitions: [],
- updater: "",
- updateTime: undefined,
- };
-}
-
-export const BranchTableMetadata = {
- encode(message: BranchTableMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.columns) {
- BranchColumnMetadata.encode(v!, writer.uint32(18).fork()).ldelim();
- }
- for (const v of message.indexes) {
- BranchIndexMetadata.encode(v!, writer.uint32(26).fork()).ldelim();
- }
- if (message.engine !== "") {
- writer.uint32(34).string(message.engine);
- }
- if (message.collation !== "") {
- writer.uint32(42).string(message.collation);
- }
- if (!message.rowCount.isZero()) {
- writer.uint32(48).int64(message.rowCount);
- }
- if (!message.dataSize.isZero()) {
- writer.uint32(56).int64(message.dataSize);
- }
- if (!message.indexSize.isZero()) {
- writer.uint32(64).int64(message.indexSize);
- }
- if (!message.dataFree.isZero()) {
- writer.uint32(72).int64(message.dataFree);
- }
- if (message.createOptions !== "") {
- writer.uint32(82).string(message.createOptions);
- }
- if (message.comment !== "") {
- writer.uint32(90).string(message.comment);
- }
- if (message.classification !== "") {
- writer.uint32(106).string(message.classification);
- }
- if (message.userComment !== "") {
- writer.uint32(114).string(message.userComment);
- }
- for (const v of message.foreignKeys) {
- BranchForeignKeyMetadata.encode(v!, writer.uint32(98).fork()).ldelim();
- }
- for (const v of message.partitions) {
- BranchTablePartitionMetadata.encode(v!, writer.uint32(122).fork()).ldelim();
- }
- if (message.updater !== "") {
- writer.uint32(130).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(138).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchTableMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchTableMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.columns.push(BranchColumnMetadata.decode(reader, reader.uint32()));
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.indexes.push(BranchIndexMetadata.decode(reader, reader.uint32()));
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.engine = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.collation = reader.string();
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.rowCount = reader.int64() as Long;
- continue;
- case 7:
- if (tag !== 56) {
- break;
- }
-
- message.dataSize = reader.int64() as Long;
- continue;
- case 8:
- if (tag !== 64) {
- break;
- }
-
- message.indexSize = reader.int64() as Long;
- continue;
- case 9:
- if (tag !== 72) {
- break;
- }
-
- message.dataFree = reader.int64() as Long;
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.createOptions = reader.string();
- continue;
- case 11:
- if (tag !== 90) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 13:
- if (tag !== 106) {
- break;
- }
-
- message.classification = reader.string();
- continue;
- case 14:
- if (tag !== 114) {
- break;
- }
-
- message.userComment = reader.string();
- continue;
- case 12:
- if (tag !== 98) {
- break;
- }
-
- message.foreignKeys.push(BranchForeignKeyMetadata.decode(reader, reader.uint32()));
- continue;
- case 15:
- if (tag !== 122) {
- break;
- }
-
- message.partitions.push(BranchTablePartitionMetadata.decode(reader, reader.uint32()));
- continue;
- case 16:
- if (tag !== 130) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 17:
- if (tag !== 138) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchTableMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- columns: globalThis.Array.isArray(object?.columns)
- ? object.columns.map((e: any) => BranchColumnMetadata.fromJSON(e))
- : [],
- indexes: globalThis.Array.isArray(object?.indexes)
- ? object.indexes.map((e: any) => BranchIndexMetadata.fromJSON(e))
- : [],
- engine: isSet(object.engine) ? globalThis.String(object.engine) : "",
- collation: isSet(object.collation) ? globalThis.String(object.collation) : "",
- rowCount: isSet(object.rowCount) ? Long.fromValue(object.rowCount) : Long.ZERO,
- dataSize: isSet(object.dataSize) ? Long.fromValue(object.dataSize) : Long.ZERO,
- indexSize: isSet(object.indexSize) ? Long.fromValue(object.indexSize) : Long.ZERO,
- dataFree: isSet(object.dataFree) ? Long.fromValue(object.dataFree) : Long.ZERO,
- createOptions: isSet(object.createOptions) ? globalThis.String(object.createOptions) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",
- userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",
- foreignKeys: globalThis.Array.isArray(object?.foreignKeys)
- ? object.foreignKeys.map((e: any) => BranchForeignKeyMetadata.fromJSON(e))
- : [],
- partitions: globalThis.Array.isArray(object?.partitions)
- ? object.partitions.map((e: any) => BranchTablePartitionMetadata.fromJSON(e))
- : [],
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchTableMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.columns?.length) {
- obj.columns = message.columns.map((e) => BranchColumnMetadata.toJSON(e));
- }
- if (message.indexes?.length) {
- obj.indexes = message.indexes.map((e) => BranchIndexMetadata.toJSON(e));
- }
- if (message.engine !== "") {
- obj.engine = message.engine;
- }
- if (message.collation !== "") {
- obj.collation = message.collation;
- }
- if (!message.rowCount.isZero()) {
- obj.rowCount = (message.rowCount || Long.ZERO).toString();
- }
- if (!message.dataSize.isZero()) {
- obj.dataSize = (message.dataSize || Long.ZERO).toString();
- }
- if (!message.indexSize.isZero()) {
- obj.indexSize = (message.indexSize || Long.ZERO).toString();
- }
- if (!message.dataFree.isZero()) {
- obj.dataFree = (message.dataFree || Long.ZERO).toString();
- }
- if (message.createOptions !== "") {
- obj.createOptions = message.createOptions;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.classification !== "") {
- obj.classification = message.classification;
- }
- if (message.userComment !== "") {
- obj.userComment = message.userComment;
- }
- if (message.foreignKeys?.length) {
- obj.foreignKeys = message.foreignKeys.map((e) => BranchForeignKeyMetadata.toJSON(e));
- }
- if (message.partitions?.length) {
- obj.partitions = message.partitions.map((e) => BranchTablePartitionMetadata.toJSON(e));
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchTableMetadata>): BranchTableMetadata {
- return BranchTableMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchTableMetadata>): BranchTableMetadata {
- const message = createBaseBranchTableMetadata();
- message.name = object.name ?? "";
- message.columns = object.columns?.map((e) => BranchColumnMetadata.fromPartial(e)) || [];
- message.indexes = object.indexes?.map((e) => BranchIndexMetadata.fromPartial(e)) || [];
- message.engine = object.engine ?? "";
- message.collation = object.collation ?? "";
- message.rowCount = (object.rowCount !== undefined && object.rowCount !== null)
- ? Long.fromValue(object.rowCount)
- : Long.ZERO;
- message.dataSize = (object.dataSize !== undefined && object.dataSize !== null)
- ? Long.fromValue(object.dataSize)
- : Long.ZERO;
- message.indexSize = (object.indexSize !== undefined && object.indexSize !== null)
- ? Long.fromValue(object.indexSize)
- : Long.ZERO;
- message.dataFree = (object.dataFree !== undefined && object.dataFree !== null)
- ? Long.fromValue(object.dataFree)
- : Long.ZERO;
- message.createOptions = object.createOptions ?? "";
- message.comment = object.comment ?? "";
- message.classification = object.classification ?? "";
- message.userComment = object.userComment ?? "";
- message.foreignKeys = object.foreignKeys?.map((e) => BranchForeignKeyMetadata.fromPartial(e)) || [];
- message.partitions = object.partitions?.map((e) => BranchTablePartitionMetadata.fromPartial(e)) || [];
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchExternalTableMetadata(): BranchExternalTableMetadata {
- return { name: "", externalServerName: "", externalDatabaseName: "", columns: [] };
-}
-
-export const BranchExternalTableMetadata = {
- encode(message: BranchExternalTableMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.externalServerName !== "") {
- writer.uint32(18).string(message.externalServerName);
- }
- if (message.externalDatabaseName !== "") {
- writer.uint32(26).string(message.externalDatabaseName);
- }
- for (const v of message.columns) {
- BranchColumnMetadata.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchExternalTableMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchExternalTableMetadata();
- 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.externalServerName = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.externalDatabaseName = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.columns.push(BranchColumnMetadata.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchExternalTableMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- externalServerName: isSet(object.externalServerName) ? globalThis.String(object.externalServerName) : "",
- externalDatabaseName: isSet(object.externalDatabaseName) ? globalThis.String(object.externalDatabaseName) : "",
- columns: globalThis.Array.isArray(object?.columns)
- ? object.columns.map((e: any) => BranchColumnMetadata.fromJSON(e))
- : [],
- };
- },
-
- toJSON(message: BranchExternalTableMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.externalServerName !== "") {
- obj.externalServerName = message.externalServerName;
- }
- if (message.externalDatabaseName !== "") {
- obj.externalDatabaseName = message.externalDatabaseName;
- }
- if (message.columns?.length) {
- obj.columns = message.columns.map((e) => BranchColumnMetadata.toJSON(e));
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchExternalTableMetadata>): BranchExternalTableMetadata {
- return BranchExternalTableMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchExternalTableMetadata>): BranchExternalTableMetadata {
- const message = createBaseBranchExternalTableMetadata();
- message.name = object.name ?? "";
- message.externalServerName = object.externalServerName ?? "";
- message.externalDatabaseName = object.externalDatabaseName ?? "";
- message.columns = object.columns?.map((e) => BranchColumnMetadata.fromPartial(e)) || [];
- return message;
- },
-};
-
-function createBaseBranchTablePartitionMetadata(): BranchTablePartitionMetadata {
- return {
- name: "",
- type: BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED,
- expression: "",
- value: "",
- useDefault: "",
- subpartitions: [],
- };
-}
-
-export const BranchTablePartitionMetadata = {
- encode(message: BranchTablePartitionMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.type !== BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED) {
- writer.uint32(16).int32(branchTablePartitionMetadata_TypeToNumber(message.type));
- }
- if (message.expression !== "") {
- writer.uint32(26).string(message.expression);
- }
- if (message.value !== "") {
- writer.uint32(34).string(message.value);
- }
- if (message.useDefault !== "") {
- writer.uint32(42).string(message.useDefault);
- }
- for (const v of message.subpartitions) {
- BranchTablePartitionMetadata.encode(v!, writer.uint32(50).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchTablePartitionMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchTablePartitionMetadata();
- 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.type = branchTablePartitionMetadata_TypeFromJSON(reader.int32());
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.expression = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.value = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.useDefault = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.subpartitions.push(BranchTablePartitionMetadata.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchTablePartitionMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- type: isSet(object.type)
- ? branchTablePartitionMetadata_TypeFromJSON(object.type)
- : BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED,
- expression: isSet(object.expression) ? globalThis.String(object.expression) : "",
- value: isSet(object.value) ? globalThis.String(object.value) : "",
- useDefault: isSet(object.useDefault) ? globalThis.String(object.useDefault) : "",
- subpartitions: globalThis.Array.isArray(object?.subpartitions)
- ? object.subpartitions.map((e: any) => BranchTablePartitionMetadata.fromJSON(e))
- : [],
- };
- },
-
- toJSON(message: BranchTablePartitionMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.type !== BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED) {
- obj.type = branchTablePartitionMetadata_TypeToJSON(message.type);
- }
- if (message.expression !== "") {
- obj.expression = message.expression;
- }
- if (message.value !== "") {
- obj.value = message.value;
- }
- if (message.useDefault !== "") {
- obj.useDefault = message.useDefault;
- }
- if (message.subpartitions?.length) {
- obj.subpartitions = message.subpartitions.map((e) => BranchTablePartitionMetadata.toJSON(e));
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchTablePartitionMetadata>): BranchTablePartitionMetadata {
- return BranchTablePartitionMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchTablePartitionMetadata>): BranchTablePartitionMetadata {
- const message = createBaseBranchTablePartitionMetadata();
- message.name = object.name ?? "";
- message.type = object.type ?? BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED;
- message.expression = object.expression ?? "";
- message.value = object.value ?? "";
- message.useDefault = object.useDefault ?? "";
- message.subpartitions = object.subpartitions?.map((e) => BranchTablePartitionMetadata.fromPartial(e)) || [];
- return message;
- },
-};
-
-function createBaseBranchColumnMetadata(): BranchColumnMetadata {
- return {
- name: "",
- position: 0,
- default: undefined,
- defaultNull: undefined,
- defaultExpression: undefined,
- onUpdate: "",
- nullable: false,
- type: "",
- characterSet: "",
- collation: "",
- comment: "",
- classification: "",
- userComment: "",
- };
-}
-
-export const BranchColumnMetadata = {
- encode(message: BranchColumnMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.position !== 0) {
- writer.uint32(16).int32(message.position);
- }
- if (message.default !== undefined) {
- StringValue.encode({ value: message.default! }, writer.uint32(26).fork()).ldelim();
- }
- if (message.defaultNull !== undefined) {
- writer.uint32(32).bool(message.defaultNull);
- }
- if (message.defaultExpression !== undefined) {
- writer.uint32(42).string(message.defaultExpression);
- }
- if (message.onUpdate !== "") {
- writer.uint32(106).string(message.onUpdate);
- }
- if (message.nullable === true) {
- writer.uint32(48).bool(message.nullable);
- }
- if (message.type !== "") {
- writer.uint32(58).string(message.type);
- }
- if (message.characterSet !== "") {
- writer.uint32(66).string(message.characterSet);
- }
- if (message.collation !== "") {
- writer.uint32(74).string(message.collation);
- }
- if (message.comment !== "") {
- writer.uint32(82).string(message.comment);
- }
- if (message.classification !== "") {
- writer.uint32(90).string(message.classification);
- }
- if (message.userComment !== "") {
- writer.uint32(98).string(message.userComment);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchColumnMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchColumnMetadata();
- 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.position = reader.int32();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.default = StringValue.decode(reader, reader.uint32()).value;
- continue;
- case 4:
- if (tag !== 32) {
- break;
- }
-
- message.defaultNull = reader.bool();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.defaultExpression = reader.string();
- continue;
- case 13:
- if (tag !== 106) {
- break;
- }
-
- message.onUpdate = reader.string();
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.nullable = reader.bool();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.type = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.characterSet = reader.string();
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.collation = reader.string();
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 11:
- if (tag !== 90) {
- break;
- }
-
- message.classification = reader.string();
- continue;
- case 12:
- if (tag !== 98) {
- break;
- }
-
- message.userComment = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchColumnMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- position: isSet(object.position) ? globalThis.Number(object.position) : 0,
- default: isSet(object.default) ? String(object.default) : undefined,
- defaultNull: isSet(object.defaultNull) ? globalThis.Boolean(object.defaultNull) : undefined,
- defaultExpression: isSet(object.defaultExpression) ? globalThis.String(object.defaultExpression) : undefined,
- onUpdate: isSet(object.onUpdate) ? globalThis.String(object.onUpdate) : "",
- nullable: isSet(object.nullable) ? globalThis.Boolean(object.nullable) : false,
- type: isSet(object.type) ? globalThis.String(object.type) : "",
- characterSet: isSet(object.characterSet) ? globalThis.String(object.characterSet) : "",
- collation: isSet(object.collation) ? globalThis.String(object.collation) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",
- userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",
- };
- },
-
- toJSON(message: BranchColumnMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.position !== 0) {
- obj.position = Math.round(message.position);
- }
- if (message.default !== undefined) {
- obj.default = message.default;
- }
- if (message.defaultNull !== undefined) {
- obj.defaultNull = message.defaultNull;
- }
- if (message.defaultExpression !== undefined) {
- obj.defaultExpression = message.defaultExpression;
- }
- if (message.onUpdate !== "") {
- obj.onUpdate = message.onUpdate;
- }
- if (message.nullable === true) {
- obj.nullable = message.nullable;
- }
- if (message.type !== "") {
- obj.type = message.type;
- }
- if (message.characterSet !== "") {
- obj.characterSet = message.characterSet;
- }
- if (message.collation !== "") {
- obj.collation = message.collation;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.classification !== "") {
- obj.classification = message.classification;
- }
- if (message.userComment !== "") {
- obj.userComment = message.userComment;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchColumnMetadata>): BranchColumnMetadata {
- return BranchColumnMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchColumnMetadata>): BranchColumnMetadata {
- const message = createBaseBranchColumnMetadata();
- message.name = object.name ?? "";
- message.position = object.position ?? 0;
- message.default = object.default ?? undefined;
- message.defaultNull = object.defaultNull ?? undefined;
- message.defaultExpression = object.defaultExpression ?? undefined;
- message.onUpdate = object.onUpdate ?? "";
- message.nullable = object.nullable ?? false;
- message.type = object.type ?? "";
- message.characterSet = object.characterSet ?? "";
- message.collation = object.collation ?? "";
- message.comment = object.comment ?? "";
- message.classification = object.classification ?? "";
- message.userComment = object.userComment ?? "";
- return message;
- },
-};
-
-function createBaseBranchViewMetadata(): BranchViewMetadata {
- return { name: "", definition: "", comment: "", dependentColumns: [], updater: "", updateTime: undefined };
-}
-
-export const BranchViewMetadata = {
- encode(message: BranchViewMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.comment !== "") {
- writer.uint32(26).string(message.comment);
- }
- for (const v of message.dependentColumns) {
- BranchDependentColumn.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- if (message.updater !== "") {
- writer.uint32(42).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(50).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchViewMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchViewMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.dependentColumns.push(BranchDependentColumn.decode(reader, reader.uint32()));
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchViewMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- dependentColumns: globalThis.Array.isArray(object?.dependentColumns)
- ? object.dependentColumns.map((e: any) => BranchDependentColumn.fromJSON(e))
- : [],
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchViewMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.dependentColumns?.length) {
- obj.dependentColumns = message.dependentColumns.map((e) => BranchDependentColumn.toJSON(e));
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchViewMetadata>): BranchViewMetadata {
- return BranchViewMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchViewMetadata>): BranchViewMetadata {
- const message = createBaseBranchViewMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.comment = object.comment ?? "";
- message.dependentColumns = object.dependentColumns?.map((e) => BranchDependentColumn.fromPartial(e)) || [];
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchDependentColumn(): BranchDependentColumn {
- return { schema: "", table: "", column: "" };
-}
-
-export const BranchDependentColumn = {
- encode(message: BranchDependentColumn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.schema !== "") {
- writer.uint32(10).string(message.schema);
- }
- if (message.table !== "") {
- writer.uint32(18).string(message.table);
- }
- if (message.column !== "") {
- writer.uint32(26).string(message.column);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchDependentColumn {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchDependentColumn();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.schema = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.table = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.column = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchDependentColumn {
- return {
- schema: isSet(object.schema) ? globalThis.String(object.schema) : "",
- table: isSet(object.table) ? globalThis.String(object.table) : "",
- column: isSet(object.column) ? globalThis.String(object.column) : "",
- };
- },
-
- toJSON(message: BranchDependentColumn): unknown {
- const obj: any = {};
- if (message.schema !== "") {
- obj.schema = message.schema;
- }
- if (message.table !== "") {
- obj.table = message.table;
- }
- if (message.column !== "") {
- obj.column = message.column;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchDependentColumn>): BranchDependentColumn {
- return BranchDependentColumn.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchDependentColumn>): BranchDependentColumn {
- const message = createBaseBranchDependentColumn();
- message.schema = object.schema ?? "";
- message.table = object.table ?? "";
- message.column = object.column ?? "";
- return message;
- },
-};
-
-function createBaseBranchMaterializedViewMetadata(): BranchMaterializedViewMetadata {
- return { name: "", definition: "", comment: "", dependentColumns: [] };
-}
-
-export const BranchMaterializedViewMetadata = {
- encode(message: BranchMaterializedViewMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.comment !== "") {
- writer.uint32(26).string(message.comment);
- }
- for (const v of message.dependentColumns) {
- BranchDependentColumn.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchMaterializedViewMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchMaterializedViewMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.dependentColumns.push(BranchDependentColumn.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchMaterializedViewMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- dependentColumns: globalThis.Array.isArray(object?.dependentColumns)
- ? object.dependentColumns.map((e: any) => BranchDependentColumn.fromJSON(e))
- : [],
- };
- },
-
- toJSON(message: BranchMaterializedViewMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.dependentColumns?.length) {
- obj.dependentColumns = message.dependentColumns.map((e) => BranchDependentColumn.toJSON(e));
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchMaterializedViewMetadata>): BranchMaterializedViewMetadata {
- return BranchMaterializedViewMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchMaterializedViewMetadata>): BranchMaterializedViewMetadata {
- const message = createBaseBranchMaterializedViewMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.comment = object.comment ?? "";
- message.dependentColumns = object.dependentColumns?.map((e) => BranchDependentColumn.fromPartial(e)) || [];
- return message;
- },
-};
-
-function createBaseBranchFunctionMetadata(): BranchFunctionMetadata {
- return { name: "", definition: "", updater: "", updateTime: undefined };
-}
-
-export const BranchFunctionMetadata = {
- encode(message: BranchFunctionMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.updater !== "") {
- writer.uint32(26).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchFunctionMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchFunctionMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchFunctionMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchFunctionMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchFunctionMetadata>): BranchFunctionMetadata {
- return BranchFunctionMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchFunctionMetadata>): BranchFunctionMetadata {
- const message = createBaseBranchFunctionMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchProcedureMetadata(): BranchProcedureMetadata {
- return { name: "", definition: "", updater: "", updateTime: undefined };
-}
-
-export const BranchProcedureMetadata = {
- encode(message: BranchProcedureMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.updater !== "") {
- writer.uint32(26).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchProcedureMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchProcedureMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchProcedureMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchProcedureMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchProcedureMetadata>): BranchProcedureMetadata {
- return BranchProcedureMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchProcedureMetadata>): BranchProcedureMetadata {
- const message = createBaseBranchProcedureMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchIndexMetadata(): BranchIndexMetadata {
- return {
- name: "",
- expressions: [],
- keyLength: [],
- type: "",
- unique: false,
- primary: false,
- visible: false,
- comment: "",
- definition: "",
- };
-}
-
-export const BranchIndexMetadata = {
- encode(message: BranchIndexMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.expressions) {
- writer.uint32(18).string(v!);
- }
- writer.uint32(74).fork();
- for (const v of message.keyLength) {
- writer.int64(v);
- }
- writer.ldelim();
- if (message.type !== "") {
- writer.uint32(26).string(message.type);
- }
- if (message.unique === true) {
- writer.uint32(32).bool(message.unique);
- }
- if (message.primary === true) {
- writer.uint32(40).bool(message.primary);
- }
- if (message.visible === true) {
- writer.uint32(48).bool(message.visible);
- }
- if (message.comment !== "") {
- writer.uint32(58).string(message.comment);
- }
- if (message.definition !== "") {
- writer.uint32(66).string(message.definition);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchIndexMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchIndexMetadata();
- 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.expressions.push(reader.string());
- continue;
- case 9:
- if (tag === 72) {
- message.keyLength.push(reader.int64() as Long);
-
- continue;
- }
-
- if (tag === 74) {
- const end2 = reader.uint32() + reader.pos;
- while (reader.pos < end2) {
- message.keyLength.push(reader.int64() as Long);
- }
-
- continue;
- }
-
- break;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.type = reader.string();
- continue;
- case 4:
- if (tag !== 32) {
- break;
- }
-
- message.unique = reader.bool();
- continue;
- case 5:
- if (tag !== 40) {
- break;
- }
-
- message.primary = reader.bool();
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.visible = reader.bool();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.definition = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchIndexMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- expressions: globalThis.Array.isArray(object?.expressions)
- ? object.expressions.map((e: any) => globalThis.String(e))
- : [],
- keyLength: globalThis.Array.isArray(object?.keyLength) ? object.keyLength.map((e: any) => Long.fromValue(e)) : [],
- type: isSet(object.type) ? globalThis.String(object.type) : "",
- unique: isSet(object.unique) ? globalThis.Boolean(object.unique) : false,
- primary: isSet(object.primary) ? globalThis.Boolean(object.primary) : false,
- visible: isSet(object.visible) ? globalThis.Boolean(object.visible) : false,
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- };
- },
-
- toJSON(message: BranchIndexMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.expressions?.length) {
- obj.expressions = message.expressions;
- }
- if (message.keyLength?.length) {
- obj.keyLength = message.keyLength.map((e) => (e || Long.ZERO).toString());
- }
- if (message.type !== "") {
- obj.type = message.type;
- }
- if (message.unique === true) {
- obj.unique = message.unique;
- }
- if (message.primary === true) {
- obj.primary = message.primary;
- }
- if (message.visible === true) {
- obj.visible = message.visible;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchIndexMetadata>): BranchIndexMetadata {
- return BranchIndexMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchIndexMetadata>): BranchIndexMetadata {
- const message = createBaseBranchIndexMetadata();
- message.name = object.name ?? "";
- message.expressions = object.expressions?.map((e) => e) || [];
- message.keyLength = object.keyLength?.map((e) => Long.fromValue(e)) || [];
- message.type = object.type ?? "";
- message.unique = object.unique ?? false;
- message.primary = object.primary ?? false;
- message.visible = object.visible ?? false;
- message.comment = object.comment ?? "";
- message.definition = object.definition ?? "";
- return message;
- },
-};
-
-function createBaseBranchExtensionMetadata(): BranchExtensionMetadata {
- return { name: "", schema: "", version: "", description: "" };
-}
-
-export const BranchExtensionMetadata = {
- encode(message: BranchExtensionMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.schema !== "") {
- writer.uint32(18).string(message.schema);
- }
- if (message.version !== "") {
- writer.uint32(26).string(message.version);
- }
- if (message.description !== "") {
- writer.uint32(34).string(message.description);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchExtensionMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchExtensionMetadata();
- 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.schema = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.version = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.description = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchExtensionMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- schema: isSet(object.schema) ? globalThis.String(object.schema) : "",
- version: isSet(object.version) ? globalThis.String(object.version) : "",
- description: isSet(object.description) ? globalThis.String(object.description) : "",
- };
- },
-
- toJSON(message: BranchExtensionMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.schema !== "") {
- obj.schema = message.schema;
- }
- if (message.version !== "") {
- obj.version = message.version;
- }
- if (message.description !== "") {
- obj.description = message.description;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchExtensionMetadata>): BranchExtensionMetadata {
- return BranchExtensionMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchExtensionMetadata>): BranchExtensionMetadata {
- const message = createBaseBranchExtensionMetadata();
- message.name = object.name ?? "";
- message.schema = object.schema ?? "";
- message.version = object.version ?? "";
- message.description = object.description ?? "";
- return message;
- },
-};
-
-function createBaseBranchForeignKeyMetadata(): BranchForeignKeyMetadata {
- return {
- name: "",
- columns: [],
- referencedSchema: "",
- referencedTable: "",
- referencedColumns: [],
- onDelete: "",
- onUpdate: "",
- matchType: "",
- };
-}
-
-export const BranchForeignKeyMetadata = {
- encode(message: BranchForeignKeyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.columns) {
- writer.uint32(18).string(v!);
- }
- if (message.referencedSchema !== "") {
- writer.uint32(26).string(message.referencedSchema);
- }
- if (message.referencedTable !== "") {
- writer.uint32(34).string(message.referencedTable);
- }
- for (const v of message.referencedColumns) {
- writer.uint32(42).string(v!);
- }
- if (message.onDelete !== "") {
- writer.uint32(50).string(message.onDelete);
- }
- if (message.onUpdate !== "") {
- writer.uint32(58).string(message.onUpdate);
- }
- if (message.matchType !== "") {
- writer.uint32(66).string(message.matchType);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchForeignKeyMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchForeignKeyMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.columns.push(reader.string());
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.referencedSchema = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.referencedTable = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.referencedColumns.push(reader.string());
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.onDelete = reader.string();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.onUpdate = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.matchType = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchForeignKeyMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- columns: globalThis.Array.isArray(object?.columns) ? object.columns.map((e: any) => globalThis.String(e)) : [],
- referencedSchema: isSet(object.referencedSchema) ? globalThis.String(object.referencedSchema) : "",
- referencedTable: isSet(object.referencedTable) ? globalThis.String(object.referencedTable) : "",
- referencedColumns: globalThis.Array.isArray(object?.referencedColumns)
- ? object.referencedColumns.map((e: any) => globalThis.String(e))
- : [],
- onDelete: isSet(object.onDelete) ? globalThis.String(object.onDelete) : "",
- onUpdate: isSet(object.onUpdate) ? globalThis.String(object.onUpdate) : "",
- matchType: isSet(object.matchType) ? globalThis.String(object.matchType) : "",
- };
- },
-
- toJSON(message: BranchForeignKeyMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.columns?.length) {
- obj.columns = message.columns;
- }
- if (message.referencedSchema !== "") {
- obj.referencedSchema = message.referencedSchema;
- }
- if (message.referencedTable !== "") {
- obj.referencedTable = message.referencedTable;
- }
- if (message.referencedColumns?.length) {
- obj.referencedColumns = message.referencedColumns;
- }
- if (message.onDelete !== "") {
- obj.onDelete = message.onDelete;
- }
- if (message.onUpdate !== "") {
- obj.onUpdate = message.onUpdate;
- }
- if (message.matchType !== "") {
- obj.matchType = message.matchType;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchForeignKeyMetadata>): BranchForeignKeyMetadata {
- return BranchForeignKeyMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchForeignKeyMetadata>): BranchForeignKeyMetadata {
- const message = createBaseBranchForeignKeyMetadata();
- message.name = object.name ?? "";
- message.columns = object.columns?.map((e) => e) || [];
- message.referencedSchema = object.referencedSchema ?? "";
- message.referencedTable = object.referencedTable ?? "";
- message.referencedColumns = object.referencedColumns?.map((e) => e) || [];
- message.onDelete = object.onDelete ?? "";
- message.onUpdate = object.onUpdate ?? "";
- message.matchType = object.matchType ?? "";
- return message;
- },
-};
-
-type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
+type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T
: T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
@@ -3449,32 +185,6 @@ export type DeepPartial<T> = T extends Builtin ? T
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
: Partial<T>;
-function toTimestamp(date: Date): Timestamp {
- const seconds = numberToLong(date.getTime() / 1_000);
- const nanos = (date.getTime() % 1_000) * 1_000_000;
- return { seconds, nanos };
-}
-
-function fromTimestamp(t: Timestamp): Date {
- let millis = (t.seconds.toNumber() || 0) * 1_000;
- millis += (t.nanos || 0) / 1_000_000;
- return new globalThis.Date(millis);
-}
-
-function fromJsonTimestamp(o: any): Date {
- if (o instanceof globalThis.Date) {
- return o;
- } else if (typeof o === "string") {
- return new globalThis.Date(o);
- } else {
- return fromTimestamp(Timestamp.fromJSON(o));
- }
-}
-
-function numberToLong(number: number) {
- return Long.fromNumber(number);
-}
-
if (_m0.util.Long !== Long) {
_m0.util.Long = Long as any;
_m0.configure();
diff --git a/frontend/src/types/proto/store/database.ts b/frontend/src/types/proto/store/database.ts
index 2bfa5d8f2d..de22d27b05 100644
--- a/frontend/src/types/proto/store/database.ts
+++ b/frontend/src/types/proto/store/database.ts
@@ -647,6 +647,9 @@ export interface SchemaConfig {
name: string;
/** The table_configs is the list of configs for tables in a schema. */
tableConfigs: TableConfig[];
+ functionConfigs: FunctionConfig[];
+ procedureConfigs: ProcedureConfig[];
+ viewConfigs: ViewConfig[];
}
export interface TableConfig {
@@ -655,6 +658,49 @@ export interface TableConfig {
/** The column_configs is the ordered list of configs for columns in a table. */
columnConfigs: ColumnConfig[];
classificationId: string;
+ /**
+ * The last updater of the table in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the table is updated in branch. */
+ updateTime: Date | undefined;
+}
+
+export interface FunctionConfig {
+ /** The name is the name of a function. */
+ name: string;
+ /**
+ * The last updater of the function in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the function is updated in branch. */
+ updateTime: Date | undefined;
+}
+
+export interface ProcedureConfig {
+ /** The name is the name of a procedure. */
+ name: string;
+ /**
+ * The last updater of the procedure in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the procedure is updated in branch. */
+ updateTime: Date | undefined;
+}
+
+export interface ViewConfig {
+ /** The name is the name of a view. */
+ name: string;
+ /**
+ * The last updater of the view in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the view is updated in branch. */
+ updateTime: Date | undefined;
}
export interface ColumnConfig {
@@ -3590,7 +3636,7 @@ export const DatabaseConfig = {
};
function createBaseSchemaConfig(): SchemaConfig {
- return { name: "", tableConfigs: [] };
+ return { name: "", tableConfigs: [], functionConfigs: [], procedureConfigs: [], viewConfigs: [] };
}
export const SchemaConfig = {
@@ -3601,6 +3647,15 @@ export const SchemaConfig = {
for (const v of message.tableConfigs) {
TableConfig.encode(v!, writer.uint32(18).fork()).ldelim();
}
+ for (const v of message.functionConfigs) {
+ FunctionConfig.encode(v!, writer.uint32(26).fork()).ldelim();
+ }
+ for (const v of message.procedureConfigs) {
+ ProcedureConfig.encode(v!, writer.uint32(34).fork()).ldelim();
+ }
+ for (const v of message.viewConfigs) {
+ ViewConfig.encode(v!, writer.uint32(42).fork()).ldelim();
+ }
return writer;
},
@@ -3625,6 +3680,27 @@ export const SchemaConfig = {
message.tableConfigs.push(TableConfig.decode(reader, reader.uint32()));
continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.functionConfigs.push(FunctionConfig.decode(reader, reader.uint32()));
+ continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.procedureConfigs.push(ProcedureConfig.decode(reader, reader.uint32()));
+ continue;
+ case 5:
+ if (tag !== 42) {
+ break;
+ }
+
+ message.viewConfigs.push(ViewConfig.decode(reader, reader.uint32()));
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -3640,6 +3716,15 @@ export const SchemaConfig = {
tableConfigs: globalThis.Array.isArray(object?.tableConfigs)
? object.tableConfigs.map((e: any) => TableConfig.fromJSON(e))
: [],
+ functionConfigs: globalThis.Array.isArray(object?.functionConfigs)
+ ? object.functionConfigs.map((e: any) => FunctionConfig.fromJSON(e))
+ : [],
+ procedureConfigs: globalThis.Array.isArray(object?.procedureConfigs)
+ ? object.procedureConfigs.map((e: any) => ProcedureConfig.fromJSON(e))
+ : [],
+ viewConfigs: globalThis.Array.isArray(object?.viewConfigs)
+ ? object.viewConfigs.map((e: any) => ViewConfig.fromJSON(e))
+ : [],
};
},
@@ -3651,6 +3736,15 @@ export const SchemaConfig = {
if (message.tableConfigs?.length) {
obj.tableConfigs = message.tableConfigs.map((e) => TableConfig.toJSON(e));
}
+ if (message.functionConfigs?.length) {
+ obj.functionConfigs = message.functionConfigs.map((e) => FunctionConfig.toJSON(e));
+ }
+ if (message.procedureConfigs?.length) {
+ obj.procedureConfigs = message.procedureConfigs.map((e) => ProcedureConfig.toJSON(e));
+ }
+ if (message.viewConfigs?.length) {
+ obj.viewConfigs = message.viewConfigs.map((e) => ViewConfig.toJSON(e));
+ }
return obj;
},
@@ -3661,12 +3755,15 @@ export const SchemaConfig = {
const message = createBaseSchemaConfig();
message.name = object.name ?? "";
message.tableConfigs = object.tableConfigs?.map((e) => TableConfig.fromPartial(e)) || [];
+ message.functionConfigs = object.functionConfigs?.map((e) => FunctionConfig.fromPartial(e)) || [];
+ message.procedureConfigs = object.procedureConfigs?.map((e) => ProcedureConfig.fromPartial(e)) || [];
+ message.viewConfigs = object.viewConfigs?.map((e) => ViewConfig.fromPartial(e)) || [];
return message;
},
};
function createBaseTableConfig(): TableConfig {
- return { name: "", columnConfigs: [], classificationId: "" };
+ return { name: "", columnConfigs: [], classificationId: "", updater: "", updateTime: undefined };
}
export const TableConfig = {
@@ -3680,6 +3777,12 @@ export const TableConfig = {
if (message.classificationId !== "") {
writer.uint32(26).string(message.classificationId);
}
+ if (message.updater !== "") {
+ writer.uint32(34).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(42).fork()).ldelim();
+ }
return writer;
},
@@ -3711,6 +3814,20 @@ export const TableConfig = {
message.classificationId = reader.string();
continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.updater = reader.string();
+ continue;
+ case 5:
+ if (tag !== 42) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -3727,6 +3844,8 @@ export const TableConfig = {
? object.columnConfigs.map((e: any) => ColumnConfig.fromJSON(e))
: [],
classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
};
},
@@ -3741,6 +3860,12 @@ export const TableConfig = {
if (message.classificationId !== "") {
obj.classificationId = message.classificationId;
}
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
return obj;
},
@@ -3752,6 +3877,275 @@ export const TableConfig = {
message.name = object.name ?? "";
message.columnConfigs = object.columnConfigs?.map((e) => ColumnConfig.fromPartial(e)) || [];
message.classificationId = object.classificationId ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseFunctionConfig(): FunctionConfig {
+ return { name: "", updater: "", updateTime: undefined };
+}
+
+export const FunctionConfig = {
+ encode(message: FunctionConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.updater !== "") {
+ writer.uint32(18).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): FunctionConfig {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseFunctionConfig();
+ 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.updater = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): FunctionConfig {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ };
+ },
+
+ toJSON(message: FunctionConfig): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<FunctionConfig>): FunctionConfig {
+ return FunctionConfig.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<FunctionConfig>): FunctionConfig {
+ const message = createBaseFunctionConfig();
+ message.name = object.name ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseProcedureConfig(): ProcedureConfig {
+ return { name: "", updater: "", updateTime: undefined };
+}
+
+export const ProcedureConfig = {
+ encode(message: ProcedureConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.updater !== "") {
+ writer.uint32(18).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): ProcedureConfig {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseProcedureConfig();
+ 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.updater = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ProcedureConfig {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ };
+ },
+
+ toJSON(message: ProcedureConfig): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ProcedureConfig>): ProcedureConfig {
+ return ProcedureConfig.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ProcedureConfig>): ProcedureConfig {
+ const message = createBaseProcedureConfig();
+ message.name = object.name ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseViewConfig(): ViewConfig {
+ return { name: "", updater: "", updateTime: undefined };
+}
+
+export const ViewConfig = {
+ encode(message: ViewConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.updater !== "") {
+ writer.uint32(18).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): ViewConfig {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseViewConfig();
+ 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.updater = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ViewConfig {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ };
+ },
+
+ toJSON(message: ViewConfig): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ViewConfig>): ViewConfig {
+ return ViewConfig.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ViewConfig>): ViewConfig {
+ const message = createBaseViewConfig();
+ message.name = object.name ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
return message;
},
};
diff --git a/frontend/src/types/proto/v1/branch_service.ts b/frontend/src/types/proto/v1/branch_service.ts
index 6631ebe4d1..649cc2dae3 100644
--- a/frontend/src/types/proto/v1/branch_service.ts
+++ b/frontend/src/types/proto/v1/branch_service.ts
@@ -4,9 +4,8 @@ import _m0 from "protobufjs/minimal";
import { Empty } from "../google/protobuf/empty";
import { FieldMask } from "../google/protobuf/field_mask";
import { Timestamp } from "../google/protobuf/timestamp";
-import { StringValue } from "../google/protobuf/wrappers";
import { Engine, engineFromJSON, engineToJSON, engineToNumber } from "./common";
-import { DatabaseMetadata, ExtensionMetadata } from "./database_service";
+import { DatabaseMetadata } from "./database_service";
export const protobufPackage = "bytebase.v1";
@@ -334,633 +333,6 @@ export interface DiffMetadataResponse {
diff: string;
}
-/** BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch. */
-export interface BranchDatabaseSchemaMetadata {
- name: string;
- /** The schemas is the list of schemas in a database. */
- schemas: BranchSchemaMetadata[];
- /** The character_set is the character set of a database. */
- characterSet: string;
- /** The collation is the collation of a database. */
- collation: string;
- /** The extensions is the list of extensions in a database. */
- extensions: ExtensionMetadata[];
- /** The database belongs to a datashare. */
- datashare: boolean;
- /** The service name of the database. It's the Oracle specific concept. */
- serviceName: string;
-}
-
-/**
- * BranchSchemaMetadata is the metadata for schemas used in branch.
- * This is the concept of schema in Postgres, but it's a no-op for MySQL.
- */
-export interface BranchSchemaMetadata {
- /**
- * The name is the schema name.
- * It is an empty string for databases without such concept such as MySQL.
- */
- name: string;
- /** The tables is the list of tables in a schema. */
- tables: BranchTableMetadata[];
- /** The external_tables is the list of external tables in a schema. */
- externalTables: BranchExternalTableMetadata[];
- /** The views is the list of views in a schema. */
- views: BranchViewMetadata[];
- /** The functions is the list of functions in a schema. */
- functions: BranchFunctionMetadata[];
- /** The procedures is the list of procedures in a schema. */
- procedures: BranchProcedureMetadata[];
- /** The streams is the list of streams in a schema, currently, only used for Snowflake. */
- streams: BranchStreamMetadata[];
- /** The routines is the list of routines in a schema, currently, only used for Snowflake. */
- tasks: BranchTaskMetadata[];
- /** The materialized_views is the list of materialized views in a schema. */
- materializedViews: BranchMaterializedViewMetadata[];
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-export interface BranchTaskMetadata {
- /** The name is the name of a task. */
- name: string;
- /**
- * The id is the snowflake-generated id of a task.
- * Example: 01ad32a0-1bb6-5e93-0000-000000000001
- */
- id: string;
- /** The owner of the task. */
- owner: string;
- /** The comment of the task. */
- comment: string;
- /** The warehouse of the task. */
- warehouse: string;
- /** The schedule interval of the task. */
- schedule: string;
- /** The predecessor tasks of the task. */
- predecessors: string[];
- /** The state of the task. */
- state: BranchTaskMetadata_State;
- /** The condition of the task. */
- condition: string;
- /** The definition of the task. */
- definition: string;
-}
-
-export enum BranchTaskMetadata_State {
- STATE_UNSPECIFIED = "STATE_UNSPECIFIED",
- STATE_STARTED = "STATE_STARTED",
- STATE_SUSPENDED = "STATE_SUSPENDED",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchTaskMetadata_StateFromJSON(object: any): BranchTaskMetadata_State {
- switch (object) {
- case 0:
- case "STATE_UNSPECIFIED":
- return BranchTaskMetadata_State.STATE_UNSPECIFIED;
- case 1:
- case "STATE_STARTED":
- return BranchTaskMetadata_State.STATE_STARTED;
- case 2:
- case "STATE_SUSPENDED":
- return BranchTaskMetadata_State.STATE_SUSPENDED;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchTaskMetadata_State.UNRECOGNIZED;
- }
-}
-
-export function branchTaskMetadata_StateToJSON(object: BranchTaskMetadata_State): string {
- switch (object) {
- case BranchTaskMetadata_State.STATE_UNSPECIFIED:
- return "STATE_UNSPECIFIED";
- case BranchTaskMetadata_State.STATE_STARTED:
- return "STATE_STARTED";
- case BranchTaskMetadata_State.STATE_SUSPENDED:
- return "STATE_SUSPENDED";
- case BranchTaskMetadata_State.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchTaskMetadata_StateToNumber(object: BranchTaskMetadata_State): number {
- switch (object) {
- case BranchTaskMetadata_State.STATE_UNSPECIFIED:
- return 0;
- case BranchTaskMetadata_State.STATE_STARTED:
- return 1;
- case BranchTaskMetadata_State.STATE_SUSPENDED:
- return 2;
- case BranchTaskMetadata_State.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-export interface BranchStreamMetadata {
- /** The name is the name of a stream. */
- name: string;
- /** The table_name is the name of the table/view that the stream is created on. */
- tableName: string;
- /** The owner of the stream. */
- owner: string;
- /** The comment of the stream. */
- comment: string;
- /** The type of the stream. */
- type: BranchStreamMetadata_Type;
- /** Indicates whether the stream was last read before the `stale_after` time. */
- stale: boolean;
- /** The mode of the stream. */
- mode: BranchStreamMetadata_Mode;
- /** The definition of the stream. */
- definition: string;
-}
-
-export enum BranchStreamMetadata_Type {
- TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
- TYPE_DELTA = "TYPE_DELTA",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchStreamMetadata_TypeFromJSON(object: any): BranchStreamMetadata_Type {
- switch (object) {
- case 0:
- case "TYPE_UNSPECIFIED":
- return BranchStreamMetadata_Type.TYPE_UNSPECIFIED;
- case 1:
- case "TYPE_DELTA":
- return BranchStreamMetadata_Type.TYPE_DELTA;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchStreamMetadata_Type.UNRECOGNIZED;
- }
-}
-
-export function branchStreamMetadata_TypeToJSON(object: BranchStreamMetadata_Type): string {
- switch (object) {
- case BranchStreamMetadata_Type.TYPE_UNSPECIFIED:
- return "TYPE_UNSPECIFIED";
- case BranchStreamMetadata_Type.TYPE_DELTA:
- return "TYPE_DELTA";
- case BranchStreamMetadata_Type.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchStreamMetadata_TypeToNumber(object: BranchStreamMetadata_Type): number {
- switch (object) {
- case BranchStreamMetadata_Type.TYPE_UNSPECIFIED:
- return 0;
- case BranchStreamMetadata_Type.TYPE_DELTA:
- return 1;
- case BranchStreamMetadata_Type.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-export enum BranchStreamMetadata_Mode {
- MODE_UNSPECIFIED = "MODE_UNSPECIFIED",
- MODE_DEFAULT = "MODE_DEFAULT",
- MODE_APPEND_ONLY = "MODE_APPEND_ONLY",
- MODE_INSERT_ONLY = "MODE_INSERT_ONLY",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchStreamMetadata_ModeFromJSON(object: any): BranchStreamMetadata_Mode {
- switch (object) {
- case 0:
- case "MODE_UNSPECIFIED":
- return BranchStreamMetadata_Mode.MODE_UNSPECIFIED;
- case 1:
- case "MODE_DEFAULT":
- return BranchStreamMetadata_Mode.MODE_DEFAULT;
- case 2:
- case "MODE_APPEND_ONLY":
- return BranchStreamMetadata_Mode.MODE_APPEND_ONLY;
- case 3:
- case "MODE_INSERT_ONLY":
- return BranchStreamMetadata_Mode.MODE_INSERT_ONLY;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchStreamMetadata_Mode.UNRECOGNIZED;
- }
-}
-
-export function branchStreamMetadata_ModeToJSON(object: BranchStreamMetadata_Mode): string {
- switch (object) {
- case BranchStreamMetadata_Mode.MODE_UNSPECIFIED:
- return "MODE_UNSPECIFIED";
- case BranchStreamMetadata_Mode.MODE_DEFAULT:
- return "MODE_DEFAULT";
- case BranchStreamMetadata_Mode.MODE_APPEND_ONLY:
- return "MODE_APPEND_ONLY";
- case BranchStreamMetadata_Mode.MODE_INSERT_ONLY:
- return "MODE_INSERT_ONLY";
- case BranchStreamMetadata_Mode.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchStreamMetadata_ModeToNumber(object: BranchStreamMetadata_Mode): number {
- switch (object) {
- case BranchStreamMetadata_Mode.MODE_UNSPECIFIED:
- return 0;
- case BranchStreamMetadata_Mode.MODE_DEFAULT:
- return 1;
- case BranchStreamMetadata_Mode.MODE_APPEND_ONLY:
- return 2;
- case BranchStreamMetadata_Mode.MODE_INSERT_ONLY:
- return 3;
- case BranchStreamMetadata_Mode.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-/** BranchTableMetadata is the metadata for tables used in branch. */
-export interface BranchTableMetadata {
- /** The name is the name of a table. */
- name: string;
- /** The columns is the ordered list of columns in a table. */
- columns: BranchColumnMetadata[];
- /** The indexes is the list of indexes in a table. */
- indexes: BranchIndexMetadata[];
- /** The engine is the engine of a table. */
- engine: string;
- /** The collation is the collation of a table. */
- collation: string;
- /** The row_count is the estimated number of rows of a table. */
- rowCount: Long;
- /** The data_size is the estimated data size of a table. */
- dataSize: Long;
- /** The index_size is the estimated index size of a table. */
- indexSize: Long;
- /** The data_free is the estimated free data size of a table. */
- dataFree: Long;
- /** The create_options is the create option of a table. */
- createOptions: string;
- /**
- * The comment is the comment of a table.
- * classification and user_comment is parsed from the comment.
- */
- comment: string;
- /** The classification is the classification of a table parsed from the comment. */
- classification: string;
- /** The user_comment is the user comment of a table parsed from the comment. */
- userComment: string;
- /** The foreign_keys is the list of foreign keys in a table. */
- foreignKeys: BranchForeignKeyMetadata[];
- /** The partitions is the list of partitions in a table. */
- partitions: BranchTablePartitionMetadata[];
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-export interface BranchExternalTableMetadata {
- /** The name is the name of a external table. */
- name: string;
- /** The external_server_name is the name of the external server. */
- externalServerName: string;
- /** The external_database_name is the name of the external database. */
- externalDatabaseName: string;
- /** The columns is the ordered list of columns in a foreign table. */
- columns: BranchColumnMetadata[];
-}
-
-/** BranchTablePartitionMetadata is the metadata for table partitions used in branch. */
-export interface BranchTablePartitionMetadata {
- /** The name is the name of a table partition. */
- name: string;
- /** The type of a table partition. */
- type: BranchTablePartitionMetadata_Type;
- /**
- * The expression is the expression of a table partition.
- * For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
- * For MySQL, the expression is the `expr` or `column_list` of the following syntax.
- * PARTITION BY
- * { [LINEAR] HASH(expr)
- * | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- * | RANGE{(expr) | COLUMNS(column_list)}
- * | LIST{(expr) | COLUMNS(column_list)} }.
- */
- expression: string;
- /**
- * The value is the value of a table partition.
- * For MySQL, the value is for RANGE and LIST partition types,
- * - For a RANGE partition, it contains the value set in the partition's VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
- * - For a LIST partition, this column contains the values defined in the partition's VALUES IN clause, which is a list of comma-separated integer values.
- * - For others, it's an empty string.
- */
- value: string;
- /**
- * The use_default is whether the users use the default partition, it stores the different value for different database engines.
- * For MySQL, it's [INT] type, 0 means not use default partition, otherwise, it's equals to number in syntax [SUB]PARTITION {number}.
- */
- useDefault: string;
- /** The subpartitions is the list of subpartitions in a table partition. */
- subpartitions: BranchTablePartitionMetadata[];
-}
-
-/**
- * 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)
- * TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
- * PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
- */
-export enum BranchTablePartitionMetadata_Type {
- TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
- RANGE = "RANGE",
- RANGE_COLUMNS = "RANGE_COLUMNS",
- LIST = "LIST",
- LIST_COLUMNS = "LIST_COLUMNS",
- HASH = "HASH",
- LINEAR_HASH = "LINEAR_HASH",
- KEY = "KEY",
- LINEAR_KEY = "LINEAR_KEY",
- UNRECOGNIZED = "UNRECOGNIZED",
-}
-
-export function branchTablePartitionMetadata_TypeFromJSON(object: any): BranchTablePartitionMetadata_Type {
- switch (object) {
- case 0:
- case "TYPE_UNSPECIFIED":
- return BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED;
- case 1:
- case "RANGE":
- return BranchTablePartitionMetadata_Type.RANGE;
- case 2:
- case "RANGE_COLUMNS":
- return BranchTablePartitionMetadata_Type.RANGE_COLUMNS;
- case 3:
- case "LIST":
- return BranchTablePartitionMetadata_Type.LIST;
- case 4:
- case "LIST_COLUMNS":
- return BranchTablePartitionMetadata_Type.LIST_COLUMNS;
- case 5:
- case "HASH":
- return BranchTablePartitionMetadata_Type.HASH;
- case 6:
- case "LINEAR_HASH":
- return BranchTablePartitionMetadata_Type.LINEAR_HASH;
- case 7:
- case "KEY":
- return BranchTablePartitionMetadata_Type.KEY;
- case 8:
- case "LINEAR_KEY":
- return BranchTablePartitionMetadata_Type.LINEAR_KEY;
- case -1:
- case "UNRECOGNIZED":
- default:
- return BranchTablePartitionMetadata_Type.UNRECOGNIZED;
- }
-}
-
-export function branchTablePartitionMetadata_TypeToJSON(object: BranchTablePartitionMetadata_Type): string {
- switch (object) {
- case BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED:
- return "TYPE_UNSPECIFIED";
- case BranchTablePartitionMetadata_Type.RANGE:
- return "RANGE";
- case BranchTablePartitionMetadata_Type.RANGE_COLUMNS:
- return "RANGE_COLUMNS";
- case BranchTablePartitionMetadata_Type.LIST:
- return "LIST";
- case BranchTablePartitionMetadata_Type.LIST_COLUMNS:
- return "LIST_COLUMNS";
- case BranchTablePartitionMetadata_Type.HASH:
- return "HASH";
- case BranchTablePartitionMetadata_Type.LINEAR_HASH:
- return "LINEAR_HASH";
- case BranchTablePartitionMetadata_Type.KEY:
- return "KEY";
- case BranchTablePartitionMetadata_Type.LINEAR_KEY:
- return "LINEAR_KEY";
- case BranchTablePartitionMetadata_Type.UNRECOGNIZED:
- default:
- return "UNRECOGNIZED";
- }
-}
-
-export function branchTablePartitionMetadata_TypeToNumber(object: BranchTablePartitionMetadata_Type): number {
- switch (object) {
- case BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED:
- return 0;
- case BranchTablePartitionMetadata_Type.RANGE:
- return 1;
- case BranchTablePartitionMetadata_Type.RANGE_COLUMNS:
- return 2;
- case BranchTablePartitionMetadata_Type.LIST:
- return 3;
- case BranchTablePartitionMetadata_Type.LIST_COLUMNS:
- return 4;
- case BranchTablePartitionMetadata_Type.HASH:
- return 5;
- case BranchTablePartitionMetadata_Type.LINEAR_HASH:
- return 6;
- case BranchTablePartitionMetadata_Type.KEY:
- return 7;
- case BranchTablePartitionMetadata_Type.LINEAR_KEY:
- return 8;
- case BranchTablePartitionMetadata_Type.UNRECOGNIZED:
- default:
- return -1;
- }
-}
-
-/** BranchColumnMetadata is the metadata for columns used in branch. */
-export interface BranchColumnMetadata {
- /** The name is the name of a column. */
- name: string;
- /** The position is the position in columns. */
- position: number;
- /** The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default. */
- default?: string | undefined;
- defaultNull?: boolean | undefined;
- defaultExpression?:
- | string
- | undefined;
- /**
- * The on_update is the on update action of a column.
- * For MySQL like databases, it's only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value.
- */
- onUpdate: string;
- /** The nullable is the nullable of a column. */
- nullable: boolean;
- /** The type is the type of a column. */
- type: string;
- /** The character_set is the character_set of a column. */
- characterSet: string;
- /** The collation is the collation of a column. */
- collation: string;
- /**
- * The comment is the comment of a column.
- * classification and user_comment is parsed from the comment.
- */
- comment: string;
- /** The classification is the classification of a table parsed from the comment. */
- classification: string;
- /** The user_comment is the user comment of a table parsed from the comment. */
- userComment: string;
-}
-
-/** BranchViewMetadata is the metadata for views used in branch. */
-export interface BranchViewMetadata {
- /** The name is the name of a view. */
- name: string;
- /** The definition is the definition of a view. */
- definition: string;
- /** The comment is the comment of a view. */
- comment: string;
- /** The dependent_columns is the list of dependent columns of a view. */
- dependentColumns: BranchDependentColumn[];
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-/** BranchDependentColumn is the metadata for dependent columns used in branch. */
-export interface BranchDependentColumn {
- /** The schema is the schema of a reference column. */
- schema: string;
- /** The table is the table of a reference column. */
- table: string;
- /** The column is the name of a reference column. */
- column: string;
-}
-
-/** BranchMaterializedViewMetadata is the metadata for materialized views used in branch. */
-export interface BranchMaterializedViewMetadata {
- /** The name is the name of a view. */
- name: string;
- /** The definition is the definition of a view. */
- definition: string;
- /** The comment is the comment of a view. */
- comment: string;
- /** The dependent_columns is the list of dependent columns of a view. */
- dependentColumns: BranchDependentColumn[];
-}
-
-/** BranchFunctionMetadata is the metadata for functions used in branch. */
-export interface BranchFunctionMetadata {
- /** The name is the name of a function. */
- name: string;
- /** The definition is the definition of a function. */
- definition: string;
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-/** BranchProcedureMetadata is the metadata for procedures used in branch. */
-export interface BranchProcedureMetadata {
- /** The name is the name of a procedure. */
- name: string;
- /** The definition is the definition of a procedure. */
- definition: string;
- /**
- * The last updater of the object.
- * Format: users/{email}
- */
- updater: string;
- /** The timestamp when the object was last updated. */
- updateTime: Date | undefined;
-}
-
-/** BranchIndexMetadata is the metadata for indexes used in branch. */
-export interface BranchIndexMetadata {
- /** The name is the name of an index. */
- name: string;
- /**
- * The expressions are the ordered columns or expressions of an index.
- * This could refer to a column or an expression.
- */
- expressions: string[];
- /**
- * The key_lengths are the ordered key lengths of an index.
- * If the key length is not specified, it's -1.
- */
- keyLength: Long[];
- /** The type is the type of an index. */
- type: string;
- /** The unique is whether the index is unique. */
- unique: boolean;
- /** The primary is whether the index is a primary key index. */
- primary: boolean;
- /** The visible is whether the index is visible. */
- visible: boolean;
- /** The comment is the comment of an index. */
- comment: string;
- /** The definition of an index. */
- definition: string;
-}
-
-/** BranchExtensionMetadata is the metadata for extensions used in branch. */
-export interface BranchExtensionMetadata {
- /** The name is the name of an extension. */
- name: string;
- /** The schema is the extension that is installed to. But the extension usage is not limited to the schema. */
- schema: string;
- /** The version is the version of an extension. */
- version: string;
- /** The description is the description of an extension. */
- description: string;
-}
-
-/** BranchForeignKeyMetadata is the metadata for foreign keys used in branch. */
-export interface BranchForeignKeyMetadata {
- /** The name is the name of a foreign key. */
- name: string;
- /** The columns are the ordered referencing columns of a foreign key. */
- columns: string[];
- /**
- * The referenced_schema is the referenced schema name of a foreign key.
- * It is an empty string for databases without such concept such as MySQL.
- */
- referencedSchema: string;
- /** The referenced_table is the referenced table name of a foreign key. */
- referencedTable: string;
- /** The referenced_columns are the ordered referenced columns of a foreign key. */
- referencedColumns: string[];
- /** The on_delete is the on delete action of a foreign key. */
- onDelete: string;
- /** The on_update is the on update action of a foreign key. */
- onUpdate: string;
- /**
- * The match_type is the match type of a foreign key.
- * The match_type is the PostgreSQL specific field.
- * It's empty string for other databases.
- */
- matchType: string;
-}
-
function createBaseBranch(): Branch {
return {
name: "",
@@ -2370,2641 +1742,6 @@ export const DiffMetadataResponse = {
},
};
-function createBaseBranchDatabaseSchemaMetadata(): BranchDatabaseSchemaMetadata {
- return { name: "", schemas: [], characterSet: "", collation: "", extensions: [], datashare: false, serviceName: "" };
-}
-
-export const BranchDatabaseSchemaMetadata = {
- encode(message: BranchDatabaseSchemaMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.schemas) {
- BranchSchemaMetadata.encode(v!, writer.uint32(18).fork()).ldelim();
- }
- if (message.characterSet !== "") {
- writer.uint32(26).string(message.characterSet);
- }
- if (message.collation !== "") {
- writer.uint32(34).string(message.collation);
- }
- for (const v of message.extensions) {
- ExtensionMetadata.encode(v!, writer.uint32(42).fork()).ldelim();
- }
- if (message.datashare === true) {
- writer.uint32(48).bool(message.datashare);
- }
- if (message.serviceName !== "") {
- writer.uint32(58).string(message.serviceName);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchDatabaseSchemaMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchDatabaseSchemaMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.schemas.push(BranchSchemaMetadata.decode(reader, reader.uint32()));
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.characterSet = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.collation = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.extensions.push(ExtensionMetadata.decode(reader, reader.uint32()));
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.datashare = reader.bool();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.serviceName = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchDatabaseSchemaMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- schemas: globalThis.Array.isArray(object?.schemas)
- ? object.schemas.map((e: any) => BranchSchemaMetadata.fromJSON(e))
- : [],
- characterSet: isSet(object.characterSet) ? globalThis.String(object.characterSet) : "",
- collation: isSet(object.collation) ? globalThis.String(object.collation) : "",
- extensions: globalThis.Array.isArray(object?.extensions)
- ? object.extensions.map((e: any) => ExtensionMetadata.fromJSON(e))
- : [],
- datashare: isSet(object.datashare) ? globalThis.Boolean(object.datashare) : false,
- serviceName: isSet(object.serviceName) ? globalThis.String(object.serviceName) : "",
- };
- },
-
- toJSON(message: BranchDatabaseSchemaMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.schemas?.length) {
- obj.schemas = message.schemas.map((e) => BranchSchemaMetadata.toJSON(e));
- }
- if (message.characterSet !== "") {
- obj.characterSet = message.characterSet;
- }
- if (message.collation !== "") {
- obj.collation = message.collation;
- }
- if (message.extensions?.length) {
- obj.extensions = message.extensions.map((e) => ExtensionMetadata.toJSON(e));
- }
- if (message.datashare === true) {
- obj.datashare = message.datashare;
- }
- if (message.serviceName !== "") {
- obj.serviceName = message.serviceName;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchDatabaseSchemaMetadata>): BranchDatabaseSchemaMetadata {
- return BranchDatabaseSchemaMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchDatabaseSchemaMetadata>): BranchDatabaseSchemaMetadata {
- const message = createBaseBranchDatabaseSchemaMetadata();
- message.name = object.name ?? "";
- message.schemas = object.schemas?.map((e) => BranchSchemaMetadata.fromPartial(e)) || [];
- message.characterSet = object.characterSet ?? "";
- message.collation = object.collation ?? "";
- message.extensions = object.extensions?.map((e) => ExtensionMetadata.fromPartial(e)) || [];
- message.datashare = object.datashare ?? false;
- message.serviceName = object.serviceName ?? "";
- return message;
- },
-};
-
-function createBaseBranchSchemaMetadata(): BranchSchemaMetadata {
- return {
- name: "",
- tables: [],
- externalTables: [],
- views: [],
- functions: [],
- procedures: [],
- streams: [],
- tasks: [],
- materializedViews: [],
- updater: "",
- updateTime: undefined,
- };
-}
-
-export const BranchSchemaMetadata = {
- encode(message: BranchSchemaMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.tables) {
- BranchTableMetadata.encode(v!, writer.uint32(18).fork()).ldelim();
- }
- for (const v of message.externalTables) {
- BranchExternalTableMetadata.encode(v!, writer.uint32(26).fork()).ldelim();
- }
- for (const v of message.views) {
- BranchViewMetadata.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- for (const v of message.functions) {
- BranchFunctionMetadata.encode(v!, writer.uint32(42).fork()).ldelim();
- }
- for (const v of message.procedures) {
- BranchProcedureMetadata.encode(v!, writer.uint32(50).fork()).ldelim();
- }
- for (const v of message.streams) {
- BranchStreamMetadata.encode(v!, writer.uint32(58).fork()).ldelim();
- }
- for (const v of message.tasks) {
- BranchTaskMetadata.encode(v!, writer.uint32(66).fork()).ldelim();
- }
- for (const v of message.materializedViews) {
- BranchMaterializedViewMetadata.encode(v!, writer.uint32(74).fork()).ldelim();
- }
- if (message.updater !== "") {
- writer.uint32(82).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(90).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchSchemaMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchSchemaMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.tables.push(BranchTableMetadata.decode(reader, reader.uint32()));
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.externalTables.push(BranchExternalTableMetadata.decode(reader, reader.uint32()));
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.views.push(BranchViewMetadata.decode(reader, reader.uint32()));
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.functions.push(BranchFunctionMetadata.decode(reader, reader.uint32()));
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.procedures.push(BranchProcedureMetadata.decode(reader, reader.uint32()));
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.streams.push(BranchStreamMetadata.decode(reader, reader.uint32()));
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.tasks.push(BranchTaskMetadata.decode(reader, reader.uint32()));
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.materializedViews.push(BranchMaterializedViewMetadata.decode(reader, reader.uint32()));
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 11:
- if (tag !== 90) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchSchemaMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- tables: globalThis.Array.isArray(object?.tables)
- ? object.tables.map((e: any) => BranchTableMetadata.fromJSON(e))
- : [],
- externalTables: globalThis.Array.isArray(object?.externalTables)
- ? object.externalTables.map((e: any) => BranchExternalTableMetadata.fromJSON(e))
- : [],
- views: globalThis.Array.isArray(object?.views)
- ? object.views.map((e: any) => BranchViewMetadata.fromJSON(e))
- : [],
- functions: globalThis.Array.isArray(object?.functions)
- ? object.functions.map((e: any) => BranchFunctionMetadata.fromJSON(e))
- : [],
- procedures: globalThis.Array.isArray(object?.procedures)
- ? object.procedures.map((e: any) => BranchProcedureMetadata.fromJSON(e))
- : [],
- streams: globalThis.Array.isArray(object?.streams)
- ? object.streams.map((e: any) => BranchStreamMetadata.fromJSON(e))
- : [],
- tasks: globalThis.Array.isArray(object?.tasks)
- ? object.tasks.map((e: any) => BranchTaskMetadata.fromJSON(e))
- : [],
- materializedViews: globalThis.Array.isArray(object?.materializedViews)
- ? object.materializedViews.map((e: any) => BranchMaterializedViewMetadata.fromJSON(e))
- : [],
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchSchemaMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.tables?.length) {
- obj.tables = message.tables.map((e) => BranchTableMetadata.toJSON(e));
- }
- if (message.externalTables?.length) {
- obj.externalTables = message.externalTables.map((e) => BranchExternalTableMetadata.toJSON(e));
- }
- if (message.views?.length) {
- obj.views = message.views.map((e) => BranchViewMetadata.toJSON(e));
- }
- if (message.functions?.length) {
- obj.functions = message.functions.map((e) => BranchFunctionMetadata.toJSON(e));
- }
- if (message.procedures?.length) {
- obj.procedures = message.procedures.map((e) => BranchProcedureMetadata.toJSON(e));
- }
- if (message.streams?.length) {
- obj.streams = message.streams.map((e) => BranchStreamMetadata.toJSON(e));
- }
- if (message.tasks?.length) {
- obj.tasks = message.tasks.map((e) => BranchTaskMetadata.toJSON(e));
- }
- if (message.materializedViews?.length) {
- obj.materializedViews = message.materializedViews.map((e) => BranchMaterializedViewMetadata.toJSON(e));
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchSchemaMetadata>): BranchSchemaMetadata {
- return BranchSchemaMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchSchemaMetadata>): BranchSchemaMetadata {
- const message = createBaseBranchSchemaMetadata();
- message.name = object.name ?? "";
- message.tables = object.tables?.map((e) => BranchTableMetadata.fromPartial(e)) || [];
- message.externalTables = object.externalTables?.map((e) => BranchExternalTableMetadata.fromPartial(e)) || [];
- message.views = object.views?.map((e) => BranchViewMetadata.fromPartial(e)) || [];
- message.functions = object.functions?.map((e) => BranchFunctionMetadata.fromPartial(e)) || [];
- message.procedures = object.procedures?.map((e) => BranchProcedureMetadata.fromPartial(e)) || [];
- message.streams = object.streams?.map((e) => BranchStreamMetadata.fromPartial(e)) || [];
- message.tasks = object.tasks?.map((e) => BranchTaskMetadata.fromPartial(e)) || [];
- message.materializedViews = object.materializedViews?.map((e) => BranchMaterializedViewMetadata.fromPartial(e)) ||
- [];
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchTaskMetadata(): BranchTaskMetadata {
- return {
- name: "",
- id: "",
- owner: "",
- comment: "",
- warehouse: "",
- schedule: "",
- predecessors: [],
- state: BranchTaskMetadata_State.STATE_UNSPECIFIED,
- condition: "",
- definition: "",
- };
-}
-
-export const BranchTaskMetadata = {
- encode(message: BranchTaskMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.id !== "") {
- writer.uint32(18).string(message.id);
- }
- if (message.owner !== "") {
- writer.uint32(26).string(message.owner);
- }
- if (message.comment !== "") {
- writer.uint32(34).string(message.comment);
- }
- if (message.warehouse !== "") {
- writer.uint32(42).string(message.warehouse);
- }
- if (message.schedule !== "") {
- writer.uint32(50).string(message.schedule);
- }
- for (const v of message.predecessors) {
- writer.uint32(58).string(v!);
- }
- if (message.state !== BranchTaskMetadata_State.STATE_UNSPECIFIED) {
- writer.uint32(64).int32(branchTaskMetadata_StateToNumber(message.state));
- }
- if (message.condition !== "") {
- writer.uint32(74).string(message.condition);
- }
- if (message.definition !== "") {
- writer.uint32(82).string(message.definition);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchTaskMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchTaskMetadata();
- 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.id = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.owner = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.warehouse = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.schedule = reader.string();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.predecessors.push(reader.string());
- continue;
- case 8:
- if (tag !== 64) {
- break;
- }
-
- message.state = branchTaskMetadata_StateFromJSON(reader.int32());
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.condition = reader.string();
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.definition = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchTaskMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- id: isSet(object.id) ? globalThis.String(object.id) : "",
- owner: isSet(object.owner) ? globalThis.String(object.owner) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- warehouse: isSet(object.warehouse) ? globalThis.String(object.warehouse) : "",
- schedule: isSet(object.schedule) ? globalThis.String(object.schedule) : "",
- predecessors: globalThis.Array.isArray(object?.predecessors)
- ? object.predecessors.map((e: any) => globalThis.String(e))
- : [],
- state: isSet(object.state)
- ? branchTaskMetadata_StateFromJSON(object.state)
- : BranchTaskMetadata_State.STATE_UNSPECIFIED,
- condition: isSet(object.condition) ? globalThis.String(object.condition) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- };
- },
-
- toJSON(message: BranchTaskMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.id !== "") {
- obj.id = message.id;
- }
- if (message.owner !== "") {
- obj.owner = message.owner;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.warehouse !== "") {
- obj.warehouse = message.warehouse;
- }
- if (message.schedule !== "") {
- obj.schedule = message.schedule;
- }
- if (message.predecessors?.length) {
- obj.predecessors = message.predecessors;
- }
- if (message.state !== BranchTaskMetadata_State.STATE_UNSPECIFIED) {
- obj.state = branchTaskMetadata_StateToJSON(message.state);
- }
- if (message.condition !== "") {
- obj.condition = message.condition;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchTaskMetadata>): BranchTaskMetadata {
- return BranchTaskMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchTaskMetadata>): BranchTaskMetadata {
- const message = createBaseBranchTaskMetadata();
- message.name = object.name ?? "";
- message.id = object.id ?? "";
- message.owner = object.owner ?? "";
- message.comment = object.comment ?? "";
- message.warehouse = object.warehouse ?? "";
- message.schedule = object.schedule ?? "";
- message.predecessors = object.predecessors?.map((e) => e) || [];
- message.state = object.state ?? BranchTaskMetadata_State.STATE_UNSPECIFIED;
- message.condition = object.condition ?? "";
- message.definition = object.definition ?? "";
- return message;
- },
-};
-
-function createBaseBranchStreamMetadata(): BranchStreamMetadata {
- return {
- name: "",
- tableName: "",
- owner: "",
- comment: "",
- type: BranchStreamMetadata_Type.TYPE_UNSPECIFIED,
- stale: false,
- mode: BranchStreamMetadata_Mode.MODE_UNSPECIFIED,
- definition: "",
- };
-}
-
-export const BranchStreamMetadata = {
- encode(message: BranchStreamMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.tableName !== "") {
- writer.uint32(18).string(message.tableName);
- }
- if (message.owner !== "") {
- writer.uint32(26).string(message.owner);
- }
- if (message.comment !== "") {
- writer.uint32(34).string(message.comment);
- }
- if (message.type !== BranchStreamMetadata_Type.TYPE_UNSPECIFIED) {
- writer.uint32(40).int32(branchStreamMetadata_TypeToNumber(message.type));
- }
- if (message.stale === true) {
- writer.uint32(48).bool(message.stale);
- }
- if (message.mode !== BranchStreamMetadata_Mode.MODE_UNSPECIFIED) {
- writer.uint32(56).int32(branchStreamMetadata_ModeToNumber(message.mode));
- }
- if (message.definition !== "") {
- writer.uint32(66).string(message.definition);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchStreamMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchStreamMetadata();
- 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.tableName = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.owner = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 5:
- if (tag !== 40) {
- break;
- }
-
- message.type = branchStreamMetadata_TypeFromJSON(reader.int32());
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.stale = reader.bool();
- continue;
- case 7:
- if (tag !== 56) {
- break;
- }
-
- message.mode = branchStreamMetadata_ModeFromJSON(reader.int32());
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.definition = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchStreamMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- tableName: isSet(object.tableName) ? globalThis.String(object.tableName) : "",
- owner: isSet(object.owner) ? globalThis.String(object.owner) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- type: isSet(object.type)
- ? branchStreamMetadata_TypeFromJSON(object.type)
- : BranchStreamMetadata_Type.TYPE_UNSPECIFIED,
- stale: isSet(object.stale) ? globalThis.Boolean(object.stale) : false,
- mode: isSet(object.mode)
- ? branchStreamMetadata_ModeFromJSON(object.mode)
- : BranchStreamMetadata_Mode.MODE_UNSPECIFIED,
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- };
- },
-
- toJSON(message: BranchStreamMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.tableName !== "") {
- obj.tableName = message.tableName;
- }
- if (message.owner !== "") {
- obj.owner = message.owner;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.type !== BranchStreamMetadata_Type.TYPE_UNSPECIFIED) {
- obj.type = branchStreamMetadata_TypeToJSON(message.type);
- }
- if (message.stale === true) {
- obj.stale = message.stale;
- }
- if (message.mode !== BranchStreamMetadata_Mode.MODE_UNSPECIFIED) {
- obj.mode = branchStreamMetadata_ModeToJSON(message.mode);
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchStreamMetadata>): BranchStreamMetadata {
- return BranchStreamMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchStreamMetadata>): BranchStreamMetadata {
- const message = createBaseBranchStreamMetadata();
- message.name = object.name ?? "";
- message.tableName = object.tableName ?? "";
- message.owner = object.owner ?? "";
- message.comment = object.comment ?? "";
- message.type = object.type ?? BranchStreamMetadata_Type.TYPE_UNSPECIFIED;
- message.stale = object.stale ?? false;
- message.mode = object.mode ?? BranchStreamMetadata_Mode.MODE_UNSPECIFIED;
- message.definition = object.definition ?? "";
- return message;
- },
-};
-
-function createBaseBranchTableMetadata(): BranchTableMetadata {
- return {
- name: "",
- columns: [],
- indexes: [],
- engine: "",
- collation: "",
- rowCount: Long.ZERO,
- dataSize: Long.ZERO,
- indexSize: Long.ZERO,
- dataFree: Long.ZERO,
- createOptions: "",
- comment: "",
- classification: "",
- userComment: "",
- foreignKeys: [],
- partitions: [],
- updater: "",
- updateTime: undefined,
- };
-}
-
-export const BranchTableMetadata = {
- encode(message: BranchTableMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.columns) {
- BranchColumnMetadata.encode(v!, writer.uint32(18).fork()).ldelim();
- }
- for (const v of message.indexes) {
- BranchIndexMetadata.encode(v!, writer.uint32(26).fork()).ldelim();
- }
- if (message.engine !== "") {
- writer.uint32(34).string(message.engine);
- }
- if (message.collation !== "") {
- writer.uint32(42).string(message.collation);
- }
- if (!message.rowCount.isZero()) {
- writer.uint32(48).int64(message.rowCount);
- }
- if (!message.dataSize.isZero()) {
- writer.uint32(56).int64(message.dataSize);
- }
- if (!message.indexSize.isZero()) {
- writer.uint32(64).int64(message.indexSize);
- }
- if (!message.dataFree.isZero()) {
- writer.uint32(72).int64(message.dataFree);
- }
- if (message.createOptions !== "") {
- writer.uint32(82).string(message.createOptions);
- }
- if (message.comment !== "") {
- writer.uint32(90).string(message.comment);
- }
- if (message.classification !== "") {
- writer.uint32(106).string(message.classification);
- }
- if (message.userComment !== "") {
- writer.uint32(114).string(message.userComment);
- }
- for (const v of message.foreignKeys) {
- BranchForeignKeyMetadata.encode(v!, writer.uint32(98).fork()).ldelim();
- }
- for (const v of message.partitions) {
- BranchTablePartitionMetadata.encode(v!, writer.uint32(122).fork()).ldelim();
- }
- if (message.updater !== "") {
- writer.uint32(130).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(138).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchTableMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchTableMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.columns.push(BranchColumnMetadata.decode(reader, reader.uint32()));
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.indexes.push(BranchIndexMetadata.decode(reader, reader.uint32()));
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.engine = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.collation = reader.string();
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.rowCount = reader.int64() as Long;
- continue;
- case 7:
- if (tag !== 56) {
- break;
- }
-
- message.dataSize = reader.int64() as Long;
- continue;
- case 8:
- if (tag !== 64) {
- break;
- }
-
- message.indexSize = reader.int64() as Long;
- continue;
- case 9:
- if (tag !== 72) {
- break;
- }
-
- message.dataFree = reader.int64() as Long;
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.createOptions = reader.string();
- continue;
- case 11:
- if (tag !== 90) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 13:
- if (tag !== 106) {
- break;
- }
-
- message.classification = reader.string();
- continue;
- case 14:
- if (tag !== 114) {
- break;
- }
-
- message.userComment = reader.string();
- continue;
- case 12:
- if (tag !== 98) {
- break;
- }
-
- message.foreignKeys.push(BranchForeignKeyMetadata.decode(reader, reader.uint32()));
- continue;
- case 15:
- if (tag !== 122) {
- break;
- }
-
- message.partitions.push(BranchTablePartitionMetadata.decode(reader, reader.uint32()));
- continue;
- case 16:
- if (tag !== 130) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 17:
- if (tag !== 138) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchTableMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- columns: globalThis.Array.isArray(object?.columns)
- ? object.columns.map((e: any) => BranchColumnMetadata.fromJSON(e))
- : [],
- indexes: globalThis.Array.isArray(object?.indexes)
- ? object.indexes.map((e: any) => BranchIndexMetadata.fromJSON(e))
- : [],
- engine: isSet(object.engine) ? globalThis.String(object.engine) : "",
- collation: isSet(object.collation) ? globalThis.String(object.collation) : "",
- rowCount: isSet(object.rowCount) ? Long.fromValue(object.rowCount) : Long.ZERO,
- dataSize: isSet(object.dataSize) ? Long.fromValue(object.dataSize) : Long.ZERO,
- indexSize: isSet(object.indexSize) ? Long.fromValue(object.indexSize) : Long.ZERO,
- dataFree: isSet(object.dataFree) ? Long.fromValue(object.dataFree) : Long.ZERO,
- createOptions: isSet(object.createOptions) ? globalThis.String(object.createOptions) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",
- userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",
- foreignKeys: globalThis.Array.isArray(object?.foreignKeys)
- ? object.foreignKeys.map((e: any) => BranchForeignKeyMetadata.fromJSON(e))
- : [],
- partitions: globalThis.Array.isArray(object?.partitions)
- ? object.partitions.map((e: any) => BranchTablePartitionMetadata.fromJSON(e))
- : [],
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchTableMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.columns?.length) {
- obj.columns = message.columns.map((e) => BranchColumnMetadata.toJSON(e));
- }
- if (message.indexes?.length) {
- obj.indexes = message.indexes.map((e) => BranchIndexMetadata.toJSON(e));
- }
- if (message.engine !== "") {
- obj.engine = message.engine;
- }
- if (message.collation !== "") {
- obj.collation = message.collation;
- }
- if (!message.rowCount.isZero()) {
- obj.rowCount = (message.rowCount || Long.ZERO).toString();
- }
- if (!message.dataSize.isZero()) {
- obj.dataSize = (message.dataSize || Long.ZERO).toString();
- }
- if (!message.indexSize.isZero()) {
- obj.indexSize = (message.indexSize || Long.ZERO).toString();
- }
- if (!message.dataFree.isZero()) {
- obj.dataFree = (message.dataFree || Long.ZERO).toString();
- }
- if (message.createOptions !== "") {
- obj.createOptions = message.createOptions;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.classification !== "") {
- obj.classification = message.classification;
- }
- if (message.userComment !== "") {
- obj.userComment = message.userComment;
- }
- if (message.foreignKeys?.length) {
- obj.foreignKeys = message.foreignKeys.map((e) => BranchForeignKeyMetadata.toJSON(e));
- }
- if (message.partitions?.length) {
- obj.partitions = message.partitions.map((e) => BranchTablePartitionMetadata.toJSON(e));
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchTableMetadata>): BranchTableMetadata {
- return BranchTableMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchTableMetadata>): BranchTableMetadata {
- const message = createBaseBranchTableMetadata();
- message.name = object.name ?? "";
- message.columns = object.columns?.map((e) => BranchColumnMetadata.fromPartial(e)) || [];
- message.indexes = object.indexes?.map((e) => BranchIndexMetadata.fromPartial(e)) || [];
- message.engine = object.engine ?? "";
- message.collation = object.collation ?? "";
- message.rowCount = (object.rowCount !== undefined && object.rowCount !== null)
- ? Long.fromValue(object.rowCount)
- : Long.ZERO;
- message.dataSize = (object.dataSize !== undefined && object.dataSize !== null)
- ? Long.fromValue(object.dataSize)
- : Long.ZERO;
- message.indexSize = (object.indexSize !== undefined && object.indexSize !== null)
- ? Long.fromValue(object.indexSize)
- : Long.ZERO;
- message.dataFree = (object.dataFree !== undefined && object.dataFree !== null)
- ? Long.fromValue(object.dataFree)
- : Long.ZERO;
- message.createOptions = object.createOptions ?? "";
- message.comment = object.comment ?? "";
- message.classification = object.classification ?? "";
- message.userComment = object.userComment ?? "";
- message.foreignKeys = object.foreignKeys?.map((e) => BranchForeignKeyMetadata.fromPartial(e)) || [];
- message.partitions = object.partitions?.map((e) => BranchTablePartitionMetadata.fromPartial(e)) || [];
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchExternalTableMetadata(): BranchExternalTableMetadata {
- return { name: "", externalServerName: "", externalDatabaseName: "", columns: [] };
-}
-
-export const BranchExternalTableMetadata = {
- encode(message: BranchExternalTableMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.externalServerName !== "") {
- writer.uint32(18).string(message.externalServerName);
- }
- if (message.externalDatabaseName !== "") {
- writer.uint32(26).string(message.externalDatabaseName);
- }
- for (const v of message.columns) {
- BranchColumnMetadata.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchExternalTableMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchExternalTableMetadata();
- 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.externalServerName = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.externalDatabaseName = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.columns.push(BranchColumnMetadata.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchExternalTableMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- externalServerName: isSet(object.externalServerName) ? globalThis.String(object.externalServerName) : "",
- externalDatabaseName: isSet(object.externalDatabaseName) ? globalThis.String(object.externalDatabaseName) : "",
- columns: globalThis.Array.isArray(object?.columns)
- ? object.columns.map((e: any) => BranchColumnMetadata.fromJSON(e))
- : [],
- };
- },
-
- toJSON(message: BranchExternalTableMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.externalServerName !== "") {
- obj.externalServerName = message.externalServerName;
- }
- if (message.externalDatabaseName !== "") {
- obj.externalDatabaseName = message.externalDatabaseName;
- }
- if (message.columns?.length) {
- obj.columns = message.columns.map((e) => BranchColumnMetadata.toJSON(e));
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchExternalTableMetadata>): BranchExternalTableMetadata {
- return BranchExternalTableMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchExternalTableMetadata>): BranchExternalTableMetadata {
- const message = createBaseBranchExternalTableMetadata();
- message.name = object.name ?? "";
- message.externalServerName = object.externalServerName ?? "";
- message.externalDatabaseName = object.externalDatabaseName ?? "";
- message.columns = object.columns?.map((e) => BranchColumnMetadata.fromPartial(e)) || [];
- return message;
- },
-};
-
-function createBaseBranchTablePartitionMetadata(): BranchTablePartitionMetadata {
- return {
- name: "",
- type: BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED,
- expression: "",
- value: "",
- useDefault: "",
- subpartitions: [],
- };
-}
-
-export const BranchTablePartitionMetadata = {
- encode(message: BranchTablePartitionMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.type !== BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED) {
- writer.uint32(16).int32(branchTablePartitionMetadata_TypeToNumber(message.type));
- }
- if (message.expression !== "") {
- writer.uint32(26).string(message.expression);
- }
- if (message.value !== "") {
- writer.uint32(34).string(message.value);
- }
- if (message.useDefault !== "") {
- writer.uint32(42).string(message.useDefault);
- }
- for (const v of message.subpartitions) {
- BranchTablePartitionMetadata.encode(v!, writer.uint32(50).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchTablePartitionMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchTablePartitionMetadata();
- 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.type = branchTablePartitionMetadata_TypeFromJSON(reader.int32());
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.expression = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.value = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.useDefault = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.subpartitions.push(BranchTablePartitionMetadata.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchTablePartitionMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- type: isSet(object.type)
- ? branchTablePartitionMetadata_TypeFromJSON(object.type)
- : BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED,
- expression: isSet(object.expression) ? globalThis.String(object.expression) : "",
- value: isSet(object.value) ? globalThis.String(object.value) : "",
- useDefault: isSet(object.useDefault) ? globalThis.String(object.useDefault) : "",
- subpartitions: globalThis.Array.isArray(object?.subpartitions)
- ? object.subpartitions.map((e: any) => BranchTablePartitionMetadata.fromJSON(e))
- : [],
- };
- },
-
- toJSON(message: BranchTablePartitionMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.type !== BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED) {
- obj.type = branchTablePartitionMetadata_TypeToJSON(message.type);
- }
- if (message.expression !== "") {
- obj.expression = message.expression;
- }
- if (message.value !== "") {
- obj.value = message.value;
- }
- if (message.useDefault !== "") {
- obj.useDefault = message.useDefault;
- }
- if (message.subpartitions?.length) {
- obj.subpartitions = message.subpartitions.map((e) => BranchTablePartitionMetadata.toJSON(e));
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchTablePartitionMetadata>): BranchTablePartitionMetadata {
- return BranchTablePartitionMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchTablePartitionMetadata>): BranchTablePartitionMetadata {
- const message = createBaseBranchTablePartitionMetadata();
- message.name = object.name ?? "";
- message.type = object.type ?? BranchTablePartitionMetadata_Type.TYPE_UNSPECIFIED;
- message.expression = object.expression ?? "";
- message.value = object.value ?? "";
- message.useDefault = object.useDefault ?? "";
- message.subpartitions = object.subpartitions?.map((e) => BranchTablePartitionMetadata.fromPartial(e)) || [];
- return message;
- },
-};
-
-function createBaseBranchColumnMetadata(): BranchColumnMetadata {
- return {
- name: "",
- position: 0,
- default: undefined,
- defaultNull: undefined,
- defaultExpression: undefined,
- onUpdate: "",
- nullable: false,
- type: "",
- characterSet: "",
- collation: "",
- comment: "",
- classification: "",
- userComment: "",
- };
-}
-
-export const BranchColumnMetadata = {
- encode(message: BranchColumnMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.position !== 0) {
- writer.uint32(16).int32(message.position);
- }
- if (message.default !== undefined) {
- StringValue.encode({ value: message.default! }, writer.uint32(26).fork()).ldelim();
- }
- if (message.defaultNull !== undefined) {
- writer.uint32(32).bool(message.defaultNull);
- }
- if (message.defaultExpression !== undefined) {
- writer.uint32(42).string(message.defaultExpression);
- }
- if (message.onUpdate !== "") {
- writer.uint32(106).string(message.onUpdate);
- }
- if (message.nullable === true) {
- writer.uint32(48).bool(message.nullable);
- }
- if (message.type !== "") {
- writer.uint32(58).string(message.type);
- }
- if (message.characterSet !== "") {
- writer.uint32(66).string(message.characterSet);
- }
- if (message.collation !== "") {
- writer.uint32(74).string(message.collation);
- }
- if (message.comment !== "") {
- writer.uint32(82).string(message.comment);
- }
- if (message.classification !== "") {
- writer.uint32(90).string(message.classification);
- }
- if (message.userComment !== "") {
- writer.uint32(98).string(message.userComment);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchColumnMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchColumnMetadata();
- 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.position = reader.int32();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.default = StringValue.decode(reader, reader.uint32()).value;
- continue;
- case 4:
- if (tag !== 32) {
- break;
- }
-
- message.defaultNull = reader.bool();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.defaultExpression = reader.string();
- continue;
- case 13:
- if (tag !== 106) {
- break;
- }
-
- message.onUpdate = reader.string();
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.nullable = reader.bool();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.type = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.characterSet = reader.string();
- continue;
- case 9:
- if (tag !== 74) {
- break;
- }
-
- message.collation = reader.string();
- continue;
- case 10:
- if (tag !== 82) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 11:
- if (tag !== 90) {
- break;
- }
-
- message.classification = reader.string();
- continue;
- case 12:
- if (tag !== 98) {
- break;
- }
-
- message.userComment = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchColumnMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- position: isSet(object.position) ? globalThis.Number(object.position) : 0,
- default: isSet(object.default) ? String(object.default) : undefined,
- defaultNull: isSet(object.defaultNull) ? globalThis.Boolean(object.defaultNull) : undefined,
- defaultExpression: isSet(object.defaultExpression) ? globalThis.String(object.defaultExpression) : undefined,
- onUpdate: isSet(object.onUpdate) ? globalThis.String(object.onUpdate) : "",
- nullable: isSet(object.nullable) ? globalThis.Boolean(object.nullable) : false,
- type: isSet(object.type) ? globalThis.String(object.type) : "",
- characterSet: isSet(object.characterSet) ? globalThis.String(object.characterSet) : "",
- collation: isSet(object.collation) ? globalThis.String(object.collation) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",
- userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",
- };
- },
-
- toJSON(message: BranchColumnMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.position !== 0) {
- obj.position = Math.round(message.position);
- }
- if (message.default !== undefined) {
- obj.default = message.default;
- }
- if (message.defaultNull !== undefined) {
- obj.defaultNull = message.defaultNull;
- }
- if (message.defaultExpression !== undefined) {
- obj.defaultExpression = message.defaultExpression;
- }
- if (message.onUpdate !== "") {
- obj.onUpdate = message.onUpdate;
- }
- if (message.nullable === true) {
- obj.nullable = message.nullable;
- }
- if (message.type !== "") {
- obj.type = message.type;
- }
- if (message.characterSet !== "") {
- obj.characterSet = message.characterSet;
- }
- if (message.collation !== "") {
- obj.collation = message.collation;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.classification !== "") {
- obj.classification = message.classification;
- }
- if (message.userComment !== "") {
- obj.userComment = message.userComment;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchColumnMetadata>): BranchColumnMetadata {
- return BranchColumnMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchColumnMetadata>): BranchColumnMetadata {
- const message = createBaseBranchColumnMetadata();
- message.name = object.name ?? "";
- message.position = object.position ?? 0;
- message.default = object.default ?? undefined;
- message.defaultNull = object.defaultNull ?? undefined;
- message.defaultExpression = object.defaultExpression ?? undefined;
- message.onUpdate = object.onUpdate ?? "";
- message.nullable = object.nullable ?? false;
- message.type = object.type ?? "";
- message.characterSet = object.characterSet ?? "";
- message.collation = object.collation ?? "";
- message.comment = object.comment ?? "";
- message.classification = object.classification ?? "";
- message.userComment = object.userComment ?? "";
- return message;
- },
-};
-
-function createBaseBranchViewMetadata(): BranchViewMetadata {
- return { name: "", definition: "", comment: "", dependentColumns: [], updater: "", updateTime: undefined };
-}
-
-export const BranchViewMetadata = {
- encode(message: BranchViewMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.comment !== "") {
- writer.uint32(26).string(message.comment);
- }
- for (const v of message.dependentColumns) {
- BranchDependentColumn.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- if (message.updater !== "") {
- writer.uint32(42).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(50).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchViewMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchViewMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.dependentColumns.push(BranchDependentColumn.decode(reader, reader.uint32()));
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchViewMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- dependentColumns: globalThis.Array.isArray(object?.dependentColumns)
- ? object.dependentColumns.map((e: any) => BranchDependentColumn.fromJSON(e))
- : [],
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchViewMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.dependentColumns?.length) {
- obj.dependentColumns = message.dependentColumns.map((e) => BranchDependentColumn.toJSON(e));
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchViewMetadata>): BranchViewMetadata {
- return BranchViewMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchViewMetadata>): BranchViewMetadata {
- const message = createBaseBranchViewMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.comment = object.comment ?? "";
- message.dependentColumns = object.dependentColumns?.map((e) => BranchDependentColumn.fromPartial(e)) || [];
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchDependentColumn(): BranchDependentColumn {
- return { schema: "", table: "", column: "" };
-}
-
-export const BranchDependentColumn = {
- encode(message: BranchDependentColumn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.schema !== "") {
- writer.uint32(10).string(message.schema);
- }
- if (message.table !== "") {
- writer.uint32(18).string(message.table);
- }
- if (message.column !== "") {
- writer.uint32(26).string(message.column);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchDependentColumn {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchDependentColumn();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.schema = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.table = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.column = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchDependentColumn {
- return {
- schema: isSet(object.schema) ? globalThis.String(object.schema) : "",
- table: isSet(object.table) ? globalThis.String(object.table) : "",
- column: isSet(object.column) ? globalThis.String(object.column) : "",
- };
- },
-
- toJSON(message: BranchDependentColumn): unknown {
- const obj: any = {};
- if (message.schema !== "") {
- obj.schema = message.schema;
- }
- if (message.table !== "") {
- obj.table = message.table;
- }
- if (message.column !== "") {
- obj.column = message.column;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchDependentColumn>): BranchDependentColumn {
- return BranchDependentColumn.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchDependentColumn>): BranchDependentColumn {
- const message = createBaseBranchDependentColumn();
- message.schema = object.schema ?? "";
- message.table = object.table ?? "";
- message.column = object.column ?? "";
- return message;
- },
-};
-
-function createBaseBranchMaterializedViewMetadata(): BranchMaterializedViewMetadata {
- return { name: "", definition: "", comment: "", dependentColumns: [] };
-}
-
-export const BranchMaterializedViewMetadata = {
- encode(message: BranchMaterializedViewMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.comment !== "") {
- writer.uint32(26).string(message.comment);
- }
- for (const v of message.dependentColumns) {
- BranchDependentColumn.encode(v!, writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchMaterializedViewMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchMaterializedViewMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.dependentColumns.push(BranchDependentColumn.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchMaterializedViewMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- dependentColumns: globalThis.Array.isArray(object?.dependentColumns)
- ? object.dependentColumns.map((e: any) => BranchDependentColumn.fromJSON(e))
- : [],
- };
- },
-
- toJSON(message: BranchMaterializedViewMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.dependentColumns?.length) {
- obj.dependentColumns = message.dependentColumns.map((e) => BranchDependentColumn.toJSON(e));
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchMaterializedViewMetadata>): BranchMaterializedViewMetadata {
- return BranchMaterializedViewMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchMaterializedViewMetadata>): BranchMaterializedViewMetadata {
- const message = createBaseBranchMaterializedViewMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.comment = object.comment ?? "";
- message.dependentColumns = object.dependentColumns?.map((e) => BranchDependentColumn.fromPartial(e)) || [];
- return message;
- },
-};
-
-function createBaseBranchFunctionMetadata(): BranchFunctionMetadata {
- return { name: "", definition: "", updater: "", updateTime: undefined };
-}
-
-export const BranchFunctionMetadata = {
- encode(message: BranchFunctionMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.updater !== "") {
- writer.uint32(26).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchFunctionMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchFunctionMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchFunctionMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchFunctionMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchFunctionMetadata>): BranchFunctionMetadata {
- return BranchFunctionMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchFunctionMetadata>): BranchFunctionMetadata {
- const message = createBaseBranchFunctionMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchProcedureMetadata(): BranchProcedureMetadata {
- return { name: "", definition: "", updater: "", updateTime: undefined };
-}
-
-export const BranchProcedureMetadata = {
- encode(message: BranchProcedureMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.definition !== "") {
- writer.uint32(18).string(message.definition);
- }
- if (message.updater !== "") {
- writer.uint32(26).string(message.updater);
- }
- if (message.updateTime !== undefined) {
- Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(34).fork()).ldelim();
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchProcedureMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchProcedureMetadata();
- 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.definition = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.updater = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchProcedureMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
- };
- },
-
- toJSON(message: BranchProcedureMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- if (message.updater !== "") {
- obj.updater = message.updater;
- }
- if (message.updateTime !== undefined) {
- obj.updateTime = message.updateTime.toISOString();
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchProcedureMetadata>): BranchProcedureMetadata {
- return BranchProcedureMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchProcedureMetadata>): BranchProcedureMetadata {
- const message = createBaseBranchProcedureMetadata();
- message.name = object.name ?? "";
- message.definition = object.definition ?? "";
- message.updater = object.updater ?? "";
- message.updateTime = object.updateTime ?? undefined;
- return message;
- },
-};
-
-function createBaseBranchIndexMetadata(): BranchIndexMetadata {
- return {
- name: "",
- expressions: [],
- keyLength: [],
- type: "",
- unique: false,
- primary: false,
- visible: false,
- comment: "",
- definition: "",
- };
-}
-
-export const BranchIndexMetadata = {
- encode(message: BranchIndexMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.expressions) {
- writer.uint32(18).string(v!);
- }
- writer.uint32(74).fork();
- for (const v of message.keyLength) {
- writer.int64(v);
- }
- writer.ldelim();
- if (message.type !== "") {
- writer.uint32(26).string(message.type);
- }
- if (message.unique === true) {
- writer.uint32(32).bool(message.unique);
- }
- if (message.primary === true) {
- writer.uint32(40).bool(message.primary);
- }
- if (message.visible === true) {
- writer.uint32(48).bool(message.visible);
- }
- if (message.comment !== "") {
- writer.uint32(58).string(message.comment);
- }
- if (message.definition !== "") {
- writer.uint32(66).string(message.definition);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchIndexMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchIndexMetadata();
- 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.expressions.push(reader.string());
- continue;
- case 9:
- if (tag === 72) {
- message.keyLength.push(reader.int64() as Long);
-
- continue;
- }
-
- if (tag === 74) {
- const end2 = reader.uint32() + reader.pos;
- while (reader.pos < end2) {
- message.keyLength.push(reader.int64() as Long);
- }
-
- continue;
- }
-
- break;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.type = reader.string();
- continue;
- case 4:
- if (tag !== 32) {
- break;
- }
-
- message.unique = reader.bool();
- continue;
- case 5:
- if (tag !== 40) {
- break;
- }
-
- message.primary = reader.bool();
- continue;
- case 6:
- if (tag !== 48) {
- break;
- }
-
- message.visible = reader.bool();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.comment = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.definition = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchIndexMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- expressions: globalThis.Array.isArray(object?.expressions)
- ? object.expressions.map((e: any) => globalThis.String(e))
- : [],
- keyLength: globalThis.Array.isArray(object?.keyLength) ? object.keyLength.map((e: any) => Long.fromValue(e)) : [],
- type: isSet(object.type) ? globalThis.String(object.type) : "",
- unique: isSet(object.unique) ? globalThis.Boolean(object.unique) : false,
- primary: isSet(object.primary) ? globalThis.Boolean(object.primary) : false,
- visible: isSet(object.visible) ? globalThis.Boolean(object.visible) : false,
- comment: isSet(object.comment) ? globalThis.String(object.comment) : "",
- definition: isSet(object.definition) ? globalThis.String(object.definition) : "",
- };
- },
-
- toJSON(message: BranchIndexMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.expressions?.length) {
- obj.expressions = message.expressions;
- }
- if (message.keyLength?.length) {
- obj.keyLength = message.keyLength.map((e) => (e || Long.ZERO).toString());
- }
- if (message.type !== "") {
- obj.type = message.type;
- }
- if (message.unique === true) {
- obj.unique = message.unique;
- }
- if (message.primary === true) {
- obj.primary = message.primary;
- }
- if (message.visible === true) {
- obj.visible = message.visible;
- }
- if (message.comment !== "") {
- obj.comment = message.comment;
- }
- if (message.definition !== "") {
- obj.definition = message.definition;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchIndexMetadata>): BranchIndexMetadata {
- return BranchIndexMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchIndexMetadata>): BranchIndexMetadata {
- const message = createBaseBranchIndexMetadata();
- message.name = object.name ?? "";
- message.expressions = object.expressions?.map((e) => e) || [];
- message.keyLength = object.keyLength?.map((e) => Long.fromValue(e)) || [];
- message.type = object.type ?? "";
- message.unique = object.unique ?? false;
- message.primary = object.primary ?? false;
- message.visible = object.visible ?? false;
- message.comment = object.comment ?? "";
- message.definition = object.definition ?? "";
- return message;
- },
-};
-
-function createBaseBranchExtensionMetadata(): BranchExtensionMetadata {
- return { name: "", schema: "", version: "", description: "" };
-}
-
-export const BranchExtensionMetadata = {
- encode(message: BranchExtensionMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- if (message.schema !== "") {
- writer.uint32(18).string(message.schema);
- }
- if (message.version !== "") {
- writer.uint32(26).string(message.version);
- }
- if (message.description !== "") {
- writer.uint32(34).string(message.description);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchExtensionMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchExtensionMetadata();
- 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.schema = reader.string();
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.version = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.description = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchExtensionMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- schema: isSet(object.schema) ? globalThis.String(object.schema) : "",
- version: isSet(object.version) ? globalThis.String(object.version) : "",
- description: isSet(object.description) ? globalThis.String(object.description) : "",
- };
- },
-
- toJSON(message: BranchExtensionMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.schema !== "") {
- obj.schema = message.schema;
- }
- if (message.version !== "") {
- obj.version = message.version;
- }
- if (message.description !== "") {
- obj.description = message.description;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchExtensionMetadata>): BranchExtensionMetadata {
- return BranchExtensionMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchExtensionMetadata>): BranchExtensionMetadata {
- const message = createBaseBranchExtensionMetadata();
- message.name = object.name ?? "";
- message.schema = object.schema ?? "";
- message.version = object.version ?? "";
- message.description = object.description ?? "";
- return message;
- },
-};
-
-function createBaseBranchForeignKeyMetadata(): BranchForeignKeyMetadata {
- return {
- name: "",
- columns: [],
- referencedSchema: "",
- referencedTable: "",
- referencedColumns: [],
- onDelete: "",
- onUpdate: "",
- matchType: "",
- };
-}
-
-export const BranchForeignKeyMetadata = {
- encode(message: BranchForeignKeyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
- if (message.name !== "") {
- writer.uint32(10).string(message.name);
- }
- for (const v of message.columns) {
- writer.uint32(18).string(v!);
- }
- if (message.referencedSchema !== "") {
- writer.uint32(26).string(message.referencedSchema);
- }
- if (message.referencedTable !== "") {
- writer.uint32(34).string(message.referencedTable);
- }
- for (const v of message.referencedColumns) {
- writer.uint32(42).string(v!);
- }
- if (message.onDelete !== "") {
- writer.uint32(50).string(message.onDelete);
- }
- if (message.onUpdate !== "") {
- writer.uint32(58).string(message.onUpdate);
- }
- if (message.matchType !== "") {
- writer.uint32(66).string(message.matchType);
- }
- return writer;
- },
-
- decode(input: _m0.Reader | Uint8Array, length?: number): BranchForeignKeyMetadata {
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
- let end = length === undefined ? reader.len : reader.pos + length;
- const message = createBaseBranchForeignKeyMetadata();
- while (reader.pos < end) {
- const tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (tag !== 10) {
- break;
- }
-
- message.name = reader.string();
- continue;
- case 2:
- if (tag !== 18) {
- break;
- }
-
- message.columns.push(reader.string());
- continue;
- case 3:
- if (tag !== 26) {
- break;
- }
-
- message.referencedSchema = reader.string();
- continue;
- case 4:
- if (tag !== 34) {
- break;
- }
-
- message.referencedTable = reader.string();
- continue;
- case 5:
- if (tag !== 42) {
- break;
- }
-
- message.referencedColumns.push(reader.string());
- continue;
- case 6:
- if (tag !== 50) {
- break;
- }
-
- message.onDelete = reader.string();
- continue;
- case 7:
- if (tag !== 58) {
- break;
- }
-
- message.onUpdate = reader.string();
- continue;
- case 8:
- if (tag !== 66) {
- break;
- }
-
- message.matchType = reader.string();
- continue;
- }
- if ((tag & 7) === 4 || tag === 0) {
- break;
- }
- reader.skipType(tag & 7);
- }
- return message;
- },
-
- fromJSON(object: any): BranchForeignKeyMetadata {
- return {
- name: isSet(object.name) ? globalThis.String(object.name) : "",
- columns: globalThis.Array.isArray(object?.columns) ? object.columns.map((e: any) => globalThis.String(e)) : [],
- referencedSchema: isSet(object.referencedSchema) ? globalThis.String(object.referencedSchema) : "",
- referencedTable: isSet(object.referencedTable) ? globalThis.String(object.referencedTable) : "",
- referencedColumns: globalThis.Array.isArray(object?.referencedColumns)
- ? object.referencedColumns.map((e: any) => globalThis.String(e))
- : [],
- onDelete: isSet(object.onDelete) ? globalThis.String(object.onDelete) : "",
- onUpdate: isSet(object.onUpdate) ? globalThis.String(object.onUpdate) : "",
- matchType: isSet(object.matchType) ? globalThis.String(object.matchType) : "",
- };
- },
-
- toJSON(message: BranchForeignKeyMetadata): unknown {
- const obj: any = {};
- if (message.name !== "") {
- obj.name = message.name;
- }
- if (message.columns?.length) {
- obj.columns = message.columns;
- }
- if (message.referencedSchema !== "") {
- obj.referencedSchema = message.referencedSchema;
- }
- if (message.referencedTable !== "") {
- obj.referencedTable = message.referencedTable;
- }
- if (message.referencedColumns?.length) {
- obj.referencedColumns = message.referencedColumns;
- }
- if (message.onDelete !== "") {
- obj.onDelete = message.onDelete;
- }
- if (message.onUpdate !== "") {
- obj.onUpdate = message.onUpdate;
- }
- if (message.matchType !== "") {
- obj.matchType = message.matchType;
- }
- return obj;
- },
-
- create(base?: DeepPartial<BranchForeignKeyMetadata>): BranchForeignKeyMetadata {
- return BranchForeignKeyMetadata.fromPartial(base ?? {});
- },
- fromPartial(object: DeepPartial<BranchForeignKeyMetadata>): BranchForeignKeyMetadata {
- const message = createBaseBranchForeignKeyMetadata();
- message.name = object.name ?? "";
- message.columns = object.columns?.map((e) => e) || [];
- message.referencedSchema = object.referencedSchema ?? "";
- message.referencedTable = object.referencedTable ?? "";
- message.referencedColumns = object.referencedColumns?.map((e) => e) || [];
- message.onDelete = object.onDelete ?? "";
- message.onUpdate = object.onUpdate ?? "";
- message.matchType = object.matchType ?? "";
- return message;
- },
-};
-
export type BranchServiceDefinition = typeof BranchServiceDefinition;
export const BranchServiceDefinition = {
name: "BranchService",
diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.ts
index 7414b02add..f578aae72c 100644
--- a/frontend/src/types/proto/v1/database_service.ts
+++ b/frontend/src/types/proto/v1/database_service.ts
@@ -1006,6 +1006,9 @@ export interface SchemaConfig {
name: string;
/** The table_configs is the list of configs for tables in a schema. */
tableConfigs: TableConfig[];
+ functionConfigs: FunctionConfig[];
+ procedureConfigs: ProcedureConfig[];
+ viewConfigs: ViewConfig[];
}
export interface TableConfig {
@@ -1014,6 +1017,49 @@ export interface TableConfig {
/** The column_configs is the ordered list of configs for columns in a table. */
columnConfigs: ColumnConfig[];
classificationId: string;
+ /**
+ * The last updater of the table in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the table is updated in branch. */
+ updateTime: Date | undefined;
+}
+
+export interface FunctionConfig {
+ /** The name is the name of a function. */
+ name: string;
+ /**
+ * The last updater of the function in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the function is updated in branch. */
+ updateTime: Date | undefined;
+}
+
+export interface ProcedureConfig {
+ /** The name is the name of a procedure. */
+ name: string;
+ /**
+ * The last updater of the procedure in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the procedure is updated in branch. */
+ updateTime: Date | undefined;
+}
+
+export interface ViewConfig {
+ /** The name is the name of a view. */
+ name: string;
+ /**
+ * The last updater of the view in branch.
+ * Format: users/{email}
+ */
+ updater: string;
+ /** The timestamp when the view is updated in branch. */
+ updateTime: Date | undefined;
}
export interface ColumnConfig {
@@ -5603,7 +5649,7 @@ export const DatabaseConfig = {
};
function createBaseSchemaConfig(): SchemaConfig {
- return { name: "", tableConfigs: [] };
+ return { name: "", tableConfigs: [], functionConfigs: [], procedureConfigs: [], viewConfigs: [] };
}
export const SchemaConfig = {
@@ -5614,6 +5660,15 @@ export const SchemaConfig = {
for (const v of message.tableConfigs) {
TableConfig.encode(v!, writer.uint32(18).fork()).ldelim();
}
+ for (const v of message.functionConfigs) {
+ FunctionConfig.encode(v!, writer.uint32(26).fork()).ldelim();
+ }
+ for (const v of message.procedureConfigs) {
+ ProcedureConfig.encode(v!, writer.uint32(34).fork()).ldelim();
+ }
+ for (const v of message.viewConfigs) {
+ ViewConfig.encode(v!, writer.uint32(42).fork()).ldelim();
+ }
return writer;
},
@@ -5638,6 +5693,27 @@ export const SchemaConfig = {
message.tableConfigs.push(TableConfig.decode(reader, reader.uint32()));
continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.functionConfigs.push(FunctionConfig.decode(reader, reader.uint32()));
+ continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.procedureConfigs.push(ProcedureConfig.decode(reader, reader.uint32()));
+ continue;
+ case 5:
+ if (tag !== 42) {
+ break;
+ }
+
+ message.viewConfigs.push(ViewConfig.decode(reader, reader.uint32()));
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -5653,6 +5729,15 @@ export const SchemaConfig = {
tableConfigs: globalThis.Array.isArray(object?.tableConfigs)
? object.tableConfigs.map((e: any) => TableConfig.fromJSON(e))
: [],
+ functionConfigs: globalThis.Array.isArray(object?.functionConfigs)
+ ? object.functionConfigs.map((e: any) => FunctionConfig.fromJSON(e))
+ : [],
+ procedureConfigs: globalThis.Array.isArray(object?.procedureConfigs)
+ ? object.procedureConfigs.map((e: any) => ProcedureConfig.fromJSON(e))
+ : [],
+ viewConfigs: globalThis.Array.isArray(object?.viewConfigs)
+ ? object.viewConfigs.map((e: any) => ViewConfig.fromJSON(e))
+ : [],
};
},
@@ -5664,6 +5749,15 @@ export const SchemaConfig = {
if (message.tableConfigs?.length) {
obj.tableConfigs = message.tableConfigs.map((e) => TableConfig.toJSON(e));
}
+ if (message.functionConfigs?.length) {
+ obj.functionConfigs = message.functionConfigs.map((e) => FunctionConfig.toJSON(e));
+ }
+ if (message.procedureConfigs?.length) {
+ obj.procedureConfigs = message.procedureConfigs.map((e) => ProcedureConfig.toJSON(e));
+ }
+ if (message.viewConfigs?.length) {
+ obj.viewConfigs = message.viewConfigs.map((e) => ViewConfig.toJSON(e));
+ }
return obj;
},
@@ -5674,12 +5768,15 @@ export const SchemaConfig = {
const message = createBaseSchemaConfig();
message.name = object.name ?? "";
message.tableConfigs = object.tableConfigs?.map((e) => TableConfig.fromPartial(e)) || [];
+ message.functionConfigs = object.functionConfigs?.map((e) => FunctionConfig.fromPartial(e)) || [];
+ message.procedureConfigs = object.procedureConfigs?.map((e) => ProcedureConfig.fromPartial(e)) || [];
+ message.viewConfigs = object.viewConfigs?.map((e) => ViewConfig.fromPartial(e)) || [];
return message;
},
};
function createBaseTableConfig(): TableConfig {
- return { name: "", columnConfigs: [], classificationId: "" };
+ return { name: "", columnConfigs: [], classificationId: "", updater: "", updateTime: undefined };
}
export const TableConfig = {
@@ -5693,6 +5790,12 @@ export const TableConfig = {
if (message.classificationId !== "") {
writer.uint32(26).string(message.classificationId);
}
+ if (message.updater !== "") {
+ writer.uint32(34).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(42).fork()).ldelim();
+ }
return writer;
},
@@ -5724,6 +5827,20 @@ export const TableConfig = {
message.classificationId = reader.string();
continue;
+ case 4:
+ if (tag !== 34) {
+ break;
+ }
+
+ message.updater = reader.string();
+ continue;
+ case 5:
+ if (tag !== 42) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
@@ -5740,6 +5857,8 @@ export const TableConfig = {
? object.columnConfigs.map((e: any) => ColumnConfig.fromJSON(e))
: [],
classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
};
},
@@ -5754,6 +5873,12 @@ export const TableConfig = {
if (message.classificationId !== "") {
obj.classificationId = message.classificationId;
}
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
return obj;
},
@@ -5765,6 +5890,275 @@ export const TableConfig = {
message.name = object.name ?? "";
message.columnConfigs = object.columnConfigs?.map((e) => ColumnConfig.fromPartial(e)) || [];
message.classificationId = object.classificationId ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseFunctionConfig(): FunctionConfig {
+ return { name: "", updater: "", updateTime: undefined };
+}
+
+export const FunctionConfig = {
+ encode(message: FunctionConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.updater !== "") {
+ writer.uint32(18).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): FunctionConfig {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseFunctionConfig();
+ 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.updater = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): FunctionConfig {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ };
+ },
+
+ toJSON(message: FunctionConfig): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<FunctionConfig>): FunctionConfig {
+ return FunctionConfig.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<FunctionConfig>): FunctionConfig {
+ const message = createBaseFunctionConfig();
+ message.name = object.name ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseProcedureConfig(): ProcedureConfig {
+ return { name: "", updater: "", updateTime: undefined };
+}
+
+export const ProcedureConfig = {
+ encode(message: ProcedureConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.updater !== "") {
+ writer.uint32(18).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): ProcedureConfig {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseProcedureConfig();
+ 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.updater = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ProcedureConfig {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ };
+ },
+
+ toJSON(message: ProcedureConfig): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ProcedureConfig>): ProcedureConfig {
+ return ProcedureConfig.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ProcedureConfig>): ProcedureConfig {
+ const message = createBaseProcedureConfig();
+ message.name = object.name ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
+ return message;
+ },
+};
+
+function createBaseViewConfig(): ViewConfig {
+ return { name: "", updater: "", updateTime: undefined };
+}
+
+export const ViewConfig = {
+ encode(message: ViewConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
+ if (message.name !== "") {
+ writer.uint32(10).string(message.name);
+ }
+ if (message.updater !== "") {
+ writer.uint32(18).string(message.updater);
+ }
+ if (message.updateTime !== undefined) {
+ Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(26).fork()).ldelim();
+ }
+ return writer;
+ },
+
+ decode(input: _m0.Reader | Uint8Array, length?: number): ViewConfig {
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = createBaseViewConfig();
+ 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.updater = reader.string();
+ continue;
+ case 3:
+ if (tag !== 26) {
+ break;
+ }
+
+ message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+
+ fromJSON(object: any): ViewConfig {
+ return {
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
+ updater: isSet(object.updater) ? globalThis.String(object.updater) : "",
+ updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,
+ };
+ },
+
+ toJSON(message: ViewConfig): unknown {
+ const obj: any = {};
+ if (message.name !== "") {
+ obj.name = message.name;
+ }
+ if (message.updater !== "") {
+ obj.updater = message.updater;
+ }
+ if (message.updateTime !== undefined) {
+ obj.updateTime = message.updateTime.toISOString();
+ }
+ return obj;
+ },
+
+ create(base?: DeepPartial<ViewConfig>): ViewConfig {
+ return ViewConfig.fromPartial(base ?? {});
+ },
+ fromPartial(object: DeepPartial<ViewConfig>): ViewConfig {
+ const message = createBaseViewConfig();
+ message.name = object.name ?? "";
+ message.updater = object.updater ?? "";
+ message.updateTime = object.updateTime ?? undefined;
return message;
},
};
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 3fd85634e9..c973b84506 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -10136,6 +10136,23 @@ components:
The match_type is the PostgreSQL specific field.
It's empty string for other databases.
description: ForeignKeyMetadata is the metadata for foreign keys.
+ FunctionConfig:
+ type: object
+ properties:
+ name:
+ type: string
+ description: The name is the name of a function.
+ updater:
+ readOnly: true
+ type: string
+ description: |-
+ The last updater of the function in branch.
+ Format: users/{email}
+ updateTime:
+ readOnly: true
+ type: string
+ description: The timestamp when the function is updated in branch.
+ format: date-time
GoogleProtobufAny:
type: object
properties:
@@ -11848,6 +11865,23 @@ components:
allOf:
- $ref: '#/components/schemas/Plan'
description: The plan used to preview rollout.
+ ProcedureConfig:
+ type: object
+ properties:
+ name:
+ type: string
+ description: The name is the name of a procedure.
+ updater:
+ readOnly: true
+ type: string
+ description: |-
+ The last updater of the procedure in branch.
+ Format: users/{email}
+ updateTime:
+ readOnly: true
+ type: string
+ description: The timestamp when the procedure is updated in branch.
+ format: date-time
Project:
type: object
properties:
@@ -12426,6 +12460,18 @@ components:
items:
$ref: '#/components/schemas/TableConfig'
description: The table_configs is the list of configs for tables in a schema.
+ functionConfigs:
+ type: array
+ items:
+ $ref: '#/components/schemas/FunctionConfig'
+ procedureConfigs:
+ type: array
+ items:
+ $ref: '#/components/schemas/ProcedureConfig'
+ viewConfigs:
+ type: array
+ items:
+ $ref: '#/components/schemas/ViewConfig'
SchemaGroup:
type: object
properties:
@@ -13229,6 +13275,17 @@ components:
description: The column_configs is the ordered list of configs for columns in a table.
classificationId:
type: string
+ updater:
+ readOnly: true
+ type: string
+ description: |-
+ The last updater of the table in branch.
+ Format: users/{email}
+ updateTime:
+ readOnly: true
+ type: string
+ description: The timestamp when the table is updated in branch.
+ format: date-time
TableMetadata:
type: object
properties:
@@ -13995,6 +14052,23 @@ components:
maskingAlgorithmSettingValue:
$ref: '#/components/schemas/MaskingAlgorithmSetting'
description: The data in setting value.
+ ViewConfig:
+ type: object
+ properties:
+ name:
+ type: string
+ description: The name is the name of a view.
+ updater:
+ readOnly: true
+ type: string
+ description: |-
+ The last updater of the view in branch.
+ Format: users/{email}
+ updateTime:
+ readOnly: true
+ type: string
+ description: The timestamp when the view is updated in branch.
+ format: date-time
Webhook:
required:
- type
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.md
index bd56eb6dfb..61987ed349 100644
--- a/proto/gen/grpc-doc/store/README.md
+++ b/proto/gen/grpc-doc/store/README.md
@@ -46,10 +46,12 @@
- [ExtensionMetadata](#bytebase-store-ExtensionMetadata)
- [ExternalTableMetadata](#bytebase-store-ExternalTableMetadata)
- [ForeignKeyMetadata](#bytebase-store-ForeignKeyMetadata)
+ - [FunctionConfig](#bytebase-store-FunctionConfig)
- [FunctionMetadata](#bytebase-store-FunctionMetadata)
- [IndexMetadata](#bytebase-store-IndexMetadata)
- [InstanceRoleMetadata](#bytebase-store-InstanceRoleMetadata)
- [MaterializedViewMetadata](#bytebase-store-MaterializedViewMetadata)
+ - [ProcedureConfig](#bytebase-store-ProcedureConfig)
- [ProcedureMetadata](#bytebase-store-ProcedureMetadata)
- [SchemaConfig](#bytebase-store-SchemaConfig)
- [SchemaMetadata](#bytebase-store-SchemaMetadata)
@@ -60,6 +62,7 @@
- [TableMetadata](#bytebase-store-TableMetadata)
- [TablePartitionMetadata](#bytebase-store-TablePartitionMetadata)
- [TaskMetadata](#bytebase-store-TaskMetadata)
+ - [ViewConfig](#bytebase-store-ViewConfig)
- [ViewMetadata](#bytebase-store-ViewMetadata)
- [StreamMetadata.Mode](#bytebase-store-StreamMetadata-Mode)
@@ -68,29 +71,8 @@
- [TaskMetadata.State](#bytebase-store-TaskMetadata-State)
- [store/branch.proto](#store_branch-proto)
- - [BranchColumnMetadata](#bytebase-store-BranchColumnMetadata)
- [BranchConfig](#bytebase-store-BranchConfig)
- - [BranchDatabaseSchemaMetadata](#bytebase-store-BranchDatabaseSchemaMetadata)
- - [BranchDependentColumn](#bytebase-store-BranchDependentColumn)
- - [BranchExtensionMetadata](#bytebase-store-BranchExtensionMetadata)
- - [BranchExternalTableMetadata](#bytebase-store-BranchExternalTableMetadata)
- - [BranchForeignKeyMetadata](#bytebase-store-BranchForeignKeyMetadata)
- - [BranchFunctionMetadata](#bytebase-store-BranchFunctionMetadata)
- - [BranchIndexMetadata](#bytebase-store-BranchIndexMetadata)
- - [BranchMaterializedViewMetadata](#bytebase-store-BranchMaterializedViewMetadata)
- - [BranchProcedureMetadata](#bytebase-store-BranchProcedureMetadata)
- - [BranchSchemaMetadata](#bytebase-store-BranchSchemaMetadata)
- [BranchSnapshot](#bytebase-store-BranchSnapshot)
- - [BranchStreamMetadata](#bytebase-store-BranchStreamMetadata)
- - [BranchTableMetadata](#bytebase-store-BranchTableMetadata)
- - [BranchTablePartitionMetadata](#bytebase-store-BranchTablePartitionMetadata)
- - [BranchTaskMetadata](#bytebase-store-BranchTaskMetadata)
- - [BranchViewMetadata](#bytebase-store-BranchViewMetadata)
-
- - [BranchStreamMetadata.Mode](#bytebase-store-BranchStreamMetadata-Mode)
- - [BranchStreamMetadata.Type](#bytebase-store-BranchStreamMetadata-Type)
- - [BranchTablePartitionMetadata.Type](#bytebase-store-BranchTablePartitionMetadata-Type)
- - [BranchTaskMetadata.State](#bytebase-store-BranchTaskMetadata-State)
- [store/changelist.proto](#store_changelist-proto)
- [Changelist](#bytebase-store-Changelist)
@@ -901,6 +883,23 @@ ForeignKeyMetadata is the metadata for foreign keys.
+<a name="bytebase-store-FunctionConfig"></a>
+
+### FunctionConfig
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name is the name of a function. |
+| updater | [string](#string) | | The last updater of the function in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the function is updated in branch. |
+
+
+
+
+
+
<a name="bytebase-store-FunctionMetadata"></a>
### FunctionMetadata
@@ -974,6 +973,23 @@ MaterializedViewMetadata is the metadata for materialized views.
+<a name="bytebase-store-ProcedureConfig"></a>
+
+### ProcedureConfig
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name is the name of a procedure. |
+| updater | [string](#string) | | The last updater of the procedure in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the procedure is updated in branch. |
+
+
+
+
+
+
<a name="bytebase-store-ProcedureMetadata"></a>
### ProcedureMetadata
@@ -1000,6 +1016,9 @@ ProcedureMetadata is the metadata for procedures.
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | The name is the schema name. It is an empty string for databases without such concept such as MySQL. |
| table_configs | [TableConfig](#bytebase-store-TableConfig) | repeated | The table_configs is the list of configs for tables in a schema. |
+| function_configs | [FunctionConfig](#bytebase-store-FunctionConfig) | repeated | |
+| procedure_configs | [ProcedureConfig](#bytebase-store-ProcedureConfig) | repeated | |
+| view_configs | [ViewConfig](#bytebase-store-ViewConfig) | repeated | |
@@ -1095,6 +1114,8 @@ This is the concept of schema in Postgres, but it&#39;s a no-op for MySQL.
| name | [string](#string) | | The name is the name of a table. |
| column_configs | [ColumnConfig](#bytebase-store-ColumnConfig) | repeated | The column_configs is the ordered list of configs for columns in a table. |
| classification_id | [string](#string) | | |
+| updater | [string](#string) | | The last updater of the table in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the table is updated in branch. |
@@ -1173,6 +1194,23 @@ TablePartitionMetadata is the metadata for table partitions.
+<a name="bytebase-store-ViewConfig"></a>
+
+### ViewConfig
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name is the name of a view. |
+| updater | [string](#string) | | The last updater of the view in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the view is updated in branch. |
+
+
+
+
+
+
<a name="bytebase-store-ViewMetadata"></a>
### ViewMetadata
@@ -1269,33 +1307,6 @@ PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-parti
-<a name="bytebase-store-BranchColumnMetadata"></a>
-
-### BranchColumnMetadata
-BranchColumnMetadata is the metadata for columns used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a column. |
-| position | [int32](#int32) | | The position is the position in columns. |
-| default | [google.protobuf.StringValue](#google-protobuf-StringValue) | | The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default. |
-| default_null | [bool](#bool) | | |
-| default_expression | [string](#string) | | |
-| on_update | [string](#string) | | The on_update is the on update action of a column. For MySQL like databases, it&#39;s only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value. |
-| nullable | [bool](#bool) | | The nullable is the nullable of a column. |
-| type | [string](#string) | | The type is the type of a column. |
-| character_set | [string](#string) | | The character_set is the character_set of a column. |
-| collation | [string](#string) | | The collation is the collation of a column. |
-| comment | [string](#string) | | The comment is the comment of a column. classification and user_comment is parsed from the comment. |
-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. |
-| user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. |
-
-
-
-
-
-
<a name="bytebase-store-BranchConfig"></a>
### BranchConfig
@@ -1312,205 +1323,6 @@ BranchColumnMetadata is the metadata for columns used in branch.
-<a name="bytebase-store-BranchDatabaseSchemaMetadata"></a>
-
-### BranchDatabaseSchemaMetadata
-BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
-| schemas | [BranchSchemaMetadata](#bytebase-store-BranchSchemaMetadata) | repeated | The schemas is the list of schemas in a database. |
-| character_set | [string](#string) | | The character_set is the character set of a database. |
-| collation | [string](#string) | | The collation is the collation of a database. |
-| extensions | [ExtensionMetadata](#bytebase-store-ExtensionMetadata) | repeated | The extensions is the list of extensions in a database. |
-| datashare | [bool](#bool) | | The database belongs to a datashare. |
-| service_name | [string](#string) | | The service name of the database. It&#39;s the Oracle specific concept. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchDependentColumn"></a>
-
-### BranchDependentColumn
-BranchDependentColumn is the metadata for dependent columns used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| schema | [string](#string) | | The schema is the schema of a reference column. |
-| table | [string](#string) | | The table is the table of a reference column. |
-| column | [string](#string) | | The column is the name of a reference column. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchExtensionMetadata"></a>
-
-### BranchExtensionMetadata
-BranchExtensionMetadata is the metadata for extensions used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of an extension. |
-| schema | [string](#string) | | The schema is the extension that is installed to. But the extension usage is not limited to the schema. |
-| version | [string](#string) | | The version is the version of an extension. |
-| description | [string](#string) | | The description is the description of an extension. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchExternalTableMetadata"></a>
-
-### BranchExternalTableMetadata
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a external table. |
-| external_server_name | [string](#string) | | The external_server_name is the name of the external server. |
-| external_database_name | [string](#string) | | The external_database_name is the name of the external database. |
-| columns | [BranchColumnMetadata](#bytebase-store-BranchColumnMetadata) | repeated | The columns is the ordered list of columns in a foreign table. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchForeignKeyMetadata"></a>
-
-### BranchForeignKeyMetadata
-BranchForeignKeyMetadata is the metadata for foreign keys used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a foreign key. |
-| columns | [string](#string) | repeated | The columns are the ordered referencing columns of a foreign key. |
-| referenced_schema | [string](#string) | | The referenced_schema is the referenced schema name of a foreign key. It is an empty string for databases without such concept such as MySQL. |
-| referenced_table | [string](#string) | | The referenced_table is the referenced table name of a foreign key. |
-| referenced_columns | [string](#string) | repeated | The referenced_columns are the ordered referenced columns of a foreign key. |
-| on_delete | [string](#string) | | The on_delete is the on delete action of a foreign key. |
-| on_update | [string](#string) | | The on_update is the on update action of a foreign key. |
-| match_type | [string](#string) | | The match_type is the match type of a foreign key. The match_type is the PostgreSQL specific field. It&#39;s empty string for other databases. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchFunctionMetadata"></a>
-
-### BranchFunctionMetadata
-BranchFunctionMetadata is the metadata for functions used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a function. |
-| definition | [string](#string) | | The definition is the definition of a function. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchIndexMetadata"></a>
-
-### BranchIndexMetadata
-BranchIndexMetadata is the metadata for indexes used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of an index. |
-| expressions | [string](#string) | repeated | The expressions are the ordered columns or expressions of an index. This could refer to a column or an expression. |
-| key_length | [int64](#int64) | repeated | The key_lengths are the ordered key lengths of an index. If the key length is not specified, it&#39;s -1. |
-| type | [string](#string) | | The type is the type of an index. |
-| unique | [bool](#bool) | | The unique is whether the index is unique. |
-| primary | [bool](#bool) | | The primary is whether the index is a primary key index. |
-| visible | [bool](#bool) | | The visible is whether the index is visible. |
-| comment | [string](#string) | | The comment is the comment of an index. |
-| definition | [string](#string) | | The definition of an index. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchMaterializedViewMetadata"></a>
-
-### BranchMaterializedViewMetadata
-BranchMaterializedViewMetadata is the metadata for materialized views used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a view. |
-| definition | [string](#string) | | The definition is the definition of a view. |
-| comment | [string](#string) | | The comment is the comment of a view. |
-| dependent_columns | [BranchDependentColumn](#bytebase-store-BranchDependentColumn) | repeated | The dependent_columns is the list of dependent columns of a view. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchProcedureMetadata"></a>
-
-### BranchProcedureMetadata
-BranchProcedureMetadata is the metadata for procedures used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a procedure. |
-| definition | [string](#string) | | The definition is the definition of a procedure. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchSchemaMetadata"></a>
-
-### BranchSchemaMetadata
-BranchSchemaMetadata is the metadata for schemas used in branch.
-This is the concept of schema in Postgres, but it&#39;s a no-op for MySQL.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the schema name. It is an empty string for databases without such concept such as MySQL. |
-| tables | [BranchTableMetadata](#bytebase-store-BranchTableMetadata) | repeated | The tables is the list of tables in a schema. |
-| external_tables | [BranchExternalTableMetadata](#bytebase-store-BranchExternalTableMetadata) | repeated | The external_tables is the list of external tables in a schema. |
-| views | [BranchViewMetadata](#bytebase-store-BranchViewMetadata) | repeated | The views is the list of views in a schema. |
-| functions | [BranchFunctionMetadata](#bytebase-store-BranchFunctionMetadata) | repeated | The functions is the list of functions in a schema. |
-| procedures | [BranchProcedureMetadata](#bytebase-store-BranchProcedureMetadata) | repeated | The procedures is the list of procedures in a schema. |
-| streams | [BranchStreamMetadata](#bytebase-store-BranchStreamMetadata) | repeated | The streams is the list of streams in a schema, currently, only used for Snowflake. |
-| tasks | [BranchTaskMetadata](#bytebase-store-BranchTaskMetadata) | repeated | The routines is the list of routines in a schema, currently, only used for Snowflake. |
-| materialized_views | [BranchMaterializedViewMetadata](#bytebase-store-BranchMaterializedViewMetadata) | repeated | The materialized_views is the list of materialized views in a schema. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
<a name="bytebase-store-BranchSnapshot"></a>
### BranchSnapshot
@@ -1526,187 +1338,8 @@ This is the concept of schema in Postgres, but it&#39;s a no-op for MySQL.
-
-<a name="bytebase-store-BranchStreamMetadata"></a>
-
-### BranchStreamMetadata
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a stream. |
-| table_name | [string](#string) | | The table_name is the name of the table/view that the stream is created on. |
-| owner | [string](#string) | | The owner of the stream. |
-| comment | [string](#string) | | The comment of the stream. |
-| type | [BranchStreamMetadata.Type](#bytebase-store-BranchStreamMetadata-Type) | | The type of the stream. |
-| stale | [bool](#bool) | | Indicates whether the stream was last read before the `stale_after` time. |
-| mode | [BranchStreamMetadata.Mode](#bytebase-store-BranchStreamMetadata-Mode) | | The mode of the stream. |
-| definition | [string](#string) | | The definition of the stream. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchTableMetadata"></a>
-
-### BranchTableMetadata
-BranchTableMetadata is the metadata for tables used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a table. |
-| columns | [BranchColumnMetadata](#bytebase-store-BranchColumnMetadata) | repeated | The columns is the ordered list of columns in a table. |
-| indexes | [BranchIndexMetadata](#bytebase-store-BranchIndexMetadata) | repeated | The indexes is the list of indexes in a table. |
-| engine | [string](#string) | | The engine is the engine of a table. |
-| collation | [string](#string) | | The collation is the collation of a table. |
-| row_count | [int64](#int64) | | The row_count is the estimated number of rows of a table. |
-| data_size | [int64](#int64) | | The data_size is the estimated data size of a table. |
-| index_size | [int64](#int64) | | The index_size is the estimated index size of a table. |
-| data_free | [int64](#int64) | | The data_free is the estimated free data size of a table. |
-| create_options | [string](#string) | | The create_options is the create option of a table. |
-| comment | [string](#string) | | The comment is the comment of a table. classification and user_comment is parsed from the comment. |
-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. |
-| user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. |
-| foreign_keys | [BranchForeignKeyMetadata](#bytebase-store-BranchForeignKeyMetadata) | repeated | The foreign_keys is the list of foreign keys in a table. |
-| partitions | [BranchTablePartitionMetadata](#bytebase-store-BranchTablePartitionMetadata) | repeated | The partitions is the list of partitions in a table. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchTablePartitionMetadata"></a>
-
-### BranchTablePartitionMetadata
-BranchTablePartitionMetadata is the metadata for table partitions used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a table partition. |
-| type | [BranchTablePartitionMetadata.Type](#bytebase-store-BranchTablePartitionMetadata-Type) | | The type of a table partition. |
-| expression | [string](#string) | | The expression is the expression of a table partition. For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html. For MySQL, the expression is the `expr` or `column_list` of the following syntax. PARTITION BY { [LINEAR] HASH(expr) | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list) | RANGE{(expr) | COLUMNS(column_list)} | LIST{(expr) | COLUMNS(column_list)} }. |
-| value | [string](#string) | | The value is the value of a table partition. For MySQL, the value is for RANGE and LIST partition types, - For a RANGE partition, it contains the value set in the partition&#39;s VALUES LESS THAN clause, which can be either an integer or MAXVALUE. - For a LIST partition, this column contains the values defined in the partition&#39;s VALUES IN clause, which is a list of comma-separated integer values. - For others, it&#39;s an empty string. |
-| use_default | [string](#string) | | The use_default is whether the users use the default partition, it stores the different value for different database engines. For MySQL, it&#39;s [INT] type, 0 means not use default partition, otherwise, it&#39;s equals to number in syntax [SUB]PARTITION {number}. |
-| subpartitions | [BranchTablePartitionMetadata](#bytebase-store-BranchTablePartitionMetadata) | repeated | The subpartitions is the list of subpartitions in a table partition. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchTaskMetadata"></a>
-
-### BranchTaskMetadata
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a task. |
-| id | [string](#string) | | The id is the snowflake-generated id of a task. Example: 01ad32a0-1bb6-5e93-0000-000000000001 |
-| owner | [string](#string) | | The owner of the task. |
-| comment | [string](#string) | | The comment of the task. |
-| warehouse | [string](#string) | | The warehouse of the task. |
-| schedule | [string](#string) | | The schedule interval of the task. |
-| predecessors | [string](#string) | repeated | The predecessor tasks of the task. |
-| state | [BranchTaskMetadata.State](#bytebase-store-BranchTaskMetadata-State) | | The state of the task. |
-| condition | [string](#string) | | The condition of the task. |
-| definition | [string](#string) | | The definition of the task. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchViewMetadata"></a>
-
-### BranchViewMetadata
-BranchViewMetadata is the metadata for views used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a view. |
-| definition | [string](#string) | | The definition is the definition of a view. |
-| comment | [string](#string) | | The comment is the comment of a view. |
-| dependent_columns | [BranchDependentColumn](#bytebase-store-BranchDependentColumn) | repeated | The dependent_columns is the list of dependent columns of a view. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-store-BranchStreamMetadata-Mode"></a>
-
-### BranchStreamMetadata.Mode
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| MODE_UNSPECIFIED | 0 | |
-| MODE_DEFAULT | 1 | |
-| MODE_APPEND_ONLY | 2 | |
-| MODE_INSERT_ONLY | 3 | |
-
-
-
-<a name="bytebase-store-BranchStreamMetadata-Type"></a>
-
-### BranchStreamMetadata.Type
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| TYPE_UNSPECIFIED | 0 | |
-| TYPE_DELTA | 1 | |
-
-
-
-<a name="bytebase-store-BranchTablePartitionMetadata-Type"></a>
-
-### BranchTablePartitionMetadata.Type
-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)
-TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
-PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| TYPE_UNSPECIFIED | 0 | |
-| RANGE | 1 | |
-| RANGE_COLUMNS | 2 | |
-| LIST | 3 | |
-| LIST_COLUMNS | 4 | |
-| HASH | 5 | |
-| LINEAR_HASH | 6 | |
-| KEY | 7 | |
-| LINEAR_KEY | 8 | |
-
-
-
-<a name="bytebase-store-BranchTaskMetadata-State"></a>
-
-### BranchTaskMetadata.State
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| STATE_UNSPECIFIED | 0 | |
-| STATE_STARTED | 1 | |
-| STATE_SUSPENDED | 2 | |
-
-
diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.html
index 17e5330201..b609f18304 100644
--- a/proto/gen/grpc-doc/store/index.html
+++ b/proto/gen/grpc-doc/store/index.html
@@ -343,6 +343,10 @@
<a href="#bytebase.store.ForeignKeyMetadata"><span class="badge">M</span>ForeignKeyMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.store.FunctionConfig"><span class="badge">M</span>FunctionConfig</a>
+ </li>
+
<li>
<a href="#bytebase.store.FunctionMetadata"><span class="badge">M</span>FunctionMetadata</a>
</li>
@@ -359,6 +363,10 @@
<a href="#bytebase.store.MaterializedViewMetadata"><span class="badge">M</span>MaterializedViewMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.store.ProcedureConfig"><span class="badge">M</span>ProcedureConfig</a>
+ </li>
+
<li>
<a href="#bytebase.store.ProcedureMetadata"><span class="badge">M</span>ProcedureMetadata</a>
</li>
@@ -399,6 +407,10 @@
<a href="#bytebase.store.TaskMetadata"><span class="badge">M</span>TaskMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.store.ViewConfig"><span class="badge">M</span>ViewConfig</a>
+ </li>
+
<li>
<a href="#bytebase.store.ViewMetadata"><span class="badge">M</span>ViewMetadata</a>
</li>
@@ -430,94 +442,14 @@
<a href="#store%2fbranch.proto">store/branch.proto</a>
<ul>
- <li>
- <a href="#bytebase.store.BranchColumnMetadata"><span class="badge">M</span>BranchColumnMetadata</a>
- </li>
-
<li>
<a href="#bytebase.store.BranchConfig"><span class="badge">M</span>BranchConfig</a>
</li>
- <li>
- <a href="#bytebase.store.BranchDatabaseSchemaMetadata"><span class="badge">M</span>BranchDatabaseSchemaMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchDependentColumn"><span class="badge">M</span>BranchDependentColumn</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchExtensionMetadata"><span class="badge">M</span>BranchExtensionMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchExternalTableMetadata"><span class="badge">M</span>BranchExternalTableMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchForeignKeyMetadata"><span class="badge">M</span>BranchForeignKeyMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchFunctionMetadata"><span class="badge">M</span>BranchFunctionMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchIndexMetadata"><span class="badge">M</span>BranchIndexMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchMaterializedViewMetadata"><span class="badge">M</span>BranchMaterializedViewMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchProcedureMetadata"><span class="badge">M</span>BranchProcedureMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchSchemaMetadata"><span class="badge">M</span>BranchSchemaMetadata</a>
- </li>
-
<li>
<a href="#bytebase.store.BranchSnapshot"><span class="badge">M</span>BranchSnapshot</a>
</li>
- <li>
- <a href="#bytebase.store.BranchStreamMetadata"><span class="badge">M</span>BranchStreamMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchTableMetadata"><span class="badge">M</span>BranchTableMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchTablePartitionMetadata"><span class="badge">M</span>BranchTablePartitionMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchTaskMetadata"><span class="badge">M</span>BranchTaskMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchViewMetadata"><span class="badge">M</span>BranchViewMetadata</a>
- </li>
-
-
- <li>
- <a href="#bytebase.store.BranchStreamMetadata.Mode"><span class="badge">E</span>BranchStreamMetadata.Mode</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchStreamMetadata.Type"><span class="badge">E</span>BranchStreamMetadata.Type</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchTablePartitionMetadata.Type"><span class="badge">E</span>BranchTablePartitionMetadata.Type</a>
- </li>
-
- <li>
- <a href="#bytebase.store.BranchTaskMetadata.State"><span class="badge">E</span>BranchTaskMetadata.State</a>
- </li>
@@ -2705,6 +2637,45 @@ It&#39;s empty string for other databases. </p></td>
+ <h3 id="bytebase.store.FunctionConfig">FunctionConfig</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 is the name of a function. </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the function in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the function is updated in branch. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.FunctionMetadata">FunctionMetadata</h3>
<p>FunctionMetadata is the metadata for functions.</p>
@@ -2894,6 +2865,45 @@ If the key length is not specified, it&#39;s -1. </p></td>
+ <h3 id="bytebase.store.ProcedureConfig">ProcedureConfig</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 is the name of a procedure. </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the procedure in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the procedure is updated in branch. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.ProcedureMetadata">ProcedureMetadata</h3>
<p>ProcedureMetadata is the metadata for procedures.</p>
@@ -2950,6 +2960,27 @@ It is an empty string for databases without such concept such as MySQL. </p></td
<td><p>The table_configs is the list of configs for tables in a schema. </p></td>
</tr>
+ <tr>
+ <td>function_configs</td>
+ <td><a href="#bytebase.store.FunctionConfig">FunctionConfig</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>procedure_configs</td>
+ <td><a href="#bytebase.store.ProcedureConfig">ProcedureConfig</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>view_configs</td>
+ <td><a href="#bytebase.store.ViewConfig">ViewConfig</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
</tbody>
</table>
@@ -3204,6 +3235,21 @@ It is an empty string for databases without such concept such as MySQL. </p></td
<td><p> </p></td>
</tr>
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the table in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the table is updated in branch. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -3486,6 +3532,45 @@ Example: 01ad32a0-1bb6-5e93-0000-000000000001 </p></td>
+ <h3 id="bytebase.store.ViewConfig">ViewConfig</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 is the name of a view. </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the view in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the view is updated in branch. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.store.ViewMetadata">ViewMetadata</h3>
<p>ViewMetadata is the metadata for views.</p>
@@ -3697,8 +3782,8 @@ Example: 01ad32a0-1bb6-5e93-0000-000000000001 </p></td>
<p></p>
- <h3 id="bytebase.store.BranchColumnMetadata">BranchColumnMetadata</h3>
- <p>BranchColumnMetadata is the metadata for columns used in branch.</p>
+ <h3 id="bytebase.store.BranchConfig">BranchConfig</h3>
+ <p></p>
<table class="field-table">
@@ -3708,1179 +3793,54 @@ Example: 01ad32a0-1bb6-5e93-0000-000000000001 </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>source_database</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name is the name of a column. </p></td>
+ <td><p>The name of source database.
+Optional.
+Example: instances/instance-id/databases/database-name. </p></td>
</tr>
<tr>
- <td>position</td>
- <td><a href="#int32">int32</a></td>
+ <td>source_branch</td>
+ <td><a href="#string">string</a></td>
<td></td>
- <td><p>The position is the position in columns. </p></td>
+ <td><p>The name of the source branch.
+Optional.
+Example: projects/project-id/branches/branch-id. </p></td>
</tr>
- <tr>
- <td>default</td>
- <td><a href="#google.protobuf.StringValue">google.protobuf.StringValue</a></td>
- <td></td>
- <td><p>The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default. </p></td>
- </tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.store.BranchSnapshot">BranchSnapshot</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>default_null</td>
- <td><a href="#bool">bool</a></td>
+ <td>metadata</td>
+ <td><a href="#bytebase.store.DatabaseSchemaMetadata">DatabaseSchemaMetadata</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>default_expression</td>
- <td><a href="#string">string</a></td>
+ <td>database_config</td>
+ <td><a href="#bytebase.store.DatabaseConfig">DatabaseConfig</a></td>
<td></td>
<td><p> </p></td>
</tr>
- <tr>
- <td>on_update</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The on_update is the on update action of a column.
-For MySQL like databases, it&#39;s only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value. </p></td>
- </tr>
-
- <tr>
- <td>nullable</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The nullable is the nullable of a column. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The type is the type of a column. </p></td>
- </tr>
-
- <tr>
- <td>character_set</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The character_set is the character_set of a column. </p></td>
- </tr>
-
- <tr>
- <td>collation</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The collation is the collation of a column. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a column.
-classification and user_comment is parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>classification</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The classification is the classification of a table parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>user_comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The user_comment is the user comment of a table parsed from the comment. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchConfig">BranchConfig</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>source_database</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of source database.
-Optional.
-Example: instances/instance-id/databases/database-name. </p></td>
- </tr>
-
- <tr>
- <td>source_branch</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The name of the source branch.
-Optional.
-Example: projects/project-id/branches/branch-id. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchDatabaseSchemaMetadata">BranchDatabaseSchemaMetadata</h3>
- <p>BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>schemas</td>
- <td><a href="#bytebase.store.BranchSchemaMetadata">BranchSchemaMetadata</a></td>
- <td>repeated</td>
- <td><p>The schemas is the list of schemas in a database. </p></td>
- </tr>
-
- <tr>
- <td>character_set</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The character_set is the character set of a database. </p></td>
- </tr>
-
- <tr>
- <td>collation</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The collation is the collation of a database. </p></td>
- </tr>
-
- <tr>
- <td>extensions</td>
- <td><a href="#bytebase.store.ExtensionMetadata">ExtensionMetadata</a></td>
- <td>repeated</td>
- <td><p>The extensions is the list of extensions in a database. </p></td>
- </tr>
-
- <tr>
- <td>datashare</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The database belongs to a datashare. </p></td>
- </tr>
-
- <tr>
- <td>service_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The service name of the database. It&#39;s the Oracle specific concept. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchDependentColumn">BranchDependentColumn</h3>
- <p>BranchDependentColumn is the metadata for dependent columns used in branch.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The schema is the schema of a reference column. </p></td>
- </tr>
-
- <tr>
- <td>table</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The table is the table of a reference column. </p></td>
- </tr>
-
- <tr>
- <td>column</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The column is the name of a reference column. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchExtensionMetadata">BranchExtensionMetadata</h3>
- <p>BranchExtensionMetadata is the metadata for extensions used in branch.</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 is the name of an extension. </p></td>
- </tr>
-
- <tr>
- <td>schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The schema is the extension that is installed to. But the extension usage is not limited to the schema. </p></td>
- </tr>
-
- <tr>
- <td>version</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The version is the version of an extension. </p></td>
- </tr>
-
- <tr>
- <td>description</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The description is the description of an extension. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchExternalTableMetadata">BranchExternalTableMetadata</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 is the name of a external table. </p></td>
- </tr>
-
- <tr>
- <td>external_server_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The external_server_name is the name of the external server. </p></td>
- </tr>
-
- <tr>
- <td>external_database_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The external_database_name is the name of the external database. </p></td>
- </tr>
-
- <tr>
- <td>columns</td>
- <td><a href="#bytebase.store.BranchColumnMetadata">BranchColumnMetadata</a></td>
- <td>repeated</td>
- <td><p>The columns is the ordered list of columns in a foreign table. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchForeignKeyMetadata">BranchForeignKeyMetadata</h3>
- <p>BranchForeignKeyMetadata is the metadata for foreign keys used in branch.</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 is the name of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>columns</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The columns are the ordered referencing columns of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>referenced_schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The referenced_schema is the referenced schema name of a foreign key.
-It is an empty string for databases without such concept such as MySQL. </p></td>
- </tr>
-
- <tr>
- <td>referenced_table</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The referenced_table is the referenced table name of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>referenced_columns</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The referenced_columns are the ordered referenced columns of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>on_delete</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The on_delete is the on delete action of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>on_update</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The on_update is the on update action of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>match_type</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The match_type is the match type of a foreign key.
-The match_type is the PostgreSQL specific field.
-It&#39;s empty string for other databases. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchFunctionMetadata">BranchFunctionMetadata</h3>
- <p>BranchFunctionMetadata is the metadata for functions used in branch.</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 is the name of a function. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a function. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchIndexMetadata">BranchIndexMetadata</h3>
- <p>BranchIndexMetadata is the metadata for indexes used in branch.</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 is the name of an index. </p></td>
- </tr>
-
- <tr>
- <td>expressions</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The expressions are the ordered columns or expressions of an index.
-This could refer to a column or an expression. </p></td>
- </tr>
-
- <tr>
- <td>key_length</td>
- <td><a href="#int64">int64</a></td>
- <td>repeated</td>
- <td><p>The key_lengths are the ordered key lengths of an index.
-If the key length is not specified, it&#39;s -1. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The type is the type of an index. </p></td>
- </tr>
-
- <tr>
- <td>unique</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The unique is whether the index is unique. </p></td>
- </tr>
-
- <tr>
- <td>primary</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The primary is whether the index is a primary key index. </p></td>
- </tr>
-
- <tr>
- <td>visible</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The visible is whether the index is visible. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of an index. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition of an index. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchMaterializedViewMetadata">BranchMaterializedViewMetadata</h3>
- <p>BranchMaterializedViewMetadata is the metadata for materialized views used in branch.</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 is the name of a view. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a view. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a view. </p></td>
- </tr>
-
- <tr>
- <td>dependent_columns</td>
- <td><a href="#bytebase.store.BranchDependentColumn">BranchDependentColumn</a></td>
- <td>repeated</td>
- <td><p>The dependent_columns is the list of dependent columns of a view. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchProcedureMetadata">BranchProcedureMetadata</h3>
- <p>BranchProcedureMetadata is the metadata for procedures used in branch.</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 is the name of a procedure. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a procedure. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchSchemaMetadata">BranchSchemaMetadata</h3>
- <p>BranchSchemaMetadata is the metadata for schemas used in branch.</p><p>This is the concept of schema in Postgres, but it's a no-op for MySQL.</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 is the schema name.
-It is an empty string for databases without such concept such as MySQL. </p></td>
- </tr>
-
- <tr>
- <td>tables</td>
- <td><a href="#bytebase.store.BranchTableMetadata">BranchTableMetadata</a></td>
- <td>repeated</td>
- <td><p>The tables is the list of tables in a schema. </p></td>
- </tr>
-
- <tr>
- <td>external_tables</td>
- <td><a href="#bytebase.store.BranchExternalTableMetadata">BranchExternalTableMetadata</a></td>
- <td>repeated</td>
- <td><p>The external_tables is the list of external tables in a schema. </p></td>
- </tr>
-
- <tr>
- <td>views</td>
- <td><a href="#bytebase.store.BranchViewMetadata">BranchViewMetadata</a></td>
- <td>repeated</td>
- <td><p>The views is the list of views in a schema. </p></td>
- </tr>
-
- <tr>
- <td>functions</td>
- <td><a href="#bytebase.store.BranchFunctionMetadata">BranchFunctionMetadata</a></td>
- <td>repeated</td>
- <td><p>The functions is the list of functions in a schema. </p></td>
- </tr>
-
- <tr>
- <td>procedures</td>
- <td><a href="#bytebase.store.BranchProcedureMetadata">BranchProcedureMetadata</a></td>
- <td>repeated</td>
- <td><p>The procedures is the list of procedures in a schema. </p></td>
- </tr>
-
- <tr>
- <td>streams</td>
- <td><a href="#bytebase.store.BranchStreamMetadata">BranchStreamMetadata</a></td>
- <td>repeated</td>
- <td><p>The streams is the list of streams in a schema, currently, only used for Snowflake. </p></td>
- </tr>
-
- <tr>
- <td>tasks</td>
- <td><a href="#bytebase.store.BranchTaskMetadata">BranchTaskMetadata</a></td>
- <td>repeated</td>
- <td><p>The routines is the list of routines in a schema, currently, only used for Snowflake. </p></td>
- </tr>
-
- <tr>
- <td>materialized_views</td>
- <td><a href="#bytebase.store.BranchMaterializedViewMetadata">BranchMaterializedViewMetadata</a></td>
- <td>repeated</td>
- <td><p>The materialized_views is the list of materialized views in a schema. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchSnapshot">BranchSnapshot</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>metadata</td>
- <td><a href="#bytebase.store.DatabaseSchemaMetadata">DatabaseSchemaMetadata</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>database_config</td>
- <td><a href="#bytebase.store.DatabaseConfig">DatabaseConfig</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchStreamMetadata">BranchStreamMetadata</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 is the name of a stream. </p></td>
- </tr>
-
- <tr>
- <td>table_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The table_name is the name of the table/view that the stream is created on. </p></td>
- </tr>
-
- <tr>
- <td>owner</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The owner of the stream. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment of the stream. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#bytebase.store.BranchStreamMetadata.Type">BranchStreamMetadata.Type</a></td>
- <td></td>
- <td><p>The type of the stream. </p></td>
- </tr>
-
- <tr>
- <td>stale</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>Indicates whether the stream was last read before the `stale_after` time. </p></td>
- </tr>
-
- <tr>
- <td>mode</td>
- <td><a href="#bytebase.store.BranchStreamMetadata.Mode">BranchStreamMetadata.Mode</a></td>
- <td></td>
- <td><p>The mode of the stream. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition of the stream. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchTableMetadata">BranchTableMetadata</h3>
- <p>BranchTableMetadata is the metadata for tables used in branch.</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 is the name of a table. </p></td>
- </tr>
-
- <tr>
- <td>columns</td>
- <td><a href="#bytebase.store.BranchColumnMetadata">BranchColumnMetadata</a></td>
- <td>repeated</td>
- <td><p>The columns is the ordered list of columns in a table. </p></td>
- </tr>
-
- <tr>
- <td>indexes</td>
- <td><a href="#bytebase.store.BranchIndexMetadata">BranchIndexMetadata</a></td>
- <td>repeated</td>
- <td><p>The indexes is the list of indexes in a table. </p></td>
- </tr>
-
- <tr>
- <td>engine</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The engine is the engine of a table. </p></td>
- </tr>
-
- <tr>
- <td>collation</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The collation is the collation of a table. </p></td>
- </tr>
-
- <tr>
- <td>row_count</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The row_count is the estimated number of rows of a table. </p></td>
- </tr>
-
- <tr>
- <td>data_size</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The data_size is the estimated data size of a table. </p></td>
- </tr>
-
- <tr>
- <td>index_size</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The index_size is the estimated index size of a table. </p></td>
- </tr>
-
- <tr>
- <td>data_free</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The data_free is the estimated free data size of a table. </p></td>
- </tr>
-
- <tr>
- <td>create_options</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The create_options is the create option of a table. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a table.
-classification and user_comment is parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>classification</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The classification is the classification of a table parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>user_comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The user_comment is the user comment of a table parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>foreign_keys</td>
- <td><a href="#bytebase.store.BranchForeignKeyMetadata">BranchForeignKeyMetadata</a></td>
- <td>repeated</td>
- <td><p>The foreign_keys is the list of foreign keys in a table. </p></td>
- </tr>
-
- <tr>
- <td>partitions</td>
- <td><a href="#bytebase.store.BranchTablePartitionMetadata">BranchTablePartitionMetadata</a></td>
- <td>repeated</td>
- <td><p>The partitions is the list of partitions in a table. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchTablePartitionMetadata">BranchTablePartitionMetadata</h3>
- <p>BranchTablePartitionMetadata is the metadata for table partitions used in branch.</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 is the name of a table partition. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#bytebase.store.BranchTablePartitionMetadata.Type">BranchTablePartitionMetadata.Type</a></td>
- <td></td>
- <td><p>The type of a table partition. </p></td>
- </tr>
-
- <tr>
- <td>expression</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The expression is the expression of a table partition.
-For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
-For MySQL, the expression is the `expr` or `column_list` of the following syntax.
-PARTITION BY
- { [LINEAR] HASH(expr)
- | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- | RANGE{(expr) | COLUMNS(column_list)}
- | LIST{(expr) | COLUMNS(column_list)} }. </p></td>
- </tr>
-
- <tr>
- <td>value</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The value is the value of a table partition.
-For MySQL, the value is for RANGE and LIST partition types,
-- For a RANGE partition, it contains the value set in the partition&#39;s VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
-- For a LIST partition, this column contains the values defined in the partition&#39;s VALUES IN clause, which is a list of comma-separated integer values.
-- For others, it&#39;s an empty string. </p></td>
- </tr>
-
- <tr>
- <td>use_default</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The use_default is whether the users use the default partition, it stores the different value for different database engines.
-For MySQL, it&#39;s [INT] type, 0 means not use default partition, otherwise, it&#39;s equals to number in syntax [SUB]PARTITION {number}. </p></td>
- </tr>
-
- <tr>
- <td>subpartitions</td>
- <td><a href="#bytebase.store.BranchTablePartitionMetadata">BranchTablePartitionMetadata</a></td>
- <td>repeated</td>
- <td><p>The subpartitions is the list of subpartitions in a table partition. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchTaskMetadata">BranchTaskMetadata</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 is the name of a task. </p></td>
- </tr>
-
- <tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The id is the snowflake-generated id of a task.
-Example: 01ad32a0-1bb6-5e93-0000-000000000001 </p></td>
- </tr>
-
- <tr>
- <td>owner</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The owner of the task. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment of the task. </p></td>
- </tr>
-
- <tr>
- <td>warehouse</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The warehouse of the task. </p></td>
- </tr>
-
- <tr>
- <td>schedule</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The schedule interval of the task. </p></td>
- </tr>
-
- <tr>
- <td>predecessors</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The predecessor tasks of the task. </p></td>
- </tr>
-
- <tr>
- <td>state</td>
- <td><a href="#bytebase.store.BranchTaskMetadata.State">BranchTaskMetadata.State</a></td>
- <td></td>
- <td><p>The state of the task. </p></td>
- </tr>
-
- <tr>
- <td>condition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The condition of the task. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition of the task. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.store.BranchViewMetadata">BranchViewMetadata</h3>
- <p>BranchViewMetadata is the metadata for views used in branch.</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 is the name of a view. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a view. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a view. </p></td>
- </tr>
-
- <tr>
- <td>dependent_columns</td>
- <td><a href="#bytebase.store.BranchDependentColumn">BranchDependentColumn</a></td>
- <td>repeated</td>
- <td><p>The dependent_columns is the list of dependent columns of a view. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
</tbody>
</table>
@@ -4890,158 +3850,6 @@ Format: users/{email} </p></td>
- <h3 id="bytebase.store.BranchStreamMetadata.Mode">BranchStreamMetadata.Mode</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>MODE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>MODE_DEFAULT</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>MODE_APPEND_ONLY</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>MODE_INSERT_ONLY</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.store.BranchStreamMetadata.Type">BranchStreamMetadata.Type</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>TYPE_DELTA</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.store.BranchTablePartitionMetadata.Type">BranchTablePartitionMetadata.Type</h3>
- <p>Type is the type of a table partition, some database engines may not support all types.</p><p>Only avilable for the following database engines now:</p><p>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)</p><p>TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY</p><p>PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)</p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>RANGE</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>RANGE_COLUMNS</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LIST</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LIST_COLUMNS</td>
- <td>4</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>HASH</td>
- <td>5</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LINEAR_HASH</td>
- <td>6</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>KEY</td>
- <td>7</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LINEAR_KEY</td>
- <td>8</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.store.BranchTaskMetadata.State">BranchTaskMetadata.State</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>STATE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>STATE_STARTED</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>STATE_SUSPENDED</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index 52569f3711..f58a858e57 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -127,6 +127,7 @@
- [ExtensionMetadata](#bytebase-v1-ExtensionMetadata)
- [ExternalTableMetadata](#bytebase-v1-ExternalTableMetadata)
- [ForeignKeyMetadata](#bytebase-v1-ForeignKeyMetadata)
+ - [FunctionConfig](#bytebase-v1-FunctionConfig)
- [FunctionMetadata](#bytebase-v1-FunctionMetadata)
- [GetChangeHistoryRequest](#bytebase-v1-GetChangeHistoryRequest)
- [GetDatabaseMetadataRequest](#bytebase-v1-GetDatabaseMetadataRequest)
@@ -142,6 +143,7 @@
- [ListSlowQueriesRequest](#bytebase-v1-ListSlowQueriesRequest)
- [ListSlowQueriesResponse](#bytebase-v1-ListSlowQueriesResponse)
- [MaterializedViewMetadata](#bytebase-v1-MaterializedViewMetadata)
+ - [ProcedureConfig](#bytebase-v1-ProcedureConfig)
- [ProcedureMetadata](#bytebase-v1-ProcedureMetadata)
- [SchemaConfig](#bytebase-v1-SchemaConfig)
- [SchemaMetadata](#bytebase-v1-SchemaMetadata)
@@ -161,6 +163,7 @@
- [UpdateDatabaseMetadataRequest](#bytebase-v1-UpdateDatabaseMetadataRequest)
- [UpdateDatabaseRequest](#bytebase-v1-UpdateDatabaseRequest)
- [UpdateSecretRequest](#bytebase-v1-UpdateSecretRequest)
+ - [ViewConfig](#bytebase-v1-ViewConfig)
- [ViewMetadata](#bytebase-v1-ViewMetadata)
- [ChangeHistory.Source](#bytebase-v1-ChangeHistory-Source)
@@ -177,22 +180,6 @@
- [v1/branch_service.proto](#v1_branch_service-proto)
- [Branch](#bytebase-v1-Branch)
- - [BranchColumnMetadata](#bytebase-v1-BranchColumnMetadata)
- - [BranchDatabaseSchemaMetadata](#bytebase-v1-BranchDatabaseSchemaMetadata)
- - [BranchDependentColumn](#bytebase-v1-BranchDependentColumn)
- - [BranchExtensionMetadata](#bytebase-v1-BranchExtensionMetadata)
- - [BranchExternalTableMetadata](#bytebase-v1-BranchExternalTableMetadata)
- - [BranchForeignKeyMetadata](#bytebase-v1-BranchForeignKeyMetadata)
- - [BranchFunctionMetadata](#bytebase-v1-BranchFunctionMetadata)
- - [BranchIndexMetadata](#bytebase-v1-BranchIndexMetadata)
- - [BranchMaterializedViewMetadata](#bytebase-v1-BranchMaterializedViewMetadata)
- - [BranchProcedureMetadata](#bytebase-v1-BranchProcedureMetadata)
- - [BranchSchemaMetadata](#bytebase-v1-BranchSchemaMetadata)
- - [BranchStreamMetadata](#bytebase-v1-BranchStreamMetadata)
- - [BranchTableMetadata](#bytebase-v1-BranchTableMetadata)
- - [BranchTablePartitionMetadata](#bytebase-v1-BranchTablePartitionMetadata)
- - [BranchTaskMetadata](#bytebase-v1-BranchTaskMetadata)
- - [BranchViewMetadata](#bytebase-v1-BranchViewMetadata)
- [CreateBranchRequest](#bytebase-v1-CreateBranchRequest)
- [DeleteBranchRequest](#bytebase-v1-DeleteBranchRequest)
- [DiffDatabaseRequest](#bytebase-v1-DiffDatabaseRequest)
@@ -207,10 +194,6 @@
- [RebaseBranchResponse](#bytebase-v1-RebaseBranchResponse)
- [UpdateBranchRequest](#bytebase-v1-UpdateBranchRequest)
- - [BranchStreamMetadata.Mode](#bytebase-v1-BranchStreamMetadata-Mode)
- - [BranchStreamMetadata.Type](#bytebase-v1-BranchStreamMetadata-Type)
- - [BranchTablePartitionMetadata.Type](#bytebase-v1-BranchTablePartitionMetadata-Type)
- - [BranchTaskMetadata.State](#bytebase-v1-BranchTaskMetadata-State)
- [BranchView](#bytebase-v1-BranchView)
- [BranchService](#bytebase-v1-BranchService)
@@ -2535,6 +2518,23 @@ ForeignKeyMetadata is the metadata for foreign keys.
+<a name="bytebase-v1-FunctionConfig"></a>
+
+### FunctionConfig
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name is the name of a function. |
+| updater | [string](#string) | | The last updater of the function in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the function is updated in branch. |
+
+
+
+
+
+
<a name="bytebase-v1-FunctionMetadata"></a>
### FunctionMetadata
@@ -2805,6 +2805,23 @@ MaterializedViewMetadata is the metadata for materialized views.
+<a name="bytebase-v1-ProcedureConfig"></a>
+
+### ProcedureConfig
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name is the name of a procedure. |
+| updater | [string](#string) | | The last updater of the procedure in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the procedure is updated in branch. |
+
+
+
+
+
+
<a name="bytebase-v1-ProcedureMetadata"></a>
### ProcedureMetadata
@@ -2831,6 +2848,9 @@ ProcedureMetadata is the metadata for procedures.
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | The name is the schema name. It is an empty string for databases without such concept such as MySQL. |
| table_configs | [TableConfig](#bytebase-v1-TableConfig) | repeated | The table_configs is the list of configs for tables in a schema. |
+| function_configs | [FunctionConfig](#bytebase-v1-FunctionConfig) | repeated | |
+| procedure_configs | [ProcedureConfig](#bytebase-v1-ProcedureConfig) | repeated | |
+| view_configs | [ViewConfig](#bytebase-v1-ViewConfig) | repeated | |
@@ -3037,6 +3057,8 @@ SlowQueryStatistics is the statistics of the slow query log.
| name | [string](#string) | | The name is the name of a table. |
| column_configs | [ColumnConfig](#bytebase-v1-ColumnConfig) | repeated | The column_configs is the ordered list of configs for columns in a table. |
| classification_id | [string](#string) | | |
+| updater | [string](#string) | | The last updater of the table in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the table is updated in branch. |
@@ -3168,6 +3190,23 @@ The database&#39;s `name` field is used to identify the database to update. Form
+<a name="bytebase-v1-ViewConfig"></a>
+
+### ViewConfig
+
+
+
+| Field | Type | Label | Description |
+| ----- | ---- | ----- | ----------- |
+| name | [string](#string) | | The name is the name of a view. |
+| updater | [string](#string) | | The last updater of the view in branch. Format: users/{email} |
+| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the view is updated in branch. |
+
+
+
+
+
+
<a name="bytebase-v1-ViewMetadata"></a>
### ViewMetadata
@@ -3389,349 +3428,6 @@ PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-parti
-<a name="bytebase-v1-BranchColumnMetadata"></a>
-
-### BranchColumnMetadata
-BranchColumnMetadata is the metadata for columns used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a column. |
-| position | [int32](#int32) | | The position is the position in columns. |
-| default | [google.protobuf.StringValue](#google-protobuf-StringValue) | | The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default. |
-| default_null | [bool](#bool) | | |
-| default_expression | [string](#string) | | |
-| on_update | [string](#string) | | The on_update is the on update action of a column. For MySQL like databases, it&#39;s only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value. |
-| nullable | [bool](#bool) | | The nullable is the nullable of a column. |
-| type | [string](#string) | | The type is the type of a column. |
-| character_set | [string](#string) | | The character_set is the character_set of a column. |
-| collation | [string](#string) | | The collation is the collation of a column. |
-| comment | [string](#string) | | The comment is the comment of a column. classification and user_comment is parsed from the comment. |
-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. |
-| user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchDatabaseSchemaMetadata"></a>
-
-### BranchDatabaseSchemaMetadata
-BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | |
-| schemas | [BranchSchemaMetadata](#bytebase-v1-BranchSchemaMetadata) | repeated | The schemas is the list of schemas in a database. |
-| character_set | [string](#string) | | The character_set is the character set of a database. |
-| collation | [string](#string) | | The collation is the collation of a database. |
-| extensions | [ExtensionMetadata](#bytebase-v1-ExtensionMetadata) | repeated | The extensions is the list of extensions in a database. |
-| datashare | [bool](#bool) | | The database belongs to a datashare. |
-| service_name | [string](#string) | | The service name of the database. It&#39;s the Oracle specific concept. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchDependentColumn"></a>
-
-### BranchDependentColumn
-BranchDependentColumn is the metadata for dependent columns used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| schema | [string](#string) | | The schema is the schema of a reference column. |
-| table | [string](#string) | | The table is the table of a reference column. |
-| column | [string](#string) | | The column is the name of a reference column. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchExtensionMetadata"></a>
-
-### BranchExtensionMetadata
-BranchExtensionMetadata is the metadata for extensions used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of an extension. |
-| schema | [string](#string) | | The schema is the extension that is installed to. But the extension usage is not limited to the schema. |
-| version | [string](#string) | | The version is the version of an extension. |
-| description | [string](#string) | | The description is the description of an extension. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchExternalTableMetadata"></a>
-
-### BranchExternalTableMetadata
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a external table. |
-| external_server_name | [string](#string) | | The external_server_name is the name of the external server. |
-| external_database_name | [string](#string) | | The external_database_name is the name of the external database. |
-| columns | [BranchColumnMetadata](#bytebase-v1-BranchColumnMetadata) | repeated | The columns is the ordered list of columns in a foreign table. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchForeignKeyMetadata"></a>
-
-### BranchForeignKeyMetadata
-BranchForeignKeyMetadata is the metadata for foreign keys used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a foreign key. |
-| columns | [string](#string) | repeated | The columns are the ordered referencing columns of a foreign key. |
-| referenced_schema | [string](#string) | | The referenced_schema is the referenced schema name of a foreign key. It is an empty string for databases without such concept such as MySQL. |
-| referenced_table | [string](#string) | | The referenced_table is the referenced table name of a foreign key. |
-| referenced_columns | [string](#string) | repeated | The referenced_columns are the ordered referenced columns of a foreign key. |
-| on_delete | [string](#string) | | The on_delete is the on delete action of a foreign key. |
-| on_update | [string](#string) | | The on_update is the on update action of a foreign key. |
-| match_type | [string](#string) | | The match_type is the match type of a foreign key. The match_type is the PostgreSQL specific field. It&#39;s empty string for other databases. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchFunctionMetadata"></a>
-
-### BranchFunctionMetadata
-BranchFunctionMetadata is the metadata for functions used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a function. |
-| definition | [string](#string) | | The definition is the definition of a function. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchIndexMetadata"></a>
-
-### BranchIndexMetadata
-BranchIndexMetadata is the metadata for indexes used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of an index. |
-| expressions | [string](#string) | repeated | The expressions are the ordered columns or expressions of an index. This could refer to a column or an expression. |
-| key_length | [int64](#int64) | repeated | The key_lengths are the ordered key lengths of an index. If the key length is not specified, it&#39;s -1. |
-| type | [string](#string) | | The type is the type of an index. |
-| unique | [bool](#bool) | | The unique is whether the index is unique. |
-| primary | [bool](#bool) | | The primary is whether the index is a primary key index. |
-| visible | [bool](#bool) | | The visible is whether the index is visible. |
-| comment | [string](#string) | | The comment is the comment of an index. |
-| definition | [string](#string) | | The definition of an index. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchMaterializedViewMetadata"></a>
-
-### BranchMaterializedViewMetadata
-BranchMaterializedViewMetadata is the metadata for materialized views used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a view. |
-| definition | [string](#string) | | The definition is the definition of a view. |
-| comment | [string](#string) | | The comment is the comment of a view. |
-| dependent_columns | [BranchDependentColumn](#bytebase-v1-BranchDependentColumn) | repeated | The dependent_columns is the list of dependent columns of a view. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchProcedureMetadata"></a>
-
-### BranchProcedureMetadata
-BranchProcedureMetadata is the metadata for procedures used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a procedure. |
-| definition | [string](#string) | | The definition is the definition of a procedure. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchSchemaMetadata"></a>
-
-### BranchSchemaMetadata
-BranchSchemaMetadata is the metadata for schemas used in branch.
-This is the concept of schema in Postgres, but it&#39;s a no-op for MySQL.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the schema name. It is an empty string for databases without such concept such as MySQL. |
-| tables | [BranchTableMetadata](#bytebase-v1-BranchTableMetadata) | repeated | The tables is the list of tables in a schema. |
-| external_tables | [BranchExternalTableMetadata](#bytebase-v1-BranchExternalTableMetadata) | repeated | The external_tables is the list of external tables in a schema. |
-| views | [BranchViewMetadata](#bytebase-v1-BranchViewMetadata) | repeated | The views is the list of views in a schema. |
-| functions | [BranchFunctionMetadata](#bytebase-v1-BranchFunctionMetadata) | repeated | The functions is the list of functions in a schema. |
-| procedures | [BranchProcedureMetadata](#bytebase-v1-BranchProcedureMetadata) | repeated | The procedures is the list of procedures in a schema. |
-| streams | [BranchStreamMetadata](#bytebase-v1-BranchStreamMetadata) | repeated | The streams is the list of streams in a schema, currently, only used for Snowflake. |
-| tasks | [BranchTaskMetadata](#bytebase-v1-BranchTaskMetadata) | repeated | The routines is the list of routines in a schema, currently, only used for Snowflake. |
-| materialized_views | [BranchMaterializedViewMetadata](#bytebase-v1-BranchMaterializedViewMetadata) | repeated | The materialized_views is the list of materialized views in a schema. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchStreamMetadata"></a>
-
-### BranchStreamMetadata
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a stream. |
-| table_name | [string](#string) | | The table_name is the name of the table/view that the stream is created on. |
-| owner | [string](#string) | | The owner of the stream. |
-| comment | [string](#string) | | The comment of the stream. |
-| type | [BranchStreamMetadata.Type](#bytebase-v1-BranchStreamMetadata-Type) | | The type of the stream. |
-| stale | [bool](#bool) | | Indicates whether the stream was last read before the `stale_after` time. |
-| mode | [BranchStreamMetadata.Mode](#bytebase-v1-BranchStreamMetadata-Mode) | | The mode of the stream. |
-| definition | [string](#string) | | The definition of the stream. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchTableMetadata"></a>
-
-### BranchTableMetadata
-BranchTableMetadata is the metadata for tables used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a table. |
-| columns | [BranchColumnMetadata](#bytebase-v1-BranchColumnMetadata) | repeated | The columns is the ordered list of columns in a table. |
-| indexes | [BranchIndexMetadata](#bytebase-v1-BranchIndexMetadata) | repeated | The indexes is the list of indexes in a table. |
-| engine | [string](#string) | | The engine is the engine of a table. |
-| collation | [string](#string) | | The collation is the collation of a table. |
-| row_count | [int64](#int64) | | The row_count is the estimated number of rows of a table. |
-| data_size | [int64](#int64) | | The data_size is the estimated data size of a table. |
-| index_size | [int64](#int64) | | The index_size is the estimated index size of a table. |
-| data_free | [int64](#int64) | | The data_free is the estimated free data size of a table. |
-| create_options | [string](#string) | | The create_options is the create option of a table. |
-| comment | [string](#string) | | The comment is the comment of a table. classification and user_comment is parsed from the comment. |
-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. |
-| user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. |
-| foreign_keys | [BranchForeignKeyMetadata](#bytebase-v1-BranchForeignKeyMetadata) | repeated | The foreign_keys is the list of foreign keys in a table. |
-| partitions | [BranchTablePartitionMetadata](#bytebase-v1-BranchTablePartitionMetadata) | repeated | The partitions is the list of partitions in a table. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchTablePartitionMetadata"></a>
-
-### BranchTablePartitionMetadata
-BranchTablePartitionMetadata is the metadata for table partitions used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a table partition. |
-| type | [BranchTablePartitionMetadata.Type](#bytebase-v1-BranchTablePartitionMetadata-Type) | | The type of a table partition. |
-| expression | [string](#string) | | The expression is the expression of a table partition. For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html. For MySQL, the expression is the `expr` or `column_list` of the following syntax. PARTITION BY { [LINEAR] HASH(expr) | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list) | RANGE{(expr) | COLUMNS(column_list)} | LIST{(expr) | COLUMNS(column_list)} }. |
-| value | [string](#string) | | The value is the value of a table partition. For MySQL, the value is for RANGE and LIST partition types, - For a RANGE partition, it contains the value set in the partition&#39;s VALUES LESS THAN clause, which can be either an integer or MAXVALUE. - For a LIST partition, this column contains the values defined in the partition&#39;s VALUES IN clause, which is a list of comma-separated integer values. - For others, it&#39;s an empty string. |
-| use_default | [string](#string) | | The use_default is whether the users use the default partition, it stores the different value for different database engines. For MySQL, it&#39;s [INT] type, 0 means not use default partition, otherwise, it&#39;s equals to number in syntax [SUB]PARTITION {number}. |
-| subpartitions | [BranchTablePartitionMetadata](#bytebase-v1-BranchTablePartitionMetadata) | repeated | The subpartitions is the list of subpartitions in a table partition. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchTaskMetadata"></a>
-
-### BranchTaskMetadata
-
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a task. |
-| id | [string](#string) | | The id is the snowflake-generated id of a task. Example: 01ad32a0-1bb6-5e93-0000-000000000001 |
-| owner | [string](#string) | | The owner of the task. |
-| comment | [string](#string) | | The comment of the task. |
-| warehouse | [string](#string) | | The warehouse of the task. |
-| schedule | [string](#string) | | The schedule interval of the task. |
-| predecessors | [string](#string) | repeated | The predecessor tasks of the task. |
-| state | [BranchTaskMetadata.State](#bytebase-v1-BranchTaskMetadata-State) | | The state of the task. |
-| condition | [string](#string) | | The condition of the task. |
-| definition | [string](#string) | | The definition of the task. |
-
-
-
-
-
-
-<a name="bytebase-v1-BranchViewMetadata"></a>
-
-### BranchViewMetadata
-BranchViewMetadata is the metadata for views used in branch.
-
-
-| Field | Type | Label | Description |
-| ----- | ---- | ----- | ----------- |
-| name | [string](#string) | | The name is the name of a view. |
-| definition | [string](#string) | | The definition is the definition of a view. |
-| comment | [string](#string) | | The comment is the comment of a view. |
-| dependent_columns | [BranchDependentColumn](#bytebase-v1-BranchDependentColumn) | repeated | The dependent_columns is the list of dependent columns of a view. |
-| updater | [string](#string) | | The last updater of the object. Format: users/{email} |
-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the object was last updated. |
-
-
-
-
-
-
<a name="bytebase-v1-CreateBranchRequest"></a>
### CreateBranchRequest
@@ -3957,68 +3653,6 @@ The branch&#39;s `name` field is used to identify the branch to update. Format:
-<a name="bytebase-v1-BranchStreamMetadata-Mode"></a>
-
-### BranchStreamMetadata.Mode
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| MODE_UNSPECIFIED | 0 | |
-| MODE_DEFAULT | 1 | |
-| MODE_APPEND_ONLY | 2 | |
-| MODE_INSERT_ONLY | 3 | |
-
-
-
-<a name="bytebase-v1-BranchStreamMetadata-Type"></a>
-
-### BranchStreamMetadata.Type
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| TYPE_UNSPECIFIED | 0 | |
-| TYPE_DELTA | 1 | |
-
-
-
-<a name="bytebase-v1-BranchTablePartitionMetadata-Type"></a>
-
-### BranchTablePartitionMetadata.Type
-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)
-TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
-PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| TYPE_UNSPECIFIED | 0 | |
-| RANGE | 1 | |
-| RANGE_COLUMNS | 2 | |
-| LIST | 3 | |
-| LIST_COLUMNS | 4 | |
-| HASH | 5 | |
-| LINEAR_HASH | 6 | |
-| KEY | 7 | |
-| LINEAR_KEY | 8 | |
-
-
-
-<a name="bytebase-v1-BranchTaskMetadata-State"></a>
-
-### BranchTaskMetadata.State
-
-
-| Name | Number | Description |
-| ---- | ------ | ----------- |
-| STATE_UNSPECIFIED | 0 | |
-| STATE_STARTED | 1 | |
-| STATE_SUSPENDED | 2 | |
-
-
-
<a name="bytebase-v1-BranchView"></a>
### BranchView
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 0465c0bb9e..a6b83026bc 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -652,6 +652,10 @@
<a href="#bytebase.v1.ForeignKeyMetadata"><span class="badge">M</span>ForeignKeyMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.v1.FunctionConfig"><span class="badge">M</span>FunctionConfig</a>
+ </li>
+
<li>
<a href="#bytebase.v1.FunctionMetadata"><span class="badge">M</span>FunctionMetadata</a>
</li>
@@ -712,6 +716,10 @@
<a href="#bytebase.v1.MaterializedViewMetadata"><span class="badge">M</span>MaterializedViewMetadata</a>
</li>
+ <li>
+ <a href="#bytebase.v1.ProcedureConfig"><span class="badge">M</span>ProcedureConfig</a>
+ </li>
+
<li>
<a href="#bytebase.v1.ProcedureMetadata"><span class="badge">M</span>ProcedureMetadata</a>
</li>
@@ -788,6 +796,10 @@
<a href="#bytebase.v1.UpdateSecretRequest"><span class="badge">M</span>UpdateSecretRequest</a>
</li>
+ <li>
+ <a href="#bytebase.v1.ViewConfig"><span class="badge">M</span>ViewConfig</a>
+ </li>
+
<li>
<a href="#bytebase.v1.ViewMetadata"><span class="badge">M</span>ViewMetadata</a>
</li>
@@ -847,70 +859,6 @@
<a href="#bytebase.v1.Branch"><span class="badge">M</span>Branch</a>
</li>
- <li>
- <a href="#bytebase.v1.BranchColumnMetadata"><span class="badge">M</span>BranchColumnMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchDatabaseSchemaMetadata"><span class="badge">M</span>BranchDatabaseSchemaMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchDependentColumn"><span class="badge">M</span>BranchDependentColumn</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchExtensionMetadata"><span class="badge">M</span>BranchExtensionMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchExternalTableMetadata"><span class="badge">M</span>BranchExternalTableMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchForeignKeyMetadata"><span class="badge">M</span>BranchForeignKeyMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchFunctionMetadata"><span class="badge">M</span>BranchFunctionMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchIndexMetadata"><span class="badge">M</span>BranchIndexMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchMaterializedViewMetadata"><span class="badge">M</span>BranchMaterializedViewMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchProcedureMetadata"><span class="badge">M</span>BranchProcedureMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchSchemaMetadata"><span class="badge">M</span>BranchSchemaMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchStreamMetadata"><span class="badge">M</span>BranchStreamMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchTableMetadata"><span class="badge">M</span>BranchTableMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchTablePartitionMetadata"><span class="badge">M</span>BranchTablePartitionMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchTaskMetadata"><span class="badge">M</span>BranchTaskMetadata</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchViewMetadata"><span class="badge">M</span>BranchViewMetadata</a>
- </li>
-
<li>
<a href="#bytebase.v1.CreateBranchRequest"><span class="badge">M</span>CreateBranchRequest</a>
</li>
@@ -964,22 +912,6 @@
</li>
- <li>
- <a href="#bytebase.v1.BranchStreamMetadata.Mode"><span class="badge">E</span>BranchStreamMetadata.Mode</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchStreamMetadata.Type"><span class="badge">E</span>BranchStreamMetadata.Type</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchTablePartitionMetadata.Type"><span class="badge">E</span>BranchTablePartitionMetadata.Type</a>
- </li>
-
- <li>
- <a href="#bytebase.v1.BranchTaskMetadata.State"><span class="badge">E</span>BranchTaskMetadata.State</a>
- </li>
-
<li>
<a href="#bytebase.v1.BranchView"><span class="badge">E</span>BranchView</a>
</li>
@@ -7743,6 +7675,45 @@ It&#39;s empty string for other databases. </p></td>
+ <h3 id="bytebase.v1.FunctionConfig">FunctionConfig</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 is the name of a function. </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the function in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the function is updated in branch. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.FunctionMetadata">FunctionMetadata</h3>
<p>FunctionMetadata is the metadata for functions.</p>
@@ -8415,6 +8386,45 @@ Default: order by average_query_time desc. </p></td>
+ <h3 id="bytebase.v1.ProcedureConfig">ProcedureConfig</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 is the name of a procedure. </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the procedure in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the procedure is updated in branch. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.ProcedureMetadata">ProcedureMetadata</h3>
<p>ProcedureMetadata is the metadata for procedures.</p>
@@ -8471,6 +8481,27 @@ It is an empty string for databases without such concept such as MySQL. </p></td
<td><p>The table_configs is the list of configs for tables in a schema. </p></td>
</tr>
+ <tr>
+ <td>function_configs</td>
+ <td><a href="#bytebase.v1.FunctionConfig">FunctionConfig</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>procedure_configs</td>
+ <td><a href="#bytebase.v1.ProcedureConfig">ProcedureConfig</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
+ <tr>
+ <td>view_configs</td>
+ <td><a href="#bytebase.v1.ViewConfig">ViewConfig</a></td>
+ <td>repeated</td>
+ <td><p> </p></td>
+ </tr>
+
</tbody>
</table>
@@ -9043,6 +9074,21 @@ Format: instances/{instance}/databases/{database} </p></td>
<td><p> </p></td>
</tr>
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the table in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the table is updated in branch. </p></td>
+ </tr>
+
</tbody>
</table>
@@ -9431,6 +9477,45 @@ Format: instances/{instance}/databases/{database} </p></td>
+ <h3 id="bytebase.v1.ViewConfig">ViewConfig</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 is the name of a view. </p></td>
+ </tr>
+
+ <tr>
+ <td>updater</td>
+ <td><a href="#string">string</a></td>
+ <td></td>
+ <td><p>The last updater of the view in branch.
+Format: users/{email} </p></td>
+ </tr>
+
+ <tr>
+ <td>update_time</td>
+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
+ <td></td>
+ <td><p>The timestamp when the view is updated in branch. </p></td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+
<h3 id="bytebase.v1.ViewMetadata">ViewMetadata</h3>
<p>ViewMetadata is the metadata for views.</p>
@@ -10280,8 +10365,8 @@ Format: users/{email} </p></td>
- <h3 id="bytebase.v1.BranchColumnMetadata">BranchColumnMetadata</h3>
- <p>BranchColumnMetadata is the metadata for columns used in branch.</p>
+ <h3 id="bytebase.v1.CreateBranchRequest">CreateBranchRequest</h3>
+ <p></p>
<table class="field-table">
@@ -10291,1177 +10376,52 @@ Format: users/{email} </p></td>
<tbody>
<tr>
- <td>name</td>
+ <td>parent</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The name is the name of a column. </p></td>
- </tr>
-
- <tr>
- <td>position</td>
- <td><a href="#int32">int32</a></td>
- <td></td>
- <td><p>The position is the position in columns. </p></td>
- </tr>
-
- <tr>
- <td>default</td>
- <td><a href="#google.protobuf.StringValue">google.protobuf.StringValue</a></td>
- <td></td>
- <td><p>The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default. </p></td>
+ <td><p>The parent, which owns this collection of branches.
+Format: project/{project} </p></td>
</tr>
<tr>
- <td>default_null</td>
- <td><a href="#bool">bool</a></td>
+ <td>branch</td>
+ <td><a href="#bytebase.v1.Branch">Branch</a></td>
<td></td>
<td><p> </p></td>
</tr>
<tr>
- <td>default_expression</td>
+ <td>branch_id</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p> </p></td>
+ <td><p>The ID to use for the branch, which will become the final component of
+the branch&#39;s resource name.
+Format: [a-zA-Z][a-zA-Z0-9-_/]&#43;. </p></td>
</tr>
+ </tbody>
+ </table>
+
+
+
+
+
+ <h3 id="bytebase.v1.DeleteBranchRequest">DeleteBranchRequest</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>on_update</td>
+ <td>name</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The on_update is the on update action of a column.
-For MySQL like databases, it&#39;s only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value. </p></td>
- </tr>
-
- <tr>
- <td>nullable</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The nullable is the nullable of a column. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The type is the type of a column. </p></td>
- </tr>
-
- <tr>
- <td>character_set</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The character_set is the character_set of a column. </p></td>
- </tr>
-
- <tr>
- <td>collation</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The collation is the collation of a column. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a column.
-classification and user_comment is parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>classification</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The classification is the classification of a table parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>user_comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The user_comment is the user comment of a table parsed from the comment. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchDatabaseSchemaMetadata">BranchDatabaseSchemaMetadata</h3>
- <p>BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>schemas</td>
- <td><a href="#bytebase.v1.BranchSchemaMetadata">BranchSchemaMetadata</a></td>
- <td>repeated</td>
- <td><p>The schemas is the list of schemas in a database. </p></td>
- </tr>
-
- <tr>
- <td>character_set</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The character_set is the character set of a database. </p></td>
- </tr>
-
- <tr>
- <td>collation</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The collation is the collation of a database. </p></td>
- </tr>
-
- <tr>
- <td>extensions</td>
- <td><a href="#bytebase.v1.ExtensionMetadata">ExtensionMetadata</a></td>
- <td>repeated</td>
- <td><p>The extensions is the list of extensions in a database. </p></td>
- </tr>
-
- <tr>
- <td>datashare</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The database belongs to a datashare. </p></td>
- </tr>
-
- <tr>
- <td>service_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The service name of the database. It&#39;s the Oracle specific concept. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchDependentColumn">BranchDependentColumn</h3>
- <p>BranchDependentColumn is the metadata for dependent columns used in branch.</p>
-
-
- <table class="field-table">
- <thead>
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The schema is the schema of a reference column. </p></td>
- </tr>
-
- <tr>
- <td>table</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The table is the table of a reference column. </p></td>
- </tr>
-
- <tr>
- <td>column</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The column is the name of a reference column. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchExtensionMetadata">BranchExtensionMetadata</h3>
- <p>BranchExtensionMetadata is the metadata for extensions used in branch.</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 is the name of an extension. </p></td>
- </tr>
-
- <tr>
- <td>schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The schema is the extension that is installed to. But the extension usage is not limited to the schema. </p></td>
- </tr>
-
- <tr>
- <td>version</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The version is the version of an extension. </p></td>
- </tr>
-
- <tr>
- <td>description</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The description is the description of an extension. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchExternalTableMetadata">BranchExternalTableMetadata</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 is the name of a external table. </p></td>
- </tr>
-
- <tr>
- <td>external_server_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The external_server_name is the name of the external server. </p></td>
- </tr>
-
- <tr>
- <td>external_database_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The external_database_name is the name of the external database. </p></td>
- </tr>
-
- <tr>
- <td>columns</td>
- <td><a href="#bytebase.v1.BranchColumnMetadata">BranchColumnMetadata</a></td>
- <td>repeated</td>
- <td><p>The columns is the ordered list of columns in a foreign table. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchForeignKeyMetadata">BranchForeignKeyMetadata</h3>
- <p>BranchForeignKeyMetadata is the metadata for foreign keys used in branch.</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 is the name of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>columns</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The columns are the ordered referencing columns of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>referenced_schema</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The referenced_schema is the referenced schema name of a foreign key.
-It is an empty string for databases without such concept such as MySQL. </p></td>
- </tr>
-
- <tr>
- <td>referenced_table</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The referenced_table is the referenced table name of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>referenced_columns</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The referenced_columns are the ordered referenced columns of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>on_delete</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The on_delete is the on delete action of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>on_update</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The on_update is the on update action of a foreign key. </p></td>
- </tr>
-
- <tr>
- <td>match_type</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The match_type is the match type of a foreign key.
-The match_type is the PostgreSQL specific field.
-It&#39;s empty string for other databases. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchFunctionMetadata">BranchFunctionMetadata</h3>
- <p>BranchFunctionMetadata is the metadata for functions used in branch.</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 is the name of a function. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a function. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchIndexMetadata">BranchIndexMetadata</h3>
- <p>BranchIndexMetadata is the metadata for indexes used in branch.</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 is the name of an index. </p></td>
- </tr>
-
- <tr>
- <td>expressions</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The expressions are the ordered columns or expressions of an index.
-This could refer to a column or an expression. </p></td>
- </tr>
-
- <tr>
- <td>key_length</td>
- <td><a href="#int64">int64</a></td>
- <td>repeated</td>
- <td><p>The key_lengths are the ordered key lengths of an index.
-If the key length is not specified, it&#39;s -1. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The type is the type of an index. </p></td>
- </tr>
-
- <tr>
- <td>unique</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The unique is whether the index is unique. </p></td>
- </tr>
-
- <tr>
- <td>primary</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The primary is whether the index is a primary key index. </p></td>
- </tr>
-
- <tr>
- <td>visible</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>The visible is whether the index is visible. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of an index. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition of an index. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchMaterializedViewMetadata">BranchMaterializedViewMetadata</h3>
- <p>BranchMaterializedViewMetadata is the metadata for materialized views used in branch.</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 is the name of a view. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a view. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a view. </p></td>
- </tr>
-
- <tr>
- <td>dependent_columns</td>
- <td><a href="#bytebase.v1.BranchDependentColumn">BranchDependentColumn</a></td>
- <td>repeated</td>
- <td><p>The dependent_columns is the list of dependent columns of a view. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchProcedureMetadata">BranchProcedureMetadata</h3>
- <p>BranchProcedureMetadata is the metadata for procedures used in branch.</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 is the name of a procedure. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a procedure. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchSchemaMetadata">BranchSchemaMetadata</h3>
- <p>BranchSchemaMetadata is the metadata for schemas used in branch.</p><p>This is the concept of schema in Postgres, but it's a no-op for MySQL.</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 is the schema name.
-It is an empty string for databases without such concept such as MySQL. </p></td>
- </tr>
-
- <tr>
- <td>tables</td>
- <td><a href="#bytebase.v1.BranchTableMetadata">BranchTableMetadata</a></td>
- <td>repeated</td>
- <td><p>The tables is the list of tables in a schema. </p></td>
- </tr>
-
- <tr>
- <td>external_tables</td>
- <td><a href="#bytebase.v1.BranchExternalTableMetadata">BranchExternalTableMetadata</a></td>
- <td>repeated</td>
- <td><p>The external_tables is the list of external tables in a schema. </p></td>
- </tr>
-
- <tr>
- <td>views</td>
- <td><a href="#bytebase.v1.BranchViewMetadata">BranchViewMetadata</a></td>
- <td>repeated</td>
- <td><p>The views is the list of views in a schema. </p></td>
- </tr>
-
- <tr>
- <td>functions</td>
- <td><a href="#bytebase.v1.BranchFunctionMetadata">BranchFunctionMetadata</a></td>
- <td>repeated</td>
- <td><p>The functions is the list of functions in a schema. </p></td>
- </tr>
-
- <tr>
- <td>procedures</td>
- <td><a href="#bytebase.v1.BranchProcedureMetadata">BranchProcedureMetadata</a></td>
- <td>repeated</td>
- <td><p>The procedures is the list of procedures in a schema. </p></td>
- </tr>
-
- <tr>
- <td>streams</td>
- <td><a href="#bytebase.v1.BranchStreamMetadata">BranchStreamMetadata</a></td>
- <td>repeated</td>
- <td><p>The streams is the list of streams in a schema, currently, only used for Snowflake. </p></td>
- </tr>
-
- <tr>
- <td>tasks</td>
- <td><a href="#bytebase.v1.BranchTaskMetadata">BranchTaskMetadata</a></td>
- <td>repeated</td>
- <td><p>The routines is the list of routines in a schema, currently, only used for Snowflake. </p></td>
- </tr>
-
- <tr>
- <td>materialized_views</td>
- <td><a href="#bytebase.v1.BranchMaterializedViewMetadata">BranchMaterializedViewMetadata</a></td>
- <td>repeated</td>
- <td><p>The materialized_views is the list of materialized views in a schema. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchStreamMetadata">BranchStreamMetadata</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 is the name of a stream. </p></td>
- </tr>
-
- <tr>
- <td>table_name</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The table_name is the name of the table/view that the stream is created on. </p></td>
- </tr>
-
- <tr>
- <td>owner</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The owner of the stream. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment of the stream. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#bytebase.v1.BranchStreamMetadata.Type">BranchStreamMetadata.Type</a></td>
- <td></td>
- <td><p>The type of the stream. </p></td>
- </tr>
-
- <tr>
- <td>stale</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>Indicates whether the stream was last read before the `stale_after` time. </p></td>
- </tr>
-
- <tr>
- <td>mode</td>
- <td><a href="#bytebase.v1.BranchStreamMetadata.Mode">BranchStreamMetadata.Mode</a></td>
- <td></td>
- <td><p>The mode of the stream. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition of the stream. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchTableMetadata">BranchTableMetadata</h3>
- <p>BranchTableMetadata is the metadata for tables used in branch.</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 is the name of a table. </p></td>
- </tr>
-
- <tr>
- <td>columns</td>
- <td><a href="#bytebase.v1.BranchColumnMetadata">BranchColumnMetadata</a></td>
- <td>repeated</td>
- <td><p>The columns is the ordered list of columns in a table. </p></td>
- </tr>
-
- <tr>
- <td>indexes</td>
- <td><a href="#bytebase.v1.BranchIndexMetadata">BranchIndexMetadata</a></td>
- <td>repeated</td>
- <td><p>The indexes is the list of indexes in a table. </p></td>
- </tr>
-
- <tr>
- <td>engine</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The engine is the engine of a table. </p></td>
- </tr>
-
- <tr>
- <td>collation</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The collation is the collation of a table. </p></td>
- </tr>
-
- <tr>
- <td>row_count</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The row_count is the estimated number of rows of a table. </p></td>
- </tr>
-
- <tr>
- <td>data_size</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The data_size is the estimated data size of a table. </p></td>
- </tr>
-
- <tr>
- <td>index_size</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The index_size is the estimated index size of a table. </p></td>
- </tr>
-
- <tr>
- <td>data_free</td>
- <td><a href="#int64">int64</a></td>
- <td></td>
- <td><p>The data_free is the estimated free data size of a table. </p></td>
- </tr>
-
- <tr>
- <td>create_options</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The create_options is the create option of a table. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a table.
-classification and user_comment is parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>classification</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The classification is the classification of a table parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>user_comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The user_comment is the user comment of a table parsed from the comment. </p></td>
- </tr>
-
- <tr>
- <td>foreign_keys</td>
- <td><a href="#bytebase.v1.BranchForeignKeyMetadata">BranchForeignKeyMetadata</a></td>
- <td>repeated</td>
- <td><p>The foreign_keys is the list of foreign keys in a table. </p></td>
- </tr>
-
- <tr>
- <td>partitions</td>
- <td><a href="#bytebase.v1.BranchTablePartitionMetadata">BranchTablePartitionMetadata</a></td>
- <td>repeated</td>
- <td><p>The partitions is the list of partitions in a table. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchTablePartitionMetadata">BranchTablePartitionMetadata</h3>
- <p>BranchTablePartitionMetadata is the metadata for table partitions used in branch.</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 is the name of a table partition. </p></td>
- </tr>
-
- <tr>
- <td>type</td>
- <td><a href="#bytebase.v1.BranchTablePartitionMetadata.Type">BranchTablePartitionMetadata.Type</a></td>
- <td></td>
- <td><p>The type of a table partition. </p></td>
- </tr>
-
- <tr>
- <td>expression</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The expression is the expression of a table partition.
-For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
-For MySQL, the expression is the `expr` or `column_list` of the following syntax.
-PARTITION BY
- { [LINEAR] HASH(expr)
- | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- | RANGE{(expr) | COLUMNS(column_list)}
- | LIST{(expr) | COLUMNS(column_list)} }. </p></td>
- </tr>
-
- <tr>
- <td>value</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The value is the value of a table partition.
-For MySQL, the value is for RANGE and LIST partition types,
-- For a RANGE partition, it contains the value set in the partition&#39;s VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
-- For a LIST partition, this column contains the values defined in the partition&#39;s VALUES IN clause, which is a list of comma-separated integer values.
-- For others, it&#39;s an empty string. </p></td>
- </tr>
-
- <tr>
- <td>use_default</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The use_default is whether the users use the default partition, it stores the different value for different database engines.
-For MySQL, it&#39;s [INT] type, 0 means not use default partition, otherwise, it&#39;s equals to number in syntax [SUB]PARTITION {number}. </p></td>
- </tr>
-
- <tr>
- <td>subpartitions</td>
- <td><a href="#bytebase.v1.BranchTablePartitionMetadata">BranchTablePartitionMetadata</a></td>
- <td>repeated</td>
- <td><p>The subpartitions is the list of subpartitions in a table partition. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchTaskMetadata">BranchTaskMetadata</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 is the name of a task. </p></td>
- </tr>
-
- <tr>
- <td>id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The id is the snowflake-generated id of a task.
-Example: 01ad32a0-1bb6-5e93-0000-000000000001 </p></td>
- </tr>
-
- <tr>
- <td>owner</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The owner of the task. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment of the task. </p></td>
- </tr>
-
- <tr>
- <td>warehouse</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The warehouse of the task. </p></td>
- </tr>
-
- <tr>
- <td>schedule</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The schedule interval of the task. </p></td>
- </tr>
-
- <tr>
- <td>predecessors</td>
- <td><a href="#string">string</a></td>
- <td>repeated</td>
- <td><p>The predecessor tasks of the task. </p></td>
- </tr>
-
- <tr>
- <td>state</td>
- <td><a href="#bytebase.v1.BranchTaskMetadata.State">BranchTaskMetadata.State</a></td>
- <td></td>
- <td><p>The state of the task. </p></td>
- </tr>
-
- <tr>
- <td>condition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The condition of the task. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition of the task. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.BranchViewMetadata">BranchViewMetadata</h3>
- <p>BranchViewMetadata is the metadata for views used in branch.</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 is the name of a view. </p></td>
- </tr>
-
- <tr>
- <td>definition</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The definition is the definition of a view. </p></td>
- </tr>
-
- <tr>
- <td>comment</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The comment is the comment of a view. </p></td>
- </tr>
-
- <tr>
- <td>dependent_columns</td>
- <td><a href="#bytebase.v1.BranchDependentColumn">BranchDependentColumn</a></td>
- <td>repeated</td>
- <td><p>The dependent_columns is the list of dependent columns of a view. </p></td>
- </tr>
-
- <tr>
- <td>updater</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The last updater of the object.
-Format: users/{email} </p></td>
- </tr>
-
- <tr>
- <td>update_time</td>
- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
- <td></td>
- <td><p>The timestamp when the object was last updated. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.CreateBranchRequest">CreateBranchRequest</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, which owns this collection of branches.
-Format: project/{project} </p></td>
- </tr>
-
- <tr>
- <td>branch</td>
- <td><a href="#bytebase.v1.Branch">Branch</a></td>
- <td></td>
- <td><p> </p></td>
- </tr>
-
- <tr>
- <td>branch_id</td>
- <td><a href="#string">string</a></td>
- <td></td>
- <td><p>The ID to use for the branch, which will become the final component of
-the branch&#39;s resource name.
-Format: [a-zA-Z][a-zA-Z0-9-_/]&#43;. </p></td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
-
- <h3 id="bytebase.v1.DeleteBranchRequest">DeleteBranchRequest</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 branch to delete.
-Format: projects/{project}/branches/{branch} </p></td>
+ <td><p>The name of the branch to delete.
+Format: projects/{project}/branches/{branch} </p></td>
</tr>
<tr>
@@ -11931,158 +10891,6 @@ The etag should be specified for using merged_schema. The etag should be the eta
- <h3 id="bytebase.v1.BranchStreamMetadata.Mode">BranchStreamMetadata.Mode</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>MODE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>MODE_DEFAULT</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>MODE_APPEND_ONLY</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>MODE_INSERT_ONLY</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.BranchStreamMetadata.Type">BranchStreamMetadata.Type</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>TYPE_DELTA</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.BranchTablePartitionMetadata.Type">BranchTablePartitionMetadata.Type</h3>
- <p>Type is the type of a table partition, some database engines may not support all types.</p><p>Only avilable for the following database engines now:</p><p>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)</p><p>TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY</p><p>PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)</p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>TYPE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>RANGE</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>RANGE_COLUMNS</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LIST</td>
- <td>3</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LIST_COLUMNS</td>
- <td>4</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>HASH</td>
- <td>5</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LINEAR_HASH</td>
- <td>6</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>KEY</td>
- <td>7</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>LINEAR_KEY</td>
- <td>8</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
- <h3 id="bytebase.v1.BranchTaskMetadata.State">BranchTaskMetadata.State</h3>
- <p></p>
- <table class="enum-table">
- <thead>
- <tr><td>Name</td><td>Number</td><td>Description</td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td>STATE_UNSPECIFIED</td>
- <td>0</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>STATE_STARTED</td>
- <td>1</td>
- <td><p></p></td>
- </tr>
-
- <tr>
- <td>STATE_SUSPENDED</td>
- <td>2</td>
- <td><p></p></td>
- </tr>
-
- </tbody>
- </table>
-
<h3 id="bytebase.v1.BranchView">BranchView</h3>
<p></p>
<table class="enum-table">
diff --git a/proto/generated-go/store/branch.pb.go b/proto/generated-go/store/branch.pb.go
index d84af4da14..2854ed68f0 100644
--- a/proto/generated-go/store/branch.pb.go
+++ b/proto/generated-go/store/branch.pb.go
@@ -7,11 +7,8 @@
package store
import (
- _ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
reflect "reflect"
sync "sync"
)
@@ -23,1942 +20,32 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
-type BranchTaskMetadata_State int32
-
-const (
- BranchTaskMetadata_STATE_UNSPECIFIED BranchTaskMetadata_State = 0
- BranchTaskMetadata_STATE_STARTED BranchTaskMetadata_State = 1
- BranchTaskMetadata_STATE_SUSPENDED BranchTaskMetadata_State = 2
-)
-
-// Enum value maps for BranchTaskMetadata_State.
-var (
- BranchTaskMetadata_State_name = map[int32]string{
- 0: "STATE_UNSPECIFIED",
- 1: "STATE_STARTED",
- 2: "STATE_SUSPENDED",
- }
- BranchTaskMetadata_State_value = map[string]int32{
- "STATE_UNSPECIFIED": 0,
- "STATE_STARTED": 1,
- "STATE_SUSPENDED": 2,
- }
-)
-
-func (x BranchTaskMetadata_State) Enum() *BranchTaskMetadata_State {
- p := new(BranchTaskMetadata_State)
- *p = x
- return p
-}
-
-func (x BranchTaskMetadata_State) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchTaskMetadata_State) Descriptor() protoreflect.EnumDescriptor {
- return file_store_branch_proto_enumTypes[0].Descriptor()
-}
-
-func (BranchTaskMetadata_State) Type() protoreflect.EnumType {
- return &file_store_branch_proto_enumTypes[0]
-}
-
-func (x BranchTaskMetadata_State) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchTaskMetadata_State.Descriptor instead.
-func (BranchTaskMetadata_State) EnumDescriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{4, 0}
-}
-
-type BranchStreamMetadata_Type int32
-
-const (
- BranchStreamMetadata_TYPE_UNSPECIFIED BranchStreamMetadata_Type = 0
- BranchStreamMetadata_TYPE_DELTA BranchStreamMetadata_Type = 1
-)
-
-// Enum value maps for BranchStreamMetadata_Type.
-var (
- BranchStreamMetadata_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "TYPE_DELTA",
- }
- BranchStreamMetadata_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "TYPE_DELTA": 1,
- }
-)
-
-func (x BranchStreamMetadata_Type) Enum() *BranchStreamMetadata_Type {
- p := new(BranchStreamMetadata_Type)
- *p = x
- return p
-}
-
-func (x BranchStreamMetadata_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchStreamMetadata_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_store_branch_proto_enumTypes[1].Descriptor()
-}
-
-func (BranchStreamMetadata_Type) Type() protoreflect.EnumType {
- return &file_store_branch_proto_enumTypes[1]
-}
-
-func (x BranchStreamMetadata_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchStreamMetadata_Type.Descriptor instead.
-func (BranchStreamMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{5, 0}
-}
-
-type BranchStreamMetadata_Mode int32
-
-const (
- BranchStreamMetadata_MODE_UNSPECIFIED BranchStreamMetadata_Mode = 0
- BranchStreamMetadata_MODE_DEFAULT BranchStreamMetadata_Mode = 1
- BranchStreamMetadata_MODE_APPEND_ONLY BranchStreamMetadata_Mode = 2
- BranchStreamMetadata_MODE_INSERT_ONLY BranchStreamMetadata_Mode = 3
-)
-
-// Enum value maps for BranchStreamMetadata_Mode.
-var (
- BranchStreamMetadata_Mode_name = map[int32]string{
- 0: "MODE_UNSPECIFIED",
- 1: "MODE_DEFAULT",
- 2: "MODE_APPEND_ONLY",
- 3: "MODE_INSERT_ONLY",
- }
- BranchStreamMetadata_Mode_value = map[string]int32{
- "MODE_UNSPECIFIED": 0,
- "MODE_DEFAULT": 1,
- "MODE_APPEND_ONLY": 2,
- "MODE_INSERT_ONLY": 3,
- }
-)
-
-func (x BranchStreamMetadata_Mode) Enum() *BranchStreamMetadata_Mode {
- p := new(BranchStreamMetadata_Mode)
- *p = x
- return p
-}
-
-func (x BranchStreamMetadata_Mode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchStreamMetadata_Mode) Descriptor() protoreflect.EnumDescriptor {
- return file_store_branch_proto_enumTypes[2].Descriptor()
-}
-
-func (BranchStreamMetadata_Mode) Type() protoreflect.EnumType {
- return &file_store_branch_proto_enumTypes[2]
-}
-
-func (x BranchStreamMetadata_Mode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchStreamMetadata_Mode.Descriptor instead.
-func (BranchStreamMetadata_Mode) EnumDescriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{5, 1}
-}
-
-// 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)
-// TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
-// PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
-type BranchTablePartitionMetadata_Type int32
-
-const (
- BranchTablePartitionMetadata_TYPE_UNSPECIFIED BranchTablePartitionMetadata_Type = 0
- BranchTablePartitionMetadata_RANGE BranchTablePartitionMetadata_Type = 1
- BranchTablePartitionMetadata_RANGE_COLUMNS BranchTablePartitionMetadata_Type = 2
- BranchTablePartitionMetadata_LIST BranchTablePartitionMetadata_Type = 3
- BranchTablePartitionMetadata_LIST_COLUMNS BranchTablePartitionMetadata_Type = 4
- BranchTablePartitionMetadata_HASH BranchTablePartitionMetadata_Type = 5
- BranchTablePartitionMetadata_LINEAR_HASH BranchTablePartitionMetadata_Type = 6
- BranchTablePartitionMetadata_KEY BranchTablePartitionMetadata_Type = 7
- BranchTablePartitionMetadata_LINEAR_KEY BranchTablePartitionMetadata_Type = 8
-)
-
-// Enum value maps for BranchTablePartitionMetadata_Type.
-var (
- BranchTablePartitionMetadata_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "RANGE",
- 2: "RANGE_COLUMNS",
- 3: "LIST",
- 4: "LIST_COLUMNS",
- 5: "HASH",
- 6: "LINEAR_HASH",
- 7: "KEY",
- 8: "LINEAR_KEY",
- }
- BranchTablePartitionMetadata_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "RANGE": 1,
- "RANGE_COLUMNS": 2,
- "LIST": 3,
- "LIST_COLUMNS": 4,
- "HASH": 5,
- "LINEAR_HASH": 6,
- "KEY": 7,
- "LINEAR_KEY": 8,
- }
-)
-
-func (x BranchTablePartitionMetadata_Type) Enum() *BranchTablePartitionMetadata_Type {
- p := new(BranchTablePartitionMetadata_Type)
- *p = x
- return p
-}
-
-func (x BranchTablePartitionMetadata_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchTablePartitionMetadata_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_store_branch_proto_enumTypes[3].Descriptor()
-}
-
-func (BranchTablePartitionMetadata_Type) Type() protoreflect.EnumType {
- return &file_store_branch_proto_enumTypes[3]
-}
-
-func (x BranchTablePartitionMetadata_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchTablePartitionMetadata_Type.Descriptor instead.
-func (BranchTablePartitionMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{8, 0}
-}
-
-type BranchSnapshot struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Metadata *DatabaseSchemaMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
- DatabaseConfig *DatabaseConfig `protobuf:"bytes,2,opt,name=database_config,json=databaseConfig,proto3" json:"database_config,omitempty"`
-}
-
-func (x *BranchSnapshot) Reset() {
- *x = BranchSnapshot{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchSnapshot) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchSnapshot) ProtoMessage() {}
-
-func (x *BranchSnapshot) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchSnapshot.ProtoReflect.Descriptor instead.
-func (*BranchSnapshot) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *BranchSnapshot) GetMetadata() *DatabaseSchemaMetadata {
- if x != nil {
- return x.Metadata
- }
- return nil
-}
-
-func (x *BranchSnapshot) GetDatabaseConfig() *DatabaseConfig {
- if x != nil {
- return x.DatabaseConfig
- }
- return nil
-}
-
-type BranchConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of source database.
- // Optional.
- // Example: instances/instance-id/databases/database-name.
- SourceDatabase string `protobuf:"bytes,1,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"`
- // The name of the source branch.
- // Optional.
- // Example: projects/project-id/branches/branch-id.
- SourceBranch string `protobuf:"bytes,2,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`
-}
-
-func (x *BranchConfig) Reset() {
- *x = BranchConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchConfig) ProtoMessage() {}
-
-func (x *BranchConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchConfig.ProtoReflect.Descriptor instead.
-func (*BranchConfig) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *BranchConfig) GetSourceDatabase() string {
- if x != nil {
- return x.SourceDatabase
- }
- return ""
-}
-
-func (x *BranchConfig) GetSourceBranch() string {
- if x != nil {
- return x.SourceBranch
- }
- return ""
-}
-
-// BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.
-type BranchDatabaseSchemaMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The schemas is the list of schemas in a database.
- Schemas []*BranchSchemaMetadata `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
- // The character_set is the character set of a database.
- CharacterSet string `protobuf:"bytes,3,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"`
- // The collation is the collation of a database.
- Collation string `protobuf:"bytes,4,opt,name=collation,proto3" json:"collation,omitempty"`
- // The extensions is the list of extensions in a database.
- Extensions []*ExtensionMetadata `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`
- // The database belongs to a datashare.
- Datashare bool `protobuf:"varint,6,opt,name=datashare,proto3" json:"datashare,omitempty"`
- // The service name of the database. It's the Oracle specific concept.
- ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
-}
-
-func (x *BranchDatabaseSchemaMetadata) Reset() {
- *x = BranchDatabaseSchemaMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchDatabaseSchemaMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchDatabaseSchemaMetadata) ProtoMessage() {}
-
-func (x *BranchDatabaseSchemaMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchDatabaseSchemaMetadata.ProtoReflect.Descriptor instead.
-func (*BranchDatabaseSchemaMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetSchemas() []*BranchSchemaMetadata {
- if x != nil {
- return x.Schemas
- }
- return nil
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetCharacterSet() string {
- if x != nil {
- return x.CharacterSet
- }
- return ""
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetCollation() string {
- if x != nil {
- return x.Collation
- }
- return ""
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetExtensions() []*ExtensionMetadata {
- if x != nil {
- return x.Extensions
- }
- return nil
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetDatashare() bool {
- if x != nil {
- return x.Datashare
- }
- return false
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetServiceName() string {
- if x != nil {
- return x.ServiceName
- }
- return ""
-}
-
-// BranchSchemaMetadata is the metadata for schemas used in branch.
-// This is the concept of schema in Postgres, but it's a no-op for MySQL.
-type BranchSchemaMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the schema name.
- // It is an empty string for databases without such concept such as MySQL.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The tables is the list of tables in a schema.
- Tables []*BranchTableMetadata `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`
- // The external_tables is the list of external tables in a schema.
- ExternalTables []*BranchExternalTableMetadata `protobuf:"bytes,3,rep,name=external_tables,json=externalTables,proto3" json:"external_tables,omitempty"`
- // The views is the list of views in a schema.
- Views []*BranchViewMetadata `protobuf:"bytes,4,rep,name=views,proto3" json:"views,omitempty"`
- // The functions is the list of functions in a schema.
- Functions []*BranchFunctionMetadata `protobuf:"bytes,5,rep,name=functions,proto3" json:"functions,omitempty"`
- // The procedures is the list of procedures in a schema.
- Procedures []*BranchProcedureMetadata `protobuf:"bytes,6,rep,name=procedures,proto3" json:"procedures,omitempty"`
- // The streams is the list of streams in a schema, currently, only used for Snowflake.
- Streams []*BranchStreamMetadata `protobuf:"bytes,7,rep,name=streams,proto3" json:"streams,omitempty"`
- // The routines is the list of routines in a schema, currently, only used for Snowflake.
- Tasks []*BranchTaskMetadata `protobuf:"bytes,8,rep,name=tasks,proto3" json:"tasks,omitempty"`
- // The materialized_views is the list of materialized views in a schema.
- MaterializedViews []*BranchMaterializedViewMetadata `protobuf:"bytes,9,rep,name=materialized_views,json=materializedViews,proto3" json:"materialized_views,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,10,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchSchemaMetadata) Reset() {
- *x = BranchSchemaMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchSchemaMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchSchemaMetadata) ProtoMessage() {}
-
-func (x *BranchSchemaMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchSchemaMetadata.ProtoReflect.Descriptor instead.
-func (*BranchSchemaMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *BranchSchemaMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchSchemaMetadata) GetTables() []*BranchTableMetadata {
- if x != nil {
- return x.Tables
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetExternalTables() []*BranchExternalTableMetadata {
- if x != nil {
- return x.ExternalTables
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetViews() []*BranchViewMetadata {
- if x != nil {
- return x.Views
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetFunctions() []*BranchFunctionMetadata {
- if x != nil {
- return x.Functions
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetProcedures() []*BranchProcedureMetadata {
- if x != nil {
- return x.Procedures
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetStreams() []*BranchStreamMetadata {
- if x != nil {
- return x.Streams
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetTasks() []*BranchTaskMetadata {
- if x != nil {
- return x.Tasks
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetMaterializedViews() []*BranchMaterializedViewMetadata {
- if x != nil {
- return x.MaterializedViews
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchSchemaMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-type BranchTaskMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a task.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The id is the snowflake-generated id of a task.
- // Example: 01ad32a0-1bb6-5e93-0000-000000000001
- Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
- // The owner of the task.
- Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
- // The comment of the task.
- Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
- // The warehouse of the task.
- Warehouse string `protobuf:"bytes,5,opt,name=warehouse,proto3" json:"warehouse,omitempty"`
- // The schedule interval of the task.
- Schedule string `protobuf:"bytes,6,opt,name=schedule,proto3" json:"schedule,omitempty"`
- // The predecessor tasks of the task.
- Predecessors []string `protobuf:"bytes,7,rep,name=predecessors,proto3" json:"predecessors,omitempty"`
- // The state of the task.
- State BranchTaskMetadata_State `protobuf:"varint,8,opt,name=state,proto3,enum=bytebase.store.BranchTaskMetadata_State" json:"state,omitempty"`
- // The condition of the task.
- Condition string `protobuf:"bytes,9,opt,name=condition,proto3" json:"condition,omitempty"`
- // The definition of the task.
- Definition string `protobuf:"bytes,10,opt,name=definition,proto3" json:"definition,omitempty"`
-}
-
-func (x *BranchTaskMetadata) Reset() {
- *x = BranchTaskMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchTaskMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchTaskMetadata) ProtoMessage() {}
-
-func (x *BranchTaskMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchTaskMetadata.ProtoReflect.Descriptor instead.
-func (*BranchTaskMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *BranchTaskMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetOwner() string {
- if x != nil {
- return x.Owner
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetWarehouse() string {
- if x != nil {
- return x.Warehouse
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetSchedule() string {
- if x != nil {
- return x.Schedule
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetPredecessors() []string {
- if x != nil {
- return x.Predecessors
- }
- return nil
-}
-
-func (x *BranchTaskMetadata) GetState() BranchTaskMetadata_State {
- if x != nil {
- return x.State
- }
- return BranchTaskMetadata_STATE_UNSPECIFIED
-}
-
-func (x *BranchTaskMetadata) GetCondition() string {
- if x != nil {
- return x.Condition
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-type BranchStreamMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a stream.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The table_name is the name of the table/view that the stream is created on.
- TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
- // The owner of the stream.
- Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
- // The comment of the stream.
- Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
- // The type of the stream.
- Type BranchStreamMetadata_Type `protobuf:"varint,5,opt,name=type,proto3,enum=bytebase.store.BranchStreamMetadata_Type" json:"type,omitempty"`
- // Indicates whether the stream was last read before the `stale_after` time.
- Stale bool `protobuf:"varint,6,opt,name=stale,proto3" json:"stale,omitempty"`
- // The mode of the stream.
- Mode BranchStreamMetadata_Mode `protobuf:"varint,7,opt,name=mode,proto3,enum=bytebase.store.BranchStreamMetadata_Mode" json:"mode,omitempty"`
- // The definition of the stream.
- Definition string `protobuf:"bytes,8,opt,name=definition,proto3" json:"definition,omitempty"`
-}
-
-func (x *BranchStreamMetadata) Reset() {
- *x = BranchStreamMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchStreamMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchStreamMetadata) ProtoMessage() {}
-
-func (x *BranchStreamMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchStreamMetadata.ProtoReflect.Descriptor instead.
-func (*BranchStreamMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *BranchStreamMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetTableName() string {
- if x != nil {
- return x.TableName
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetOwner() string {
- if x != nil {
- return x.Owner
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetType() BranchStreamMetadata_Type {
- if x != nil {
- return x.Type
- }
- return BranchStreamMetadata_TYPE_UNSPECIFIED
-}
-
-func (x *BranchStreamMetadata) GetStale() bool {
- if x != nil {
- return x.Stale
- }
- return false
-}
-
-func (x *BranchStreamMetadata) GetMode() BranchStreamMetadata_Mode {
- if x != nil {
- return x.Mode
- }
- return BranchStreamMetadata_MODE_UNSPECIFIED
-}
-
-func (x *BranchStreamMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-// BranchTableMetadata is the metadata for tables used in branch.
-type BranchTableMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a table.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The columns is the ordered list of columns in a table.
- Columns []*BranchColumnMetadata `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
- // The indexes is the list of indexes in a table.
- Indexes []*BranchIndexMetadata `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"`
- // The engine is the engine of a table.
- Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
- // The collation is the collation of a table.
- Collation string `protobuf:"bytes,5,opt,name=collation,proto3" json:"collation,omitempty"`
- // The row_count is the estimated number of rows of a table.
- RowCount int64 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
- // The data_size is the estimated data size of a table.
- DataSize int64 `protobuf:"varint,7,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
- // The index_size is the estimated index size of a table.
- IndexSize int64 `protobuf:"varint,8,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
- // The data_free is the estimated free data size of a table.
- DataFree int64 `protobuf:"varint,9,opt,name=data_free,json=dataFree,proto3" json:"data_free,omitempty"`
- // The create_options is the create option of a table.
- CreateOptions string `protobuf:"bytes,10,opt,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
- // The comment is the comment of a table.
- // classification and user_comment is parsed from the comment.
- Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"`
- // The classification is the classification of a table parsed from the comment.
- Classification string `protobuf:"bytes,13,opt,name=classification,proto3" json:"classification,omitempty"`
- // The user_comment is the user comment of a table parsed from the comment.
- UserComment string `protobuf:"bytes,14,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`
- // The foreign_keys is the list of foreign keys in a table.
- ForeignKeys []*BranchForeignKeyMetadata `protobuf:"bytes,12,rep,name=foreign_keys,json=foreignKeys,proto3" json:"foreign_keys,omitempty"`
- // The partitions is the list of partitions in a table.
- Partitions []*BranchTablePartitionMetadata `protobuf:"bytes,15,rep,name=partitions,proto3" json:"partitions,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,16,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchTableMetadata) Reset() {
- *x = BranchTableMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchTableMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchTableMetadata) ProtoMessage() {}
-
-func (x *BranchTableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchTableMetadata.ProtoReflect.Descriptor instead.
-func (*BranchTableMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *BranchTableMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetColumns() []*BranchColumnMetadata {
- if x != nil {
- return x.Columns
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetIndexes() []*BranchIndexMetadata {
- if x != nil {
- return x.Indexes
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetEngine() string {
- if x != nil {
- return x.Engine
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetCollation() string {
- if x != nil {
- return x.Collation
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetRowCount() int64 {
- if x != nil {
- return x.RowCount
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetDataSize() int64 {
- if x != nil {
- return x.DataSize
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetIndexSize() int64 {
- if x != nil {
- return x.IndexSize
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetDataFree() int64 {
- if x != nil {
- return x.DataFree
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetCreateOptions() string {
- if x != nil {
- return x.CreateOptions
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetClassification() string {
- if x != nil {
- return x.Classification
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetUserComment() string {
- if x != nil {
- return x.UserComment
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetForeignKeys() []*BranchForeignKeyMetadata {
- if x != nil {
- return x.ForeignKeys
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetPartitions() []*BranchTablePartitionMetadata {
- if x != nil {
- return x.Partitions
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-type BranchExternalTableMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a external table.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The external_server_name is the name of the external server.
- ExternalServerName string `protobuf:"bytes,2,opt,name=external_server_name,json=externalServerName,proto3" json:"external_server_name,omitempty"`
- // The external_database_name is the name of the external database.
- ExternalDatabaseName string `protobuf:"bytes,3,opt,name=external_database_name,json=externalDatabaseName,proto3" json:"external_database_name,omitempty"`
- // The columns is the ordered list of columns in a foreign table.
- Columns []*BranchColumnMetadata `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
-}
-
-func (x *BranchExternalTableMetadata) Reset() {
- *x = BranchExternalTableMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchExternalTableMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchExternalTableMetadata) ProtoMessage() {}
-
-func (x *BranchExternalTableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchExternalTableMetadata.ProtoReflect.Descriptor instead.
-func (*BranchExternalTableMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *BranchExternalTableMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchExternalTableMetadata) GetExternalServerName() string {
- if x != nil {
- return x.ExternalServerName
- }
- return ""
-}
-
-func (x *BranchExternalTableMetadata) GetExternalDatabaseName() string {
- if x != nil {
- return x.ExternalDatabaseName
- }
- return ""
-}
-
-func (x *BranchExternalTableMetadata) GetColumns() []*BranchColumnMetadata {
- if x != nil {
- return x.Columns
- }
- return nil
-}
-
-// BranchTablePartitionMetadata is the metadata for table partitions used in branch.
-type BranchTablePartitionMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a table partition.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The type of a table partition.
- Type BranchTablePartitionMetadata_Type `protobuf:"varint,2,opt,name=type,proto3,enum=bytebase.store.BranchTablePartitionMetadata_Type" json:"type,omitempty"`
- // The expression is the expression of a table partition.
- // For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
- // For MySQL, the expression is the `expr` or `column_list` of the following syntax.
- // PARTITION BY
- //
- // { [LINEAR] HASH(expr)
- // | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- // | RANGE{(expr) | COLUMNS(column_list)}
- // | LIST{(expr) | COLUMNS(column_list)} }.
- Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
- // The value is the value of a table partition.
- // For MySQL, the value is for RANGE and LIST partition types,
- // - For a RANGE partition, it contains the value set in the partition's VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
- // - For a LIST partition, this column contains the values defined in the partition's VALUES IN clause, which is a list of comma-separated integer values.
- // - For others, it's an empty string.
- Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
- // The use_default is whether the users use the default partition, it stores the different value for different database engines.
- // For MySQL, it's [INT] type, 0 means not use default partition, otherwise, it's equals to number in syntax [SUB]PARTITION {number}.
- UseDefault string `protobuf:"bytes,5,opt,name=use_default,json=useDefault,proto3" json:"use_default,omitempty"`
- // The subpartitions is the list of subpartitions in a table partition.
- Subpartitions []*BranchTablePartitionMetadata `protobuf:"bytes,6,rep,name=subpartitions,proto3" json:"subpartitions,omitempty"`
-}
-
-func (x *BranchTablePartitionMetadata) Reset() {
- *x = BranchTablePartitionMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchTablePartitionMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchTablePartitionMetadata) ProtoMessage() {}
-
-func (x *BranchTablePartitionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchTablePartitionMetadata.ProtoReflect.Descriptor instead.
-func (*BranchTablePartitionMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *BranchTablePartitionMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetType() BranchTablePartitionMetadata_Type {
- if x != nil {
- return x.Type
- }
- return BranchTablePartitionMetadata_TYPE_UNSPECIFIED
-}
-
-func (x *BranchTablePartitionMetadata) GetExpression() string {
- if x != nil {
- return x.Expression
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetUseDefault() string {
- if x != nil {
- return x.UseDefault
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetSubpartitions() []*BranchTablePartitionMetadata {
- if x != nil {
- return x.Subpartitions
- }
- return nil
-}
-
-// BranchColumnMetadata is the metadata for columns used in branch.
-type BranchColumnMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a column.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The position is the position in columns.
- Position int32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
- // The default_value is the default value of a column.
- //
- // Types that are assignable to DefaultValue:
- //
- // *BranchColumnMetadata_Default
- // *BranchColumnMetadata_DefaultNull
- // *BranchColumnMetadata_DefaultExpression
- DefaultValue isBranchColumnMetadata_DefaultValue `protobuf_oneof:"default_value"`
- // The on_update is the on update action of a column.
- // For MySQL like databases, it's only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value.
- OnUpdate string `protobuf:"bytes,13,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
- // The nullable is the nullable of a column.
- Nullable bool `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
- // The type is the type of a column.
- Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
- // The character_set is the character_set of a column.
- CharacterSet string `protobuf:"bytes,8,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"`
- // The collation is the collation of a column.
- Collation string `protobuf:"bytes,9,opt,name=collation,proto3" json:"collation,omitempty"`
- // The comment is the comment of a column.
- // classification and user_comment is parsed from the comment.
- Comment string `protobuf:"bytes,10,opt,name=comment,proto3" json:"comment,omitempty"`
- // The classification is the classification of a table parsed from the comment.
- Classification string `protobuf:"bytes,11,opt,name=classification,proto3" json:"classification,omitempty"`
- // The user_comment is the user comment of a table parsed from the comment.
- UserComment string `protobuf:"bytes,12,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`
-}
-
-func (x *BranchColumnMetadata) Reset() {
- *x = BranchColumnMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchColumnMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchColumnMetadata) ProtoMessage() {}
-
-func (x *BranchColumnMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchColumnMetadata.ProtoReflect.Descriptor instead.
-func (*BranchColumnMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *BranchColumnMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetPosition() int32 {
- if x != nil {
- return x.Position
- }
- return 0
-}
-
-func (m *BranchColumnMetadata) GetDefaultValue() isBranchColumnMetadata_DefaultValue {
- if m != nil {
- return m.DefaultValue
- }
- return nil
-}
-
-func (x *BranchColumnMetadata) GetDefault() *wrapperspb.StringValue {
- if x, ok := x.GetDefaultValue().(*BranchColumnMetadata_Default); ok {
- return x.Default
- }
- return nil
-}
-
-func (x *BranchColumnMetadata) GetDefaultNull() bool {
- if x, ok := x.GetDefaultValue().(*BranchColumnMetadata_DefaultNull); ok {
- return x.DefaultNull
- }
- return false
-}
-
-func (x *BranchColumnMetadata) GetDefaultExpression() string {
- if x, ok := x.GetDefaultValue().(*BranchColumnMetadata_DefaultExpression); ok {
- return x.DefaultExpression
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetOnUpdate() string {
- if x != nil {
- return x.OnUpdate
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetNullable() bool {
- if x != nil {
- return x.Nullable
- }
- return false
-}
-
-func (x *BranchColumnMetadata) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetCharacterSet() string {
- if x != nil {
- return x.CharacterSet
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetCollation() string {
- if x != nil {
- return x.Collation
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetClassification() string {
- if x != nil {
- return x.Classification
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetUserComment() string {
- if x != nil {
- return x.UserComment
- }
- return ""
-}
-
-type isBranchColumnMetadata_DefaultValue interface {
- isBranchColumnMetadata_DefaultValue()
-}
-
-type BranchColumnMetadata_Default struct {
- // The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default.
- Default *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=default,proto3,oneof"`
-}
-
-type BranchColumnMetadata_DefaultNull struct {
- DefaultNull bool `protobuf:"varint,4,opt,name=default_null,json=defaultNull,proto3,oneof"`
-}
-
-type BranchColumnMetadata_DefaultExpression struct {
- DefaultExpression string `protobuf:"bytes,5,opt,name=default_expression,json=defaultExpression,proto3,oneof"`
-}
-
-func (*BranchColumnMetadata_Default) isBranchColumnMetadata_DefaultValue() {}
-
-func (*BranchColumnMetadata_DefaultNull) isBranchColumnMetadata_DefaultValue() {}
-
-func (*BranchColumnMetadata_DefaultExpression) isBranchColumnMetadata_DefaultValue() {}
-
-// BranchViewMetadata is the metadata for views used in branch.
-type BranchViewMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a view.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a view.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The comment is the comment of a view.
- Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
- // The dependent_columns is the list of dependent columns of a view.
- DependentColumns []*BranchDependentColumn `protobuf:"bytes,4,rep,name=dependent_columns,json=dependentColumns,proto3" json:"dependent_columns,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,5,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchViewMetadata) Reset() {
- *x = BranchViewMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchViewMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchViewMetadata) ProtoMessage() {}
-
-func (x *BranchViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchViewMetadata.ProtoReflect.Descriptor instead.
-func (*BranchViewMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *BranchViewMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetDependentColumns() []*BranchDependentColumn {
- if x != nil {
- return x.DependentColumns
- }
- return nil
-}
-
-func (x *BranchViewMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-// BranchDependentColumn is the metadata for dependent columns used in branch.
-type BranchDependentColumn struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The schema is the schema of a reference column.
- Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
- // The table is the table of a reference column.
- Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
- // The column is the name of a reference column.
- Column string `protobuf:"bytes,3,opt,name=column,proto3" json:"column,omitempty"`
-}
-
-func (x *BranchDependentColumn) Reset() {
- *x = BranchDependentColumn{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchDependentColumn) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchDependentColumn) ProtoMessage() {}
-
-func (x *BranchDependentColumn) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchDependentColumn.ProtoReflect.Descriptor instead.
-func (*BranchDependentColumn) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *BranchDependentColumn) GetSchema() string {
- if x != nil {
- return x.Schema
- }
- return ""
-}
-
-func (x *BranchDependentColumn) GetTable() string {
- if x != nil {
- return x.Table
- }
- return ""
-}
-
-func (x *BranchDependentColumn) GetColumn() string {
- if x != nil {
- return x.Column
- }
- return ""
-}
-
-// BranchMaterializedViewMetadata is the metadata for materialized views used in branch.
-type BranchMaterializedViewMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a view.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a view.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The comment is the comment of a view.
- Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
- // The dependent_columns is the list of dependent columns of a view.
- DependentColumns []*BranchDependentColumn `protobuf:"bytes,4,rep,name=dependent_columns,json=dependentColumns,proto3" json:"dependent_columns,omitempty"`
-}
-
-func (x *BranchMaterializedViewMetadata) Reset() {
- *x = BranchMaterializedViewMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchMaterializedViewMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchMaterializedViewMetadata) ProtoMessage() {}
-
-func (x *BranchMaterializedViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchMaterializedViewMetadata.ProtoReflect.Descriptor instead.
-func (*BranchMaterializedViewMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *BranchMaterializedViewMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchMaterializedViewMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchMaterializedViewMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchMaterializedViewMetadata) GetDependentColumns() []*BranchDependentColumn {
- if x != nil {
- return x.DependentColumns
- }
- return nil
-}
-
-// BranchFunctionMetadata is the metadata for functions used in branch.
-type BranchFunctionMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a function.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a function.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,3,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchFunctionMetadata) Reset() {
- *x = BranchFunctionMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchFunctionMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchFunctionMetadata) ProtoMessage() {}
-
-func (x *BranchFunctionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchFunctionMetadata.ProtoReflect.Descriptor instead.
-func (*BranchFunctionMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *BranchFunctionMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchFunctionMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchFunctionMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchFunctionMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-// BranchProcedureMetadata is the metadata for procedures used in branch.
-type BranchProcedureMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a procedure.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a procedure.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,3,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchProcedureMetadata) Reset() {
- *x = BranchProcedureMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchProcedureMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchProcedureMetadata) ProtoMessage() {}
-
-func (x *BranchProcedureMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchProcedureMetadata.ProtoReflect.Descriptor instead.
-func (*BranchProcedureMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{14}
-}
-
-func (x *BranchProcedureMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchProcedureMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchProcedureMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchProcedureMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-// BranchIndexMetadata is the metadata for indexes used in branch.
-type BranchIndexMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of an index.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The expressions are the ordered columns or expressions of an index.
- // This could refer to a column or an expression.
- Expressions []string `protobuf:"bytes,2,rep,name=expressions,proto3" json:"expressions,omitempty"`
- // The key_lengths are the ordered key lengths of an index.
- // If the key length is not specified, it's -1.
- KeyLength []int64 `protobuf:"varint,9,rep,packed,name=key_length,json=keyLength,proto3" json:"key_length,omitempty"`
- // The type is the type of an index.
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- // The unique is whether the index is unique.
- Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"`
- // The primary is whether the index is a primary key index.
- Primary bool `protobuf:"varint,5,opt,name=primary,proto3" json:"primary,omitempty"`
- // The visible is whether the index is visible.
- Visible bool `protobuf:"varint,6,opt,name=visible,proto3" json:"visible,omitempty"`
- // The comment is the comment of an index.
- Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
- // The definition of an index.
- Definition string `protobuf:"bytes,8,opt,name=definition,proto3" json:"definition,omitempty"`
-}
-
-func (x *BranchIndexMetadata) Reset() {
- *x = BranchIndexMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchIndexMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchIndexMetadata) ProtoMessage() {}
-
-func (x *BranchIndexMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchIndexMetadata.ProtoReflect.Descriptor instead.
-func (*BranchIndexMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *BranchIndexMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchIndexMetadata) GetExpressions() []string {
- if x != nil {
- return x.Expressions
- }
- return nil
-}
-
-func (x *BranchIndexMetadata) GetKeyLength() []int64 {
- if x != nil {
- return x.KeyLength
- }
- return nil
-}
-
-func (x *BranchIndexMetadata) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
-}
-
-func (x *BranchIndexMetadata) GetUnique() bool {
- if x != nil {
- return x.Unique
- }
- return false
-}
-
-func (x *BranchIndexMetadata) GetPrimary() bool {
- if x != nil {
- return x.Primary
- }
- return false
-}
-
-func (x *BranchIndexMetadata) GetVisible() bool {
- if x != nil {
- return x.Visible
- }
- return false
-}
-
-func (x *BranchIndexMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchIndexMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-// BranchExtensionMetadata is the metadata for extensions used in branch.
-type BranchExtensionMetadata struct {
+type BranchSnapshot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The name is the name of an extension.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The schema is the extension that is installed to. But the extension usage is not limited to the schema.
- Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
- // The version is the version of an extension.
- Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
- // The description is the description of an extension.
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
+ Metadata *DatabaseSchemaMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
+ DatabaseConfig *DatabaseConfig `protobuf:"bytes,2,opt,name=database_config,json=databaseConfig,proto3" json:"database_config,omitempty"`
}
-func (x *BranchExtensionMetadata) Reset() {
- *x = BranchExtensionMetadata{}
+func (x *BranchSnapshot) Reset() {
+ *x = BranchSnapshot{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[16]
+ mi := &file_store_branch_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *BranchExtensionMetadata) String() string {
+func (x *BranchSnapshot) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*BranchExtensionMetadata) ProtoMessage() {}
+func (*BranchSnapshot) ProtoMessage() {}
-func (x *BranchExtensionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[16]
+func (x *BranchSnapshot) ProtoReflect() protoreflect.Message {
+ mi := &file_store_branch_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1969,83 +56,57 @@ func (x *BranchExtensionMetadata) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use BranchExtensionMetadata.ProtoReflect.Descriptor instead.
-func (*BranchExtensionMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{16}
-}
-
-func (x *BranchExtensionMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchExtensionMetadata) GetSchema() string {
- if x != nil {
- return x.Schema
- }
- return ""
+// Deprecated: Use BranchSnapshot.ProtoReflect.Descriptor instead.
+func (*BranchSnapshot) Descriptor() ([]byte, []int) {
+ return file_store_branch_proto_rawDescGZIP(), []int{0}
}
-func (x *BranchExtensionMetadata) GetVersion() string {
+func (x *BranchSnapshot) GetMetadata() *DatabaseSchemaMetadata {
if x != nil {
- return x.Version
+ return x.Metadata
}
- return ""
+ return nil
}
-func (x *BranchExtensionMetadata) GetDescription() string {
+func (x *BranchSnapshot) GetDatabaseConfig() *DatabaseConfig {
if x != nil {
- return x.Description
+ return x.DatabaseConfig
}
- return ""
+ return nil
}
-// BranchForeignKeyMetadata is the metadata for foreign keys used in branch.
-type BranchForeignKeyMetadata struct {
+type BranchConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The name is the name of a foreign key.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The columns are the ordered referencing columns of a foreign key.
- Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
- // The referenced_schema is the referenced schema name of a foreign key.
- // It is an empty string for databases without such concept such as MySQL.
- ReferencedSchema string `protobuf:"bytes,3,opt,name=referenced_schema,json=referencedSchema,proto3" json:"referenced_schema,omitempty"`
- // The referenced_table is the referenced table name of a foreign key.
- ReferencedTable string `protobuf:"bytes,4,opt,name=referenced_table,json=referencedTable,proto3" json:"referenced_table,omitempty"`
- // The referenced_columns are the ordered referenced columns of a foreign key.
- ReferencedColumns []string `protobuf:"bytes,5,rep,name=referenced_columns,json=referencedColumns,proto3" json:"referenced_columns,omitempty"`
- // The on_delete is the on delete action of a foreign key.
- OnDelete string `protobuf:"bytes,6,opt,name=on_delete,json=onDelete,proto3" json:"on_delete,omitempty"`
- // The on_update is the on update action of a foreign key.
- OnUpdate string `protobuf:"bytes,7,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
- // The match_type is the match type of a foreign key.
- // The match_type is the PostgreSQL specific field.
- // It's empty string for other databases.
- MatchType string `protobuf:"bytes,8,opt,name=match_type,json=matchType,proto3" json:"match_type,omitempty"`
+ // The name of source database.
+ // Optional.
+ // Example: instances/instance-id/databases/database-name.
+ SourceDatabase string `protobuf:"bytes,1,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"`
+ // The name of the source branch.
+ // Optional.
+ // Example: projects/project-id/branches/branch-id.
+ SourceBranch string `protobuf:"bytes,2,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`
}
-func (x *BranchForeignKeyMetadata) Reset() {
- *x = BranchForeignKeyMetadata{}
+func (x *BranchConfig) Reset() {
+ *x = BranchConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_branch_proto_msgTypes[17]
+ mi := &file_store_branch_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *BranchForeignKeyMetadata) String() string {
+func (x *BranchConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*BranchForeignKeyMetadata) ProtoMessage() {}
+func (*BranchConfig) ProtoMessage() {}
-func (x *BranchForeignKeyMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_store_branch_proto_msgTypes[17]
+func (x *BranchConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_store_branch_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2056,63 +117,21 @@ func (x *BranchForeignKeyMetadata) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use BranchForeignKeyMetadata.ProtoReflect.Descriptor instead.
-func (*BranchForeignKeyMetadata) Descriptor() ([]byte, []int) {
- return file_store_branch_proto_rawDescGZIP(), []int{17}
-}
-
-func (x *BranchForeignKeyMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetColumns() []string {
- if x != nil {
- return x.Columns
- }
- return nil
-}
-
-func (x *BranchForeignKeyMetadata) GetReferencedSchema() string {
- if x != nil {
- return x.ReferencedSchema
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetReferencedTable() string {
- if x != nil {
- return x.ReferencedTable
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetReferencedColumns() []string {
- if x != nil {
- return x.ReferencedColumns
- }
- return nil
-}
-
-func (x *BranchForeignKeyMetadata) GetOnDelete() string {
- if x != nil {
- return x.OnDelete
- }
- return ""
+// Deprecated: Use BranchConfig.ProtoReflect.Descriptor instead.
+func (*BranchConfig) Descriptor() ([]byte, []int) {
+ return file_store_branch_proto_rawDescGZIP(), []int{1}
}
-func (x *BranchForeignKeyMetadata) GetOnUpdate() string {
+func (x *BranchConfig) GetSourceDatabase() string {
if x != nil {
- return x.OnUpdate
+ return x.SourceDatabase
}
return ""
}
-func (x *BranchForeignKeyMetadata) GetMatchType() string {
+func (x *BranchConfig) GetSourceBranch() string {
if x != nil {
- return x.MatchType
+ return x.SourceBranch
}
return ""
}
@@ -2122,367 +141,26 @@ var File_store_branch_proto protoreflect.FileDescriptor
var file_store_branch_proto_rawDesc = []byte{
0x0a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
- 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
- 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a,
- 0x0e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12,
- 0x42, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
- 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x64, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5c, 0x0a, 0x0c,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
- 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0xb9, 0x02, 0x0a, 0x1c, 0x42,
- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x3e, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
- 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12,
- 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65,
- 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61,
- 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68,
- 0x61, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc2, 0x05, 0x0a, 0x14, 0x42, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65,
- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73,
- 0x12, 0x54, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18,
- 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56, 0x69, 0x65,
- 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73,
- 0x12, 0x44, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x46, 0x75, 0x6e, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75, 0x6e,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64,
- 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e,
- 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x12,
- 0x3e, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
- 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12,
- 0x38, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x5d, 0x0a, 0x12, 0x6d, 0x61, 0x74,
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18,
- 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4d, 0x61, 0x74,
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69,
- 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x73, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
- 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x8c, 0x03, 0x0a, 0x12,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
- 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f,
- 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68,
- 0x6f, 0x75, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
- 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73,
- 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73,
- 0x73, 0x6f, 0x72, 0x73, 0x12, 0x3e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
- 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53,
- 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
- 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52,
- 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53,
- 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0xb7, 0x03, 0x0a, 0x14, 0x42,
- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
- 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x6d,
- 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
- 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
- 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45,
- 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10, 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65,
- 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44,
- 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45,
- 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x14,
- 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x5f, 0x4f, 0x4e,
- 0x4c, 0x59, 0x10, 0x03, 0x22, 0xde, 0x05, 0x0a, 0x13, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54,
- 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x3e, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
- 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
- 0x12, 0x3d, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
- 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12,
- 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75,
- 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12,
- 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b,
- 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x46, 0x72, 0x65, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e,
- 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72,
- 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42,
- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
- 0x4b, 0x65, 0x79, 0x73, 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x10, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x11, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x1b, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
- 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
- 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x65,
- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d,
- 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,
- 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
- 0x73, 0x22, 0xb1, 0x03, 0x0a, 0x1c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c,
- 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c,
- 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
- 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x12, 0x52, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61,
- 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61,
- 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
- 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45,
- 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55,
- 0x4d, 0x4e, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12,
- 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10,
- 0x04, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c,
- 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03,
- 0x4b, 0x45, 0x59, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f,
- 0x4b, 0x45, 0x59, 0x10, 0x08, 0x22, 0xdc, 0x03, 0x0a, 0x14, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
- 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38,
- 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52,
- 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00,
- 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x2f, 0x0a,
- 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
- 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b,
- 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
- 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e,
- 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63,
- 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74,
- 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,
- 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73,
- 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d,
- 0x65, 0x6e, 0x74, 0x42, 0x0f, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x22, 0x99, 0x02, 0x0a, 0x12, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56,
- 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x11, 0x64, 0x65, 0x70,
- 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, 0x65, 0x70, 0x65,
- 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70,
- 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1e, 0x0a,
- 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a,
- 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x42, 0x04,
- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
- 0x22, 0x5d, 0x0a, 0x15, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64,
- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x22,
- 0xc2, 0x01, 0x0a, 0x1e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
- 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x12, 0x52, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f,
- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61,
- 0x6e, 0x63, 0x68, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75,
- 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c,
- 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x16, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x46,
- 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x04, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x17, 0x42, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x84, 0x02, 0x0a, 0x13, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x72,
- 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x6c,
- 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x6b, 0x65, 0x79,
- 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e,
- 0x69, 0x71, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x71,
- 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07,
- 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76,
- 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x22, 0x81, 0x01, 0x0a, 0x17, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x02, 0x0a, 0x18, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x46,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 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, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12,
- 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x73, 0x63,
- 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x66, 0x65,
- 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x0a, 0x10,
- 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
- 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72,
- 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x43,
- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x42,
- 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f,
- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x0e, 0x42,
+ 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x42, 0x0a,
+ 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
+ 0x61, 0x12, 0x47, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5c, 0x0a, 0x0c, 0x42, 0x72,
+ 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72,
+ 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72,
+ 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65,
+ 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -2497,73 +175,21 @@ func file_store_branch_proto_rawDescGZIP() []byte {
return file_store_branch_proto_rawDescData
}
-var file_store_branch_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
-var file_store_branch_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
+var file_store_branch_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_store_branch_proto_goTypes = []interface{}{
- (BranchTaskMetadata_State)(0), // 0: bytebase.store.BranchTaskMetadata.State
- (BranchStreamMetadata_Type)(0), // 1: bytebase.store.BranchStreamMetadata.Type
- (BranchStreamMetadata_Mode)(0), // 2: bytebase.store.BranchStreamMetadata.Mode
- (BranchTablePartitionMetadata_Type)(0), // 3: bytebase.store.BranchTablePartitionMetadata.Type
- (*BranchSnapshot)(nil), // 4: bytebase.store.BranchSnapshot
- (*BranchConfig)(nil), // 5: bytebase.store.BranchConfig
- (*BranchDatabaseSchemaMetadata)(nil), // 6: bytebase.store.BranchDatabaseSchemaMetadata
- (*BranchSchemaMetadata)(nil), // 7: bytebase.store.BranchSchemaMetadata
- (*BranchTaskMetadata)(nil), // 8: bytebase.store.BranchTaskMetadata
- (*BranchStreamMetadata)(nil), // 9: bytebase.store.BranchStreamMetadata
- (*BranchTableMetadata)(nil), // 10: bytebase.store.BranchTableMetadata
- (*BranchExternalTableMetadata)(nil), // 11: bytebase.store.BranchExternalTableMetadata
- (*BranchTablePartitionMetadata)(nil), // 12: bytebase.store.BranchTablePartitionMetadata
- (*BranchColumnMetadata)(nil), // 13: bytebase.store.BranchColumnMetadata
- (*BranchViewMetadata)(nil), // 14: bytebase.store.BranchViewMetadata
- (*BranchDependentColumn)(nil), // 15: bytebase.store.BranchDependentColumn
- (*BranchMaterializedViewMetadata)(nil), // 16: bytebase.store.BranchMaterializedViewMetadata
- (*BranchFunctionMetadata)(nil), // 17: bytebase.store.BranchFunctionMetadata
- (*BranchProcedureMetadata)(nil), // 18: bytebase.store.BranchProcedureMetadata
- (*BranchIndexMetadata)(nil), // 19: bytebase.store.BranchIndexMetadata
- (*BranchExtensionMetadata)(nil), // 20: bytebase.store.BranchExtensionMetadata
- (*BranchForeignKeyMetadata)(nil), // 21: bytebase.store.BranchForeignKeyMetadata
- (*DatabaseSchemaMetadata)(nil), // 22: bytebase.store.DatabaseSchemaMetadata
- (*DatabaseConfig)(nil), // 23: bytebase.store.DatabaseConfig
- (*ExtensionMetadata)(nil), // 24: bytebase.store.ExtensionMetadata
- (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
- (*wrapperspb.StringValue)(nil), // 26: google.protobuf.StringValue
+ (*BranchSnapshot)(nil), // 0: bytebase.store.BranchSnapshot
+ (*BranchConfig)(nil), // 1: bytebase.store.BranchConfig
+ (*DatabaseSchemaMetadata)(nil), // 2: bytebase.store.DatabaseSchemaMetadata
+ (*DatabaseConfig)(nil), // 3: bytebase.store.DatabaseConfig
}
var file_store_branch_proto_depIdxs = []int32{
- 22, // 0: bytebase.store.BranchSnapshot.metadata:type_name -> bytebase.store.DatabaseSchemaMetadata
- 23, // 1: bytebase.store.BranchSnapshot.database_config:type_name -> bytebase.store.DatabaseConfig
- 7, // 2: bytebase.store.BranchDatabaseSchemaMetadata.schemas:type_name -> bytebase.store.BranchSchemaMetadata
- 24, // 3: bytebase.store.BranchDatabaseSchemaMetadata.extensions:type_name -> bytebase.store.ExtensionMetadata
- 10, // 4: bytebase.store.BranchSchemaMetadata.tables:type_name -> bytebase.store.BranchTableMetadata
- 11, // 5: bytebase.store.BranchSchemaMetadata.external_tables:type_name -> bytebase.store.BranchExternalTableMetadata
- 14, // 6: bytebase.store.BranchSchemaMetadata.views:type_name -> bytebase.store.BranchViewMetadata
- 17, // 7: bytebase.store.BranchSchemaMetadata.functions:type_name -> bytebase.store.BranchFunctionMetadata
- 18, // 8: bytebase.store.BranchSchemaMetadata.procedures:type_name -> bytebase.store.BranchProcedureMetadata
- 9, // 9: bytebase.store.BranchSchemaMetadata.streams:type_name -> bytebase.store.BranchStreamMetadata
- 8, // 10: bytebase.store.BranchSchemaMetadata.tasks:type_name -> bytebase.store.BranchTaskMetadata
- 16, // 11: bytebase.store.BranchSchemaMetadata.materialized_views:type_name -> bytebase.store.BranchMaterializedViewMetadata
- 25, // 12: bytebase.store.BranchSchemaMetadata.update_time:type_name -> google.protobuf.Timestamp
- 0, // 13: bytebase.store.BranchTaskMetadata.state:type_name -> bytebase.store.BranchTaskMetadata.State
- 1, // 14: bytebase.store.BranchStreamMetadata.type:type_name -> bytebase.store.BranchStreamMetadata.Type
- 2, // 15: bytebase.store.BranchStreamMetadata.mode:type_name -> bytebase.store.BranchStreamMetadata.Mode
- 13, // 16: bytebase.store.BranchTableMetadata.columns:type_name -> bytebase.store.BranchColumnMetadata
- 19, // 17: bytebase.store.BranchTableMetadata.indexes:type_name -> bytebase.store.BranchIndexMetadata
- 21, // 18: bytebase.store.BranchTableMetadata.foreign_keys:type_name -> bytebase.store.BranchForeignKeyMetadata
- 12, // 19: bytebase.store.BranchTableMetadata.partitions:type_name -> bytebase.store.BranchTablePartitionMetadata
- 25, // 20: bytebase.store.BranchTableMetadata.update_time:type_name -> google.protobuf.Timestamp
- 13, // 21: bytebase.store.BranchExternalTableMetadata.columns:type_name -> bytebase.store.BranchColumnMetadata
- 3, // 22: bytebase.store.BranchTablePartitionMetadata.type:type_name -> bytebase.store.BranchTablePartitionMetadata.Type
- 12, // 23: bytebase.store.BranchTablePartitionMetadata.subpartitions:type_name -> bytebase.store.BranchTablePartitionMetadata
- 26, // 24: bytebase.store.BranchColumnMetadata.default:type_name -> google.protobuf.StringValue
- 15, // 25: bytebase.store.BranchViewMetadata.dependent_columns:type_name -> bytebase.store.BranchDependentColumn
- 25, // 26: bytebase.store.BranchViewMetadata.update_time:type_name -> google.protobuf.Timestamp
- 15, // 27: bytebase.store.BranchMaterializedViewMetadata.dependent_columns:type_name -> bytebase.store.BranchDependentColumn
- 25, // 28: bytebase.store.BranchFunctionMetadata.update_time:type_name -> google.protobuf.Timestamp
- 25, // 29: bytebase.store.BranchProcedureMetadata.update_time:type_name -> google.protobuf.Timestamp
- 30, // [30:30] is the sub-list for method output_type
- 30, // [30:30] is the sub-list for method input_type
- 30, // [30:30] is the sub-list for extension type_name
- 30, // [30:30] is the sub-list for extension extendee
- 0, // [0:30] is the sub-list for field type_name
+ 2, // 0: bytebase.store.BranchSnapshot.metadata:type_name -> bytebase.store.DatabaseSchemaMetadata
+ 3, // 1: bytebase.store.BranchSnapshot.database_config:type_name -> bytebase.store.DatabaseConfig
+ 2, // [2:2] is the sub-list for method output_type
+ 2, // [2:2] is the sub-list for method input_type
+ 2, // [2:2] is the sub-list for extension type_name
+ 2, // [2:2] is the sub-list for extension extendee
+ 0, // [0:2] is the sub-list for field type_name
}
func init() { file_store_branch_proto_init() }
@@ -2597,217 +223,19 @@ func file_store_branch_proto_init() {
return nil
}
}
- file_store_branch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchDatabaseSchemaMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchSchemaMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchTaskMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchStreamMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchTableMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchExternalTableMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchTablePartitionMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchColumnMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchViewMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchDependentColumn); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchMaterializedViewMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchFunctionMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchProcedureMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchIndexMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchExtensionMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_store_branch_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchForeignKeyMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_store_branch_proto_msgTypes[9].OneofWrappers = []interface{}{
- (*BranchColumnMetadata_Default)(nil),
- (*BranchColumnMetadata_DefaultNull)(nil),
- (*BranchColumnMetadata_DefaultExpression)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_branch_proto_rawDesc,
- NumEnums: 4,
- NumMessages: 18,
+ NumEnums: 0,
+ NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_store_branch_proto_goTypes,
DependencyIndexes: file_store_branch_proto_depIdxs,
- EnumInfos: file_store_branch_proto_enumTypes,
MessageInfos: file_store_branch_proto_msgTypes,
}.Build()
File_store_branch_proto = out.File
diff --git a/proto/generated-go/store/database.pb.go b/proto/generated-go/store/database.pb.go
index 8633dbcf53..b27280f332 100644
--- a/proto/generated-go/store/database.pb.go
+++ b/proto/generated-go/store/database.pb.go
@@ -7,6 +7,7 @@
package store
import (
+ _ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
@@ -2191,7 +2192,10 @@ type SchemaConfig struct {
// It is an empty string for databases without such concept such as MySQL.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The table_configs is the list of configs for tables in a schema.
- TableConfigs []*TableConfig `protobuf:"bytes,2,rep,name=table_configs,json=tableConfigs,proto3" json:"table_configs,omitempty"`
+ TableConfigs []*TableConfig `protobuf:"bytes,2,rep,name=table_configs,json=tableConfigs,proto3" json:"table_configs,omitempty"`
+ FunctionConfigs []*FunctionConfig `protobuf:"bytes,3,rep,name=function_configs,json=functionConfigs,proto3" json:"function_configs,omitempty"`
+ ProcedureConfigs []*ProcedureConfig `protobuf:"bytes,4,rep,name=procedure_configs,json=procedureConfigs,proto3" json:"procedure_configs,omitempty"`
+ ViewConfigs []*ViewConfig `protobuf:"bytes,5,rep,name=view_configs,json=viewConfigs,proto3" json:"view_configs,omitempty"`
}
func (x *SchemaConfig) Reset() {
@@ -2240,6 +2244,27 @@ func (x *SchemaConfig) GetTableConfigs() []*TableConfig {
return nil
}
+func (x *SchemaConfig) GetFunctionConfigs() []*FunctionConfig {
+ if x != nil {
+ return x.FunctionConfigs
+ }
+ return nil
+}
+
+func (x *SchemaConfig) GetProcedureConfigs() []*ProcedureConfig {
+ if x != nil {
+ return x.ProcedureConfigs
+ }
+ return nil
+}
+
+func (x *SchemaConfig) GetViewConfigs() []*ViewConfig {
+ if x != nil {
+ return x.ViewConfigs
+ }
+ return nil
+}
+
type TableConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2250,6 +2275,11 @@ type TableConfig struct {
// The column_configs is the ordered list of configs for columns in a table.
ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`
ClassificationId string `protobuf:"bytes,3,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`
+ // The last updater of the table in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,4,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the table is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
}
func (x *TableConfig) Reset() {
@@ -2305,6 +2335,221 @@ func (x *TableConfig) GetClassificationId() string {
return ""
}
+func (x *TableConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *TableConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
+type FunctionConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The name is the name of a function.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The last updater of the function in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the function is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+}
+
+func (x *FunctionConfig) Reset() {
+ *x = FunctionConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_store_database_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FunctionConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FunctionConfig) ProtoMessage() {}
+
+func (x *FunctionConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_store_database_proto_msgTypes[23]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FunctionConfig.ProtoReflect.Descriptor instead.
+func (*FunctionConfig) Descriptor() ([]byte, []int) {
+ return file_store_database_proto_rawDescGZIP(), []int{23}
+}
+
+func (x *FunctionConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *FunctionConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *FunctionConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
+type ProcedureConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The name is the name of a procedure.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The last updater of the procedure in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the procedure is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+}
+
+func (x *ProcedureConfig) Reset() {
+ *x = ProcedureConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_store_database_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ProcedureConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ProcedureConfig) ProtoMessage() {}
+
+func (x *ProcedureConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_store_database_proto_msgTypes[24]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ProcedureConfig.ProtoReflect.Descriptor instead.
+func (*ProcedureConfig) Descriptor() ([]byte, []int) {
+ return file_store_database_proto_rawDescGZIP(), []int{24}
+}
+
+func (x *ProcedureConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ProcedureConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *ProcedureConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
+type ViewConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The name is the name of a view.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The last updater of the view in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the view is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+}
+
+func (x *ViewConfig) Reset() {
+ *x = ViewConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_store_database_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ViewConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ViewConfig) ProtoMessage() {}
+
+func (x *ViewConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_store_database_proto_msgTypes[25]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ViewConfig.ProtoReflect.Descriptor instead.
+func (*ViewConfig) Descriptor() ([]byte, []int) {
+ return file_store_database_proto_rawDescGZIP(), []int{25}
+}
+
+func (x *ViewConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ViewConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *ViewConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
type ColumnConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2321,7 +2566,7 @@ type ColumnConfig struct {
func (x *ColumnConfig) Reset() {
*x = ColumnConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_store_database_proto_msgTypes[23]
+ mi := &file_store_database_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2334,7 +2579,7 @@ func (x *ColumnConfig) String() string {
func (*ColumnConfig) ProtoMessage() {}
func (x *ColumnConfig) ProtoReflect() protoreflect.Message {
- mi := &file_store_database_proto_msgTypes[23]
+ mi := &file_store_database_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2347,7 +2592,7 @@ func (x *ColumnConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnConfig.ProtoReflect.Descriptor instead.
func (*ColumnConfig) Descriptor() ([]byte, []int) {
- return file_store_database_proto_rawDescGZIP(), []int{23}
+ return file_store_database_proto_rawDescGZIP(), []int{26}
}
func (x *ColumnConfig) GetName() string {
@@ -2383,367 +2628,415 @@ var File_store_database_proto protoreflect.FileDescriptor
var file_store_database_proto_rawDesc = []byte{
0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72,
- 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a, 0x06,
- 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61,
- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c,
- 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
- 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63,
- 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
- 0xad, 0x02, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65,
- 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38,
- 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
- 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,
- 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72,
- 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a,
- 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x65,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c,
- 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22,
- 0xa9, 0x04, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4e, 0x0a,
- 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x65,
- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a,
- 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x69,
- 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77,
- 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65,
- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64,
- 0x75, 0x72, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18,
- 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x32,
- 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54,
- 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x74, 0x61, 0x73,
- 0x6b, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a,
- 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28,
+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
+ 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
+ 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
+ 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65,
+ 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x01, 0x0a, 0x10, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a,
+ 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
+ 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62,
+ 0x65, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x79, 0x6e, 0x63,
+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e,
+ 0x63, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
+ 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
+ 0x22, 0xad, 0x02, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
+ 0x38, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
+ 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
+ 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61,
+ 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c,
+ 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a,
+ 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
+ 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
+ 0x61, 0x74, 0x61, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12,
+ 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x08, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x21, 0x0a,
+ 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65,
+ 0x22, 0xa9, 0x04, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64,
+ 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4e,
+ 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
+ 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e,
+ 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x32,
+ 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56,
+ 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x69, 0x65,
+ 0x77, 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
+ 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73,
+ 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72,
+ 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65,
+ 0x64, 0x75, 0x72, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73,
+ 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12,
+ 0x32, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c,
0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
- 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77,
- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69,
- 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x0c,
- 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
- 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x1a,
- 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72,
- 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12, 0x38,
- 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54,
- 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74,
- 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e,
- 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
- 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f,
- 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41,
- 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0xa5,
- 0x03, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65,
- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,
+ 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x74, 0x61,
+ 0x73, 0x6b, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69,
+ 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
+ 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65,
+ 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72,
+ 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0x80, 0x03, 0x0a,
+ 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
+ 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
+ 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
+ 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12,
+ 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70,
+ 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12,
+ 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
+ 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61,
+ 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f,
+ 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66,
+ 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
+ 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
+ 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45,
+ 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54,
+ 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22,
+ 0xa5, 0x03, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
+ 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64,
+ 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14,
+ 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73,
+ 0x74, 0x61, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,
0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
- 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74,
- 0x61, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
- 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
- 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x04,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
- 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10, 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d, 0x6f,
- 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x44, 0x45,
- 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f,
- 0x44, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02,
- 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x5f,
- 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22, 0xb5, 0x04, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65,
- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07,
- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43,
- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63,
- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65,
- 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12,
- 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75,
- 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12,
- 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b,
- 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x46, 0x72, 0x65, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,
- 0x45, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18,
- 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65,
- 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c,
- 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd,
- 0x01, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65,
- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14,
- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34,
- 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62,
- 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14,
- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18,
- 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x9f,
- 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x79,
+ 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a,
+ 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a,
+ 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10, 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d,
+ 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x44,
+ 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d,
+ 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10,
+ 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54,
+ 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22, 0xb5, 0x04, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c,
+ 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a,
+ 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
+ 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07,
+ 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78,
+ 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73,
+ 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c,
+ 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f,
+ 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65,
+ 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08,
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12,
+ 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x46, 0x72, 0x65, 0x65, 0x12, 0x25, 0x0a, 0x0e,
+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a,
+ 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
+ 0x12, 0x45, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73,
+ 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b,
+ 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65,
+ 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79,
0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62,
0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e,
- 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62,
+ 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
+ 0xcd, 0x01, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c,
+ 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a,
+ 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
+ 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74,
+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12,
+ 0x34, 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
+ 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22,
+ 0x9f, 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f,
+ 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62,
0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61,
0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
- 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a,
- 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x02,
- 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49,
- 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,
- 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52,
- 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x07,
- 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x08,
- 0x22, 0xae, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a,
- 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75,
- 0x6c, 0x6c, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78,
- 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
- 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
- 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65,
- 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,
- 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a,
- 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x42, 0x0f, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x12, 0x4c, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f,
- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70,
- 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65,
- 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x57,
- 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12,
- 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x22, 0xb6, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65,
- 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
- 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
- 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f,
- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44,
- 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10,
- 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
- 0x22, 0x46, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
+ 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
+ 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66,
+ 0x61, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44,
+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72,
+ 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54,
+ 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,
+ 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
+ 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11,
+ 0x0a, 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10,
+ 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c,
+ 0x49, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a,
+ 0x04, 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41,
+ 0x52, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10,
+ 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10,
+ 0x08, 0x22, 0xae, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63,
- 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0xfe, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
+ 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23,
+ 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e,
+ 0x75, 0x6c, 0x6c, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65,
+ 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48,
+ 0x00, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73,
+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73,
+ 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63,
+ 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,
+ 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21,
+ 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
+ 0x74, 0x42, 0x0f, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65,
- 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78,
- 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x79,
- 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x6b,
- 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06,
- 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e,
- 0x69, 0x71, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x18,
- 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
- 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
- 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x11, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d,
+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66,
+ 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
+ 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
+ 0x74, 0x12, 0x4c, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63,
+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65,
+ 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64,
+ 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22,
+ 0x57, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75,
+ 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61,
+ 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x22, 0xb6, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x74,
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74,
+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66,
+ 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64,
+ 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74,
+ 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
+ 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52,
+ 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
+ 0x73, 0x22, 0x46, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66,
+ 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64,
+ 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x11, 0x50, 0x72, 0x6f,
+ 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,
+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x22, 0xfe, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x72,
+ 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65,
+ 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65,
+ 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09,
+ 0x6b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a,
+ 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75,
+ 0x6e, 0x69, 0x71, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12,
+ 0x18, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
+ 0x52, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x11, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
+ 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20,
+ 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x22, 0xa2, 0x02, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73,
- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a,
- 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22,
- 0xa2, 0x02, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x6f,
- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c,
- 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
- 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f,
- 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x66,
- 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12,
- 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
- 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6f,
- 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x54, 0x79, 0x70, 0x65, 0x22, 0x40, 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
- 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x07, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
- 0x73, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,
- 0x65, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74,
- 0x65, 0x6d, 0x73, 0x22, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x74, 0x65,
- 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x01,
- 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63,
- 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65,
- 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c, 0x61,
- 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d,
- 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63,
- 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f,
- 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x64, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x74,
- 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,
- 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
- 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x93, 0x01,
- 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69,
- 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x49, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,
+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
+ 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
+ 0x63, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64,
+ 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65,
+ 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a,
+ 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75,
+ 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72,
+ 0x65, 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09,
+ 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63,
+ 0x68, 0x54, 0x79, 0x70, 0x65, 0x22, 0x40, 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
+ 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x07, 0x53, 0x65, 0x63, 0x72, 0x65,
+ 0x74, 0x73, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,
+ 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69,
+ 0x74, 0x65, 0x6d, 0x73, 0x22, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x74,
+ 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b,
+ 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa7,
+ 0x01, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53,
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c,
+ 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f,
+ 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18,
+ 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72,
+ 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xbc, 0x02, 0x0a, 0x0c, 0x53, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a,
+ 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12,
+ 0x49, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
+ 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x4c, 0x0a, 0x11, 0x70, 0x72,
+ 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18,
+ 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72,
+ 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x76, 0x69, 0x65, 0x77,
+ 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
+ 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x76, 0x69, 0x65, 0x77,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c,
+ 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x63,
+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,
+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
+ 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61,
+ 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a,
+ 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a,
+ 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 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, 0x42, 0x04,
+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
+ 0x22, 0x87, 0x01, 0x0a, 0x0e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
+ 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x50,
+ 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12,
+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61,
- 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65,
- 0x49, 0x64, 0x12, 0x40, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,
- 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61,
- 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
- 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x14, 0x5a, 0x12,
- 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f,
- 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
+ 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
+ 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x0c,
+ 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70,
+ 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61,
+ 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x06, 0x6c, 0x61,
+ 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75,
+ 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
+ 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11,
+ 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
+ 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,
+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62,
+ 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x3a, 0x02, 0x38, 0x01, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
+ 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x33,
}
var (
@@ -2759,7 +3052,7 @@ func file_store_database_proto_rawDescGZIP() []byte {
}
var file_store_database_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
-var file_store_database_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
+var file_store_database_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
var file_store_database_proto_goTypes = []interface{}{
(TaskMetadata_State)(0), // 0: bytebase.store.TaskMetadata.State
(StreamMetadata_Type)(0), // 1: bytebase.store.StreamMetadata.Type
@@ -2788,15 +3081,18 @@ var file_store_database_proto_goTypes = []interface{}{
(*DatabaseConfig)(nil), // 24: bytebase.store.DatabaseConfig
(*SchemaConfig)(nil), // 25: bytebase.store.SchemaConfig
(*TableConfig)(nil), // 26: bytebase.store.TableConfig
- (*ColumnConfig)(nil), // 27: bytebase.store.ColumnConfig
- nil, // 28: bytebase.store.DatabaseMetadata.LabelsEntry
- nil, // 29: bytebase.store.ColumnConfig.LabelsEntry
- (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp
- (*wrapperspb.StringValue)(nil), // 31: google.protobuf.StringValue
+ (*FunctionConfig)(nil), // 27: bytebase.store.FunctionConfig
+ (*ProcedureConfig)(nil), // 28: bytebase.store.ProcedureConfig
+ (*ViewConfig)(nil), // 29: bytebase.store.ViewConfig
+ (*ColumnConfig)(nil), // 30: bytebase.store.ColumnConfig
+ nil, // 31: bytebase.store.DatabaseMetadata.LabelsEntry
+ nil, // 32: bytebase.store.ColumnConfig.LabelsEntry
+ (*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp
+ (*wrapperspb.StringValue)(nil), // 34: google.protobuf.StringValue
}
var file_store_database_proto_depIdxs = []int32{
- 28, // 0: bytebase.store.DatabaseMetadata.labels:type_name -> bytebase.store.DatabaseMetadata.LabelsEntry
- 30, // 1: bytebase.store.DatabaseMetadata.last_sync_time:type_name -> google.protobuf.Timestamp
+ 31, // 0: bytebase.store.DatabaseMetadata.labels:type_name -> bytebase.store.DatabaseMetadata.LabelsEntry
+ 33, // 1: bytebase.store.DatabaseMetadata.last_sync_time:type_name -> google.protobuf.Timestamp
6, // 2: bytebase.store.DatabaseSchemaMetadata.schemas:type_name -> bytebase.store.SchemaMetadata
19, // 3: bytebase.store.DatabaseSchemaMetadata.extensions:type_name -> bytebase.store.ExtensionMetadata
9, // 4: bytebase.store.SchemaMetadata.tables:type_name -> bytebase.store.TableMetadata
@@ -2817,19 +3113,26 @@ var file_store_database_proto_depIdxs = []int32{
12, // 19: bytebase.store.ExternalTableMetadata.columns:type_name -> bytebase.store.ColumnMetadata
3, // 20: bytebase.store.TablePartitionMetadata.type:type_name -> bytebase.store.TablePartitionMetadata.Type
11, // 21: bytebase.store.TablePartitionMetadata.subpartitions:type_name -> bytebase.store.TablePartitionMetadata
- 31, // 22: bytebase.store.ColumnMetadata.default:type_name -> google.protobuf.StringValue
+ 34, // 22: bytebase.store.ColumnMetadata.default:type_name -> google.protobuf.StringValue
14, // 23: bytebase.store.ViewMetadata.dependent_columns:type_name -> bytebase.store.DependentColumn
14, // 24: bytebase.store.MaterializedViewMetadata.dependent_columns:type_name -> bytebase.store.DependentColumn
23, // 25: bytebase.store.Secrets.items:type_name -> bytebase.store.SecretItem
25, // 26: bytebase.store.DatabaseConfig.schema_configs:type_name -> bytebase.store.SchemaConfig
26, // 27: bytebase.store.SchemaConfig.table_configs:type_name -> bytebase.store.TableConfig
- 27, // 28: bytebase.store.TableConfig.column_configs:type_name -> bytebase.store.ColumnConfig
- 29, // 29: bytebase.store.ColumnConfig.labels:type_name -> bytebase.store.ColumnConfig.LabelsEntry
- 30, // [30:30] is the sub-list for method output_type
- 30, // [30:30] is the sub-list for method input_type
- 30, // [30:30] is the sub-list for extension type_name
- 30, // [30:30] is the sub-list for extension extendee
- 0, // [0:30] is the sub-list for field type_name
+ 27, // 28: bytebase.store.SchemaConfig.function_configs:type_name -> bytebase.store.FunctionConfig
+ 28, // 29: bytebase.store.SchemaConfig.procedure_configs:type_name -> bytebase.store.ProcedureConfig
+ 29, // 30: bytebase.store.SchemaConfig.view_configs:type_name -> bytebase.store.ViewConfig
+ 30, // 31: bytebase.store.TableConfig.column_configs:type_name -> bytebase.store.ColumnConfig
+ 33, // 32: bytebase.store.TableConfig.update_time:type_name -> google.protobuf.Timestamp
+ 33, // 33: bytebase.store.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp
+ 33, // 34: bytebase.store.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp
+ 33, // 35: bytebase.store.ViewConfig.update_time:type_name -> google.protobuf.Timestamp
+ 32, // 36: bytebase.store.ColumnConfig.labels:type_name -> bytebase.store.ColumnConfig.LabelsEntry
+ 37, // [37:37] is the sub-list for method output_type
+ 37, // [37:37] is the sub-list for method input_type
+ 37, // [37:37] is the sub-list for extension type_name
+ 37, // [37:37] is the sub-list for extension extendee
+ 0, // [0:37] is the sub-list for field type_name
}
func init() { file_store_database_proto_init() }
@@ -3115,6 +3418,42 @@ func file_store_database_proto_init() {
}
}
file_store_database_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FunctionConfig); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_store_database_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ProcedureConfig); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_store_database_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ViewConfig); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_store_database_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ColumnConfig); i {
case 0:
return &v.state
@@ -3138,7 +3477,7 @@ func file_store_database_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_database_proto_rawDesc,
NumEnums: 4,
- NumMessages: 26,
+ NumMessages: 29,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/proto/generated-go/v1/branch_service.pb.go b/proto/generated-go/v1/branch_service.pb.go
index b1d6600497..8f774fc750 100644
--- a/proto/generated-go/v1/branch_service.pb.go
+++ b/proto/generated-go/v1/branch_service.pb.go
@@ -13,7 +13,6 @@ import (
emptypb "google.golang.org/protobuf/types/known/emptypb"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
reflect "reflect"
sync "sync"
)
@@ -78,225 +77,6 @@ func (BranchView) EnumDescriptor() ([]byte, []int) {
return file_v1_branch_service_proto_rawDescGZIP(), []int{0}
}
-type BranchTaskMetadata_State int32
-
-const (
- BranchTaskMetadata_STATE_UNSPECIFIED BranchTaskMetadata_State = 0
- BranchTaskMetadata_STATE_STARTED BranchTaskMetadata_State = 1
- BranchTaskMetadata_STATE_SUSPENDED BranchTaskMetadata_State = 2
-)
-
-// Enum value maps for BranchTaskMetadata_State.
-var (
- BranchTaskMetadata_State_name = map[int32]string{
- 0: "STATE_UNSPECIFIED",
- 1: "STATE_STARTED",
- 2: "STATE_SUSPENDED",
- }
- BranchTaskMetadata_State_value = map[string]int32{
- "STATE_UNSPECIFIED": 0,
- "STATE_STARTED": 1,
- "STATE_SUSPENDED": 2,
- }
-)
-
-func (x BranchTaskMetadata_State) Enum() *BranchTaskMetadata_State {
- p := new(BranchTaskMetadata_State)
- *p = x
- return p
-}
-
-func (x BranchTaskMetadata_State) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchTaskMetadata_State) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_branch_service_proto_enumTypes[1].Descriptor()
-}
-
-func (BranchTaskMetadata_State) Type() protoreflect.EnumType {
- return &file_v1_branch_service_proto_enumTypes[1]
-}
-
-func (x BranchTaskMetadata_State) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchTaskMetadata_State.Descriptor instead.
-func (BranchTaskMetadata_State) EnumDescriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{16, 0}
-}
-
-type BranchStreamMetadata_Type int32
-
-const (
- BranchStreamMetadata_TYPE_UNSPECIFIED BranchStreamMetadata_Type = 0
- BranchStreamMetadata_TYPE_DELTA BranchStreamMetadata_Type = 1
-)
-
-// Enum value maps for BranchStreamMetadata_Type.
-var (
- BranchStreamMetadata_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "TYPE_DELTA",
- }
- BranchStreamMetadata_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "TYPE_DELTA": 1,
- }
-)
-
-func (x BranchStreamMetadata_Type) Enum() *BranchStreamMetadata_Type {
- p := new(BranchStreamMetadata_Type)
- *p = x
- return p
-}
-
-func (x BranchStreamMetadata_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchStreamMetadata_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_branch_service_proto_enumTypes[2].Descriptor()
-}
-
-func (BranchStreamMetadata_Type) Type() protoreflect.EnumType {
- return &file_v1_branch_service_proto_enumTypes[2]
-}
-
-func (x BranchStreamMetadata_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchStreamMetadata_Type.Descriptor instead.
-func (BranchStreamMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{17, 0}
-}
-
-type BranchStreamMetadata_Mode int32
-
-const (
- BranchStreamMetadata_MODE_UNSPECIFIED BranchStreamMetadata_Mode = 0
- BranchStreamMetadata_MODE_DEFAULT BranchStreamMetadata_Mode = 1
- BranchStreamMetadata_MODE_APPEND_ONLY BranchStreamMetadata_Mode = 2
- BranchStreamMetadata_MODE_INSERT_ONLY BranchStreamMetadata_Mode = 3
-)
-
-// Enum value maps for BranchStreamMetadata_Mode.
-var (
- BranchStreamMetadata_Mode_name = map[int32]string{
- 0: "MODE_UNSPECIFIED",
- 1: "MODE_DEFAULT",
- 2: "MODE_APPEND_ONLY",
- 3: "MODE_INSERT_ONLY",
- }
- BranchStreamMetadata_Mode_value = map[string]int32{
- "MODE_UNSPECIFIED": 0,
- "MODE_DEFAULT": 1,
- "MODE_APPEND_ONLY": 2,
- "MODE_INSERT_ONLY": 3,
- }
-)
-
-func (x BranchStreamMetadata_Mode) Enum() *BranchStreamMetadata_Mode {
- p := new(BranchStreamMetadata_Mode)
- *p = x
- return p
-}
-
-func (x BranchStreamMetadata_Mode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchStreamMetadata_Mode) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_branch_service_proto_enumTypes[3].Descriptor()
-}
-
-func (BranchStreamMetadata_Mode) Type() protoreflect.EnumType {
- return &file_v1_branch_service_proto_enumTypes[3]
-}
-
-func (x BranchStreamMetadata_Mode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchStreamMetadata_Mode.Descriptor instead.
-func (BranchStreamMetadata_Mode) EnumDescriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{17, 1}
-}
-
-// 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)
-// TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
-// PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
-type BranchTablePartitionMetadata_Type int32
-
-const (
- BranchTablePartitionMetadata_TYPE_UNSPECIFIED BranchTablePartitionMetadata_Type = 0
- BranchTablePartitionMetadata_RANGE BranchTablePartitionMetadata_Type = 1
- BranchTablePartitionMetadata_RANGE_COLUMNS BranchTablePartitionMetadata_Type = 2
- BranchTablePartitionMetadata_LIST BranchTablePartitionMetadata_Type = 3
- BranchTablePartitionMetadata_LIST_COLUMNS BranchTablePartitionMetadata_Type = 4
- BranchTablePartitionMetadata_HASH BranchTablePartitionMetadata_Type = 5
- BranchTablePartitionMetadata_LINEAR_HASH BranchTablePartitionMetadata_Type = 6
- BranchTablePartitionMetadata_KEY BranchTablePartitionMetadata_Type = 7
- BranchTablePartitionMetadata_LINEAR_KEY BranchTablePartitionMetadata_Type = 8
-)
-
-// Enum value maps for BranchTablePartitionMetadata_Type.
-var (
- BranchTablePartitionMetadata_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "RANGE",
- 2: "RANGE_COLUMNS",
- 3: "LIST",
- 4: "LIST_COLUMNS",
- 5: "HASH",
- 6: "LINEAR_HASH",
- 7: "KEY",
- 8: "LINEAR_KEY",
- }
- BranchTablePartitionMetadata_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "RANGE": 1,
- "RANGE_COLUMNS": 2,
- "LIST": 3,
- "LIST_COLUMNS": 4,
- "HASH": 5,
- "LINEAR_HASH": 6,
- "KEY": 7,
- "LINEAR_KEY": 8,
- }
-)
-
-func (x BranchTablePartitionMetadata_Type) Enum() *BranchTablePartitionMetadata_Type {
- p := new(BranchTablePartitionMetadata_Type)
- *p = x
- return p
-}
-
-func (x BranchTablePartitionMetadata_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (BranchTablePartitionMetadata_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_v1_branch_service_proto_enumTypes[4].Descriptor()
-}
-
-func (BranchTablePartitionMetadata_Type) Type() protoreflect.EnumType {
- return &file_v1_branch_service_proto_enumTypes[4]
-}
-
-func (x BranchTablePartitionMetadata_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use BranchTablePartitionMetadata_Type.Descriptor instead.
-func (BranchTablePartitionMetadata_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{20, 0}
-}
-
type Branch struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1403,1766 +1183,7 @@ func (x *DiffMetadataResponse) GetDiff() string {
return ""
}
-// BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.
-type BranchDatabaseSchemaMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The schemas is the list of schemas in a database.
- Schemas []*BranchSchemaMetadata `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
- // The character_set is the character set of a database.
- CharacterSet string `protobuf:"bytes,3,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"`
- // The collation is the collation of a database.
- Collation string `protobuf:"bytes,4,opt,name=collation,proto3" json:"collation,omitempty"`
- // The extensions is the list of extensions in a database.
- Extensions []*ExtensionMetadata `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`
- // The database belongs to a datashare.
- Datashare bool `protobuf:"varint,6,opt,name=datashare,proto3" json:"datashare,omitempty"`
- // The service name of the database. It's the Oracle specific concept.
- ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
-}
-
-func (x *BranchDatabaseSchemaMetadata) Reset() {
- *x = BranchDatabaseSchemaMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchDatabaseSchemaMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchDatabaseSchemaMetadata) ProtoMessage() {}
-
-func (x *BranchDatabaseSchemaMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchDatabaseSchemaMetadata.ProtoReflect.Descriptor instead.
-func (*BranchDatabaseSchemaMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{14}
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetSchemas() []*BranchSchemaMetadata {
- if x != nil {
- return x.Schemas
- }
- return nil
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetCharacterSet() string {
- if x != nil {
- return x.CharacterSet
- }
- return ""
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetCollation() string {
- if x != nil {
- return x.Collation
- }
- return ""
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetExtensions() []*ExtensionMetadata {
- if x != nil {
- return x.Extensions
- }
- return nil
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetDatashare() bool {
- if x != nil {
- return x.Datashare
- }
- return false
-}
-
-func (x *BranchDatabaseSchemaMetadata) GetServiceName() string {
- if x != nil {
- return x.ServiceName
- }
- return ""
-}
-
-// BranchSchemaMetadata is the metadata for schemas used in branch.
-// This is the concept of schema in Postgres, but it's a no-op for MySQL.
-type BranchSchemaMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the schema name.
- // It is an empty string for databases without such concept such as MySQL.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The tables is the list of tables in a schema.
- Tables []*BranchTableMetadata `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`
- // The external_tables is the list of external tables in a schema.
- ExternalTables []*BranchExternalTableMetadata `protobuf:"bytes,3,rep,name=external_tables,json=externalTables,proto3" json:"external_tables,omitempty"`
- // The views is the list of views in a schema.
- Views []*BranchViewMetadata `protobuf:"bytes,4,rep,name=views,proto3" json:"views,omitempty"`
- // The functions is the list of functions in a schema.
- Functions []*BranchFunctionMetadata `protobuf:"bytes,5,rep,name=functions,proto3" json:"functions,omitempty"`
- // The procedures is the list of procedures in a schema.
- Procedures []*BranchProcedureMetadata `protobuf:"bytes,6,rep,name=procedures,proto3" json:"procedures,omitempty"`
- // The streams is the list of streams in a schema, currently, only used for Snowflake.
- Streams []*BranchStreamMetadata `protobuf:"bytes,7,rep,name=streams,proto3" json:"streams,omitempty"`
- // The routines is the list of routines in a schema, currently, only used for Snowflake.
- Tasks []*BranchTaskMetadata `protobuf:"bytes,8,rep,name=tasks,proto3" json:"tasks,omitempty"`
- // The materialized_views is the list of materialized views in a schema.
- MaterializedViews []*BranchMaterializedViewMetadata `protobuf:"bytes,9,rep,name=materialized_views,json=materializedViews,proto3" json:"materialized_views,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,10,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchSchemaMetadata) Reset() {
- *x = BranchSchemaMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchSchemaMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchSchemaMetadata) ProtoMessage() {}
-
-func (x *BranchSchemaMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchSchemaMetadata.ProtoReflect.Descriptor instead.
-func (*BranchSchemaMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *BranchSchemaMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchSchemaMetadata) GetTables() []*BranchTableMetadata {
- if x != nil {
- return x.Tables
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetExternalTables() []*BranchExternalTableMetadata {
- if x != nil {
- return x.ExternalTables
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetViews() []*BranchViewMetadata {
- if x != nil {
- return x.Views
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetFunctions() []*BranchFunctionMetadata {
- if x != nil {
- return x.Functions
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetProcedures() []*BranchProcedureMetadata {
- if x != nil {
- return x.Procedures
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetStreams() []*BranchStreamMetadata {
- if x != nil {
- return x.Streams
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetTasks() []*BranchTaskMetadata {
- if x != nil {
- return x.Tasks
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetMaterializedViews() []*BranchMaterializedViewMetadata {
- if x != nil {
- return x.MaterializedViews
- }
- return nil
-}
-
-func (x *BranchSchemaMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchSchemaMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-type BranchTaskMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a task.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The id is the snowflake-generated id of a task.
- // Example: 01ad32a0-1bb6-5e93-0000-000000000001
- Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
- // The owner of the task.
- Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
- // The comment of the task.
- Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
- // The warehouse of the task.
- Warehouse string `protobuf:"bytes,5,opt,name=warehouse,proto3" json:"warehouse,omitempty"`
- // The schedule interval of the task.
- Schedule string `protobuf:"bytes,6,opt,name=schedule,proto3" json:"schedule,omitempty"`
- // The predecessor tasks of the task.
- Predecessors []string `protobuf:"bytes,7,rep,name=predecessors,proto3" json:"predecessors,omitempty"`
- // The state of the task.
- State BranchTaskMetadata_State `protobuf:"varint,8,opt,name=state,proto3,enum=bytebase.v1.BranchTaskMetadata_State" json:"state,omitempty"`
- // The condition of the task.
- Condition string `protobuf:"bytes,9,opt,name=condition,proto3" json:"condition,omitempty"`
- // The definition of the task.
- Definition string `protobuf:"bytes,10,opt,name=definition,proto3" json:"definition,omitempty"`
-}
-
-func (x *BranchTaskMetadata) Reset() {
- *x = BranchTaskMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchTaskMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchTaskMetadata) ProtoMessage() {}
-
-func (x *BranchTaskMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchTaskMetadata.ProtoReflect.Descriptor instead.
-func (*BranchTaskMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{16}
-}
-
-func (x *BranchTaskMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetOwner() string {
- if x != nil {
- return x.Owner
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetWarehouse() string {
- if x != nil {
- return x.Warehouse
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetSchedule() string {
- if x != nil {
- return x.Schedule
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetPredecessors() []string {
- if x != nil {
- return x.Predecessors
- }
- return nil
-}
-
-func (x *BranchTaskMetadata) GetState() BranchTaskMetadata_State {
- if x != nil {
- return x.State
- }
- return BranchTaskMetadata_STATE_UNSPECIFIED
-}
-
-func (x *BranchTaskMetadata) GetCondition() string {
- if x != nil {
- return x.Condition
- }
- return ""
-}
-
-func (x *BranchTaskMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-type BranchStreamMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a stream.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The table_name is the name of the table/view that the stream is created on.
- TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
- // The owner of the stream.
- Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
- // The comment of the stream.
- Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
- // The type of the stream.
- Type BranchStreamMetadata_Type `protobuf:"varint,5,opt,name=type,proto3,enum=bytebase.v1.BranchStreamMetadata_Type" json:"type,omitempty"`
- // Indicates whether the stream was last read before the `stale_after` time.
- Stale bool `protobuf:"varint,6,opt,name=stale,proto3" json:"stale,omitempty"`
- // The mode of the stream.
- Mode BranchStreamMetadata_Mode `protobuf:"varint,7,opt,name=mode,proto3,enum=bytebase.v1.BranchStreamMetadata_Mode" json:"mode,omitempty"`
- // The definition of the stream.
- Definition string `protobuf:"bytes,8,opt,name=definition,proto3" json:"definition,omitempty"`
-}
-
-func (x *BranchStreamMetadata) Reset() {
- *x = BranchStreamMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchStreamMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchStreamMetadata) ProtoMessage() {}
-
-func (x *BranchStreamMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchStreamMetadata.ProtoReflect.Descriptor instead.
-func (*BranchStreamMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{17}
-}
-
-func (x *BranchStreamMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetTableName() string {
- if x != nil {
- return x.TableName
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetOwner() string {
- if x != nil {
- return x.Owner
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchStreamMetadata) GetType() BranchStreamMetadata_Type {
- if x != nil {
- return x.Type
- }
- return BranchStreamMetadata_TYPE_UNSPECIFIED
-}
-
-func (x *BranchStreamMetadata) GetStale() bool {
- if x != nil {
- return x.Stale
- }
- return false
-}
-
-func (x *BranchStreamMetadata) GetMode() BranchStreamMetadata_Mode {
- if x != nil {
- return x.Mode
- }
- return BranchStreamMetadata_MODE_UNSPECIFIED
-}
-
-func (x *BranchStreamMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-// BranchTableMetadata is the metadata for tables used in branch.
-type BranchTableMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a table.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The columns is the ordered list of columns in a table.
- Columns []*BranchColumnMetadata `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
- // The indexes is the list of indexes in a table.
- Indexes []*BranchIndexMetadata `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"`
- // The engine is the engine of a table.
- Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
- // The collation is the collation of a table.
- Collation string `protobuf:"bytes,5,opt,name=collation,proto3" json:"collation,omitempty"`
- // The row_count is the estimated number of rows of a table.
- RowCount int64 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
- // The data_size is the estimated data size of a table.
- DataSize int64 `protobuf:"varint,7,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
- // The index_size is the estimated index size of a table.
- IndexSize int64 `protobuf:"varint,8,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
- // The data_free is the estimated free data size of a table.
- DataFree int64 `protobuf:"varint,9,opt,name=data_free,json=dataFree,proto3" json:"data_free,omitempty"`
- // The create_options is the create option of a table.
- CreateOptions string `protobuf:"bytes,10,opt,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
- // The comment is the comment of a table.
- // classification and user_comment is parsed from the comment.
- Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"`
- // The classification is the classification of a table parsed from the comment.
- Classification string `protobuf:"bytes,13,opt,name=classification,proto3" json:"classification,omitempty"`
- // The user_comment is the user comment of a table parsed from the comment.
- UserComment string `protobuf:"bytes,14,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`
- // The foreign_keys is the list of foreign keys in a table.
- ForeignKeys []*BranchForeignKeyMetadata `protobuf:"bytes,12,rep,name=foreign_keys,json=foreignKeys,proto3" json:"foreign_keys,omitempty"`
- // The partitions is the list of partitions in a table.
- Partitions []*BranchTablePartitionMetadata `protobuf:"bytes,15,rep,name=partitions,proto3" json:"partitions,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,16,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchTableMetadata) Reset() {
- *x = BranchTableMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchTableMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchTableMetadata) ProtoMessage() {}
-
-func (x *BranchTableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchTableMetadata.ProtoReflect.Descriptor instead.
-func (*BranchTableMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{18}
-}
-
-func (x *BranchTableMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetColumns() []*BranchColumnMetadata {
- if x != nil {
- return x.Columns
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetIndexes() []*BranchIndexMetadata {
- if x != nil {
- return x.Indexes
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetEngine() string {
- if x != nil {
- return x.Engine
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetCollation() string {
- if x != nil {
- return x.Collation
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetRowCount() int64 {
- if x != nil {
- return x.RowCount
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetDataSize() int64 {
- if x != nil {
- return x.DataSize
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetIndexSize() int64 {
- if x != nil {
- return x.IndexSize
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetDataFree() int64 {
- if x != nil {
- return x.DataFree
- }
- return 0
-}
-
-func (x *BranchTableMetadata) GetCreateOptions() string {
- if x != nil {
- return x.CreateOptions
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetClassification() string {
- if x != nil {
- return x.Classification
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetUserComment() string {
- if x != nil {
- return x.UserComment
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetForeignKeys() []*BranchForeignKeyMetadata {
- if x != nil {
- return x.ForeignKeys
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetPartitions() []*BranchTablePartitionMetadata {
- if x != nil {
- return x.Partitions
- }
- return nil
-}
-
-func (x *BranchTableMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchTableMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-type BranchExternalTableMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a external table.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The external_server_name is the name of the external server.
- ExternalServerName string `protobuf:"bytes,2,opt,name=external_server_name,json=externalServerName,proto3" json:"external_server_name,omitempty"`
- // The external_database_name is the name of the external database.
- ExternalDatabaseName string `protobuf:"bytes,3,opt,name=external_database_name,json=externalDatabaseName,proto3" json:"external_database_name,omitempty"`
- // The columns is the ordered list of columns in a foreign table.
- Columns []*BranchColumnMetadata `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
-}
-
-func (x *BranchExternalTableMetadata) Reset() {
- *x = BranchExternalTableMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchExternalTableMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchExternalTableMetadata) ProtoMessage() {}
-
-func (x *BranchExternalTableMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchExternalTableMetadata.ProtoReflect.Descriptor instead.
-func (*BranchExternalTableMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{19}
-}
-
-func (x *BranchExternalTableMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchExternalTableMetadata) GetExternalServerName() string {
- if x != nil {
- return x.ExternalServerName
- }
- return ""
-}
-
-func (x *BranchExternalTableMetadata) GetExternalDatabaseName() string {
- if x != nil {
- return x.ExternalDatabaseName
- }
- return ""
-}
-
-func (x *BranchExternalTableMetadata) GetColumns() []*BranchColumnMetadata {
- if x != nil {
- return x.Columns
- }
- return nil
-}
-
-// BranchTablePartitionMetadata is the metadata for table partitions used in branch.
-type BranchTablePartitionMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a table partition.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The type of a table partition.
- Type BranchTablePartitionMetadata_Type `protobuf:"varint,2,opt,name=type,proto3,enum=bytebase.v1.BranchTablePartitionMetadata_Type" json:"type,omitempty"`
- // The expression is the expression of a table partition.
- // For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
- // For MySQL, the expression is the `expr` or `column_list` of the following syntax.
- // PARTITION BY
- //
- // { [LINEAR] HASH(expr)
- // | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- // | RANGE{(expr) | COLUMNS(column_list)}
- // | LIST{(expr) | COLUMNS(column_list)} }.
- Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
- // The value is the value of a table partition.
- // For MySQL, the value is for RANGE and LIST partition types,
- // - For a RANGE partition, it contains the value set in the partition's VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
- // - For a LIST partition, this column contains the values defined in the partition's VALUES IN clause, which is a list of comma-separated integer values.
- // - For others, it's an empty string.
- Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
- // The use_default is whether the users use the default partition, it stores the different value for different database engines.
- // For MySQL, it's [INT] type, 0 means not use default partition, otherwise, it's equals to number in syntax [SUB]PARTITION {number}.
- UseDefault string `protobuf:"bytes,5,opt,name=use_default,json=useDefault,proto3" json:"use_default,omitempty"`
- // The subpartitions is the list of subpartitions in a table partition.
- Subpartitions []*BranchTablePartitionMetadata `protobuf:"bytes,6,rep,name=subpartitions,proto3" json:"subpartitions,omitempty"`
-}
-
-func (x *BranchTablePartitionMetadata) Reset() {
- *x = BranchTablePartitionMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchTablePartitionMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchTablePartitionMetadata) ProtoMessage() {}
-
-func (x *BranchTablePartitionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchTablePartitionMetadata.ProtoReflect.Descriptor instead.
-func (*BranchTablePartitionMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{20}
-}
-
-func (x *BranchTablePartitionMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetType() BranchTablePartitionMetadata_Type {
- if x != nil {
- return x.Type
- }
- return BranchTablePartitionMetadata_TYPE_UNSPECIFIED
-}
-
-func (x *BranchTablePartitionMetadata) GetExpression() string {
- if x != nil {
- return x.Expression
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetUseDefault() string {
- if x != nil {
- return x.UseDefault
- }
- return ""
-}
-
-func (x *BranchTablePartitionMetadata) GetSubpartitions() []*BranchTablePartitionMetadata {
- if x != nil {
- return x.Subpartitions
- }
- return nil
-}
-
-// BranchColumnMetadata is the metadata for columns used in branch.
-type BranchColumnMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a column.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The position is the position in columns.
- Position int32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
- // The default_value is the default value of a column.
- //
- // Types that are assignable to DefaultValue:
- //
- // *BranchColumnMetadata_Default
- // *BranchColumnMetadata_DefaultNull
- // *BranchColumnMetadata_DefaultExpression
- DefaultValue isBranchColumnMetadata_DefaultValue `protobuf_oneof:"default_value"`
- // The on_update is the on update action of a column.
- // For MySQL like databases, it's only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value.
- OnUpdate string `protobuf:"bytes,13,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
- // The nullable is the nullable of a column.
- Nullable bool `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
- // The type is the type of a column.
- Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
- // The character_set is the character_set of a column.
- CharacterSet string `protobuf:"bytes,8,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"`
- // The collation is the collation of a column.
- Collation string `protobuf:"bytes,9,opt,name=collation,proto3" json:"collation,omitempty"`
- // The comment is the comment of a column.
- // classification and user_comment is parsed from the comment.
- Comment string `protobuf:"bytes,10,opt,name=comment,proto3" json:"comment,omitempty"`
- // The classification is the classification of a table parsed from the comment.
- Classification string `protobuf:"bytes,11,opt,name=classification,proto3" json:"classification,omitempty"`
- // The user_comment is the user comment of a table parsed from the comment.
- UserComment string `protobuf:"bytes,12,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`
-}
-
-func (x *BranchColumnMetadata) Reset() {
- *x = BranchColumnMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchColumnMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchColumnMetadata) ProtoMessage() {}
-
-func (x *BranchColumnMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchColumnMetadata.ProtoReflect.Descriptor instead.
-func (*BranchColumnMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{21}
-}
-
-func (x *BranchColumnMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetPosition() int32 {
- if x != nil {
- return x.Position
- }
- return 0
-}
-
-func (m *BranchColumnMetadata) GetDefaultValue() isBranchColumnMetadata_DefaultValue {
- if m != nil {
- return m.DefaultValue
- }
- return nil
-}
-
-func (x *BranchColumnMetadata) GetDefault() *wrapperspb.StringValue {
- if x, ok := x.GetDefaultValue().(*BranchColumnMetadata_Default); ok {
- return x.Default
- }
- return nil
-}
-
-func (x *BranchColumnMetadata) GetDefaultNull() bool {
- if x, ok := x.GetDefaultValue().(*BranchColumnMetadata_DefaultNull); ok {
- return x.DefaultNull
- }
- return false
-}
-
-func (x *BranchColumnMetadata) GetDefaultExpression() string {
- if x, ok := x.GetDefaultValue().(*BranchColumnMetadata_DefaultExpression); ok {
- return x.DefaultExpression
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetOnUpdate() string {
- if x != nil {
- return x.OnUpdate
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetNullable() bool {
- if x != nil {
- return x.Nullable
- }
- return false
-}
-
-func (x *BranchColumnMetadata) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetCharacterSet() string {
- if x != nil {
- return x.CharacterSet
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetCollation() string {
- if x != nil {
- return x.Collation
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetClassification() string {
- if x != nil {
- return x.Classification
- }
- return ""
-}
-
-func (x *BranchColumnMetadata) GetUserComment() string {
- if x != nil {
- return x.UserComment
- }
- return ""
-}
-
-type isBranchColumnMetadata_DefaultValue interface {
- isBranchColumnMetadata_DefaultValue()
-}
-
-type BranchColumnMetadata_Default struct {
- // The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default.
- Default *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=default,proto3,oneof"`
-}
-
-type BranchColumnMetadata_DefaultNull struct {
- DefaultNull bool `protobuf:"varint,4,opt,name=default_null,json=defaultNull,proto3,oneof"`
-}
-
-type BranchColumnMetadata_DefaultExpression struct {
- DefaultExpression string `protobuf:"bytes,5,opt,name=default_expression,json=defaultExpression,proto3,oneof"`
-}
-
-func (*BranchColumnMetadata_Default) isBranchColumnMetadata_DefaultValue() {}
-
-func (*BranchColumnMetadata_DefaultNull) isBranchColumnMetadata_DefaultValue() {}
-
-func (*BranchColumnMetadata_DefaultExpression) isBranchColumnMetadata_DefaultValue() {}
-
-// BranchViewMetadata is the metadata for views used in branch.
-type BranchViewMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a view.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a view.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The comment is the comment of a view.
- Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
- // The dependent_columns is the list of dependent columns of a view.
- DependentColumns []*BranchDependentColumn `protobuf:"bytes,4,rep,name=dependent_columns,json=dependentColumns,proto3" json:"dependent_columns,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,5,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchViewMetadata) Reset() {
- *x = BranchViewMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchViewMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchViewMetadata) ProtoMessage() {}
-
-func (x *BranchViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchViewMetadata.ProtoReflect.Descriptor instead.
-func (*BranchViewMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{22}
-}
-
-func (x *BranchViewMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetDependentColumns() []*BranchDependentColumn {
- if x != nil {
- return x.DependentColumns
- }
- return nil
-}
-
-func (x *BranchViewMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchViewMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-// BranchDependentColumn is the metadata for dependent columns used in branch.
-type BranchDependentColumn struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The schema is the schema of a reference column.
- Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
- // The table is the table of a reference column.
- Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
- // The column is the name of a reference column.
- Column string `protobuf:"bytes,3,opt,name=column,proto3" json:"column,omitempty"`
-}
-
-func (x *BranchDependentColumn) Reset() {
- *x = BranchDependentColumn{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchDependentColumn) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchDependentColumn) ProtoMessage() {}
-
-func (x *BranchDependentColumn) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[23]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchDependentColumn.ProtoReflect.Descriptor instead.
-func (*BranchDependentColumn) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{23}
-}
-
-func (x *BranchDependentColumn) GetSchema() string {
- if x != nil {
- return x.Schema
- }
- return ""
-}
-
-func (x *BranchDependentColumn) GetTable() string {
- if x != nil {
- return x.Table
- }
- return ""
-}
-
-func (x *BranchDependentColumn) GetColumn() string {
- if x != nil {
- return x.Column
- }
- return ""
-}
-
-// BranchMaterializedViewMetadata is the metadata for materialized views used in branch.
-type BranchMaterializedViewMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a view.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a view.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The comment is the comment of a view.
- Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
- // The dependent_columns is the list of dependent columns of a view.
- DependentColumns []*BranchDependentColumn `protobuf:"bytes,4,rep,name=dependent_columns,json=dependentColumns,proto3" json:"dependent_columns,omitempty"`
-}
-
-func (x *BranchMaterializedViewMetadata) Reset() {
- *x = BranchMaterializedViewMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchMaterializedViewMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchMaterializedViewMetadata) ProtoMessage() {}
-
-func (x *BranchMaterializedViewMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[24]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchMaterializedViewMetadata.ProtoReflect.Descriptor instead.
-func (*BranchMaterializedViewMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{24}
-}
-
-func (x *BranchMaterializedViewMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchMaterializedViewMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchMaterializedViewMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchMaterializedViewMetadata) GetDependentColumns() []*BranchDependentColumn {
- if x != nil {
- return x.DependentColumns
- }
- return nil
-}
-
-// BranchFunctionMetadata is the metadata for functions used in branch.
-type BranchFunctionMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a function.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a function.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,3,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchFunctionMetadata) Reset() {
- *x = BranchFunctionMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchFunctionMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchFunctionMetadata) ProtoMessage() {}
-
-func (x *BranchFunctionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[25]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchFunctionMetadata.ProtoReflect.Descriptor instead.
-func (*BranchFunctionMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{25}
-}
-
-func (x *BranchFunctionMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchFunctionMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchFunctionMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchFunctionMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-// BranchProcedureMetadata is the metadata for procedures used in branch.
-type BranchProcedureMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a procedure.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The definition is the definition of a procedure.
- Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
- // The last updater of the object.
- // Format: users/{email}
- Updater string `protobuf:"bytes,3,opt,name=updater,proto3" json:"updater,omitempty"`
- // The timestamp when the object was last updated.
- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-}
-
-func (x *BranchProcedureMetadata) Reset() {
- *x = BranchProcedureMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchProcedureMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchProcedureMetadata) ProtoMessage() {}
-
-func (x *BranchProcedureMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[26]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchProcedureMetadata.ProtoReflect.Descriptor instead.
-func (*BranchProcedureMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{26}
-}
-
-func (x *BranchProcedureMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchProcedureMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-func (x *BranchProcedureMetadata) GetUpdater() string {
- if x != nil {
- return x.Updater
- }
- return ""
-}
-
-func (x *BranchProcedureMetadata) GetUpdateTime() *timestamppb.Timestamp {
- if x != nil {
- return x.UpdateTime
- }
- return nil
-}
-
-// BranchIndexMetadata is the metadata for indexes used in branch.
-type BranchIndexMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of an index.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The expressions are the ordered columns or expressions of an index.
- // This could refer to a column or an expression.
- Expressions []string `protobuf:"bytes,2,rep,name=expressions,proto3" json:"expressions,omitempty"`
- // The key_lengths are the ordered key lengths of an index.
- // If the key length is not specified, it's -1.
- KeyLength []int64 `protobuf:"varint,9,rep,packed,name=key_length,json=keyLength,proto3" json:"key_length,omitempty"`
- // The type is the type of an index.
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- // The unique is whether the index is unique.
- Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"`
- // The primary is whether the index is a primary key index.
- Primary bool `protobuf:"varint,5,opt,name=primary,proto3" json:"primary,omitempty"`
- // The visible is whether the index is visible.
- Visible bool `protobuf:"varint,6,opt,name=visible,proto3" json:"visible,omitempty"`
- // The comment is the comment of an index.
- Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
- // The definition of an index.
- Definition string `protobuf:"bytes,8,opt,name=definition,proto3" json:"definition,omitempty"`
-}
-
-func (x *BranchIndexMetadata) Reset() {
- *x = BranchIndexMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchIndexMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchIndexMetadata) ProtoMessage() {}
-
-func (x *BranchIndexMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[27]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchIndexMetadata.ProtoReflect.Descriptor instead.
-func (*BranchIndexMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{27}
-}
-
-func (x *BranchIndexMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchIndexMetadata) GetExpressions() []string {
- if x != nil {
- return x.Expressions
- }
- return nil
-}
-
-func (x *BranchIndexMetadata) GetKeyLength() []int64 {
- if x != nil {
- return x.KeyLength
- }
- return nil
-}
-
-func (x *BranchIndexMetadata) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
-}
-
-func (x *BranchIndexMetadata) GetUnique() bool {
- if x != nil {
- return x.Unique
- }
- return false
-}
-
-func (x *BranchIndexMetadata) GetPrimary() bool {
- if x != nil {
- return x.Primary
- }
- return false
-}
-
-func (x *BranchIndexMetadata) GetVisible() bool {
- if x != nil {
- return x.Visible
- }
- return false
-}
-
-func (x *BranchIndexMetadata) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
-}
-
-func (x *BranchIndexMetadata) GetDefinition() string {
- if x != nil {
- return x.Definition
- }
- return ""
-}
-
-// BranchExtensionMetadata is the metadata for extensions used in branch.
-type BranchExtensionMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of an extension.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The schema is the extension that is installed to. But the extension usage is not limited to the schema.
- Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
- // The version is the version of an extension.
- Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
- // The description is the description of an extension.
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
-}
-
-func (x *BranchExtensionMetadata) Reset() {
- *x = BranchExtensionMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchExtensionMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchExtensionMetadata) ProtoMessage() {}
-
-func (x *BranchExtensionMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[28]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchExtensionMetadata.ProtoReflect.Descriptor instead.
-func (*BranchExtensionMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{28}
-}
-
-func (x *BranchExtensionMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchExtensionMetadata) GetSchema() string {
- if x != nil {
- return x.Schema
- }
- return ""
-}
-
-func (x *BranchExtensionMetadata) GetVersion() string {
- if x != nil {
- return x.Version
- }
- return ""
-}
-
-func (x *BranchExtensionMetadata) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
-}
-
-// BranchForeignKeyMetadata is the metadata for foreign keys used in branch.
-type BranchForeignKeyMetadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name is the name of a foreign key.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The columns are the ordered referencing columns of a foreign key.
- Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
- // The referenced_schema is the referenced schema name of a foreign key.
- // It is an empty string for databases without such concept such as MySQL.
- ReferencedSchema string `protobuf:"bytes,3,opt,name=referenced_schema,json=referencedSchema,proto3" json:"referenced_schema,omitempty"`
- // The referenced_table is the referenced table name of a foreign key.
- ReferencedTable string `protobuf:"bytes,4,opt,name=referenced_table,json=referencedTable,proto3" json:"referenced_table,omitempty"`
- // The referenced_columns are the ordered referenced columns of a foreign key.
- ReferencedColumns []string `protobuf:"bytes,5,rep,name=referenced_columns,json=referencedColumns,proto3" json:"referenced_columns,omitempty"`
- // The on_delete is the on delete action of a foreign key.
- OnDelete string `protobuf:"bytes,6,opt,name=on_delete,json=onDelete,proto3" json:"on_delete,omitempty"`
- // The on_update is the on update action of a foreign key.
- OnUpdate string `protobuf:"bytes,7,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
- // The match_type is the match type of a foreign key.
- // The match_type is the PostgreSQL specific field.
- // It's empty string for other databases.
- MatchType string `protobuf:"bytes,8,opt,name=match_type,json=matchType,proto3" json:"match_type,omitempty"`
-}
-
-func (x *BranchForeignKeyMetadata) Reset() {
- *x = BranchForeignKeyMetadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_v1_branch_service_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BranchForeignKeyMetadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BranchForeignKeyMetadata) ProtoMessage() {}
-
-func (x *BranchForeignKeyMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_v1_branch_service_proto_msgTypes[29]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BranchForeignKeyMetadata.ProtoReflect.Descriptor instead.
-func (*BranchForeignKeyMetadata) Descriptor() ([]byte, []int) {
- return file_v1_branch_service_proto_rawDescGZIP(), []int{29}
-}
-
-func (x *BranchForeignKeyMetadata) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetColumns() []string {
- if x != nil {
- return x.Columns
- }
- return nil
-}
-
-func (x *BranchForeignKeyMetadata) GetReferencedSchema() string {
- if x != nil {
- return x.ReferencedSchema
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetReferencedTable() string {
- if x != nil {
- return x.ReferencedTable
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetReferencedColumns() []string {
- if x != nil {
- return x.ReferencedColumns
- }
- return nil
-}
-
-func (x *BranchForeignKeyMetadata) GetOnDelete() string {
- if x != nil {
- return x.OnDelete
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetOnUpdate() string {
- if x != nil {
- return x.OnUpdate
- }
- return ""
-}
-
-func (x *BranchForeignKeyMetadata) GetMatchType() string {
- if x != nil {
- return x.MatchType
- }
- return ""
-}
-
-var File_v1_branch_service_proto protoreflect.FileDescriptor
+var File_v1_branch_service_proto protoreflect.FileDescriptor
var file_v1_branch_service_proto_rawDesc = []byte{
0x0a, 0x17, 0x76, 0x31, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76,
@@ -3178,9 +1199,7 @@ var file_v1_branch_service_proto_rawDesc = []byte{
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65,
0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
- 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f,
0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x19, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x05, 0x0a, 0x06, 0x42,
@@ -3328,421 +1347,90 @@ var file_v1_branch_service_proto_rawDesc = []byte{
0x6e, 0x67, 0x69, 0x6e, 0x65, 0x22, 0x2a, 0x0a, 0x14, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
0x04, 0x64, 0x69, 0x66, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x69, 0x66,
- 0x66, 0x22, 0xb3, 0x02, 0x0a, 0x1c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x63, 0x68, 0x65,
- 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65,
- 0x6d, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72,
- 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72,
- 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c,
- 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68,
- 0x61, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73,
- 0x68, 0x61, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xaa, 0x05, 0x0a, 0x14, 0x42, 0x72, 0x61, 0x6e,
- 0x63, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x51,
- 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
- 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65,
- 0x73, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,
- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x41, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79,
+ 0x66, 0x2a, 0x56, 0x0a, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56, 0x69, 0x65, 0x77, 0x12,
+ 0x1b, 0x0a, 0x17, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55,
+ 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11,
+ 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49,
+ 0x43, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x56, 0x49,
+ 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xba, 0x09, 0x0a, 0x0d, 0x42, 0x72,
+ 0x61, 0x6e, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x09, 0x47,
+ 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x2f, 0xda, 0x41,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31,
+ 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
+ 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x80, 0x01,
+ 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x20,
+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
+ 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
+ 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x2b, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20,
+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73,
+ 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63,
+ 0x68, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x3e, 0xda, 0x41, 0x0d, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x2c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28,
+ 0x3a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
+ 0x7d, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x93, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72,
+ 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79,
0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
- 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0a, 0x70,
- 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65,
- 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
- 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x35,
- 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e,
- 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05,
- 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
- 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a,
- 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11,
- 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77,
- 0x73, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x0b, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x54, 0x69, 0x6d, 0x65, 0x22, 0x89, 0x03, 0x0a, 0x12, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54,
- 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,
- 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x1a, 0x0a,
- 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x65,
- 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52,
- 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12, 0x3b, 0x0a,
- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74,
- 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f,
- 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
- 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
- 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54,
- 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53,
- 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02,
- 0x22, 0xb1, 0x03, 0x0a, 0x14, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e,
- 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53,
- 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6c,
- 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x12, 0x3a,
- 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
- 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
- 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45,
- 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10, 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65,
- 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
- 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44,
- 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45,
- 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x14,
- 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x5f, 0x4f, 0x4e,
- 0x4c, 0x59, 0x10, 0x03, 0x22, 0xd2, 0x05, 0x0a, 0x13, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54,
- 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a,
- 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61,
- 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67,
- 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e,
- 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09,
- 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64,
- 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x69,
- 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61,
- 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74,
- 0x61, 0x46, 0x72, 0x65, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07,
- 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69,
- 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
- 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21,
- 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x12, 0x48, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79,
- 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x65,
- 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b,
- 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x49, 0x0a, 0x0a, 0x70,
- 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x11, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xd6, 0x01, 0x0a, 0x1b, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c,
- 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a,
- 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12,
- 0x34, 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
- 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
- 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x73, 0x22, 0xab, 0x03, 0x0a, 0x1c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62,
- 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
- 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50,
- 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65,
- 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x12, 0x4f, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65,
- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x61,
- 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
- 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a,
- 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x02,
- 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49,
- 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,
- 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52,
- 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x07,
- 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x08,
- 0x22, 0xdc, 0x03, 0x0a, 0x14, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
- 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e,
- 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45,
- 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62,
- 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62,
- 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63,
- 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,
- 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63,
- 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
- 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61,
- 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75,
- 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x0f,
- 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
- 0x96, 0x02, 0x0a, 0x12, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
- 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
- 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c,
- 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f,
- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x5d, 0x0a, 0x15, 0x42, 0x72, 0x61, 0x6e,
- 0x63, 0x68, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12,
- 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x22, 0xbf, 0x01, 0x0a, 0x1e, 0x42, 0x72, 0x61, 0x6e,
- 0x63, 0x68, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69,
- 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e,
- 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,
- 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65,
- 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
- 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,
- 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x16, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69,
- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
- 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x17,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64,
- 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
- 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 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, 0x42, 0x04, 0xe2, 0x41,
- 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x84,
- 0x02, 0x0a, 0x13, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78,
- 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
- 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03,
- 0x52, 0x09, 0x6b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
- 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61,
- 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72,
- 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a,
- 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x02, 0x0a, 0x18, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x6f,
- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c,
- 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
- 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f,
- 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x66,
- 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12,
- 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
- 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
- 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6f,
- 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x54, 0x79, 0x70, 0x65, 0x2a, 0x56, 0x0a, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x56, 0x69,
- 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x17, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x56, 0x49, 0x45,
- 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
- 0x15, 0x0a, 0x11, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42,
- 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48,
- 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xba, 0x09, 0x0a,
- 0x0d, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x70,
- 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1d, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61,
- 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22,
- 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d,
- 0x12, 0x80, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65,
- 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x65, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72,
- 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x3e, 0xda, 0x41, 0x0d,
- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x28, 0x3a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x1e, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x93, 0x01, 0x0a, 0x0c,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x22, 0x4c, 0xda, 0x41, 0x12, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x2c, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x3a, 0x06, 0x62,
+ 0x72, 0x61, 0x6e, 0x63, 0x68, 0x32, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x62, 0x72, 0x61, 0x6e,
+ 0x63, 0x68, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7a,
+ 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x72, 0x67,
0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13,
0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x61,
- 0x6e, 0x63, 0x68, 0x22, 0x4c, 0xda, 0x41, 0x12, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x2c, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31,
- 0x3a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x32, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x62,
- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a,
- 0x7d, 0x12, 0x7a, 0x0a, 0x0b, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
- 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
- 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e,
- 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x12, 0x8b, 0x01,
- 0x0a, 0x0c, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x36, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x29, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
+ 0x6e, 0x63, 0x68, 0x22, 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
+ 0x02, 0x28, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65,
- 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0c, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x62, 0x79,
- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x22, 0x2a, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
- 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63,
- 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 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, 0x44, 0x69, 0x66, 0x66, 0x44, 0x61, 0x74, 0x61,
- 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0xda, 0x41,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x2d, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
- 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69,
- 0x66, 0x66, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x0c, 0x44, 0x69,
- 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f,
- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x64, 0x69, 0x66,
- 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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,
+ 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x0c, 0x52,
+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65,
+ 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x22, 0x36, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22,
+ 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a,
+ 0x7d, 0x3a, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65,
+ 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61,
+ 0x6e, 0x63, 0x68, 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, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
+ 0x22, 0x2a, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73,
+ 0x2f, 0x2a, 0x7d, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x44, 0x61, 0x74, 0x61,
+ 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 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, 0x44, 0x69, 0x66, 0x66, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0xda, 0x41, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x62,
+ 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x4d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,
+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65,
+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x44, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,
+ 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x33,
}
var (
@@ -3757,118 +1445,68 @@ func file_v1_branch_service_proto_rawDescGZIP() []byte {
return file_v1_branch_service_proto_rawDescData
}
-var file_v1_branch_service_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
-var file_v1_branch_service_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
+var file_v1_branch_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_v1_branch_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_v1_branch_service_proto_goTypes = []interface{}{
- (BranchView)(0), // 0: bytebase.v1.BranchView
- (BranchTaskMetadata_State)(0), // 1: bytebase.v1.BranchTaskMetadata.State
- (BranchStreamMetadata_Type)(0), // 2: bytebase.v1.BranchStreamMetadata.Type
- (BranchStreamMetadata_Mode)(0), // 3: bytebase.v1.BranchStreamMetadata.Mode
- (BranchTablePartitionMetadata_Type)(0), // 4: bytebase.v1.BranchTablePartitionMetadata.Type
- (*Branch)(nil), // 5: bytebase.v1.Branch
- (*GetBranchRequest)(nil), // 6: bytebase.v1.GetBranchRequest
- (*ListBranchesRequest)(nil), // 7: bytebase.v1.ListBranchesRequest
- (*ListBranchesResponse)(nil), // 8: bytebase.v1.ListBranchesResponse
- (*CreateBranchRequest)(nil), // 9: bytebase.v1.CreateBranchRequest
- (*UpdateBranchRequest)(nil), // 10: bytebase.v1.UpdateBranchRequest
- (*MergeBranchRequest)(nil), // 11: bytebase.v1.MergeBranchRequest
- (*RebaseBranchRequest)(nil), // 12: bytebase.v1.RebaseBranchRequest
- (*RebaseBranchResponse)(nil), // 13: bytebase.v1.RebaseBranchResponse
- (*DeleteBranchRequest)(nil), // 14: bytebase.v1.DeleteBranchRequest
- (*DiffDatabaseRequest)(nil), // 15: bytebase.v1.DiffDatabaseRequest
- (*DiffDatabaseResponse)(nil), // 16: bytebase.v1.DiffDatabaseResponse
- (*DiffMetadataRequest)(nil), // 17: bytebase.v1.DiffMetadataRequest
- (*DiffMetadataResponse)(nil), // 18: bytebase.v1.DiffMetadataResponse
- (*BranchDatabaseSchemaMetadata)(nil), // 19: bytebase.v1.BranchDatabaseSchemaMetadata
- (*BranchSchemaMetadata)(nil), // 20: bytebase.v1.BranchSchemaMetadata
- (*BranchTaskMetadata)(nil), // 21: bytebase.v1.BranchTaskMetadata
- (*BranchStreamMetadata)(nil), // 22: bytebase.v1.BranchStreamMetadata
- (*BranchTableMetadata)(nil), // 23: bytebase.v1.BranchTableMetadata
- (*BranchExternalTableMetadata)(nil), // 24: bytebase.v1.BranchExternalTableMetadata
- (*BranchTablePartitionMetadata)(nil), // 25: bytebase.v1.BranchTablePartitionMetadata
- (*BranchColumnMetadata)(nil), // 26: bytebase.v1.BranchColumnMetadata
- (*BranchViewMetadata)(nil), // 27: bytebase.v1.BranchViewMetadata
- (*BranchDependentColumn)(nil), // 28: bytebase.v1.BranchDependentColumn
- (*BranchMaterializedViewMetadata)(nil), // 29: bytebase.v1.BranchMaterializedViewMetadata
- (*BranchFunctionMetadata)(nil), // 30: bytebase.v1.BranchFunctionMetadata
- (*BranchProcedureMetadata)(nil), // 31: bytebase.v1.BranchProcedureMetadata
- (*BranchIndexMetadata)(nil), // 32: bytebase.v1.BranchIndexMetadata
- (*BranchExtensionMetadata)(nil), // 33: bytebase.v1.BranchExtensionMetadata
- (*BranchForeignKeyMetadata)(nil), // 34: bytebase.v1.BranchForeignKeyMetadata
- (*DatabaseMetadata)(nil), // 35: bytebase.v1.DatabaseMetadata
- (Engine)(0), // 36: bytebase.v1.Engine
- (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp
- (*fieldmaskpb.FieldMask)(nil), // 38: google.protobuf.FieldMask
- (*ExtensionMetadata)(nil), // 39: bytebase.v1.ExtensionMetadata
- (*wrapperspb.StringValue)(nil), // 40: google.protobuf.StringValue
- (*emptypb.Empty)(nil), // 41: google.protobuf.Empty
+ (BranchView)(0), // 0: bytebase.v1.BranchView
+ (*Branch)(nil), // 1: bytebase.v1.Branch
+ (*GetBranchRequest)(nil), // 2: bytebase.v1.GetBranchRequest
+ (*ListBranchesRequest)(nil), // 3: bytebase.v1.ListBranchesRequest
+ (*ListBranchesResponse)(nil), // 4: bytebase.v1.ListBranchesResponse
+ (*CreateBranchRequest)(nil), // 5: bytebase.v1.CreateBranchRequest
+ (*UpdateBranchRequest)(nil), // 6: bytebase.v1.UpdateBranchRequest
+ (*MergeBranchRequest)(nil), // 7: bytebase.v1.MergeBranchRequest
+ (*RebaseBranchRequest)(nil), // 8: bytebase.v1.RebaseBranchRequest
+ (*RebaseBranchResponse)(nil), // 9: bytebase.v1.RebaseBranchResponse
+ (*DeleteBranchRequest)(nil), // 10: bytebase.v1.DeleteBranchRequest
+ (*DiffDatabaseRequest)(nil), // 11: bytebase.v1.DiffDatabaseRequest
+ (*DiffDatabaseResponse)(nil), // 12: bytebase.v1.DiffDatabaseResponse
+ (*DiffMetadataRequest)(nil), // 13: bytebase.v1.DiffMetadataRequest
+ (*DiffMetadataResponse)(nil), // 14: bytebase.v1.DiffMetadataResponse
+ (*DatabaseMetadata)(nil), // 15: bytebase.v1.DatabaseMetadata
+ (Engine)(0), // 16: bytebase.v1.Engine
+ (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
+ (*fieldmaskpb.FieldMask)(nil), // 18: google.protobuf.FieldMask
+ (*emptypb.Empty)(nil), // 19: google.protobuf.Empty
}
var file_v1_branch_service_proto_depIdxs = []int32{
- 35, // 0: bytebase.v1.Branch.schema_metadata:type_name -> bytebase.v1.DatabaseMetadata
- 35, // 1: bytebase.v1.Branch.baseline_schema_metadata:type_name -> bytebase.v1.DatabaseMetadata
- 36, // 2: bytebase.v1.Branch.engine:type_name -> bytebase.v1.Engine
- 37, // 3: bytebase.v1.Branch.create_time:type_name -> google.protobuf.Timestamp
- 37, // 4: bytebase.v1.Branch.update_time:type_name -> google.protobuf.Timestamp
+ 15, // 0: bytebase.v1.Branch.schema_metadata:type_name -> bytebase.v1.DatabaseMetadata
+ 15, // 1: bytebase.v1.Branch.baseline_schema_metadata:type_name -> bytebase.v1.DatabaseMetadata
+ 16, // 2: bytebase.v1.Branch.engine:type_name -> bytebase.v1.Engine
+ 17, // 3: bytebase.v1.Branch.create_time:type_name -> google.protobuf.Timestamp
+ 17, // 4: bytebase.v1.Branch.update_time:type_name -> google.protobuf.Timestamp
0, // 5: bytebase.v1.ListBranchesRequest.view:type_name -> bytebase.v1.BranchView
- 5, // 6: bytebase.v1.ListBranchesResponse.branches:type_name -> bytebase.v1.Branch
- 5, // 7: bytebase.v1.CreateBranchRequest.branch:type_name -> bytebase.v1.Branch
- 5, // 8: bytebase.v1.UpdateBranchRequest.branch:type_name -> bytebase.v1.Branch
- 38, // 9: bytebase.v1.UpdateBranchRequest.update_mask:type_name -> google.protobuf.FieldMask
- 5, // 10: bytebase.v1.RebaseBranchResponse.branch:type_name -> bytebase.v1.Branch
- 35, // 11: bytebase.v1.DiffMetadataRequest.source_metadata:type_name -> bytebase.v1.DatabaseMetadata
- 35, // 12: bytebase.v1.DiffMetadataRequest.target_metadata:type_name -> bytebase.v1.DatabaseMetadata
- 36, // 13: bytebase.v1.DiffMetadataRequest.engine:type_name -> bytebase.v1.Engine
- 20, // 14: bytebase.v1.BranchDatabaseSchemaMetadata.schemas:type_name -> bytebase.v1.BranchSchemaMetadata
- 39, // 15: bytebase.v1.BranchDatabaseSchemaMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata
- 23, // 16: bytebase.v1.BranchSchemaMetadata.tables:type_name -> bytebase.v1.BranchTableMetadata
- 24, // 17: bytebase.v1.BranchSchemaMetadata.external_tables:type_name -> bytebase.v1.BranchExternalTableMetadata
- 27, // 18: bytebase.v1.BranchSchemaMetadata.views:type_name -> bytebase.v1.BranchViewMetadata
- 30, // 19: bytebase.v1.BranchSchemaMetadata.functions:type_name -> bytebase.v1.BranchFunctionMetadata
- 31, // 20: bytebase.v1.BranchSchemaMetadata.procedures:type_name -> bytebase.v1.BranchProcedureMetadata
- 22, // 21: bytebase.v1.BranchSchemaMetadata.streams:type_name -> bytebase.v1.BranchStreamMetadata
- 21, // 22: bytebase.v1.BranchSchemaMetadata.tasks:type_name -> bytebase.v1.BranchTaskMetadata
- 29, // 23: bytebase.v1.BranchSchemaMetadata.materialized_views:type_name -> bytebase.v1.BranchMaterializedViewMetadata
- 37, // 24: bytebase.v1.BranchSchemaMetadata.update_time:type_name -> google.protobuf.Timestamp
- 1, // 25: bytebase.v1.BranchTaskMetadata.state:type_name -> bytebase.v1.BranchTaskMetadata.State
- 2, // 26: bytebase.v1.BranchStreamMetadata.type:type_name -> bytebase.v1.BranchStreamMetadata.Type
- 3, // 27: bytebase.v1.BranchStreamMetadata.mode:type_name -> bytebase.v1.BranchStreamMetadata.Mode
- 26, // 28: bytebase.v1.BranchTableMetadata.columns:type_name -> bytebase.v1.BranchColumnMetadata
- 32, // 29: bytebase.v1.BranchTableMetadata.indexes:type_name -> bytebase.v1.BranchIndexMetadata
- 34, // 30: bytebase.v1.BranchTableMetadata.foreign_keys:type_name -> bytebase.v1.BranchForeignKeyMetadata
- 25, // 31: bytebase.v1.BranchTableMetadata.partitions:type_name -> bytebase.v1.BranchTablePartitionMetadata
- 37, // 32: bytebase.v1.BranchTableMetadata.update_time:type_name -> google.protobuf.Timestamp
- 26, // 33: bytebase.v1.BranchExternalTableMetadata.columns:type_name -> bytebase.v1.BranchColumnMetadata
- 4, // 34: bytebase.v1.BranchTablePartitionMetadata.type:type_name -> bytebase.v1.BranchTablePartitionMetadata.Type
- 25, // 35: bytebase.v1.BranchTablePartitionMetadata.subpartitions:type_name -> bytebase.v1.BranchTablePartitionMetadata
- 40, // 36: bytebase.v1.BranchColumnMetadata.default:type_name -> google.protobuf.StringValue
- 28, // 37: bytebase.v1.BranchViewMetadata.dependent_columns:type_name -> bytebase.v1.BranchDependentColumn
- 37, // 38: bytebase.v1.BranchViewMetadata.update_time:type_name -> google.protobuf.Timestamp
- 28, // 39: bytebase.v1.BranchMaterializedViewMetadata.dependent_columns:type_name -> bytebase.v1.BranchDependentColumn
- 37, // 40: bytebase.v1.BranchFunctionMetadata.update_time:type_name -> google.protobuf.Timestamp
- 37, // 41: bytebase.v1.BranchProcedureMetadata.update_time:type_name -> google.protobuf.Timestamp
- 6, // 42: bytebase.v1.BranchService.GetBranch:input_type -> bytebase.v1.GetBranchRequest
- 7, // 43: bytebase.v1.BranchService.ListBranches:input_type -> bytebase.v1.ListBranchesRequest
- 9, // 44: bytebase.v1.BranchService.CreateBranch:input_type -> bytebase.v1.CreateBranchRequest
- 10, // 45: bytebase.v1.BranchService.UpdateBranch:input_type -> bytebase.v1.UpdateBranchRequest
- 11, // 46: bytebase.v1.BranchService.MergeBranch:input_type -> bytebase.v1.MergeBranchRequest
- 12, // 47: bytebase.v1.BranchService.RebaseBranch:input_type -> bytebase.v1.RebaseBranchRequest
- 14, // 48: bytebase.v1.BranchService.DeleteBranch:input_type -> bytebase.v1.DeleteBranchRequest
- 15, // 49: bytebase.v1.BranchService.DiffDatabase:input_type -> bytebase.v1.DiffDatabaseRequest
- 17, // 50: bytebase.v1.BranchService.DiffMetadata:input_type -> bytebase.v1.DiffMetadataRequest
- 5, // 51: bytebase.v1.BranchService.GetBranch:output_type -> bytebase.v1.Branch
- 8, // 52: bytebase.v1.BranchService.ListBranches:output_type -> bytebase.v1.ListBranchesResponse
- 5, // 53: bytebase.v1.BranchService.CreateBranch:output_type -> bytebase.v1.Branch
- 5, // 54: bytebase.v1.BranchService.UpdateBranch:output_type -> bytebase.v1.Branch
- 5, // 55: bytebase.v1.BranchService.MergeBranch:output_type -> bytebase.v1.Branch
- 13, // 56: bytebase.v1.BranchService.RebaseBranch:output_type -> bytebase.v1.RebaseBranchResponse
- 41, // 57: bytebase.v1.BranchService.DeleteBranch:output_type -> google.protobuf.Empty
- 16, // 58: bytebase.v1.BranchService.DiffDatabase:output_type -> bytebase.v1.DiffDatabaseResponse
- 18, // 59: bytebase.v1.BranchService.DiffMetadata:output_type -> bytebase.v1.DiffMetadataResponse
- 51, // [51:60] is the sub-list for method output_type
- 42, // [42:51] is the sub-list for method input_type
- 42, // [42:42] is the sub-list for extension type_name
- 42, // [42:42] is the sub-list for extension extendee
- 0, // [0:42] is the sub-list for field type_name
+ 1, // 6: bytebase.v1.ListBranchesResponse.branches:type_name -> bytebase.v1.Branch
+ 1, // 7: bytebase.v1.CreateBranchRequest.branch:type_name -> bytebase.v1.Branch
+ 1, // 8: bytebase.v1.UpdateBranchRequest.branch:type_name -> bytebase.v1.Branch
+ 18, // 9: bytebase.v1.UpdateBranchRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 1, // 10: bytebase.v1.RebaseBranchResponse.branch:type_name -> bytebase.v1.Branch
+ 15, // 11: bytebase.v1.DiffMetadataRequest.source_metadata:type_name -> bytebase.v1.DatabaseMetadata
+ 15, // 12: bytebase.v1.DiffMetadataRequest.target_metadata:type_name -> bytebase.v1.DatabaseMetadata
+ 16, // 13: bytebase.v1.DiffMetadataRequest.engine:type_name -> bytebase.v1.Engine
+ 2, // 14: bytebase.v1.BranchService.GetBranch:input_type -> bytebase.v1.GetBranchRequest
+ 3, // 15: bytebase.v1.BranchService.ListBranches:input_type -> bytebase.v1.ListBranchesRequest
+ 5, // 16: bytebase.v1.BranchService.CreateBranch:input_type -> bytebase.v1.CreateBranchRequest
+ 6, // 17: bytebase.v1.BranchService.UpdateBranch:input_type -> bytebase.v1.UpdateBranchRequest
+ 7, // 18: bytebase.v1.BranchService.MergeBranch:input_type -> bytebase.v1.MergeBranchRequest
+ 8, // 19: bytebase.v1.BranchService.RebaseBranch:input_type -> bytebase.v1.RebaseBranchRequest
+ 10, // 20: bytebase.v1.BranchService.DeleteBranch:input_type -> bytebase.v1.DeleteBranchRequest
+ 11, // 21: bytebase.v1.BranchService.DiffDatabase:input_type -> bytebase.v1.DiffDatabaseRequest
+ 13, // 22: bytebase.v1.BranchService.DiffMetadata:input_type -> bytebase.v1.DiffMetadataRequest
+ 1, // 23: bytebase.v1.BranchService.GetBranch:output_type -> bytebase.v1.Branch
+ 4, // 24: bytebase.v1.BranchService.ListBranches:output_type -> bytebase.v1.ListBranchesResponse
+ 1, // 25: bytebase.v1.BranchService.CreateBranch:output_type -> bytebase.v1.Branch
+ 1, // 26: bytebase.v1.BranchService.UpdateBranch:output_type -> bytebase.v1.Branch
+ 1, // 27: bytebase.v1.BranchService.MergeBranch:output_type -> bytebase.v1.Branch
+ 9, // 28: bytebase.v1.BranchService.RebaseBranch:output_type -> bytebase.v1.RebaseBranchResponse
+ 19, // 29: bytebase.v1.BranchService.DeleteBranch:output_type -> google.protobuf.Empty
+ 12, // 30: bytebase.v1.BranchService.DiffDatabase:output_type -> bytebase.v1.DiffDatabaseResponse
+ 14, // 31: bytebase.v1.BranchService.DiffMetadata:output_type -> bytebase.v1.DiffMetadataResponse
+ 23, // [23:32] is the sub-list for method output_type
+ 14, // [14:23] is the sub-list for method input_type
+ 14, // [14:14] is the sub-list for extension type_name
+ 14, // [14:14] is the sub-list for extension extendee
+ 0, // [0:14] is the sub-list for field type_name
}
func init() { file_v1_branch_service_proto_init() }
@@ -4047,198 +1685,6 @@ func file_v1_branch_service_proto_init() {
return nil
}
}
- file_v1_branch_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchDatabaseSchemaMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchSchemaMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchTaskMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchStreamMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchTableMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchExternalTableMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchTablePartitionMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchColumnMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchViewMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchDependentColumn); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchMaterializedViewMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchFunctionMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchProcedureMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchIndexMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchExtensionMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_v1_branch_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BranchForeignKeyMetadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
}
file_v1_branch_service_proto_msgTypes[8].OneofWrappers = []interface{}{
(*RebaseBranchResponse_Branch)(nil),
@@ -4248,18 +1694,13 @@ func file_v1_branch_service_proto_init() {
(*DiffDatabaseResponse_Schema)(nil),
(*DiffDatabaseResponse_ConflictSchema)(nil),
}
- file_v1_branch_service_proto_msgTypes[21].OneofWrappers = []interface{}{
- (*BranchColumnMetadata_Default)(nil),
- (*BranchColumnMetadata_DefaultNull)(nil),
- (*BranchColumnMetadata_DefaultExpression)(nil),
- }
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_branch_service_proto_rawDesc,
- NumEnums: 5,
- NumMessages: 30,
+ NumEnums: 1,
+ NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.go
index 8cc60e8a92..3d1707b806 100644
--- a/proto/generated-go/v1/database_service.pb.go
+++ b/proto/generated-go/v1/database_service.pb.go
@@ -397,7 +397,7 @@ func (x ChangeHistory_Source) Number() protoreflect.EnumNumber {
// Deprecated: Use ChangeHistory_Source.Descriptor instead.
func (ChangeHistory_Source) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{49, 0}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{52, 0}
}
type ChangeHistory_Type int32
@@ -458,7 +458,7 @@ func (x ChangeHistory_Type) Number() protoreflect.EnumNumber {
// Deprecated: Use ChangeHistory_Type.Descriptor instead.
func (ChangeHistory_Type) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{49, 1}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{52, 1}
}
type ChangeHistory_Status int32
@@ -510,7 +510,7 @@ func (x ChangeHistory_Status) Number() protoreflect.EnumNumber {
// Deprecated: Use ChangeHistory_Status.Descriptor instead.
func (ChangeHistory_Status) EnumDescriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{49, 2}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{52, 2}
}
type GetDatabaseRequest struct {
@@ -3338,7 +3338,10 @@ type SchemaConfig struct {
// It is an empty string for databases without such concept such as MySQL.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The table_configs is the list of configs for tables in a schema.
- TableConfigs []*TableConfig `protobuf:"bytes,2,rep,name=table_configs,json=tableConfigs,proto3" json:"table_configs,omitempty"`
+ TableConfigs []*TableConfig `protobuf:"bytes,2,rep,name=table_configs,json=tableConfigs,proto3" json:"table_configs,omitempty"`
+ FunctionConfigs []*FunctionConfig `protobuf:"bytes,3,rep,name=function_configs,json=functionConfigs,proto3" json:"function_configs,omitempty"`
+ ProcedureConfigs []*ProcedureConfig `protobuf:"bytes,4,rep,name=procedure_configs,json=procedureConfigs,proto3" json:"procedure_configs,omitempty"`
+ ViewConfigs []*ViewConfig `protobuf:"bytes,5,rep,name=view_configs,json=viewConfigs,proto3" json:"view_configs,omitempty"`
}
func (x *SchemaConfig) Reset() {
@@ -3387,6 +3390,27 @@ func (x *SchemaConfig) GetTableConfigs() []*TableConfig {
return nil
}
+func (x *SchemaConfig) GetFunctionConfigs() []*FunctionConfig {
+ if x != nil {
+ return x.FunctionConfigs
+ }
+ return nil
+}
+
+func (x *SchemaConfig) GetProcedureConfigs() []*ProcedureConfig {
+ if x != nil {
+ return x.ProcedureConfigs
+ }
+ return nil
+}
+
+func (x *SchemaConfig) GetViewConfigs() []*ViewConfig {
+ if x != nil {
+ return x.ViewConfigs
+ }
+ return nil
+}
+
type TableConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -3397,6 +3421,11 @@ type TableConfig struct {
// The column_configs is the ordered list of configs for columns in a table.
ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`
ClassificationId string `protobuf:"bytes,3,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`
+ // The last updater of the table in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,4,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the table is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
}
func (x *TableConfig) Reset() {
@@ -3452,6 +3481,221 @@ func (x *TableConfig) GetClassificationId() string {
return ""
}
+func (x *TableConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *TableConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
+type FunctionConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The name is the name of a function.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The last updater of the function in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the function is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+}
+
+func (x *FunctionConfig) Reset() {
+ *x = FunctionConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_database_service_proto_msgTypes[35]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FunctionConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FunctionConfig) ProtoMessage() {}
+
+func (x *FunctionConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_service_proto_msgTypes[35]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FunctionConfig.ProtoReflect.Descriptor instead.
+func (*FunctionConfig) Descriptor() ([]byte, []int) {
+ return file_v1_database_service_proto_rawDescGZIP(), []int{35}
+}
+
+func (x *FunctionConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *FunctionConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *FunctionConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
+type ProcedureConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The name is the name of a procedure.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The last updater of the procedure in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the procedure is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+}
+
+func (x *ProcedureConfig) Reset() {
+ *x = ProcedureConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_database_service_proto_msgTypes[36]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ProcedureConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ProcedureConfig) ProtoMessage() {}
+
+func (x *ProcedureConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_service_proto_msgTypes[36]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ProcedureConfig.ProtoReflect.Descriptor instead.
+func (*ProcedureConfig) Descriptor() ([]byte, []int) {
+ return file_v1_database_service_proto_rawDescGZIP(), []int{36}
+}
+
+func (x *ProcedureConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ProcedureConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *ProcedureConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
+type ViewConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The name is the name of a view.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The last updater of the view in branch.
+ // Format: users/{email}
+ Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
+ // The timestamp when the view is updated in branch.
+ UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+}
+
+func (x *ViewConfig) Reset() {
+ *x = ViewConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_database_service_proto_msgTypes[37]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ViewConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ViewConfig) ProtoMessage() {}
+
+func (x *ViewConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_database_service_proto_msgTypes[37]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ViewConfig.ProtoReflect.Descriptor instead.
+func (*ViewConfig) Descriptor() ([]byte, []int) {
+ return file_v1_database_service_proto_rawDescGZIP(), []int{37}
+}
+
+func (x *ViewConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *ViewConfig) GetUpdater() string {
+ if x != nil {
+ return x.Updater
+ }
+ return ""
+}
+
+func (x *ViewConfig) GetUpdateTime() *timestamppb.Timestamp {
+ if x != nil {
+ return x.UpdateTime
+ }
+ return nil
+}
+
type ColumnConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -3468,7 +3712,7 @@ type ColumnConfig struct {
func (x *ColumnConfig) Reset() {
*x = ColumnConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[35]
+ mi := &file_v1_database_service_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3481,7 +3725,7 @@ func (x *ColumnConfig) String() string {
func (*ColumnConfig) ProtoMessage() {}
func (x *ColumnConfig) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[35]
+ mi := &file_v1_database_service_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3494,7 +3738,7 @@ func (x *ColumnConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnConfig.ProtoReflect.Descriptor instead.
func (*ColumnConfig) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{35}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{38}
}
func (x *ColumnConfig) GetName() string {
@@ -3538,7 +3782,7 @@ type DatabaseSchema struct {
func (x *DatabaseSchema) Reset() {
*x = DatabaseSchema{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[36]
+ mi := &file_v1_database_service_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3551,7 +3795,7 @@ func (x *DatabaseSchema) String() string {
func (*DatabaseSchema) ProtoMessage() {}
func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[36]
+ mi := &file_v1_database_service_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3564,7 +3808,7 @@ func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {
// Deprecated: Use DatabaseSchema.ProtoReflect.Descriptor instead.
func (*DatabaseSchema) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{36}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{39}
}
func (x *DatabaseSchema) GetSchema() string {
@@ -3608,7 +3852,7 @@ type ListSlowQueriesRequest struct {
func (x *ListSlowQueriesRequest) Reset() {
*x = ListSlowQueriesRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[37]
+ mi := &file_v1_database_service_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3621,7 +3865,7 @@ func (x *ListSlowQueriesRequest) String() string {
func (*ListSlowQueriesRequest) ProtoMessage() {}
func (x *ListSlowQueriesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[37]
+ mi := &file_v1_database_service_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3634,7 +3878,7 @@ func (x *ListSlowQueriesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListSlowQueriesRequest.ProtoReflect.Descriptor instead.
func (*ListSlowQueriesRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{37}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{40}
}
func (x *ListSlowQueriesRequest) GetParent() string {
@@ -3671,7 +3915,7 @@ type ListSlowQueriesResponse struct {
func (x *ListSlowQueriesResponse) Reset() {
*x = ListSlowQueriesResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[38]
+ mi := &file_v1_database_service_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3684,7 +3928,7 @@ func (x *ListSlowQueriesResponse) String() string {
func (*ListSlowQueriesResponse) ProtoMessage() {}
func (x *ListSlowQueriesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[38]
+ mi := &file_v1_database_service_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3697,7 +3941,7 @@ func (x *ListSlowQueriesResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListSlowQueriesResponse.ProtoReflect.Descriptor instead.
func (*ListSlowQueriesResponse) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{38}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{41}
}
func (x *ListSlowQueriesResponse) GetSlowQueryLogs() []*SlowQueryLog {
@@ -3726,7 +3970,7 @@ type SlowQueryLog struct {
func (x *SlowQueryLog) Reset() {
*x = SlowQueryLog{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[39]
+ mi := &file_v1_database_service_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3739,7 +3983,7 @@ func (x *SlowQueryLog) String() string {
func (*SlowQueryLog) ProtoMessage() {}
func (x *SlowQueryLog) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[39]
+ mi := &file_v1_database_service_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3752,7 +3996,7 @@ func (x *SlowQueryLog) ProtoReflect() protoreflect.Message {
// Deprecated: Use SlowQueryLog.ProtoReflect.Descriptor instead.
func (*SlowQueryLog) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{39}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{42}
}
func (x *SlowQueryLog) GetResource() string {
@@ -3811,7 +4055,7 @@ type SlowQueryStatistics struct {
func (x *SlowQueryStatistics) Reset() {
*x = SlowQueryStatistics{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[40]
+ mi := &file_v1_database_service_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3824,7 +4068,7 @@ func (x *SlowQueryStatistics) String() string {
func (*SlowQueryStatistics) ProtoMessage() {}
func (x *SlowQueryStatistics) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[40]
+ mi := &file_v1_database_service_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3837,7 +4081,7 @@ func (x *SlowQueryStatistics) ProtoReflect() protoreflect.Message {
// Deprecated: Use SlowQueryStatistics.ProtoReflect.Descriptor instead.
func (*SlowQueryStatistics) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{40}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{43}
}
func (x *SlowQueryStatistics) GetSqlFingerprint() string {
@@ -3947,7 +4191,7 @@ type SlowQueryDetails struct {
func (x *SlowQueryDetails) Reset() {
*x = SlowQueryDetails{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[41]
+ mi := &file_v1_database_service_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3960,7 +4204,7 @@ func (x *SlowQueryDetails) String() string {
func (*SlowQueryDetails) ProtoMessage() {}
func (x *SlowQueryDetails) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[41]
+ mi := &file_v1_database_service_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3973,7 +4217,7 @@ func (x *SlowQueryDetails) ProtoReflect() protoreflect.Message {
// Deprecated: Use SlowQueryDetails.ProtoReflect.Descriptor instead.
func (*SlowQueryDetails) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{41}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{44}
}
func (x *SlowQueryDetails) GetStartTime() *timestamppb.Timestamp {
@@ -4042,7 +4286,7 @@ type ListSecretsRequest struct {
func (x *ListSecretsRequest) Reset() {
*x = ListSecretsRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[42]
+ mi := &file_v1_database_service_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4055,7 +4299,7 @@ func (x *ListSecretsRequest) String() string {
func (*ListSecretsRequest) ProtoMessage() {}
func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[42]
+ mi := &file_v1_database_service_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4068,7 +4312,7 @@ func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.
func (*ListSecretsRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{42}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{45}
}
func (x *ListSecretsRequest) GetParent() string {
@@ -4107,7 +4351,7 @@ type ListSecretsResponse struct {
func (x *ListSecretsResponse) Reset() {
*x = ListSecretsResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[43]
+ mi := &file_v1_database_service_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4120,7 +4364,7 @@ func (x *ListSecretsResponse) String() string {
func (*ListSecretsResponse) ProtoMessage() {}
func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[43]
+ mi := &file_v1_database_service_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4133,7 +4377,7 @@ func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.
func (*ListSecretsResponse) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{43}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{46}
}
func (x *ListSecretsResponse) GetSecrets() []*Secret {
@@ -4166,7 +4410,7 @@ type UpdateSecretRequest struct {
func (x *UpdateSecretRequest) Reset() {
*x = UpdateSecretRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[44]
+ mi := &file_v1_database_service_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4179,7 +4423,7 @@ func (x *UpdateSecretRequest) String() string {
func (*UpdateSecretRequest) ProtoMessage() {}
func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[44]
+ mi := &file_v1_database_service_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4192,7 +4436,7 @@ func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecretRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{44}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{47}
}
func (x *UpdateSecretRequest) GetSecret() *Secret {
@@ -4230,7 +4474,7 @@ type DeleteSecretRequest struct {
func (x *DeleteSecretRequest) Reset() {
*x = DeleteSecretRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[45]
+ mi := &file_v1_database_service_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4243,7 +4487,7 @@ func (x *DeleteSecretRequest) String() string {
func (*DeleteSecretRequest) ProtoMessage() {}
func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[45]
+ mi := &file_v1_database_service_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4256,7 +4500,7 @@ func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecretRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{45}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{48}
}
func (x *DeleteSecretRequest) GetName() string {
@@ -4289,7 +4533,7 @@ type Secret struct {
func (x *Secret) Reset() {
*x = Secret{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[46]
+ mi := &file_v1_database_service_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4302,7 +4546,7 @@ func (x *Secret) String() string {
func (*Secret) ProtoMessage() {}
func (x *Secret) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[46]
+ mi := &file_v1_database_service_proto_msgTypes[49]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4315,7 +4559,7 @@ func (x *Secret) ProtoReflect() protoreflect.Message {
// Deprecated: Use Secret.ProtoReflect.Descriptor instead.
func (*Secret) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{46}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{49}
}
func (x *Secret) GetName() string {
@@ -4368,7 +4612,7 @@ type AdviseIndexRequest struct {
func (x *AdviseIndexRequest) Reset() {
*x = AdviseIndexRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[47]
+ mi := &file_v1_database_service_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4381,7 +4625,7 @@ func (x *AdviseIndexRequest) String() string {
func (*AdviseIndexRequest) ProtoMessage() {}
func (x *AdviseIndexRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[47]
+ mi := &file_v1_database_service_proto_msgTypes[50]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4394,7 +4638,7 @@ func (x *AdviseIndexRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use AdviseIndexRequest.ProtoReflect.Descriptor instead.
func (*AdviseIndexRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{47}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{50}
}
func (x *AdviseIndexRequest) GetParent() string {
@@ -4428,7 +4672,7 @@ type AdviseIndexResponse struct {
func (x *AdviseIndexResponse) Reset() {
*x = AdviseIndexResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[48]
+ mi := &file_v1_database_service_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4441,7 +4685,7 @@ func (x *AdviseIndexResponse) String() string {
func (*AdviseIndexResponse) ProtoMessage() {}
func (x *AdviseIndexResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[48]
+ mi := &file_v1_database_service_proto_msgTypes[51]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4454,7 +4698,7 @@ func (x *AdviseIndexResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use AdviseIndexResponse.ProtoReflect.Descriptor instead.
func (*AdviseIndexResponse) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{48}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{51}
}
func (x *AdviseIndexResponse) GetCurrentIndex() string {
@@ -4518,7 +4762,7 @@ type ChangeHistory struct {
func (x *ChangeHistory) Reset() {
*x = ChangeHistory{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[49]
+ mi := &file_v1_database_service_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4531,7 +4775,7 @@ func (x *ChangeHistory) String() string {
func (*ChangeHistory) ProtoMessage() {}
func (x *ChangeHistory) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[49]
+ mi := &file_v1_database_service_proto_msgTypes[52]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4544,7 +4788,7 @@ func (x *ChangeHistory) ProtoReflect() protoreflect.Message {
// Deprecated: Use ChangeHistory.ProtoReflect.Descriptor instead.
func (*ChangeHistory) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{49}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{52}
}
func (x *ChangeHistory) GetName() string {
@@ -4712,7 +4956,7 @@ type ChangedResources struct {
func (x *ChangedResources) Reset() {
*x = ChangedResources{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[50]
+ mi := &file_v1_database_service_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4725,7 +4969,7 @@ func (x *ChangedResources) String() string {
func (*ChangedResources) ProtoMessage() {}
func (x *ChangedResources) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[50]
+ mi := &file_v1_database_service_proto_msgTypes[53]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4738,7 +4982,7 @@ func (x *ChangedResources) ProtoReflect() protoreflect.Message {
// Deprecated: Use ChangedResources.ProtoReflect.Descriptor instead.
func (*ChangedResources) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{50}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{53}
}
func (x *ChangedResources) GetDatabases() []*ChangedResourceDatabase {
@@ -4760,7 +5004,7 @@ type ChangedResourceDatabase struct {
func (x *ChangedResourceDatabase) Reset() {
*x = ChangedResourceDatabase{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[51]
+ mi := &file_v1_database_service_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4773,7 +5017,7 @@ func (x *ChangedResourceDatabase) String() string {
func (*ChangedResourceDatabase) ProtoMessage() {}
func (x *ChangedResourceDatabase) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[51]
+ mi := &file_v1_database_service_proto_msgTypes[54]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4786,7 +5030,7 @@ func (x *ChangedResourceDatabase) ProtoReflect() protoreflect.Message {
// Deprecated: Use ChangedResourceDatabase.ProtoReflect.Descriptor instead.
func (*ChangedResourceDatabase) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{51}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{54}
}
func (x *ChangedResourceDatabase) GetName() string {
@@ -4815,7 +5059,7 @@ type ChangedResourceSchema struct {
func (x *ChangedResourceSchema) Reset() {
*x = ChangedResourceSchema{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[52]
+ mi := &file_v1_database_service_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4828,7 +5072,7 @@ func (x *ChangedResourceSchema) String() string {
func (*ChangedResourceSchema) ProtoMessage() {}
func (x *ChangedResourceSchema) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[52]
+ mi := &file_v1_database_service_proto_msgTypes[55]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4841,7 +5085,7 @@ func (x *ChangedResourceSchema) ProtoReflect() protoreflect.Message {
// Deprecated: Use ChangedResourceSchema.ProtoReflect.Descriptor instead.
func (*ChangedResourceSchema) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{52}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{55}
}
func (x *ChangedResourceSchema) GetName() string {
@@ -4869,7 +5113,7 @@ type ChangedResourceTable struct {
func (x *ChangedResourceTable) Reset() {
*x = ChangedResourceTable{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[53]
+ mi := &file_v1_database_service_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4882,7 +5126,7 @@ func (x *ChangedResourceTable) String() string {
func (*ChangedResourceTable) ProtoMessage() {}
func (x *ChangedResourceTable) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[53]
+ mi := &file_v1_database_service_proto_msgTypes[56]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4895,7 +5139,7 @@ func (x *ChangedResourceTable) ProtoReflect() protoreflect.Message {
// Deprecated: Use ChangedResourceTable.ProtoReflect.Descriptor instead.
func (*ChangedResourceTable) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{53}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{56}
}
func (x *ChangedResourceTable) GetName() string {
@@ -4965,7 +5209,7 @@ type ListChangeHistoriesRequest struct {
func (x *ListChangeHistoriesRequest) Reset() {
*x = ListChangeHistoriesRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[54]
+ mi := &file_v1_database_service_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4978,7 +5222,7 @@ func (x *ListChangeHistoriesRequest) String() string {
func (*ListChangeHistoriesRequest) ProtoMessage() {}
func (x *ListChangeHistoriesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[54]
+ mi := &file_v1_database_service_proto_msgTypes[57]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4991,7 +5235,7 @@ func (x *ListChangeHistoriesRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListChangeHistoriesRequest.ProtoReflect.Descriptor instead.
func (*ListChangeHistoriesRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{54}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{57}
}
func (x *ListChangeHistoriesRequest) GetParent() string {
@@ -5044,7 +5288,7 @@ type ListChangeHistoriesResponse struct {
func (x *ListChangeHistoriesResponse) Reset() {
*x = ListChangeHistoriesResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[55]
+ mi := &file_v1_database_service_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5057,7 +5301,7 @@ func (x *ListChangeHistoriesResponse) String() string {
func (*ListChangeHistoriesResponse) ProtoMessage() {}
func (x *ListChangeHistoriesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[55]
+ mi := &file_v1_database_service_proto_msgTypes[58]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5070,7 +5314,7 @@ func (x *ListChangeHistoriesResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListChangeHistoriesResponse.ProtoReflect.Descriptor instead.
func (*ListChangeHistoriesResponse) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{55}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{58}
}
func (x *ListChangeHistoriesResponse) GetChangeHistories() []*ChangeHistory {
@@ -5105,7 +5349,7 @@ type GetChangeHistoryRequest struct {
func (x *GetChangeHistoryRequest) Reset() {
*x = GetChangeHistoryRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_database_service_proto_msgTypes[56]
+ mi := &file_v1_database_service_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5118,7 +5362,7 @@ func (x *GetChangeHistoryRequest) String() string {
func (*GetChangeHistoryRequest) ProtoMessage() {}
func (x *GetChangeHistoryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_database_service_proto_msgTypes[56]
+ mi := &file_v1_database_service_proto_msgTypes[59]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5131,7 +5375,7 @@ func (x *GetChangeHistoryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetChangeHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetChangeHistoryRequest) Descriptor() ([]byte, []int) {
- return file_v1_database_service_proto_rawDescGZIP(), []int{56}
+ return file_v1_database_service_proto_rawDescGZIP(), []int{59}
}
func (x *GetChangeHistoryRequest) GetName() string {
@@ -5621,13 +5865,26 @@ var file_v1_database_service_proto_rawDesc = []byte{
0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63,
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63, 0x6c, 0x61,
0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x61, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x74, 0x61, 0x62,
- 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
- 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c,
- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xb0, 0x02, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x74, 0x61,
+ 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
+ 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74, 0x61, 0x62,
+ 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x46, 0x0a, 0x10, 0x66, 0x75, 0x6e,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x73, 0x12, 0x49, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x5f, 0x63,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,
+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65,
+ 0x64, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x63,
+ 0x65, 0x64, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x0c,
+ 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x76, 0x69, 0x65,
+ 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62,
0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02,
@@ -5636,470 +5893,502 @@ var file_v1_database_service_proto_rawDesc = []byte{
0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x2b,
0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73,
- 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x0c,
- 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04,
+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x07, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
+ 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 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, 0x42, 0x04, 0xe2, 0x41,
+ 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x87,
+ 0x01, 0x0a, 0x0e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f,
+ 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61,
- 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61,
- 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61,
- 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x69, 0x0a, 0x16, 0x4c,
- 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72,
- 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x5c, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c,
- 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x77, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f,
- 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,
- 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79,
- 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,
- 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,
- 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
- 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,
- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61,
- 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74,
- 0x69, 0x63, 0x73, 0x22, 0xf6, 0x04, 0x0a, 0x13, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72,
- 0x79, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73,
- 0x71, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x71, 0x6c, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70,
- 0x72, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6c, 0x61,
- 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
+ 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72,
+ 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
+ 0x69, 0x6d, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66,
+ 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xf3, 0x01, 0x0a, 0x0c, 0x43, 0x6f,
+ 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28,
+ 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f,
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74,
+ 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
+ 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e,
+ 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
+ 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73,
+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
+ 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x69, 0x0a, 0x16, 0x4c, 0x69, 0x73,
+ 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x42, 0x79, 0x22, 0x5c, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77,
+ 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x41, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x77, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x6f,
+ 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79,
+ 0x4c, 0x6f, 0x67, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f,
+ 0x67, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79,
+ 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72, 0x65, 0x73,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
+ 0x40, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
+ 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x69,
+ 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63,
+ 0x73, 0x22, 0xf6, 0x04, 0x0a, 0x13, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53,
+ 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x71, 0x6c,
+ 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0e, 0x73, 0x71, 0x6c, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69,
+ 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6c, 0x61, 0x74, 0x65,
+ 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 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, 0x0d, 0x6c,
+ 0x61, 0x74, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12,
+ 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69,
+ 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x51, 0x75, 0x65, 0x72,
+ 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d,
+ 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6d, 0x61,
+ 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a,
+ 0x0a, 0x11, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73,
+ 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x76, 0x65, 0x72, 0x61,
+ 0x67, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61,
+ 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x6f,
+ 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67,
+ 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18,
+ 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x6f,
+ 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x6d, 0x61,
+ 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69,
+ 0x6e, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x69, 0x6d,
+ 0x75, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x2c,
+ 0x0a, 0x12, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72,
+ 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x71, 0x75, 0x65, 0x72,
+ 0x79, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20,
+ 0x01, 0x28, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e,
+ 0x74, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
+ 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
+ 0x73, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x9c, 0x02, 0x0a, 0x10, 0x53,
+ 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12,
+ 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 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,
- 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47,
- 0x0a, 0x12, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x51, 0x75,
- 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d,
- 0x75, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10,
- 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65,
- 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73,
- 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x76, 0x65,
- 0x72, 0x61, 0x67, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11,
- 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e,
- 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d,
- 0x52, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x76, 0x65, 0x72,
- 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65,
- 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65,
- 0x52, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x15,
- 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61,
- 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6d, 0x61, 0x78,
- 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64,
- 0x12, 0x2c, 0x0a, 0x12, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70,
- 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x71, 0x75,
- 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x23,
- 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18,
- 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x63,
- 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x0c,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
- 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61,
- 0x69, 0x6c, 0x73, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x9c, 0x02, 0x0a,
- 0x10, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
- 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
- 0x01, 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, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0a,
- 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x71, 0x75, 0x65,
- 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74,
- 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b,
- 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72,
- 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64,
- 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x22, 0x6e, 0x0a, 0x12, 0x4c,
- 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 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, 0x22, 0x6c, 0x0a, 0x13, 0x4c,
- 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,
- 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, 0xaa, 0x01, 0x0a, 0x13, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x71, 0x75,
+ 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
+ 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
+ 0x08, 0x72, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77,
+ 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
+ 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x19,
+ 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x07, 0x73, 0x71, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x22, 0x6e, 0x0a, 0x12, 0x4c, 0x69, 0x73,
+ 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
+ 0x04, 0xe2, 0x41, 0x01, 0x02, 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, 0x22, 0x6c, 0x0a, 0x13, 0x4c, 0x69, 0x73,
+ 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,
- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x73, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
- 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
- 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69,
- 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d,
- 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x2f, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,
- 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04,
- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x12, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e,
- 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,
- 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74,
- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61,
- 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x76, 0x69, 0x73,
- 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,
- 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e,
- 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e,
- 0x64, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,
- 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x89, 0x09, 0x0a, 0x0d, 0x43, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69,
- 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 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, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x06, 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
- 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
- 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 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, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x1f, 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, 0x2e, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 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, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a,
- 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0d, 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,
- 0x15, 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, 0x14, 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, 0x0e, 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, 0x16, 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, 0x0f, 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, 0x17, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a,
- 0x65, 0x12, 0x48, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
- 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x69,
- 0x73, 0x73, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75,
- 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x13, 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, 0x3e, 0x0a,
- 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x55, 0x52, 0x43,
- 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
- 0x06, 0x0a, 0x02, 0x55, 0x49, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02,
- 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x49, 0x42, 0x52, 0x41, 0x52, 0x59, 0x10, 0x03, 0x22, 0x71, 0x0a,
- 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
- 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42,
- 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47,
- 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54,
- 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41,
- 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52,
- 0x41, 0x4e, 0x43, 0x48, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06,
- 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, 0x22, 0x56, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,
- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x64, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
- 0x73, 0x65, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x22, 0x6b, 0x0a,
- 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x07,
- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e,
+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 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, 0xaa, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x31, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72,
+ 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
+ 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
+ 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12,
+ 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73,
+ 0x73, 0x69, 0x6e, 0x67, 0x22, 0x2f, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
+ 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x63, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41,
+ 0x01, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
+ 0x43, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
+ 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x12, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65,
+ 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
+ 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06,
+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,
+ 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65,
+ 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49,
+ 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d,
+ 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65,
+ 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65,
+ 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x74,
+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x89, 0x09, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a,
+ 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
+ 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
+ 0x6d, 0x65, 0x18, 0x05, 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, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
+ 0x06, 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a,
+ 0x0f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
+ 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 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, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
+ 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x1f, 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, 0x2e, 0x54, 0x79, 0x70, 0x65,
+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 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, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64,
+ 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a,
+ 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0d, 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, 0x15, 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, 0x14, 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, 0x0e, 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, 0x16, 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, 0x0f, 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, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52,
+ 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12,
+ 0x48, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73,
+ 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12,
+ 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x73, 0x18, 0x13, 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, 0x3e, 0x0a, 0x06, 0x53,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f,
+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a,
+ 0x02, 0x55, 0x49, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02, 0x12, 0x0b,
+ 0x0a, 0x07, 0x4c, 0x49, 0x42, 0x52, 0x41, 0x52, 0x59, 0x10, 0x03, 0x22, 0x71, 0x0a, 0x04, 0x54,
+ 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x41, 0x53,
+ 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47, 0x52, 0x41,
+ 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f,
+ 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45,
+ 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52, 0x41, 0x4e,
+ 0x43, 0x48, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 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, 0x22, 0x56, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 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, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
+ 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x22, 0x6b, 0x0a, 0x17, 0x43,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x73, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 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, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52,
+ 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x66, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e,
0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d,
- 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x66, 0x0a, 0x15, 0x43, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68,
- 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 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, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c,
- 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc2,
- 0x01, 0x0a, 0x1a, 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, 0x12, 0x1c, 0x0a,
- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,
- 0x41, 0x01, 0x02, 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, 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18,
- 0x04, 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, 0x16, 0x0a, 0x06, 0x66,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x1b, 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, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x69,
- 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 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, 0x9a, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 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, 0xe5, 0x14, 0x0a, 0x0f, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78,
- 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, 0x31, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0xaa, 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,
+ 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
+ 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 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, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73,
+ 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc2, 0x01, 0x0a,
+ 0x1a, 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, 0x12, 0x1c, 0x0a, 0x06, 0x70,
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,
+ 0x02, 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, 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 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, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c,
+ 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
+ 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x1b, 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, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x69, 0x73, 0x74,
+ 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48,
+ 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 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, 0x9a, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69,
+ 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 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, 0xe5, 0x14, 0x0a, 0x0f, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 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, 0x31, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 0xaa, 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,
+ 0x52, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x76,
+ 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 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, 0x7d, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74,
+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62,
+ 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79,
+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x52, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x5a, 0x23, 0x12, 0x21,
- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
- 0x73, 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, 0x7d, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44,
- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74,
- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e,
- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72,
- 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14,
- 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x73, 0x65,
- 0x61, 0x72, 0x63, 0x68, 0x12, 0xa1, 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, 0x54, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 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, 0xa6, 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, 0x39, 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, 0x87, 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, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a,
- 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,
+ 0x65, 0x22, 0x1f, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76,
+ 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72,
+ 0x63, 0x68, 0x12, 0xa1, 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, 0x54, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 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, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x92, 0x01, 0x0a, 0x13,
+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa6, 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, 0x39, 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,
+ 0x87, 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, 0x32, 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, 0x92, 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, 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, 0x33, 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, 0xbd, 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, 0x58, 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, 0x8a, 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, 0x31, 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, 0xcd, 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, 0x7e, 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,
+ 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, 0x33, 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, 0xbd,
+ 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, 0x58, 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, 0x8a,
+ 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, 0x31, 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, 0xcd, 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, 0x7e, 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, 0x9f, 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, 0x41, 0xda, 0x41, 0x06, 0x70,
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 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,
- 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,
+ 0x7d, 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x8f, 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, 0x3d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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,
+ 0x8a, 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, 0x43, 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, 0x7e, 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, 0x34, 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, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x9f, 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, 0x41, 0xda, 0x41,
- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 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, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12,
- 0x8f, 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, 0x3d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x8a, 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, 0x43, 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, 0x7e,
- 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, 0x34, 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, 0x93,
- 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, 0x41, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0xaf, 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,
- 0x45, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36,
- 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e,
+ 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93, 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,
+ 0x41, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,
- 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x99, 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, 0x43, 0xda,
- 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 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, 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,
+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64,
+ 0x65, 0x78, 0x12, 0xaf, 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, 0x45, 0xda,
+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x99, 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, 0x43, 0xda, 0x41, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 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,
+ 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f,
+ 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -6115,7 +6404,7 @@ func file_v1_database_service_proto_rawDescGZIP() []byte {
}
var file_v1_database_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
-var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 59)
+var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 62)
var file_v1_database_service_proto_goTypes = []interface{}{
(DatabaseMetadataView)(0), // 0: bytebase.v1.DatabaseMetadataView
(ChangeHistoryView)(0), // 1: bytebase.v1.ChangeHistoryView
@@ -6161,52 +6450,55 @@ var file_v1_database_service_proto_goTypes = []interface{}{
(*DatabaseConfig)(nil), // 41: bytebase.v1.DatabaseConfig
(*SchemaConfig)(nil), // 42: bytebase.v1.SchemaConfig
(*TableConfig)(nil), // 43: bytebase.v1.TableConfig
- (*ColumnConfig)(nil), // 44: bytebase.v1.ColumnConfig
- (*DatabaseSchema)(nil), // 45: bytebase.v1.DatabaseSchema
- (*ListSlowQueriesRequest)(nil), // 46: bytebase.v1.ListSlowQueriesRequest
- (*ListSlowQueriesResponse)(nil), // 47: bytebase.v1.ListSlowQueriesResponse
- (*SlowQueryLog)(nil), // 48: bytebase.v1.SlowQueryLog
- (*SlowQueryStatistics)(nil), // 49: bytebase.v1.SlowQueryStatistics
- (*SlowQueryDetails)(nil), // 50: bytebase.v1.SlowQueryDetails
- (*ListSecretsRequest)(nil), // 51: bytebase.v1.ListSecretsRequest
- (*ListSecretsResponse)(nil), // 52: bytebase.v1.ListSecretsResponse
- (*UpdateSecretRequest)(nil), // 53: bytebase.v1.UpdateSecretRequest
- (*DeleteSecretRequest)(nil), // 54: bytebase.v1.DeleteSecretRequest
- (*Secret)(nil), // 55: bytebase.v1.Secret
- (*AdviseIndexRequest)(nil), // 56: bytebase.v1.AdviseIndexRequest
- (*AdviseIndexResponse)(nil), // 57: bytebase.v1.AdviseIndexResponse
- (*ChangeHistory)(nil), // 58: bytebase.v1.ChangeHistory
- (*ChangedResources)(nil), // 59: bytebase.v1.ChangedResources
- (*ChangedResourceDatabase)(nil), // 60: bytebase.v1.ChangedResourceDatabase
- (*ChangedResourceSchema)(nil), // 61: bytebase.v1.ChangedResourceSchema
- (*ChangedResourceTable)(nil), // 62: bytebase.v1.ChangedResourceTable
- (*ListChangeHistoriesRequest)(nil), // 63: bytebase.v1.ListChangeHistoriesRequest
- (*ListChangeHistoriesResponse)(nil), // 64: bytebase.v1.ListChangeHistoriesResponse
- (*GetChangeHistoryRequest)(nil), // 65: bytebase.v1.GetChangeHistoryRequest
- nil, // 66: bytebase.v1.Database.LabelsEntry
- nil, // 67: bytebase.v1.ColumnConfig.LabelsEntry
- (*fieldmaskpb.FieldMask)(nil), // 68: google.protobuf.FieldMask
- (State)(0), // 69: bytebase.v1.State
- (*timestamppb.Timestamp)(nil), // 70: google.protobuf.Timestamp
- (*InstanceResource)(nil), // 71: bytebase.v1.InstanceResource
- (MaskingLevel)(0), // 72: bytebase.v1.MaskingLevel
- (*durationpb.Duration)(nil), // 73: google.protobuf.Duration
- (*emptypb.Empty)(nil), // 74: google.protobuf.Empty
+ (*FunctionConfig)(nil), // 44: bytebase.v1.FunctionConfig
+ (*ProcedureConfig)(nil), // 45: bytebase.v1.ProcedureConfig
+ (*ViewConfig)(nil), // 46: bytebase.v1.ViewConfig
+ (*ColumnConfig)(nil), // 47: bytebase.v1.ColumnConfig
+ (*DatabaseSchema)(nil), // 48: bytebase.v1.DatabaseSchema
+ (*ListSlowQueriesRequest)(nil), // 49: bytebase.v1.ListSlowQueriesRequest
+ (*ListSlowQueriesResponse)(nil), // 50: bytebase.v1.ListSlowQueriesResponse
+ (*SlowQueryLog)(nil), // 51: bytebase.v1.SlowQueryLog
+ (*SlowQueryStatistics)(nil), // 52: bytebase.v1.SlowQueryStatistics
+ (*SlowQueryDetails)(nil), // 53: bytebase.v1.SlowQueryDetails
+ (*ListSecretsRequest)(nil), // 54: bytebase.v1.ListSecretsRequest
+ (*ListSecretsResponse)(nil), // 55: bytebase.v1.ListSecretsResponse
+ (*UpdateSecretRequest)(nil), // 56: bytebase.v1.UpdateSecretRequest
+ (*DeleteSecretRequest)(nil), // 57: bytebase.v1.DeleteSecretRequest
+ (*Secret)(nil), // 58: bytebase.v1.Secret
+ (*AdviseIndexRequest)(nil), // 59: bytebase.v1.AdviseIndexRequest
+ (*AdviseIndexResponse)(nil), // 60: bytebase.v1.AdviseIndexResponse
+ (*ChangeHistory)(nil), // 61: bytebase.v1.ChangeHistory
+ (*ChangedResources)(nil), // 62: bytebase.v1.ChangedResources
+ (*ChangedResourceDatabase)(nil), // 63: bytebase.v1.ChangedResourceDatabase
+ (*ChangedResourceSchema)(nil), // 64: bytebase.v1.ChangedResourceSchema
+ (*ChangedResourceTable)(nil), // 65: bytebase.v1.ChangedResourceTable
+ (*ListChangeHistoriesRequest)(nil), // 66: bytebase.v1.ListChangeHistoriesRequest
+ (*ListChangeHistoriesResponse)(nil), // 67: bytebase.v1.ListChangeHistoriesResponse
+ (*GetChangeHistoryRequest)(nil), // 68: bytebase.v1.GetChangeHistoryRequest
+ nil, // 69: bytebase.v1.Database.LabelsEntry
+ nil, // 70: bytebase.v1.ColumnConfig.LabelsEntry
+ (*fieldmaskpb.FieldMask)(nil), // 71: google.protobuf.FieldMask
+ (State)(0), // 72: bytebase.v1.State
+ (*timestamppb.Timestamp)(nil), // 73: google.protobuf.Timestamp
+ (*InstanceResource)(nil), // 74: bytebase.v1.InstanceResource
+ (MaskingLevel)(0), // 75: bytebase.v1.MaskingLevel
+ (*durationpb.Duration)(nil), // 76: google.protobuf.Duration
+ (*emptypb.Empty)(nil), // 77: google.protobuf.Empty
}
var file_v1_database_service_proto_depIdxs = []int32{
24, // 0: bytebase.v1.ListDatabasesResponse.databases:type_name -> bytebase.v1.Database
24, // 1: bytebase.v1.SearchDatabasesResponse.databases:type_name -> bytebase.v1.Database
24, // 2: bytebase.v1.UpdateDatabaseRequest.database:type_name -> bytebase.v1.Database
- 68, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 71, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
14, // 4: bytebase.v1.BatchUpdateDatabasesRequest.requests:type_name -> bytebase.v1.UpdateDatabaseRequest
24, // 5: bytebase.v1.BatchUpdateDatabasesResponse.databases:type_name -> bytebase.v1.Database
0, // 6: bytebase.v1.GetDatabaseMetadataRequest.view:type_name -> bytebase.v1.DatabaseMetadataView
25, // 7: bytebase.v1.UpdateDatabaseMetadataRequest.database_metadata:type_name -> bytebase.v1.DatabaseMetadata
- 68, // 8: bytebase.v1.UpdateDatabaseMetadataRequest.update_mask:type_name -> google.protobuf.FieldMask
- 69, // 9: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State
- 70, // 10: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp
- 66, // 11: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry
- 71, // 12: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource
+ 71, // 8: bytebase.v1.UpdateDatabaseMetadataRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 72, // 9: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State
+ 73, // 10: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp
+ 69, // 11: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry
+ 74, // 12: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource
26, // 13: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata
39, // 14: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata
42, // 15: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig
@@ -6225,7 +6517,7 @@ var file_v1_database_service_proto_depIdxs = []int32{
29, // 28: bytebase.v1.TableMetadata.partitions:type_name -> bytebase.v1.TablePartitionMetadata
2, // 29: bytebase.v1.TablePartitionMetadata.type:type_name -> bytebase.v1.TablePartitionMetadata.Type
29, // 30: bytebase.v1.TablePartitionMetadata.subpartitions:type_name -> bytebase.v1.TablePartitionMetadata
- 72, // 31: bytebase.v1.ColumnMetadata.effective_masking_level:type_name -> bytebase.v1.MaskingLevel
+ 75, // 31: bytebase.v1.ColumnMetadata.effective_masking_level:type_name -> bytebase.v1.MaskingLevel
32, // 32: bytebase.v1.ViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn
32, // 33: bytebase.v1.MaterializedViewMetadata.dependent_columns:type_name -> bytebase.v1.DependentColumn
3, // 34: bytebase.v1.TaskMetadata.state:type_name -> bytebase.v1.TaskMetadata.State
@@ -6233,74 +6525,81 @@ var file_v1_database_service_proto_depIdxs = []int32{
5, // 36: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode
42, // 37: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig
43, // 38: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig
- 44, // 39: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig
- 67, // 40: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry
- 48, // 41: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog
- 49, // 42: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics
- 70, // 43: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp
- 73, // 44: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration
- 73, // 45: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration
- 50, // 46: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails
- 70, // 47: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp
- 73, // 48: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration
- 73, // 49: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration
- 55, // 50: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret
- 55, // 51: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret
- 68, // 52: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask
- 70, // 53: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp
- 70, // 54: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp
- 70, // 55: bytebase.v1.ChangeHistory.create_time:type_name -> google.protobuf.Timestamp
- 70, // 56: bytebase.v1.ChangeHistory.update_time:type_name -> google.protobuf.Timestamp
- 6, // 57: bytebase.v1.ChangeHistory.source:type_name -> bytebase.v1.ChangeHistory.Source
- 7, // 58: bytebase.v1.ChangeHistory.type:type_name -> bytebase.v1.ChangeHistory.Type
- 8, // 59: bytebase.v1.ChangeHistory.status:type_name -> bytebase.v1.ChangeHistory.Status
- 73, // 60: bytebase.v1.ChangeHistory.execution_duration:type_name -> google.protobuf.Duration
- 59, // 61: bytebase.v1.ChangeHistory.changed_resources:type_name -> bytebase.v1.ChangedResources
- 60, // 62: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase
- 61, // 63: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema
- 62, // 64: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable
- 1, // 65: bytebase.v1.ListChangeHistoriesRequest.view:type_name -> bytebase.v1.ChangeHistoryView
- 58, // 66: bytebase.v1.ListChangeHistoriesResponse.change_histories:type_name -> bytebase.v1.ChangeHistory
- 1, // 67: bytebase.v1.GetChangeHistoryRequest.view:type_name -> bytebase.v1.ChangeHistoryView
- 9, // 68: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest
- 10, // 69: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest
- 12, // 70: bytebase.v1.DatabaseService.SearchDatabases:input_type -> bytebase.v1.SearchDatabasesRequest
- 14, // 71: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest
- 15, // 72: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest
- 17, // 73: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest
- 19, // 74: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest
- 20, // 75: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:input_type -> bytebase.v1.UpdateDatabaseMetadataRequest
- 21, // 76: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest
- 22, // 77: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest
- 46, // 78: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest
- 51, // 79: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest
- 53, // 80: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest
- 54, // 81: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest
- 56, // 82: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest
- 63, // 83: bytebase.v1.DatabaseService.ListChangeHistories:input_type -> bytebase.v1.ListChangeHistoriesRequest
- 65, // 84: bytebase.v1.DatabaseService.GetChangeHistory:input_type -> bytebase.v1.GetChangeHistoryRequest
- 24, // 85: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database
- 11, // 86: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse
- 13, // 87: bytebase.v1.DatabaseService.SearchDatabases:output_type -> bytebase.v1.SearchDatabasesResponse
- 24, // 88: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database
- 16, // 89: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse
- 18, // 90: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse
- 25, // 91: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
- 25, // 92: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
- 45, // 93: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema
- 23, // 94: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse
- 47, // 95: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse
- 52, // 96: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse
- 55, // 97: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret
- 74, // 98: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty
- 57, // 99: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse
- 64, // 100: bytebase.v1.DatabaseService.ListChangeHistories:output_type -> bytebase.v1.ListChangeHistoriesResponse
- 58, // 101: bytebase.v1.DatabaseService.GetChangeHistory:output_type -> bytebase.v1.ChangeHistory
- 85, // [85:102] is the sub-list for method output_type
- 68, // [68:85] is the sub-list for method input_type
- 68, // [68:68] is the sub-list for extension type_name
- 68, // [68:68] is the sub-list for extension extendee
- 0, // [0:68] is the sub-list for field type_name
+ 44, // 39: bytebase.v1.SchemaConfig.function_configs:type_name -> bytebase.v1.FunctionConfig
+ 45, // 40: bytebase.v1.SchemaConfig.procedure_configs:type_name -> bytebase.v1.ProcedureConfig
+ 46, // 41: bytebase.v1.SchemaConfig.view_configs:type_name -> bytebase.v1.ViewConfig
+ 47, // 42: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig
+ 73, // 43: bytebase.v1.TableConfig.update_time:type_name -> google.protobuf.Timestamp
+ 73, // 44: bytebase.v1.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp
+ 73, // 45: bytebase.v1.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp
+ 73, // 46: bytebase.v1.ViewConfig.update_time:type_name -> google.protobuf.Timestamp
+ 70, // 47: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry
+ 51, // 48: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog
+ 52, // 49: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics
+ 73, // 50: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp
+ 76, // 51: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration
+ 76, // 52: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration
+ 53, // 53: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails
+ 73, // 54: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp
+ 76, // 55: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration
+ 76, // 56: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration
+ 58, // 57: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret
+ 58, // 58: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret
+ 71, // 59: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 73, // 60: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp
+ 73, // 61: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp
+ 73, // 62: bytebase.v1.ChangeHistory.create_time:type_name -> google.protobuf.Timestamp
+ 73, // 63: bytebase.v1.ChangeHistory.update_time:type_name -> google.protobuf.Timestamp
+ 6, // 64: bytebase.v1.ChangeHistory.source:type_name -> bytebase.v1.ChangeHistory.Source
+ 7, // 65: bytebase.v1.ChangeHistory.type:type_name -> bytebase.v1.ChangeHistory.Type
+ 8, // 66: bytebase.v1.ChangeHistory.status:type_name -> bytebase.v1.ChangeHistory.Status
+ 76, // 67: bytebase.v1.ChangeHistory.execution_duration:type_name -> google.protobuf.Duration
+ 62, // 68: bytebase.v1.ChangeHistory.changed_resources:type_name -> bytebase.v1.ChangedResources
+ 63, // 69: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase
+ 64, // 70: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema
+ 65, // 71: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable
+ 1, // 72: bytebase.v1.ListChangeHistoriesRequest.view:type_name -> bytebase.v1.ChangeHistoryView
+ 61, // 73: bytebase.v1.ListChangeHistoriesResponse.change_histories:type_name -> bytebase.v1.ChangeHistory
+ 1, // 74: bytebase.v1.GetChangeHistoryRequest.view:type_name -> bytebase.v1.ChangeHistoryView
+ 9, // 75: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest
+ 10, // 76: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest
+ 12, // 77: bytebase.v1.DatabaseService.SearchDatabases:input_type -> bytebase.v1.SearchDatabasesRequest
+ 14, // 78: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest
+ 15, // 79: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest
+ 17, // 80: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest
+ 19, // 81: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest
+ 20, // 82: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:input_type -> bytebase.v1.UpdateDatabaseMetadataRequest
+ 21, // 83: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest
+ 22, // 84: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest
+ 49, // 85: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest
+ 54, // 86: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest
+ 56, // 87: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest
+ 57, // 88: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest
+ 59, // 89: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest
+ 66, // 90: bytebase.v1.DatabaseService.ListChangeHistories:input_type -> bytebase.v1.ListChangeHistoriesRequest
+ 68, // 91: bytebase.v1.DatabaseService.GetChangeHistory:input_type -> bytebase.v1.GetChangeHistoryRequest
+ 24, // 92: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database
+ 11, // 93: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse
+ 13, // 94: bytebase.v1.DatabaseService.SearchDatabases:output_type -> bytebase.v1.SearchDatabasesResponse
+ 24, // 95: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database
+ 16, // 96: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse
+ 18, // 97: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse
+ 25, // 98: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
+ 25, // 99: bytebase.v1.DatabaseService.UpdateDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata
+ 48, // 100: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema
+ 23, // 101: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse
+ 50, // 102: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse
+ 55, // 103: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse
+ 58, // 104: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret
+ 77, // 105: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty
+ 60, // 106: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse
+ 67, // 107: bytebase.v1.DatabaseService.ListChangeHistories:output_type -> bytebase.v1.ListChangeHistoriesResponse
+ 61, // 108: bytebase.v1.DatabaseService.GetChangeHistory:output_type -> bytebase.v1.ChangeHistory
+ 92, // [92:109] is the sub-list for method output_type
+ 75, // [75:92] is the sub-list for method input_type
+ 75, // [75:75] is the sub-list for extension type_name
+ 75, // [75:75] is the sub-list for extension extendee
+ 0, // [0:75] is the sub-list for field type_name
}
func init() { file_v1_database_service_proto_init() }
@@ -6732,7 +7031,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ColumnConfig); i {
+ switch v := v.(*FunctionConfig); i {
case 0:
return &v.state
case 1:
@@ -6744,7 +7043,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DatabaseSchema); i {
+ switch v := v.(*ProcedureConfig); i {
case 0:
return &v.state
case 1:
@@ -6756,7 +7055,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListSlowQueriesRequest); i {
+ switch v := v.(*ViewConfig); i {
case 0:
return &v.state
case 1:
@@ -6768,7 +7067,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListSlowQueriesResponse); i {
+ switch v := v.(*ColumnConfig); i {
case 0:
return &v.state
case 1:
@@ -6780,7 +7079,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SlowQueryLog); i {
+ switch v := v.(*DatabaseSchema); i {
case 0:
return &v.state
case 1:
@@ -6792,7 +7091,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SlowQueryStatistics); i {
+ switch v := v.(*ListSlowQueriesRequest); i {
case 0:
return &v.state
case 1:
@@ -6804,7 +7103,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SlowQueryDetails); i {
+ switch v := v.(*ListSlowQueriesResponse); i {
case 0:
return &v.state
case 1:
@@ -6816,7 +7115,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListSecretsRequest); i {
+ switch v := v.(*SlowQueryLog); i {
case 0:
return &v.state
case 1:
@@ -6828,7 +7127,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListSecretsResponse); i {
+ switch v := v.(*SlowQueryStatistics); i {
case 0:
return &v.state
case 1:
@@ -6840,7 +7139,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateSecretRequest); i {
+ switch v := v.(*SlowQueryDetails); i {
case 0:
return &v.state
case 1:
@@ -6852,7 +7151,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteSecretRequest); i {
+ switch v := v.(*ListSecretsRequest); i {
case 0:
return &v.state
case 1:
@@ -6864,7 +7163,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Secret); i {
+ switch v := v.(*ListSecretsResponse); i {
case 0:
return &v.state
case 1:
@@ -6876,7 +7175,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdviseIndexRequest); i {
+ switch v := v.(*UpdateSecretRequest); i {
case 0:
return &v.state
case 1:
@@ -6888,7 +7187,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdviseIndexResponse); i {
+ switch v := v.(*DeleteSecretRequest); i {
case 0:
return &v.state
case 1:
@@ -6900,7 +7199,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ChangeHistory); i {
+ switch v := v.(*Secret); i {
case 0:
return &v.state
case 1:
@@ -6912,7 +7211,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ChangedResources); i {
+ switch v := v.(*AdviseIndexRequest); i {
case 0:
return &v.state
case 1:
@@ -6924,7 +7223,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ChangedResourceDatabase); i {
+ switch v := v.(*AdviseIndexResponse); i {
case 0:
return &v.state
case 1:
@@ -6936,7 +7235,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ChangedResourceSchema); i {
+ switch v := v.(*ChangeHistory); i {
case 0:
return &v.state
case 1:
@@ -6948,7 +7247,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ChangedResourceTable); i {
+ switch v := v.(*ChangedResources); i {
case 0:
return &v.state
case 1:
@@ -6960,7 +7259,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListChangeHistoriesRequest); i {
+ switch v := v.(*ChangedResourceDatabase); i {
case 0:
return &v.state
case 1:
@@ -6972,7 +7271,7 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListChangeHistoriesResponse); i {
+ switch v := v.(*ChangedResourceSchema); i {
case 0:
return &v.state
case 1:
@@ -6984,6 +7283,42 @@ func file_v1_database_service_proto_init() {
}
}
file_v1_database_service_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ChangedResourceTable); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_database_service_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListChangeHistoriesRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_database_service_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListChangeHistoriesResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_database_service_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetChangeHistoryRequest); i {
case 0:
return &v.state
@@ -7011,7 +7346,7 @@ func file_v1_database_service_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_database_service_proto_rawDesc,
NumEnums: 9,
- NumMessages: 59,
+ NumMessages: 62,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/proto/store/branch.proto b/proto/store/branch.proto
index 1e07de6d38..b56b3f3906 100644
--- a/proto/store/branch.proto
+++ b/proto/store/branch.proto
@@ -2,9 +2,6 @@ syntax = "proto3";
package bytebase.store;
-import "google/api/field_behavior.proto";
-import "google/protobuf/timestamp.proto";
-import "google/protobuf/wrappers.proto";
import "store/database.proto";
option go_package = "generated-go/store";
@@ -24,462 +21,3 @@ message BranchConfig {
// Example: projects/project-id/branches/branch-id.
string source_branch = 2;
}
-
-// BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.
-message BranchDatabaseSchemaMetadata {
- string name = 1;
-
- // The schemas is the list of schemas in a database.
- repeated BranchSchemaMetadata schemas = 2;
-
- // The character_set is the character set of a database.
- string character_set = 3;
-
- // The collation is the collation of a database.
- string collation = 4;
-
- // The extensions is the list of extensions in a database.
- repeated ExtensionMetadata extensions = 5;
-
- // The database belongs to a datashare.
- bool datashare = 6;
-
- // The service name of the database. It's the Oracle specific concept.
- string service_name = 7;
-}
-
-// BranchSchemaMetadata is the metadata for schemas used in branch.
-// This is the concept of schema in Postgres, but it's a no-op for MySQL.
-message BranchSchemaMetadata {
- // The name is the schema name.
- // It is an empty string for databases without such concept such as MySQL.
- string name = 1;
-
- // The tables is the list of tables in a schema.
- repeated BranchTableMetadata tables = 2;
-
- // The external_tables is the list of external tables in a schema.
- repeated BranchExternalTableMetadata external_tables = 3;
-
- // The views is the list of views in a schema.
- repeated BranchViewMetadata views = 4;
-
- // The functions is the list of functions in a schema.
- repeated BranchFunctionMetadata functions = 5;
-
- // The procedures is the list of procedures in a schema.
- repeated BranchProcedureMetadata procedures = 6;
-
- // The streams is the list of streams in a schema, currently, only used for Snowflake.
- repeated BranchStreamMetadata streams = 7;
-
- // The routines is the list of routines in a schema, currently, only used for Snowflake.
- repeated BranchTaskMetadata tasks = 8;
-
- // The materialized_views is the list of materialized views in a schema.
- repeated BranchMaterializedViewMetadata materialized_views = 9;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-message BranchTaskMetadata {
- // The name is the name of a task.
- string name = 1;
-
- // The id is the snowflake-generated id of a task.
- // Example: 01ad32a0-1bb6-5e93-0000-000000000001
- string id = 2;
-
- // The owner of the task.
- string owner = 3;
-
- // The comment of the task.
- string comment = 4;
-
- // The warehouse of the task.
- string warehouse = 5;
-
- // The schedule interval of the task.
- string schedule = 6;
-
- // The predecessor tasks of the task.
- repeated string predecessors = 7;
-
- enum State {
- STATE_UNSPECIFIED = 0;
- STATE_STARTED = 1;
- STATE_SUSPENDED = 2;
- }
- // The state of the task.
- State state = 8;
-
- // The condition of the task.
- string condition = 9;
-
- // The definition of the task.
- string definition = 10;
-}
-
-message BranchStreamMetadata {
- // The name is the name of a stream.
- string name = 1;
-
- // The table_name is the name of the table/view that the stream is created on.
- string table_name = 2;
-
- // The owner of the stream.
- string owner = 3;
-
- // The comment of the stream.
- string comment = 4;
-
- enum Type {
- TYPE_UNSPECIFIED = 0;
- TYPE_DELTA = 1;
- }
- // The type of the stream.
- Type type = 5;
-
- // Indicates whether the stream was last read before the `stale_after` time.
- bool stale = 6;
-
- enum Mode {
- MODE_UNSPECIFIED = 0;
- MODE_DEFAULT = 1;
- MODE_APPEND_ONLY = 2;
- MODE_INSERT_ONLY = 3;
- }
- // The mode of the stream.
- Mode mode = 7;
-
- // The definition of the stream.
- string definition = 8;
-}
-
-// BranchTableMetadata is the metadata for tables used in branch.
-message BranchTableMetadata {
- // The name is the name of a table.
- string name = 1;
-
- // The columns is the ordered list of columns in a table.
- repeated BranchColumnMetadata columns = 2;
-
- // The indexes is the list of indexes in a table.
- repeated BranchIndexMetadata indexes = 3;
-
- // TODO(d): figure out whether we need to store table type such as "BASE TABLE".
-
- // The engine is the engine of a table.
- string engine = 4;
-
- // The collation is the collation of a table.
- string collation = 5;
-
- // The row_count is the estimated number of rows of a table.
- int64 row_count = 6;
-
- // The data_size is the estimated data size of a table.
- int64 data_size = 7;
-
- // The index_size is the estimated index size of a table.
- int64 index_size = 8;
-
- // The data_free is the estimated free data size of a table.
- int64 data_free = 9;
-
- // The create_options is the create option of a table.
- string create_options = 10;
-
- // The comment is the comment of a table.
- // classification and user_comment is parsed from the comment.
- string comment = 11;
-
- // The classification is the classification of a table parsed from the comment.
- string classification = 13;
-
- // The user_comment is the user comment of a table parsed from the comment.
- string user_comment = 14;
-
- // The foreign_keys is the list of foreign keys in a table.
- repeated BranchForeignKeyMetadata foreign_keys = 12;
-
- // The partitions is the list of partitions in a table.
- repeated BranchTablePartitionMetadata partitions = 15;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-message BranchExternalTableMetadata {
- // The name is the name of a external table.
- string name = 1;
-
- // The external_server_name is the name of the external server.
- string external_server_name = 2;
-
- // The external_database_name is the name of the external database.
- string external_database_name = 3;
-
- // The columns is the ordered list of columns in a foreign table.
- repeated BranchColumnMetadata columns = 4;
-}
-
-// BranchTablePartitionMetadata is the metadata for table partitions used in branch.
-message BranchTablePartitionMetadata {
- // The name is the name of a table partition.
- string name = 1;
-
- // 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)
- // TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
- // PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
- enum Type {
- TYPE_UNSPECIFIED = 0;
- RANGE = 1;
- RANGE_COLUMNS = 2;
- LIST = 3;
- LIST_COLUMNS = 4;
- HASH = 5;
- LINEAR_HASH = 6;
- KEY = 7;
- LINEAR_KEY = 8;
- }
-
- // The type of a table partition.
- Type type = 2;
-
- // The expression is the expression of a table partition.
- // For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
- // For MySQL, the expression is the `expr` or `column_list` of the following syntax.
- // PARTITION BY
- // { [LINEAR] HASH(expr)
- // | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- // | RANGE{(expr) | COLUMNS(column_list)}
- // | LIST{(expr) | COLUMNS(column_list)} }.
- string expression = 3;
-
- // The value is the value of a table partition.
- // For MySQL, the value is for RANGE and LIST partition types,
- // - For a RANGE partition, it contains the value set in the partition's VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
- // - For a LIST partition, this column contains the values defined in the partition's VALUES IN clause, which is a list of comma-separated integer values.
- // - For others, it's an empty string.
- string value = 4;
-
- // The use_default is whether the users use the default partition, it stores the different value for different database engines.
- // For MySQL, it's [INT] type, 0 means not use default partition, otherwise, it's equals to number in syntax [SUB]PARTITION {number}.
- string use_default = 5;
-
- // The subpartitions is the list of subpartitions in a table partition.
- repeated BranchTablePartitionMetadata subpartitions = 6;
-}
-
-// BranchColumnMetadata is the metadata for columns used in branch.
-message BranchColumnMetadata {
- // The name is the name of a column.
- string name = 1;
-
- // The position is the position in columns.
- int32 position = 2;
-
- // The default_value is the default value of a column.
- oneof default_value {
- // The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default.
- google.protobuf.StringValue default = 3;
- bool default_null = 4;
- string default_expression = 5;
- }
-
- // The on_update is the on update action of a column.
- // For MySQL like databases, it's only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value.
- string on_update = 13;
-
- // The nullable is the nullable of a column.
- bool nullable = 6;
-
- // The type is the type of a column.
- string type = 7;
-
- // The character_set is the character_set of a column.
- string character_set = 8;
-
- // The collation is the collation of a column.
- string collation = 9;
-
- // The comment is the comment of a column.
- // classification and user_comment is parsed from the comment.
- string comment = 10;
-
- // The classification is the classification of a table parsed from the comment.
- string classification = 11;
-
- // The user_comment is the user comment of a table parsed from the comment.
- string user_comment = 12;
-}
-
-// BranchViewMetadata is the metadata for views used in branch.
-message BranchViewMetadata {
- // The name is the name of a view.
- string name = 1;
-
- // The definition is the definition of a view.
- string definition = 2;
-
- // The comment is the comment of a view.
- string comment = 3;
-
- // The dependent_columns is the list of dependent columns of a view.
- repeated BranchDependentColumn dependent_columns = 4;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// BranchDependentColumn is the metadata for dependent columns used in branch.
-message BranchDependentColumn {
- // The schema is the schema of a reference column.
- string schema = 1;
-
- // The table is the table of a reference column.
- string table = 2;
-
- // The column is the name of a reference column.
- string column = 3;
-}
-
-// BranchMaterializedViewMetadata is the metadata for materialized views used in branch.
-message BranchMaterializedViewMetadata {
- // The name is the name of a view.
- string name = 1;
-
- // The definition is the definition of a view.
- string definition = 2;
-
- // The comment is the comment of a view.
- string comment = 3;
-
- // The dependent_columns is the list of dependent columns of a view.
- repeated BranchDependentColumn dependent_columns = 4;
-}
-
-// BranchFunctionMetadata is the metadata for functions used in branch.
-message BranchFunctionMetadata {
- // The name is the name of a function.
- string name = 1;
-
- // The definition is the definition of a function.
- string definition = 2;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// BranchProcedureMetadata is the metadata for procedures used in branch.
-message BranchProcedureMetadata {
- // The name is the name of a procedure.
- string name = 1;
-
- // The definition is the definition of a procedure.
- string definition = 2;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// BranchIndexMetadata is the metadata for indexes used in branch.
-message BranchIndexMetadata {
- // The name is the name of an index.
- string name = 1;
-
- // The expressions are the ordered columns or expressions of an index.
- // This could refer to a column or an expression.
- repeated string expressions = 2;
-
- // The key_lengths are the ordered key lengths of an index.
- // If the key length is not specified, it's -1.
- repeated int64 key_length = 9;
-
- // The type is the type of an index.
- string type = 3;
-
- // The unique is whether the index is unique.
- bool unique = 4;
-
- // The primary is whether the index is a primary key index.
- bool primary = 5;
-
- // The visible is whether the index is visible.
- bool visible = 6;
-
- // The comment is the comment of an index.
- string comment = 7;
-
- // The definition of an index.
- string definition = 8;
-}
-
-// BranchExtensionMetadata is the metadata for extensions used in branch.
-message BranchExtensionMetadata {
- // The name is the name of an extension.
- string name = 1;
-
- // The schema is the extension that is installed to. But the extension usage is not limited to the schema.
- string schema = 2;
-
- // The version is the version of an extension.
- string version = 3;
-
- // The description is the description of an extension.
- string description = 4;
-}
-
-// BranchForeignKeyMetadata is the metadata for foreign keys used in branch.
-message BranchForeignKeyMetadata {
- // The name is the name of a foreign key.
- string name = 1;
-
- // The columns are the ordered referencing columns of a foreign key.
- repeated string columns = 2;
-
- // The referenced_schema is the referenced schema name of a foreign key.
- // It is an empty string for databases without such concept such as MySQL.
- string referenced_schema = 3;
-
- // The referenced_table is the referenced table name of a foreign key.
- string referenced_table = 4;
-
- // The referenced_columns are the ordered referenced columns of a foreign key.
- repeated string referenced_columns = 5;
-
- // The on_delete is the on delete action of a foreign key.
- string on_delete = 6;
-
- // The on_update is the on update action of a foreign key.
- string on_update = 7;
-
- // The match_type is the match type of a foreign key.
- // The match_type is the PostgreSQL specific field.
- // It's empty string for other databases.
- string match_type = 8;
-}
diff --git a/proto/store/database.proto b/proto/store/database.proto
index aff04d7e96..cb4e0250c5 100644
--- a/proto/store/database.proto
+++ b/proto/store/database.proto
@@ -2,6 +2,7 @@ syntax = "proto3";
package bytebase.store;
+import "google/api/field_behavior.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
@@ -475,6 +476,12 @@ message SchemaConfig {
// The table_configs is the list of configs for tables in a schema.
repeated TableConfig table_configs = 2;
+
+ repeated FunctionConfig function_configs = 3;
+
+ repeated ProcedureConfig procedure_configs = 4;
+
+ repeated ViewConfig view_configs = 5;
}
message TableConfig {
@@ -485,6 +492,49 @@ message TableConfig {
repeated ColumnConfig column_configs = 2;
string classification_id = 3;
+
+ // The last updater of the table in branch.
+ // Format: users/{email}
+ string updater = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the table is updated in branch.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message FunctionConfig {
+ // The name is the name of a function.
+ string name = 1;
+
+ // The last updater of the function in branch.
+ // Format: users/{email}
+ string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the function is updated in branch.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message ProcedureConfig {
+ // The name is the name of a procedure.
+ string name = 1;
+
+ // The last updater of the procedure in branch.
+ // Format: users/{email}
+ string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the procedure is updated in branch.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message ViewConfig {
+ // The name is the name of a view.
+ string name = 1;
+
+ // The last updater of the view in branch.
+ // Format: users/{email}
+ string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the view is updated in branch.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}
message ColumnConfig {
diff --git a/proto/v1/branch_service.proto b/proto/v1/branch_service.proto
index 12c7f34970..f1e777e8e2 100644
--- a/proto/v1/branch_service.proto
+++ b/proto/v1/branch_service.proto
@@ -8,7 +8,6 @@ import "google/api/field_behavior.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
-import "google/protobuf/wrappers.proto";
import "v1/common.proto";
import "v1/database_service.proto";
@@ -318,462 +317,3 @@ message DiffMetadataResponse {
// The diff of the metadata.
string diff = 1;
}
-
-// BranchDatabaseSchemaMetadata is the schema metadata for databases used in branch.
-message BranchDatabaseSchemaMetadata {
- string name = 1;
-
- // The schemas is the list of schemas in a database.
- repeated BranchSchemaMetadata schemas = 2;
-
- // The character_set is the character set of a database.
- string character_set = 3;
-
- // The collation is the collation of a database.
- string collation = 4;
-
- // The extensions is the list of extensions in a database.
- repeated ExtensionMetadata extensions = 5;
-
- // The database belongs to a datashare.
- bool datashare = 6;
-
- // The service name of the database. It's the Oracle specific concept.
- string service_name = 7;
-}
-
-// BranchSchemaMetadata is the metadata for schemas used in branch.
-// This is the concept of schema in Postgres, but it's a no-op for MySQL.
-message BranchSchemaMetadata {
- // The name is the schema name.
- // It is an empty string for databases without such concept such as MySQL.
- string name = 1;
-
- // The tables is the list of tables in a schema.
- repeated BranchTableMetadata tables = 2;
-
- // The external_tables is the list of external tables in a schema.
- repeated BranchExternalTableMetadata external_tables = 3;
-
- // The views is the list of views in a schema.
- repeated BranchViewMetadata views = 4;
-
- // The functions is the list of functions in a schema.
- repeated BranchFunctionMetadata functions = 5;
-
- // The procedures is the list of procedures in a schema.
- repeated BranchProcedureMetadata procedures = 6;
-
- // The streams is the list of streams in a schema, currently, only used for Snowflake.
- repeated BranchStreamMetadata streams = 7;
-
- // The routines is the list of routines in a schema, currently, only used for Snowflake.
- repeated BranchTaskMetadata tasks = 8;
-
- // The materialized_views is the list of materialized views in a schema.
- repeated BranchMaterializedViewMetadata materialized_views = 9;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-message BranchTaskMetadata {
- // The name is the name of a task.
- string name = 1;
-
- // The id is the snowflake-generated id of a task.
- // Example: 01ad32a0-1bb6-5e93-0000-000000000001
- string id = 2;
-
- // The owner of the task.
- string owner = 3;
-
- // The comment of the task.
- string comment = 4;
-
- // The warehouse of the task.
- string warehouse = 5;
-
- // The schedule interval of the task.
- string schedule = 6;
-
- // The predecessor tasks of the task.
- repeated string predecessors = 7;
-
- enum State {
- STATE_UNSPECIFIED = 0;
- STATE_STARTED = 1;
- STATE_SUSPENDED = 2;
- }
- // The state of the task.
- State state = 8;
-
- // The condition of the task.
- string condition = 9;
-
- // The definition of the task.
- string definition = 10;
-}
-
-message BranchStreamMetadata {
- // The name is the name of a stream.
- string name = 1;
-
- // The table_name is the name of the table/view that the stream is created on.
- string table_name = 2;
-
- // The owner of the stream.
- string owner = 3;
-
- // The comment of the stream.
- string comment = 4;
-
- enum Type {
- TYPE_UNSPECIFIED = 0;
- TYPE_DELTA = 1;
- }
- // The type of the stream.
- Type type = 5;
-
- // Indicates whether the stream was last read before the `stale_after` time.
- bool stale = 6;
-
- enum Mode {
- MODE_UNSPECIFIED = 0;
- MODE_DEFAULT = 1;
- MODE_APPEND_ONLY = 2;
- MODE_INSERT_ONLY = 3;
- }
- // The mode of the stream.
- Mode mode = 7;
-
- // The definition of the stream.
- string definition = 8;
-}
-
-// BranchTableMetadata is the metadata for tables used in branch.
-message BranchTableMetadata {
- // The name is the name of a table.
- string name = 1;
-
- // The columns is the ordered list of columns in a table.
- repeated BranchColumnMetadata columns = 2;
-
- // The indexes is the list of indexes in a table.
- repeated BranchIndexMetadata indexes = 3;
-
- // TODO(d): figure out whether we need to store table type such as "BASE TABLE".
-
- // The engine is the engine of a table.
- string engine = 4;
-
- // The collation is the collation of a table.
- string collation = 5;
-
- // The row_count is the estimated number of rows of a table.
- int64 row_count = 6;
-
- // The data_size is the estimated data size of a table.
- int64 data_size = 7;
-
- // The index_size is the estimated index size of a table.
- int64 index_size = 8;
-
- // The data_free is the estimated free data size of a table.
- int64 data_free = 9;
-
- // The create_options is the create option of a table.
- string create_options = 10;
-
- // The comment is the comment of a table.
- // classification and user_comment is parsed from the comment.
- string comment = 11;
-
- // The classification is the classification of a table parsed from the comment.
- string classification = 13;
-
- // The user_comment is the user comment of a table parsed from the comment.
- string user_comment = 14;
-
- // The foreign_keys is the list of foreign keys in a table.
- repeated BranchForeignKeyMetadata foreign_keys = 12;
-
- // The partitions is the list of partitions in a table.
- repeated BranchTablePartitionMetadata partitions = 15;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-message BranchExternalTableMetadata {
- // The name is the name of a external table.
- string name = 1;
-
- // The external_server_name is the name of the external server.
- string external_server_name = 2;
-
- // The external_database_name is the name of the external database.
- string external_database_name = 3;
-
- // The columns is the ordered list of columns in a foreign table.
- repeated BranchColumnMetadata columns = 4;
-}
-
-// BranchTablePartitionMetadata is the metadata for table partitions used in branch.
-message BranchTablePartitionMetadata {
- // The name is the name of a table partition.
- string name = 1;
-
- // 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)
- // TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY
- // PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)
- enum Type {
- TYPE_UNSPECIFIED = 0;
- RANGE = 1;
- RANGE_COLUMNS = 2;
- LIST = 3;
- LIST_COLUMNS = 4;
- HASH = 5;
- LINEAR_HASH = 6;
- KEY = 7;
- LINEAR_KEY = 8;
- }
-
- // The type of a table partition.
- Type type = 2;
-
- // The expression is the expression of a table partition.
- // For PostgreSQL, the expression is the text of {FOR VALUES partition_bound_spec}, see https://www.postgresql.org/docs/current/sql-createtable.html.
- // For MySQL, the expression is the `expr` or `column_list` of the following syntax.
- // PARTITION BY
- // { [LINEAR] HASH(expr)
- // | [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
- // | RANGE{(expr) | COLUMNS(column_list)}
- // | LIST{(expr) | COLUMNS(column_list)} }.
- string expression = 3;
-
- // The value is the value of a table partition.
- // For MySQL, the value is for RANGE and LIST partition types,
- // - For a RANGE partition, it contains the value set in the partition's VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
- // - For a LIST partition, this column contains the values defined in the partition's VALUES IN clause, which is a list of comma-separated integer values.
- // - For others, it's an empty string.
- string value = 4;
-
- // The use_default is whether the users use the default partition, it stores the different value for different database engines.
- // For MySQL, it's [INT] type, 0 means not use default partition, otherwise, it's equals to number in syntax [SUB]PARTITION {number}.
- string use_default = 5;
-
- // The subpartitions is the list of subpartitions in a table partition.
- repeated BranchTablePartitionMetadata subpartitions = 6;
-}
-
-// BranchColumnMetadata is the metadata for columns used in branch.
-message BranchColumnMetadata {
- // The name is the name of a column.
- string name = 1;
-
- // The position is the position in columns.
- int32 position = 2;
-
- // The default_value is the default value of a column.
- oneof default_value {
- // The default is the default of a column. Use google.protobuf.StringValue to distinguish between an empty string default value or no default.
- google.protobuf.StringValue default = 3;
- bool default_null = 4;
- string default_expression = 5;
- }
-
- // The on_update is the on update action of a column.
- // For MySQL like databases, it's only supported for TIMESTAMP columns with CURRENT_TIMESTAMP as on update value.
- string on_update = 13;
-
- // The nullable is the nullable of a column.
- bool nullable = 6;
-
- // The type is the type of a column.
- string type = 7;
-
- // The character_set is the character_set of a column.
- string character_set = 8;
-
- // The collation is the collation of a column.
- string collation = 9;
-
- // The comment is the comment of a column.
- // classification and user_comment is parsed from the comment.
- string comment = 10;
-
- // The classification is the classification of a table parsed from the comment.
- string classification = 11;
-
- // The user_comment is the user comment of a table parsed from the comment.
- string user_comment = 12;
-}
-
-// BranchViewMetadata is the metadata for views used in branch.
-message BranchViewMetadata {
- // The name is the name of a view.
- string name = 1;
-
- // The definition is the definition of a view.
- string definition = 2;
-
- // The comment is the comment of a view.
- string comment = 3;
-
- // The dependent_columns is the list of dependent columns of a view.
- repeated BranchDependentColumn dependent_columns = 4;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// BranchDependentColumn is the metadata for dependent columns used in branch.
-message BranchDependentColumn {
- // The schema is the schema of a reference column.
- string schema = 1;
-
- // The table is the table of a reference column.
- string table = 2;
-
- // The column is the name of a reference column.
- string column = 3;
-}
-
-// BranchMaterializedViewMetadata is the metadata for materialized views used in branch.
-message BranchMaterializedViewMetadata {
- // The name is the name of a view.
- string name = 1;
-
- // The definition is the definition of a view.
- string definition = 2;
-
- // The comment is the comment of a view.
- string comment = 3;
-
- // The dependent_columns is the list of dependent columns of a view.
- repeated BranchDependentColumn dependent_columns = 4;
-}
-
-// BranchFunctionMetadata is the metadata for functions used in branch.
-message BranchFunctionMetadata {
- // The name is the name of a function.
- string name = 1;
-
- // The definition is the definition of a function.
- string definition = 2;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// BranchProcedureMetadata is the metadata for procedures used in branch.
-message BranchProcedureMetadata {
- // The name is the name of a procedure.
- string name = 1;
-
- // The definition is the definition of a procedure.
- string definition = 2;
-
- // The last updater of the object.
- // Format: users/{email}
- string updater = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // The timestamp when the object was last updated.
- google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// BranchIndexMetadata is the metadata for indexes used in branch.
-message BranchIndexMetadata {
- // The name is the name of an index.
- string name = 1;
-
- // The expressions are the ordered columns or expressions of an index.
- // This could refer to a column or an expression.
- repeated string expressions = 2;
-
- // The key_lengths are the ordered key lengths of an index.
- // If the key length is not specified, it's -1.
- repeated int64 key_length = 9;
-
- // The type is the type of an index.
- string type = 3;
-
- // The unique is whether the index is unique.
- bool unique = 4;
-
- // The primary is whether the index is a primary key index.
- bool primary = 5;
-
- // The visible is whether the index is visible.
- bool visible = 6;
-
- // The comment is the comment of an index.
- string comment = 7;
-
- // The definition of an index.
- string definition = 8;
-}
-
-// BranchExtensionMetadata is the metadata for extensions used in branch.
-message BranchExtensionMetadata {
- // The name is the name of an extension.
- string name = 1;
-
- // The schema is the extension that is installed to. But the extension usage is not limited to the schema.
- string schema = 2;
-
- // The version is the version of an extension.
- string version = 3;
-
- // The description is the description of an extension.
- string description = 4;
-}
-
-// BranchForeignKeyMetadata is the metadata for foreign keys used in branch.
-message BranchForeignKeyMetadata {
- // The name is the name of a foreign key.
- string name = 1;
-
- // The columns are the ordered referencing columns of a foreign key.
- repeated string columns = 2;
-
- // The referenced_schema is the referenced schema name of a foreign key.
- // It is an empty string for databases without such concept such as MySQL.
- string referenced_schema = 3;
-
- // The referenced_table is the referenced table name of a foreign key.
- string referenced_table = 4;
-
- // The referenced_columns are the ordered referenced columns of a foreign key.
- repeated string referenced_columns = 5;
-
- // The on_delete is the on delete action of a foreign key.
- string on_delete = 6;
-
- // The on_update is the on update action of a foreign key.
- string on_update = 7;
-
- // The match_type is the match type of a foreign key.
- // The match_type is the PostgreSQL specific field.
- // It's empty string for other databases.
- string match_type = 8;
-}
diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.proto
index 87d577e2db..eabc388e54 100644
--- a/proto/v1/database_service.proto
+++ b/proto/v1/database_service.proto
@@ -788,6 +788,12 @@ message SchemaConfig {
// The table_configs is the list of configs for tables in a schema.
repeated TableConfig table_configs = 2;
+
+ repeated FunctionConfig function_configs = 3;
+
+ repeated ProcedureConfig procedure_configs = 4;
+
+ repeated ViewConfig view_configs = 5;
}
message TableConfig {
@@ -798,6 +804,49 @@ message TableConfig {
repeated ColumnConfig column_configs = 2;
string classification_id = 3;
+
+ // The last updater of the table in branch.
+ // Format: users/{email}
+ string updater = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the table is updated in branch.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message FunctionConfig {
+ // The name is the name of a function.
+ string name = 1;
+
+ // The last updater of the function in branch.
+ // Format: users/{email}
+ string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the function is updated in branch.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message ProcedureConfig {
+ // The name is the name of a procedure.
+ string name = 1;
+
+ // The last updater of the procedure in branch.
+ // Format: users/{email}
+ string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the procedure is updated in branch.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message ViewConfig {
+ // The name is the name of a view.
+ string name = 1;
+
+ // The last updater of the view in branch.
+ // Format: users/{email}
+ string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The timestamp when the view is updated in branch.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}
message ColumnConfig {