new enum instead of string in proto
This commit is contained in:
@@ -437,7 +437,7 @@ message ProfileTreeResponse {
|
||||
repeated string row_display_columns = 4;
|
||||
|
||||
// "dynamic" for user-defined tables, "system" for backend-managed tables.
|
||||
string table_kind = 5;
|
||||
ManagedTableKind table_kind = 5;
|
||||
|
||||
// True when this table is shared by every profile.
|
||||
bool global = 6;
|
||||
@@ -590,6 +590,12 @@ message GetAliasChangeHistoryResponse {
|
||||
repeated AliasChangeHistoryEntry entries = 2;
|
||||
}
|
||||
|
||||
enum ManagedTableKind {
|
||||
MANAGED_TABLE_KIND_UNSPECIFIED = 0;
|
||||
MANAGED_TABLE_KIND_DYNAMIC = 1;
|
||||
MANAGED_TABLE_KIND_SYSTEM = 2;
|
||||
}
|
||||
|
||||
// Describes a table with its columns and associated scripts.
|
||||
message TableDetail {
|
||||
string name = 1;
|
||||
@@ -598,7 +604,7 @@ message TableDetail {
|
||||
repeated ScriptInfo scripts = 4;
|
||||
repeated string row_display_columns = 6;
|
||||
map<string, ColumnBehavior> column_behaviors = 7;
|
||||
string table_kind = 8;
|
||||
ManagedTableKind table_kind = 8;
|
||||
bool global = 9;
|
||||
// Revision of this table definition for optimistic concurrency control.
|
||||
int64 row_version = 10;
|
||||
|
||||
Reference in New Issue
Block a user