- 1.72.0 (latest)
- 1.71.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.2
- 1.65.0
- 1.64.0
- 1.63.1
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.1
- 1.58.0
- 1.57.1
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.2
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.2
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
Constants
MetastoreService_CreateCatalog_FullMethodName, MetastoreService_DeleteCatalog_FullMethodName, MetastoreService_GetCatalog_FullMethodName, MetastoreService_ListCatalogs_FullMethodName, MetastoreService_CreateDatabase_FullMethodName, MetastoreService_DeleteDatabase_FullMethodName, MetastoreService_UpdateDatabase_FullMethodName, MetastoreService_GetDatabase_FullMethodName, MetastoreService_ListDatabases_FullMethodName, MetastoreService_CreateTable_FullMethodName, MetastoreService_DeleteTable_FullMethodName, MetastoreService_UpdateTable_FullMethodName, MetastoreService_RenameTable_FullMethodName, MetastoreService_GetTable_FullMethodName, MetastoreService_ListTables_FullMethodName
const (
MetastoreService_CreateCatalog_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/CreateCatalog"
MetastoreService_DeleteCatalog_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/DeleteCatalog"
MetastoreService_GetCatalog_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/GetCatalog"
MetastoreService_ListCatalogs_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/ListCatalogs"
MetastoreService_CreateDatabase_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/CreateDatabase"
MetastoreService_DeleteDatabase_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/DeleteDatabase"
MetastoreService_UpdateDatabase_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/UpdateDatabase"
MetastoreService_GetDatabase_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/GetDatabase"
MetastoreService_ListDatabases_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/ListDatabases"
MetastoreService_CreateTable_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/CreateTable"
MetastoreService_DeleteTable_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/DeleteTable"
MetastoreService_UpdateTable_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/UpdateTable"
MetastoreService_RenameTable_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/RenameTable"
MetastoreService_GetTable_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/GetTable"
MetastoreService_ListTables_FullMethodName = "/google.cloud.bigquery.biglake.v1.MetastoreService/ListTables"
)Variables
TableView_name, TableView_value
var (
TableView_name = map[int32]string{
0: "TABLE_VIEW_UNSPECIFIED",
1: "BASIC",
2: "FULL",
}
TableView_value = map[string]int32{
"TABLE_VIEW_UNSPECIFIED": 0,
"BASIC": 1,
"FULL": 2,
}
)Enum value maps for TableView.
Database_Type_name, Database_Type_value
var (
Database_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "HIVE",
}
Database_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"HIVE": 1,
}
)Enum value maps for Database_Type.
Table_Type_name, Table_Type_value
var (
Table_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "HIVE",
}
Table_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"HIVE": 1,
}
)Enum value maps for Table_Type.
File_google_cloud_bigquery_biglake_v1_metastore_proto
var File_google_cloud_bigquery_biglake_v1_metastore_proto protoreflect.FileDescriptorMetastoreService_ServiceDesc
var MetastoreService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.bigquery.biglake.v1.MetastoreService",
HandlerType: (*MetastoreServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateCatalog",
Handler: _MetastoreService_CreateCatalog_Handler,
},
{
MethodName: "DeleteCatalog",
Handler: _MetastoreService_DeleteCatalog_Handler,
},
{
MethodName: "GetCatalog",
Handler: _MetastoreService_GetCatalog_Handler,
},
{
MethodName: "ListCatalogs",
Handler: _MetastoreService_ListCatalogs_Handler,
},
{
MethodName: "CreateDatabase",
Handler: _MetastoreService_CreateDatabase_Handler,
},
{
MethodName: "DeleteDatabase",
Handler: _MetastoreService_DeleteDatabase_Handler,
},
{
MethodName: "UpdateDatabase",
Handler: _MetastoreService_UpdateDatabase_Handler,
},
{
MethodName: "GetDatabase",
Handler: _MetastoreService_GetDatabase_Handler,
},
{
MethodName: "ListDatabases",
Handler: _MetastoreService_ListDatabases_Handler,
},
{
MethodName: "CreateTable",
Handler: _MetastoreService_CreateTable_Handler,
},
{
MethodName: "DeleteTable",
Handler: _MetastoreService_DeleteTable_Handler,
},
{
MethodName: "UpdateTable",
Handler: _MetastoreService_UpdateTable_Handler,
},
{
MethodName: "RenameTable",
Handler: _MetastoreService_RenameTable_Handler,
},
{
MethodName: "GetTable",
Handler: _MetastoreService_GetTable_Handler,
},
{
MethodName: "ListTables",
Handler: _MetastoreService_ListTables_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/bigquery/biglake/v1/metastore.proto",
}MetastoreService_ServiceDesc is the grpc.ServiceDesc for MetastoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterMetastoreServiceServer
func RegisterMetastoreServiceServer(s grpc.ServiceRegistrar, srv MetastoreServiceServer)Catalog
type Catalog struct {
// Output only. The resource name.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time of the catalog.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The last modification time of the catalog.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The deletion time of the catalog. Only set after the catalog
// is deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Output only. The time when this catalog is considered expired. Only set
// after the catalog is deleted.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}Catalog is the container of databases.
func (*Catalog) Descriptor
Deprecated: Use Catalog.ProtoReflect.Descriptor instead.
func (*Catalog) GetCreateTime
func (x *Catalog) GetCreateTime() *timestamppb.Timestampfunc (*Catalog) GetDeleteTime
func (x *Catalog) GetDeleteTime() *timestamppb.Timestampfunc (*Catalog) GetExpireTime
func (x *Catalog) GetExpireTime() *timestamppb.Timestampfunc (*Catalog) GetName
func (*Catalog) GetUpdateTime
func (x *Catalog) GetUpdateTime() *timestamppb.Timestampfunc (*Catalog) ProtoMessage
func (*Catalog) ProtoMessage()func (*Catalog) ProtoReflect
func (x *Catalog) ProtoReflect() protoreflect.Messagefunc (*Catalog) Reset
func (x *Catalog) Reset()func (*Catalog) String
CreateCatalogRequest
type CreateCatalogRequest struct {
// Required. The parent resource where this catalog will be created.
// Format: projects/{project_id_or_number}/locations/{location_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The catalog to create.
// The `name` field does not need to be provided.
Catalog *Catalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"`
// Required. The ID to use for the catalog, which will become the final
// component of the catalog's resource name.
CatalogId string `protobuf:"bytes,3,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
// contains filtered or unexported fields
}Request message for the CreateCatalog method.
func (*CreateCatalogRequest) Descriptor
func (*CreateCatalogRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCatalogRequest.ProtoReflect.Descriptor instead.
func (*CreateCatalogRequest) GetCatalog
func (x *CreateCatalogRequest) GetCatalog() *Catalogfunc (*CreateCatalogRequest) GetCatalogId
func (x *CreateCatalogRequest) GetCatalogId() stringfunc (*CreateCatalogRequest) GetParent
func (x *CreateCatalogRequest) GetParent() stringfunc (*CreateCatalogRequest) ProtoMessage
func (*CreateCatalogRequest) ProtoMessage()func (*CreateCatalogRequest) ProtoReflect
func (x *CreateCatalogRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCatalogRequest) Reset
func (x *CreateCatalogRequest) Reset()func (*CreateCatalogRequest) String
func (x *CreateCatalogRequest) String() stringCreateDatabaseRequest
type CreateDatabaseRequest struct {
// Required. The parent resource where this database will be created.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The database to create.
// The `name` field does not need to be provided.
Database *Database `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
// Required. The ID to use for the database, which will become the final
// component of the database's resource name.
DatabaseId string `protobuf:"bytes,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
// contains filtered or unexported fields
}Request message for the CreateDatabase method.
func (*CreateDatabaseRequest) Descriptor
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) GetDatabase
func (x *CreateDatabaseRequest) GetDatabase() *Databasefunc (*CreateDatabaseRequest) GetDatabaseId
func (x *CreateDatabaseRequest) GetDatabaseId() stringfunc (*CreateDatabaseRequest) GetParent
func (x *CreateDatabaseRequest) GetParent() stringfunc (*CreateDatabaseRequest) ProtoMessage
func (*CreateDatabaseRequest) ProtoMessage()func (*CreateDatabaseRequest) ProtoReflect
func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDatabaseRequest) Reset
func (x *CreateDatabaseRequest) Reset()func (*CreateDatabaseRequest) String
func (x *CreateDatabaseRequest) String() stringCreateTableRequest
type CreateTableRequest struct {
// Required. The parent resource where this table will be created.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The table to create. The `name` field does not need to be
// provided for the table creation.
Table *Table `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
// Required. The ID to use for the table, which will become the final
// component of the table's resource name.
TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
// contains filtered or unexported fields
}Request message for the CreateTable method.
func (*CreateTableRequest) Descriptor
func (*CreateTableRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTableRequest.ProtoReflect.Descriptor instead.
func (*CreateTableRequest) GetParent
func (x *CreateTableRequest) GetParent() stringfunc (*CreateTableRequest) GetTable
func (x *CreateTableRequest) GetTable() *Tablefunc (*CreateTableRequest) GetTableId
func (x *CreateTableRequest) GetTableId() stringfunc (*CreateTableRequest) ProtoMessage
func (*CreateTableRequest) ProtoMessage()func (*CreateTableRequest) ProtoReflect
func (x *CreateTableRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTableRequest) Reset
func (x *CreateTableRequest) Reset()func (*CreateTableRequest) String
func (x *CreateTableRequest) String() stringDatabase
type Database struct {
// Options specified for the database type.
//
// Types that are assignable to Options:
//
// *Database_HiveOptions
Options isDatabase_Options `protobuf_oneof:"options"`
// Output only. The resource name.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time of the database.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The last modification time of the database.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The deletion time of the database. Only set after the database
// is deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Output only. The time when this database is considered expired. Only set
// after the database is deleted.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// The database type.
Type Database_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.cloud.bigquery.biglake.v1.Database_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Database is the container of tables.
func (*Database) Descriptor
Deprecated: Use Database.ProtoReflect.Descriptor instead.
func (*Database) GetCreateTime
func (x *Database) GetCreateTime() *timestamppb.Timestampfunc (*Database) GetDeleteTime
func (x *Database) GetDeleteTime() *timestamppb.Timestampfunc (*Database) GetExpireTime
func (x *Database) GetExpireTime() *timestamppb.Timestampfunc (*Database) GetHiveOptions
func (x *Database) GetHiveOptions() *HiveDatabaseOptionsfunc (*Database) GetName
func (*Database) GetOptions
func (m *Database) GetOptions() isDatabase_Optionsfunc (*Database) GetType
func (x *Database) GetType() Database_Typefunc (*Database) GetUpdateTime
func (x *Database) GetUpdateTime() *timestamppb.Timestampfunc (*Database) ProtoMessage
func (*Database) ProtoMessage()func (*Database) ProtoReflect
func (x *Database) ProtoReflect() protoreflect.Messagefunc (*Database) Reset
func (x *Database) Reset()func (*Database) String
Database_HiveOptions
type Database_HiveOptions struct {
// Options of a Hive database.
HiveOptions *HiveDatabaseOptions `protobuf:"bytes,7,opt,name=hive_options,json=hiveOptions,proto3,oneof"`
}Database_Type
type Database_Type int32The database type.
Database_TYPE_UNSPECIFIED, Database_HIVE
const (
// The type is not specified.
Database_TYPE_UNSPECIFIED Database_Type = 0
// Represents a database storing tables compatible with Hive Metastore
// tables.
Database_HIVE Database_Type = 1
)func (Database_Type) Descriptor
func (Database_Type) Descriptor() protoreflect.EnumDescriptorfunc (Database_Type) Enum
func (x Database_Type) Enum() *Database_Typefunc (Database_Type) EnumDescriptor
func (Database_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Database_Type.Descriptor instead.
func (Database_Type) Number
func (x Database_Type) Number() protoreflect.EnumNumberfunc (Database_Type) String
func (x Database_Type) String() stringfunc (Database_Type) Type
func (Database_Type) Type() protoreflect.EnumTypeDeleteCatalogRequest
type DeleteCatalogRequest struct {
// Required. The name of the catalog to delete.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for the DeleteCatalog method.
func (*DeleteCatalogRequest) Descriptor
func (*DeleteCatalogRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteCatalogRequest.ProtoReflect.Descriptor instead.
func (*DeleteCatalogRequest) GetName
func (x *DeleteCatalogRequest) GetName() stringfunc (*DeleteCatalogRequest) ProtoMessage
func (*DeleteCatalogRequest) ProtoMessage()func (*DeleteCatalogRequest) ProtoReflect
func (x *DeleteCatalogRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCatalogRequest) Reset
func (x *DeleteCatalogRequest) Reset()func (*DeleteCatalogRequest) String
func (x *DeleteCatalogRequest) String() stringDeleteDatabaseRequest
type DeleteDatabaseRequest struct {
// Required. The name of the database to delete.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for the DeleteDatabase method.
func (*DeleteDatabaseRequest) Descriptor
func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseRequest) GetName
func (x *DeleteDatabaseRequest) GetName() stringfunc (*DeleteDatabaseRequest) ProtoMessage
func (*DeleteDatabaseRequest) ProtoMessage()func (*DeleteDatabaseRequest) ProtoReflect
func (x *DeleteDatabaseRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDatabaseRequest) Reset
func (x *DeleteDatabaseRequest) Reset()func (*DeleteDatabaseRequest) String
func (x *DeleteDatabaseRequest) String() stringDeleteTableRequest
type DeleteTableRequest struct {
// Required. The name of the table to delete.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for the DeleteTable method.
func (*DeleteTableRequest) Descriptor
func (*DeleteTableRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTableRequest.ProtoReflect.Descriptor instead.
func (*DeleteTableRequest) GetName
func (x *DeleteTableRequest) GetName() stringfunc (*DeleteTableRequest) ProtoMessage
func (*DeleteTableRequest) ProtoMessage()func (*DeleteTableRequest) ProtoReflect
func (x *DeleteTableRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTableRequest) Reset
func (x *DeleteTableRequest) Reset()func (*DeleteTableRequest) String
func (x *DeleteTableRequest) String() stringGetCatalogRequest
type GetCatalogRequest struct {
// Required. The name of the catalog to retrieve.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for the GetCatalog method.
func (*GetCatalogRequest) Descriptor
func (*GetCatalogRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCatalogRequest.ProtoReflect.Descriptor instead.
func (*GetCatalogRequest) GetName
func (x *GetCatalogRequest) GetName() stringfunc (*GetCatalogRequest) ProtoMessage
func (*GetCatalogRequest) ProtoMessage()func (*GetCatalogRequest) ProtoReflect
func (x *GetCatalogRequest) ProtoReflect() protoreflect.Messagefunc (*GetCatalogRequest) Reset
func (x *GetCatalogRequest) Reset()func (*GetCatalogRequest) String
func (x *GetCatalogRequest) String() stringGetDatabaseRequest
type GetDatabaseRequest struct {
// Required. The name of the database to retrieve.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for the GetDatabase method.
func (*GetDatabaseRequest) Descriptor
func (*GetDatabaseRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseRequest) GetName
func (x *GetDatabaseRequest) GetName() stringfunc (*GetDatabaseRequest) ProtoMessage
func (*GetDatabaseRequest) ProtoMessage()func (*GetDatabaseRequest) ProtoReflect
func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Messagefunc (*GetDatabaseRequest) Reset
func (x *GetDatabaseRequest) Reset()func (*GetDatabaseRequest) String
func (x *GetDatabaseRequest) String() stringGetTableRequest
type GetTableRequest struct {
// Required. The name of the table to retrieve.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for the GetTable method.
func (*GetTableRequest) Descriptor
func (*GetTableRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTableRequest.ProtoReflect.Descriptor instead.
func (*GetTableRequest) GetName
func (x *GetTableRequest) GetName() stringfunc (*GetTableRequest) ProtoMessage
func (*GetTableRequest) ProtoMessage()func (*GetTableRequest) ProtoReflect
func (x *GetTableRequest) ProtoReflect() protoreflect.Messagefunc (*GetTableRequest) Reset
func (x *GetTableRequest) Reset()func (*GetTableRequest) String
func (x *GetTableRequest) String() stringHiveDatabaseOptions
type HiveDatabaseOptions struct {
// Cloud Storage folder URI where the database data is stored, starting with
// "gs://".
LocationUri string `protobuf:"bytes,1,opt,name=location_uri,json=locationUri,proto3" json:"location_uri,omitempty"`
// Stores user supplied Hive database parameters.
Parameters map[string]string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Options of a Hive database.
func (*HiveDatabaseOptions) Descriptor
func (*HiveDatabaseOptions) Descriptor() ([]byte, []int)Deprecated: Use HiveDatabaseOptions.ProtoReflect.Descriptor instead.
func (*HiveDatabaseOptions) GetLocationUri
func (x *HiveDatabaseOptions) GetLocationUri() stringfunc (*HiveDatabaseOptions) GetParameters
func (x *HiveDatabaseOptions) GetParameters() map[string]stringfunc (*HiveDatabaseOptions) ProtoMessage
func (*HiveDatabaseOptions) ProtoMessage()func (*HiveDatabaseOptions) ProtoReflect
func (x *HiveDatabaseOptions) ProtoReflect() protoreflect.Messagefunc (*HiveDatabaseOptions) Reset
func (x *HiveDatabaseOptions) Reset()func (*HiveDatabaseOptions) String
func (x *HiveDatabaseOptions) String() stringHiveTableOptions
type HiveTableOptions struct {
// Stores user supplied Hive table parameters.
Parameters map[string]string `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
TableType string `protobuf:"bytes,2,opt,name=table_type,json=tableType,proto3" json:"table_type,omitempty"`
// Stores physical storage information of the data.
StorageDescriptor *HiveTableOptions_StorageDescriptor `protobuf:"bytes,3,opt,name=storage_descriptor,json=storageDescriptor,proto3" json:"storage_descriptor,omitempty"`
// contains filtered or unexported fields
}Options of a Hive table.
func (*HiveTableOptions) Descriptor
func (*HiveTableOptions) Descriptor() ([]byte, []int)Deprecated: Use HiveTableOptions.ProtoReflect.Descriptor instead.
func (*HiveTableOptions) GetParameters
func (x *HiveTableOptions) GetParameters() map[string]stringfunc (*HiveTableOptions) GetStorageDescriptor
func (x *HiveTableOptions) GetStorageDescriptor() *HiveTableOptions_StorageDescriptorfunc (*HiveTableOptions) GetTableType
func (x *HiveTableOptions) GetTableType() stringfunc (*HiveTableOptions) ProtoMessage
func (*HiveTableOptions) ProtoMessage()func (*HiveTableOptions) ProtoReflect
func (x *HiveTableOptions) ProtoReflect() protoreflect.Messagefunc (*HiveTableOptions) Reset
func (x *HiveTableOptions) Reset()func (*HiveTableOptions) String
func (x *HiveTableOptions) String() stringHiveTableOptions_SerDeInfo
type HiveTableOptions_SerDeInfo struct {
// The fully qualified Java class name of the serialization library.
SerializationLib string `protobuf:"bytes,1,opt,name=serialization_lib,json=serializationLib,proto3" json:"serialization_lib,omitempty"`
// contains filtered or unexported fields
}Serializer and deserializer information.
func (*HiveTableOptions_SerDeInfo) Descriptor
func (*HiveTableOptions_SerDeInfo) Descriptor() ([]byte, []int)Deprecated: Use HiveTableOptions_SerDeInfo.ProtoReflect.Descriptor instead.
func (*HiveTableOptions_SerDeInfo) GetSerializationLib
func (x *HiveTableOptions_SerDeInfo) GetSerializationLib() stringfunc (*HiveTableOptions_SerDeInfo) ProtoMessage
func (*HiveTableOptions_SerDeInfo) ProtoMessage()func (*HiveTableOptions_SerDeInfo) ProtoReflect
func (x *HiveTableOptions_SerDeInfo) ProtoReflect() protoreflect.Messagefunc (*HiveTableOptions_SerDeInfo) Reset
func (x *HiveTableOptions_SerDeInfo) Reset()func (*HiveTableOptions_SerDeInfo) String
func (x *HiveTableOptions_SerDeInfo) String() stringHiveTableOptions_StorageDescriptor
type HiveTableOptions_StorageDescriptor struct {
// Cloud Storage folder URI where the table data is stored, starting with
// "gs://".
LocationUri string `protobuf:"bytes,1,opt,name=location_uri,json=locationUri,proto3" json:"location_uri,omitempty"`
// The fully qualified Java class name of the input format.
InputFormat string `protobuf:"bytes,2,opt,name=input_format,json=inputFormat,proto3" json:"input_format,omitempty"`
// The fully qualified Java class name of the output format.
OutputFormat string `protobuf:"bytes,3,opt,name=output_format,json=outputFormat,proto3" json:"output_format,omitempty"`
// Serializer and deserializer information.
SerdeInfo *HiveTableOptions_SerDeInfo `protobuf:"bytes,4,opt,name=serde_info,json=serdeInfo,proto3" json:"serde_info,omitempty"`
// contains filtered or unexported fields
}Stores physical storage information of the data.
func (*HiveTableOptions_StorageDescriptor) Descriptor
func (*HiveTableOptions_StorageDescriptor) Descriptor() ([]byte, []int)Deprecated: Use HiveTableOptions_StorageDescriptor.ProtoReflect.Descriptor instead.
func (*HiveTableOptions_StorageDescriptor) GetInputFormat
func (x *HiveTableOptions_StorageDescriptor) GetInputFormat() stringfunc (*HiveTableOptions_StorageDescriptor) GetLocationUri
func (x *HiveTableOptions_StorageDescriptor) GetLocationUri() stringfunc (*HiveTableOptions_StorageDescriptor) GetOutputFormat
func (x *HiveTableOptions_StorageDescriptor) GetOutputFormat() stringfunc (*HiveTableOptions_StorageDescriptor) GetSerdeInfo
func (x *HiveTableOptions_StorageDescriptor) GetSerdeInfo() *HiveTableOptions_SerDeInfofunc (*HiveTableOptions_StorageDescriptor) ProtoMessage
func (*HiveTableOptions_StorageDescriptor) ProtoMessage()func (*HiveTableOptions_StorageDescriptor) ProtoReflect
func (x *HiveTableOptions_StorageDescriptor) ProtoReflect() protoreflect.Messagefunc (*HiveTableOptions_StorageDescriptor) Reset
func (x *HiveTableOptions_StorageDescriptor) Reset()func (*HiveTableOptions_StorageDescriptor) String
func (x *HiveTableOptions_StorageDescriptor) String() stringListCatalogsRequest
type ListCatalogsRequest struct {
// Required. The parent, which owns this collection of catalogs.
// Format: projects/{project_id_or_number}/locations/{location_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of catalogs to return. The service may return fewer than
// this value.
// If unspecified, at most 50 catalogs will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListCatalogs` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListCatalogs` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for the ListCatalogs method.
func (*ListCatalogsRequest) Descriptor
func (*ListCatalogsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCatalogsRequest.ProtoReflect.Descriptor instead.
func (*ListCatalogsRequest) GetPageSize
func (x *ListCatalogsRequest) GetPageSize() int32func (*ListCatalogsRequest) GetPageToken
func (x *ListCatalogsRequest) GetPageToken() stringfunc (*ListCatalogsRequest) GetParent
func (x *ListCatalogsRequest) GetParent() stringfunc (*ListCatalogsRequest) ProtoMessage
func (*ListCatalogsRequest) ProtoMessage()func (*ListCatalogsRequest) ProtoReflect
func (x *ListCatalogsRequest) ProtoReflect() protoreflect.Messagefunc (*ListCatalogsRequest) Reset
func (x *ListCatalogsRequest) Reset()func (*ListCatalogsRequest) String
func (x *ListCatalogsRequest) String() stringListCatalogsResponse
type ListCatalogsResponse struct {
// The catalogs from the specified project.
Catalogs []*Catalog `protobuf:"bytes,1,rep,name=catalogs,proto3" json:"catalogs,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for the ListCatalogs method.
func (*ListCatalogsResponse) Descriptor
func (*ListCatalogsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCatalogsResponse.ProtoReflect.Descriptor instead.
func (*ListCatalogsResponse) GetCatalogs
func (x *ListCatalogsResponse) GetCatalogs() []*Catalogfunc (*ListCatalogsResponse) GetNextPageToken
func (x *ListCatalogsResponse) GetNextPageToken() stringfunc (*ListCatalogsResponse) ProtoMessage
func (*ListCatalogsResponse) ProtoMessage()func (*ListCatalogsResponse) ProtoReflect
func (x *ListCatalogsResponse) ProtoReflect() protoreflect.Messagefunc (*ListCatalogsResponse) Reset
func (x *ListCatalogsResponse) Reset()func (*ListCatalogsResponse) String
func (x *ListCatalogsResponse) String() stringListDatabasesRequest
type ListDatabasesRequest struct {
// Required. The parent, which owns this collection of databases.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of databases to return. The service may return fewer
// than this value.
// If unspecified, at most 50 databases will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDatabases` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListDatabases` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for the ListDatabases method.
func (*ListDatabasesRequest) Descriptor
func (*ListDatabasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) GetPageSize
func (x *ListDatabasesRequest) GetPageSize() int32func (*ListDatabasesRequest) GetPageToken
func (x *ListDatabasesRequest) GetPageToken() stringfunc (*ListDatabasesRequest) GetParent
func (x *ListDatabasesRequest) GetParent() stringfunc (*ListDatabasesRequest) ProtoMessage
func (*ListDatabasesRequest) ProtoMessage()func (*ListDatabasesRequest) ProtoReflect
func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDatabasesRequest) Reset
func (x *ListDatabasesRequest) Reset()func (*ListDatabasesRequest) String
func (x *ListDatabasesRequest) String() stringListDatabasesResponse
type ListDatabasesResponse struct {
// The databases from the specified catalog.
Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for the ListDatabases method.
func (*ListDatabasesResponse) Descriptor
func (*ListDatabasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) GetDatabases
func (x *ListDatabasesResponse) GetDatabases() []*Databasefunc (*ListDatabasesResponse) GetNextPageToken
func (x *ListDatabasesResponse) GetNextPageToken() stringfunc (*ListDatabasesResponse) ProtoMessage
func (*ListDatabasesResponse) ProtoMessage()func (*ListDatabasesResponse) ProtoReflect
func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDatabasesResponse) Reset
func (x *ListDatabasesResponse) Reset()func (*ListDatabasesResponse) String
func (x *ListDatabasesResponse) String() stringListTablesRequest
type ListTablesRequest struct {
// Required. The parent, which owns this collection of tables.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of tables to return. The service may return fewer than
// this value.
// If unspecified, at most 50 tables will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListTables` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListTables` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The view for the returned tables.
View TableView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.bigquery.biglake.v1.TableView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for the ListTables method.
func (*ListTablesRequest) Descriptor
func (*ListTablesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTablesRequest.ProtoReflect.Descriptor instead.
func (*ListTablesRequest) GetPageSize
func (x *ListTablesRequest) GetPageSize() int32func (*ListTablesRequest) GetPageToken
func (x *ListTablesRequest) GetPageToken() stringfunc (*ListTablesRequest) GetParent
func (x *ListTablesRequest) GetParent() stringfunc (*ListTablesRequest) GetView
func (x *ListTablesRequest) GetView() TableViewfunc (*ListTablesRequest) ProtoMessage
func (*ListTablesRequest) ProtoMessage()func (*ListTablesRequest) ProtoReflect
func (x *ListTablesRequest) ProtoReflect() protoreflect.Messagefunc (*ListTablesRequest) Reset
func (x *ListTablesRequest) Reset()func (*ListTablesRequest) String
func (x *ListTablesRequest) String() stringListTablesResponse
type ListTablesResponse struct {
// The tables from the specified database.
Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for the ListTables method.
func (*ListTablesResponse) Descriptor
func (*ListTablesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTablesResponse.ProtoReflect.Descriptor instead.
func (*ListTablesResponse) GetNextPageToken
func (x *ListTablesResponse) GetNextPageToken() stringfunc (*ListTablesResponse) GetTables
func (x *ListTablesResponse) GetTables() []*Tablefunc (*ListTablesResponse) ProtoMessage
func (*ListTablesResponse) ProtoMessage()func (*ListTablesResponse) ProtoReflect
func (x *ListTablesResponse) ProtoReflect() protoreflect.Messagefunc (*ListTablesResponse) Reset
func (x *ListTablesResponse) Reset()func (*ListTablesResponse) String
func (x *ListTablesResponse) String() stringMetastoreServiceClient
type MetastoreServiceClient interface {
// Creates a new catalog.
CreateCatalog(ctx context.Context, in *CreateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
// Deletes an existing catalog specified by the catalog ID.
DeleteCatalog(ctx context.Context, in *DeleteCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
// Gets the catalog specified by the resource name.
GetCatalog(ctx context.Context, in *GetCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
// List all catalogs in a specified project.
ListCatalogs(ctx context.Context, in *ListCatalogsRequest, opts ...grpc.CallOption) (*ListCatalogsResponse, error)
// Creates a new database.
CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
// Deletes an existing database specified by the database ID.
DeleteDatabase(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
// Updates an existing database specified by the database ID.
UpdateDatabase(ctx context.Context, in *UpdateDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
// Gets the database specified by the resource name.
GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
// List all databases in a specified catalog.
ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
// Creates a new table.
CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error)
// Deletes an existing table specified by the table ID.
DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*Table, error)
// Updates an existing table specified by the table ID.
UpdateTable(ctx context.Context, in *UpdateTableRequest, opts ...grpc.CallOption) (*Table, error)
// Renames an existing table specified by the table ID.
RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*Table, error)
// Gets the table specified by the resource name.
GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error)
// List all tables in a specified database.
ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error)
}MetastoreServiceClient is the client API for MetastoreService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetastoreServiceClient
func NewMetastoreServiceClient(cc grpc.ClientConnInterface) MetastoreServiceClientMetastoreServiceServer
type MetastoreServiceServer interface {
// Creates a new catalog.
CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error)
// Deletes an existing catalog specified by the catalog ID.
DeleteCatalog(context.Context, *DeleteCatalogRequest) (*Catalog, error)
// Gets the catalog specified by the resource name.
GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error)
// List all catalogs in a specified project.
ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
// Creates a new database.
CreateDatabase(context.Context, *CreateDatabaseRequest) (*Database, error)
// Deletes an existing database specified by the database ID.
DeleteDatabase(context.Context, *DeleteDatabaseRequest) (*Database, error)
// Updates an existing database specified by the database ID.
UpdateDatabase(context.Context, *UpdateDatabaseRequest) (*Database, error)
// Gets the database specified by the resource name.
GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error)
// List all databases in a specified catalog.
ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
// Creates a new table.
CreateTable(context.Context, *CreateTableRequest) (*Table, error)
// Deletes an existing table specified by the table ID.
DeleteTable(context.Context, *DeleteTableRequest) (*Table, error)
// Updates an existing table specified by the table ID.
UpdateTable(context.Context, *UpdateTableRequest) (*Table, error)
// Renames an existing table specified by the table ID.
RenameTable(context.Context, *RenameTableRequest) (*Table, error)
// Gets the table specified by the resource name.
GetTable(context.Context, *GetTableRequest) (*Table, error)
// List all tables in a specified database.
ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)
}MetastoreServiceServer is the server API for MetastoreService service. All implementations should embed UnimplementedMetastoreServiceServer for forward compatibility
RenameTableRequest
type RenameTableRequest struct {
// Required. The table's `name` field is used to identify the table to rename.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `name` for the specified table, must be in the same
// database. Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
// contains filtered or unexported fields
}Request message for the RenameTable method in MetastoreService
func (*RenameTableRequest) Descriptor
func (*RenameTableRequest) Descriptor() ([]byte, []int)Deprecated: Use RenameTableRequest.ProtoReflect.Descriptor instead.
func (*RenameTableRequest) GetName
func (x *RenameTableRequest) GetName() stringfunc (*RenameTableRequest) GetNewName
func (x *RenameTableRequest) GetNewName() stringfunc (*RenameTableRequest) ProtoMessage
func (*RenameTableRequest) ProtoMessage()func (*RenameTableRequest) ProtoReflect
func (x *RenameTableRequest) ProtoReflect() protoreflect.Messagefunc (*RenameTableRequest) Reset
func (x *RenameTableRequest) Reset()func (*RenameTableRequest) String
func (x *RenameTableRequest) String() stringTable
type Table struct {
// Options specified for the table type.
//
// Types that are assignable to Options:
//
// *Table_HiveOptions
Options isTable_Options `protobuf_oneof:"options"`
// Output only. The resource name.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time of the table.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The last modification time of the table.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The deletion time of the table. Only set after the table is
// deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Output only. The time when this table is considered expired. Only set after
// the table is deleted.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// The table type.
Type Table_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.cloud.bigquery.biglake.v1.Table_Type" json:"type,omitempty"`
// The checksum of a table object computed by the server based on the value of
// other fields. It may be sent on update requests to ensure the client has an
// up-to-date value before proceeding. It is only checked for update table
// operations.
Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Represents a table.
func (*Table) Descriptor
Deprecated: Use Table.ProtoReflect.Descriptor instead.
func (*Table) GetCreateTime
func (x *Table) GetCreateTime() *timestamppb.Timestampfunc (*Table) GetDeleteTime
func (x *Table) GetDeleteTime() *timestamppb.Timestampfunc (*Table) GetEtag
func (*Table) GetExpireTime
func (x *Table) GetExpireTime() *timestamppb.Timestampfunc (*Table) GetHiveOptions
func (x *Table) GetHiveOptions() *HiveTableOptionsfunc (*Table) GetName
func (*Table) GetOptions
func (m *Table) GetOptions() isTable_Optionsfunc (*Table) GetType
func (x *Table) GetType() Table_Typefunc (*Table) GetUpdateTime
func (x *Table) GetUpdateTime() *timestamppb.Timestampfunc (*Table) ProtoMessage
func (*Table) ProtoMessage()func (*Table) ProtoReflect
func (x *Table) ProtoReflect() protoreflect.Messagefunc (*Table) Reset
func (x *Table) Reset()func (*Table) String
TableView
type TableView int32View on Table. Represents which fields will be populated for calls that return Table objects.
TableView_TABLE_VIEW_UNSPECIFIED, TableView_BASIC, TableView_FULL
const (
// Default value. The API will default to the BASIC view.
TableView_TABLE_VIEW_UNSPECIFIED TableView = 0
// Include only table names.
// This is the default value.
TableView_BASIC TableView = 1
// Include everything.
TableView_FULL TableView = 2
)func (TableView) Descriptor
func (TableView) Descriptor() protoreflect.EnumDescriptorfunc (TableView) Enum
func (TableView) EnumDescriptor
Deprecated: Use TableView.Descriptor instead.
func (TableView) Number
func (x TableView) Number() protoreflect.EnumNumberfunc (TableView) String
func (TableView) Type
func (TableView) Type() protoreflect.EnumTypeTable_HiveOptions
type Table_HiveOptions struct {
// Options of a Hive table.
HiveOptions *HiveTableOptions `protobuf:"bytes,7,opt,name=hive_options,json=hiveOptions,proto3,oneof"`
}Table_Type
type Table_Type int32The table type.
Table_TYPE_UNSPECIFIED, Table_HIVE
const (
// The type is not specified.
Table_TYPE_UNSPECIFIED Table_Type = 0
// Represents a table compatible with Hive Metastore tables.
Table_HIVE Table_Type = 1
)func (Table_Type) Descriptor
func (Table_Type) Descriptor() protoreflect.EnumDescriptorfunc (Table_Type) Enum
func (x Table_Type) Enum() *Table_Typefunc (Table_Type) EnumDescriptor
func (Table_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Table_Type.Descriptor instead.
func (Table_Type) Number
func (x Table_Type) Number() protoreflect.EnumNumberfunc (Table_Type) String
func (x Table_Type) String() stringfunc (Table_Type) Type
func (Table_Type) Type() protoreflect.EnumTypeUnimplementedMetastoreServiceServer
type UnimplementedMetastoreServiceServer struct {
}UnimplementedMetastoreServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedMetastoreServiceServer) CreateCatalog
func (UnimplementedMetastoreServiceServer) CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error)func (UnimplementedMetastoreServiceServer) CreateDatabase
func (UnimplementedMetastoreServiceServer) CreateDatabase(context.Context, *CreateDatabaseRequest) (*Database, error)func (UnimplementedMetastoreServiceServer) CreateTable
func (UnimplementedMetastoreServiceServer) CreateTable(context.Context, *CreateTableRequest) (*Table, error)func (UnimplementedMetastoreServiceServer) DeleteCatalog
func (UnimplementedMetastoreServiceServer) DeleteCatalog(context.Context, *DeleteCatalogRequest) (*Catalog, error)func (UnimplementedMetastoreServiceServer) DeleteDatabase
func (UnimplementedMetastoreServiceServer) DeleteDatabase(context.Context, *DeleteDatabaseRequest) (*Database, error)func (UnimplementedMetastoreServiceServer) DeleteTable
func (UnimplementedMetastoreServiceServer) DeleteTable(context.Context, *DeleteTableRequest) (*Table, error)func (UnimplementedMetastoreServiceServer) GetCatalog
func (UnimplementedMetastoreServiceServer) GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error)func (UnimplementedMetastoreServiceServer) GetDatabase
func (UnimplementedMetastoreServiceServer) GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error)func (UnimplementedMetastoreServiceServer) GetTable
func (UnimplementedMetastoreServiceServer) GetTable(context.Context, *GetTableRequest) (*Table, error)func (UnimplementedMetastoreServiceServer) ListCatalogs
func (UnimplementedMetastoreServiceServer) ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)func (UnimplementedMetastoreServiceServer) ListDatabases
func (UnimplementedMetastoreServiceServer) ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)func (UnimplementedMetastoreServiceServer) ListTables
func (UnimplementedMetastoreServiceServer) ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)func (UnimplementedMetastoreServiceServer) RenameTable
func (UnimplementedMetastoreServiceServer) RenameTable(context.Context, *RenameTableRequest) (*Table, error)func (UnimplementedMetastoreServiceServer) UpdateDatabase
func (UnimplementedMetastoreServiceServer) UpdateDatabase(context.Context, *UpdateDatabaseRequest) (*Database, error)func (UnimplementedMetastoreServiceServer) UpdateTable
func (UnimplementedMetastoreServiceServer) UpdateTable(context.Context, *UpdateTableRequest) (*Table, error)UnsafeMetastoreServiceServer
type UnsafeMetastoreServiceServer interface {
// contains filtered or unexported methods
}UnsafeMetastoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetastoreServiceServer will result in compilation errors.
UpdateDatabaseRequest
type UpdateDatabaseRequest struct {
// Required. The database to update.
//
// The database's `name` field is used to identify the database to update.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
// The list of fields to update.
//
// For the `FieldMask` definition, see
// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
// If not set, defaults to all of the fields that are allowed to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for the UpdateDatabase method.
func (*UpdateDatabaseRequest) Descriptor
func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseRequest) GetDatabase
func (x *UpdateDatabaseRequest) GetDatabase() *Databasefunc (*UpdateDatabaseRequest) GetUpdateMask
func (x *UpdateDatabaseRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDatabaseRequest) ProtoMessage
func (*UpdateDatabaseRequest) ProtoMessage()func (*UpdateDatabaseRequest) ProtoReflect
func (x *UpdateDatabaseRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDatabaseRequest) Reset
func (x *UpdateDatabaseRequest) Reset()func (*UpdateDatabaseRequest) String
func (x *UpdateDatabaseRequest) String() stringUpdateTableRequest
type UpdateTableRequest struct {
// Required. The table to update.
//
// The table's `name` field is used to identify the table to update.
// Format:
// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Table *Table `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
// The list of fields to update.
//
// For the `FieldMask` definition, see
// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
// If not set, defaults to all of the fields that are allowed to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for the UpdateTable method.
func (*UpdateTableRequest) Descriptor
func (*UpdateTableRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTableRequest.ProtoReflect.Descriptor instead.
func (*UpdateTableRequest) GetTable
func (x *UpdateTableRequest) GetTable() *Tablefunc (*UpdateTableRequest) GetUpdateMask
func (x *UpdateTableRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTableRequest) ProtoMessage
func (*UpdateTableRequest) ProtoMessage()func (*UpdateTableRequest) ProtoReflect
func (x *UpdateTableRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTableRequest) Reset
func (x *UpdateTableRequest) Reset()func (*UpdateTableRequest) String
func (x *UpdateTableRequest) String() string