Constants
BigtableInstanceAdmin_CreateInstance_FullMethodName, BigtableInstanceAdmin_GetInstance_FullMethodName, BigtableInstanceAdmin_ListInstances_FullMethodName, BigtableInstanceAdmin_UpdateInstance_FullMethodName, BigtableInstanceAdmin_PartialUpdateInstance_FullMethodName, BigtableInstanceAdmin_DeleteInstance_FullMethodName, BigtableInstanceAdmin_CreateCluster_FullMethodName, BigtableInstanceAdmin_GetCluster_FullMethodName, BigtableInstanceAdmin_ListClusters_FullMethodName, BigtableInstanceAdmin_UpdateCluster_FullMethodName, BigtableInstanceAdmin_PartialUpdateCluster_FullMethodName, BigtableInstanceAdmin_DeleteCluster_FullMethodName, BigtableInstanceAdmin_CreateAppProfile_FullMethodName, BigtableInstanceAdmin_GetAppProfile_FullMethodName, BigtableInstanceAdmin_ListAppProfiles_FullMethodName, BigtableInstanceAdmin_UpdateAppProfile_FullMethodName, BigtableInstanceAdmin_DeleteAppProfile_FullMethodName, BigtableInstanceAdmin_GetIamPolicy_FullMethodName, BigtableInstanceAdmin_SetIamPolicy_FullMethodName, BigtableInstanceAdmin_TestIamPermissions_FullMethodName, BigtableInstanceAdmin_ListHotTablets_FullMethodName, BigtableInstanceAdmin_CreateLogicalView_FullMethodName, BigtableInstanceAdmin_GetLogicalView_FullMethodName, BigtableInstanceAdmin_ListLogicalViews_FullMethodName, BigtableInstanceAdmin_UpdateLogicalView_FullMethodName, BigtableInstanceAdmin_DeleteLogicalView_FullMethodName, BigtableInstanceAdmin_CreateMaterializedView_FullMethodName, BigtableInstanceAdmin_GetMaterializedView_FullMethodName, BigtableInstanceAdmin_ListMaterializedViews_FullMethodName, BigtableInstanceAdmin_UpdateMaterializedView_FullMethodName, BigtableInstanceAdmin_DeleteMaterializedView_FullMethodName
const (
BigtableInstanceAdmin_CreateInstance_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance"
BigtableInstanceAdmin_GetInstance_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance"
BigtableInstanceAdmin_ListInstances_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances"
BigtableInstanceAdmin_UpdateInstance_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance"
BigtableInstanceAdmin_PartialUpdateInstance_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance"
BigtableInstanceAdmin_DeleteInstance_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance"
BigtableInstanceAdmin_CreateCluster_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster"
BigtableInstanceAdmin_GetCluster_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster"
BigtableInstanceAdmin_ListClusters_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters"
BigtableInstanceAdmin_UpdateCluster_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster"
BigtableInstanceAdmin_PartialUpdateCluster_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateCluster"
BigtableInstanceAdmin_DeleteCluster_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster"
BigtableInstanceAdmin_CreateAppProfile_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile"
BigtableInstanceAdmin_GetAppProfile_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile"
BigtableInstanceAdmin_ListAppProfiles_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles"
BigtableInstanceAdmin_UpdateAppProfile_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile"
BigtableInstanceAdmin_DeleteAppProfile_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile"
BigtableInstanceAdmin_GetIamPolicy_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy"
BigtableInstanceAdmin_SetIamPolicy_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy"
BigtableInstanceAdmin_TestIamPermissions_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions"
BigtableInstanceAdmin_ListHotTablets_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListHotTablets"
BigtableInstanceAdmin_CreateLogicalView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateLogicalView"
BigtableInstanceAdmin_GetLogicalView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetLogicalView"
BigtableInstanceAdmin_ListLogicalViews_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListLogicalViews"
BigtableInstanceAdmin_UpdateLogicalView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateLogicalView"
BigtableInstanceAdmin_DeleteLogicalView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteLogicalView"
BigtableInstanceAdmin_CreateMaterializedView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateMaterializedView"
BigtableInstanceAdmin_GetMaterializedView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetMaterializedView"
BigtableInstanceAdmin_ListMaterializedViews_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListMaterializedViews"
BigtableInstanceAdmin_UpdateMaterializedView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateMaterializedView"
BigtableInstanceAdmin_DeleteMaterializedView_FullMethodName = "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteMaterializedView"
)BigtableTableAdmin_CreateTable_FullMethodName, BigtableTableAdmin_CreateTableFromSnapshot_FullMethodName, BigtableTableAdmin_ListTables_FullMethodName, BigtableTableAdmin_GetTable_FullMethodName, BigtableTableAdmin_UpdateTable_FullMethodName, BigtableTableAdmin_DeleteTable_FullMethodName, BigtableTableAdmin_UndeleteTable_FullMethodName, BigtableTableAdmin_CreateAuthorizedView_FullMethodName, BigtableTableAdmin_ListAuthorizedViews_FullMethodName, BigtableTableAdmin_GetAuthorizedView_FullMethodName, BigtableTableAdmin_UpdateAuthorizedView_FullMethodName, BigtableTableAdmin_DeleteAuthorizedView_FullMethodName, BigtableTableAdmin_ModifyColumnFamilies_FullMethodName, BigtableTableAdmin_DropRowRange_FullMethodName, BigtableTableAdmin_GenerateConsistencyToken_FullMethodName, BigtableTableAdmin_CheckConsistency_FullMethodName, BigtableTableAdmin_SnapshotTable_FullMethodName, BigtableTableAdmin_GetSnapshot_FullMethodName, BigtableTableAdmin_ListSnapshots_FullMethodName, BigtableTableAdmin_DeleteSnapshot_FullMethodName, BigtableTableAdmin_CreateBackup_FullMethodName, BigtableTableAdmin_GetBackup_FullMethodName, BigtableTableAdmin_UpdateBackup_FullMethodName, BigtableTableAdmin_DeleteBackup_FullMethodName, BigtableTableAdmin_ListBackups_FullMethodName, BigtableTableAdmin_RestoreTable_FullMethodName, BigtableTableAdmin_CopyBackup_FullMethodName, BigtableTableAdmin_GetIamPolicy_FullMethodName, BigtableTableAdmin_SetIamPolicy_FullMethodName, BigtableTableAdmin_TestIamPermissions_FullMethodName, BigtableTableAdmin_CreateSchemaBundle_FullMethodName, BigtableTableAdmin_UpdateSchemaBundle_FullMethodName, BigtableTableAdmin_GetSchemaBundle_FullMethodName, BigtableTableAdmin_ListSchemaBundles_FullMethodName, BigtableTableAdmin_DeleteSchemaBundle_FullMethodName
const (
BigtableTableAdmin_CreateTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTable"
BigtableTableAdmin_CreateTableFromSnapshot_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot"
BigtableTableAdmin_ListTables_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/ListTables"
BigtableTableAdmin_GetTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GetTable"
BigtableTableAdmin_UpdateTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/UpdateTable"
BigtableTableAdmin_DeleteTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable"
BigtableTableAdmin_UndeleteTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/UndeleteTable"
BigtableTableAdmin_CreateAuthorizedView_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CreateAuthorizedView"
BigtableTableAdmin_ListAuthorizedViews_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/ListAuthorizedViews"
BigtableTableAdmin_GetAuthorizedView_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GetAuthorizedView"
BigtableTableAdmin_UpdateAuthorizedView_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/UpdateAuthorizedView"
BigtableTableAdmin_DeleteAuthorizedView_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteAuthorizedView"
BigtableTableAdmin_ModifyColumnFamilies_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies"
BigtableTableAdmin_DropRowRange_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange"
BigtableTableAdmin_GenerateConsistencyToken_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken"
BigtableTableAdmin_CheckConsistency_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency"
BigtableTableAdmin_SnapshotTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable"
BigtableTableAdmin_GetSnapshot_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot"
BigtableTableAdmin_ListSnapshots_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots"
BigtableTableAdmin_DeleteSnapshot_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot"
BigtableTableAdmin_CreateBackup_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CreateBackup"
BigtableTableAdmin_GetBackup_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GetBackup"
BigtableTableAdmin_UpdateBackup_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/UpdateBackup"
BigtableTableAdmin_DeleteBackup_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteBackup"
BigtableTableAdmin_ListBackups_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/ListBackups"
BigtableTableAdmin_RestoreTable_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable"
BigtableTableAdmin_CopyBackup_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CopyBackup"
BigtableTableAdmin_GetIamPolicy_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GetIamPolicy"
BigtableTableAdmin_SetIamPolicy_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/SetIamPolicy"
BigtableTableAdmin_TestIamPermissions_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/TestIamPermissions"
BigtableTableAdmin_CreateSchemaBundle_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/CreateSchemaBundle"
BigtableTableAdmin_UpdateSchemaBundle_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/UpdateSchemaBundle"
BigtableTableAdmin_GetSchemaBundle_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/GetSchemaBundle"
BigtableTableAdmin_ListSchemaBundles_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/ListSchemaBundles"
BigtableTableAdmin_DeleteSchemaBundle_FullMethodName = "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteSchemaBundle"
)Variables
CreateClusterMetadata_TableProgress_State_name, CreateClusterMetadata_TableProgress_State_value
var (
CreateClusterMetadata_TableProgress_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PENDING",
2: "COPYING",
3: "COMPLETED",
4: "CANCELLED",
}
CreateClusterMetadata_TableProgress_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"COPYING": 2,
"COMPLETED": 3,
"CANCELLED": 4,
}
)Enum value maps for CreateClusterMetadata_TableProgress_State.
StorageType_name, StorageType_value
var (
StorageType_name = map[int32]string{
0: "STORAGE_TYPE_UNSPECIFIED",
1: "SSD",
2: "HDD",
}
StorageType_value = map[string]int32{
"STORAGE_TYPE_UNSPECIFIED": 0,
"SSD": 1,
"HDD": 2,
}
)Enum value maps for StorageType.
Instance_State_name, Instance_State_value
var (
Instance_State_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "READY",
2: "CREATING",
}
Instance_State_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"READY": 1,
"CREATING": 2,
}
)Enum value maps for Instance_State.
Instance_Type_name, Instance_Type_value
var (
Instance_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "PRODUCTION",
2: "DEVELOPMENT",
}
Instance_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"PRODUCTION": 1,
"DEVELOPMENT": 2,
}
)Enum value maps for Instance_Type.
Cluster_State_name, Cluster_State_value
var (
Cluster_State_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "READY",
2: "CREATING",
3: "RESIZING",
4: "DISABLED",
}
Cluster_State_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"READY": 1,
"CREATING": 2,
"RESIZING": 3,
"DISABLED": 4,
}
)Enum value maps for Cluster_State.
Cluster_NodeScalingFactor_name, Cluster_NodeScalingFactor_value
var (
Cluster_NodeScalingFactor_name = map[int32]string{
0: "NODE_SCALING_FACTOR_UNSPECIFIED",
1: "NODE_SCALING_FACTOR_1X",
2: "NODE_SCALING_FACTOR_2X",
}
Cluster_NodeScalingFactor_value = map[string]int32{
"NODE_SCALING_FACTOR_UNSPECIFIED": 0,
"NODE_SCALING_FACTOR_1X": 1,
"NODE_SCALING_FACTOR_2X": 2,
}
)Enum value maps for Cluster_NodeScalingFactor.
AppProfile_Priority_name, AppProfile_Priority_value
var (
AppProfile_Priority_name = map[int32]string{
0: "PRIORITY_UNSPECIFIED",
1: "PRIORITY_LOW",
2: "PRIORITY_MEDIUM",
3: "PRIORITY_HIGH",
}
AppProfile_Priority_value = map[string]int32{
"PRIORITY_UNSPECIFIED": 0,
"PRIORITY_LOW": 1,
"PRIORITY_MEDIUM": 2,
"PRIORITY_HIGH": 3,
}
)Enum value maps for AppProfile_Priority.
AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner_name, AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner_value
var (
AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner_name = map[int32]string{
0: "COMPUTE_BILLING_OWNER_UNSPECIFIED",
1: "HOST_PAYS",
}
AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner_value = map[string]int32{
"COMPUTE_BILLING_OWNER_UNSPECIFIED": 0,
"HOST_PAYS": 1,
}
)Enum value maps for AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner.
RestoreSourceType_name, RestoreSourceType_value
var (
RestoreSourceType_name = map[int32]string{
0: "RESTORE_SOURCE_TYPE_UNSPECIFIED",
1: "BACKUP",
}
RestoreSourceType_value = map[string]int32{
"RESTORE_SOURCE_TYPE_UNSPECIFIED": 0,
"BACKUP": 1,
}
)Enum value maps for RestoreSourceType.
Table_TimestampGranularity_name, Table_TimestampGranularity_value
var (
Table_TimestampGranularity_name = map[int32]string{
0: "TIMESTAMP_GRANULARITY_UNSPECIFIED",
1: "MILLIS",
}
Table_TimestampGranularity_value = map[string]int32{
"TIMESTAMP_GRANULARITY_UNSPECIFIED": 0,
"MILLIS": 1,
}
)Enum value maps for Table_TimestampGranularity.
Table_View_name, Table_View_value
var (
Table_View_name = map[int32]string{
0: "VIEW_UNSPECIFIED",
1: "NAME_ONLY",
2: "SCHEMA_VIEW",
3: "REPLICATION_VIEW",
5: "ENCRYPTION_VIEW",
4: "FULL",
}
Table_View_value = map[string]int32{
"VIEW_UNSPECIFIED": 0,
"NAME_ONLY": 1,
"SCHEMA_VIEW": 2,
"REPLICATION_VIEW": 3,
"ENCRYPTION_VIEW": 5,
"FULL": 4,
}
)Enum value maps for Table_View.
Table_ClusterState_ReplicationState_name, Table_ClusterState_ReplicationState_value
var (
Table_ClusterState_ReplicationState_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "INITIALIZING",
2: "PLANNED_MAINTENANCE",
3: "UNPLANNED_MAINTENANCE",
4: "READY",
5: "READY_OPTIMIZING",
}
Table_ClusterState_ReplicationState_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"INITIALIZING": 1,
"PLANNED_MAINTENANCE": 2,
"UNPLANNED_MAINTENANCE": 3,
"READY": 4,
"READY_OPTIMIZING": 5,
}
)Enum value maps for Table_ClusterState_ReplicationState.
AuthorizedView_ResponseView_name, AuthorizedView_ResponseView_value
var (
AuthorizedView_ResponseView_name = map[int32]string{
0: "RESPONSE_VIEW_UNSPECIFIED",
1: "NAME_ONLY",
2: "BASIC",
3: "FULL",
}
AuthorizedView_ResponseView_value = map[string]int32{
"RESPONSE_VIEW_UNSPECIFIED": 0,
"NAME_ONLY": 1,
"BASIC": 2,
"FULL": 3,
}
)Enum value maps for AuthorizedView_ResponseView.
EncryptionInfo_EncryptionType_name, EncryptionInfo_EncryptionType_value
var (
EncryptionInfo_EncryptionType_name = map[int32]string{
0: "ENCRYPTION_TYPE_UNSPECIFIED",
1: "GOOGLE_DEFAULT_ENCRYPTION",
2: "CUSTOMER_MANAGED_ENCRYPTION",
}
EncryptionInfo_EncryptionType_value = map[string]int32{
"ENCRYPTION_TYPE_UNSPECIFIED": 0,
"GOOGLE_DEFAULT_ENCRYPTION": 1,
"CUSTOMER_MANAGED_ENCRYPTION": 2,
}
)Enum value maps for EncryptionInfo_EncryptionType.
Snapshot_State_name, Snapshot_State_value
var (
Snapshot_State_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "READY",
2: "CREATING",
}
Snapshot_State_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"READY": 1,
"CREATING": 2,
}
)Enum value maps for Snapshot_State.
Backup_State_name, Backup_State_value
var (
Backup_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
}
Backup_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
}
)Enum value maps for Backup_State.
Backup_BackupType_name, Backup_BackupType_value
var (
Backup_BackupType_name = map[int32]string{
0: "BACKUP_TYPE_UNSPECIFIED",
1: "STANDARD",
2: "HOT",
}
Backup_BackupType_value = map[string]int32{
"BACKUP_TYPE_UNSPECIFIED": 0,
"STANDARD": 1,
"HOT": 2,
}
)Enum value maps for Backup_BackupType.
BigtableInstanceAdmin_ServiceDesc
var BigtableInstanceAdmin_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.bigtable.admin.v2.BigtableInstanceAdmin",
HandlerType: (*BigtableInstanceAdminServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateInstance",
Handler: _BigtableInstanceAdmin_CreateInstance_Handler,
},
{
MethodName: "GetInstance",
Handler: _BigtableInstanceAdmin_GetInstance_Handler,
},
{
MethodName: "ListInstances",
Handler: _BigtableInstanceAdmin_ListInstances_Handler,
},
{
MethodName: "UpdateInstance",
Handler: _BigtableInstanceAdmin_UpdateInstance_Handler,
},
{
MethodName: "PartialUpdateInstance",
Handler: _BigtableInstanceAdmin_PartialUpdateInstance_Handler,
},
{
MethodName: "DeleteInstance",
Handler: _BigtableInstanceAdmin_DeleteInstance_Handler,
},
{
MethodName: "CreateCluster",
Handler: _BigtableInstanceAdmin_CreateCluster_Handler,
},
{
MethodName: "GetCluster",
Handler: _BigtableInstanceAdmin_GetCluster_Handler,
},
{
MethodName: "ListClusters",
Handler: _BigtableInstanceAdmin_ListClusters_Handler,
},
{
MethodName: "UpdateCluster",
Handler: _BigtableInstanceAdmin_UpdateCluster_Handler,
},
{
MethodName: "PartialUpdateCluster",
Handler: _BigtableInstanceAdmin_PartialUpdateCluster_Handler,
},
{
MethodName: "DeleteCluster",
Handler: _BigtableInstanceAdmin_DeleteCluster_Handler,
},
{
MethodName: "CreateAppProfile",
Handler: _BigtableInstanceAdmin_CreateAppProfile_Handler,
},
{
MethodName: "GetAppProfile",
Handler: _BigtableInstanceAdmin_GetAppProfile_Handler,
},
{
MethodName: "ListAppProfiles",
Handler: _BigtableInstanceAdmin_ListAppProfiles_Handler,
},
{
MethodName: "UpdateAppProfile",
Handler: _BigtableInstanceAdmin_UpdateAppProfile_Handler,
},
{
MethodName: "DeleteAppProfile",
Handler: _BigtableInstanceAdmin_DeleteAppProfile_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _BigtableInstanceAdmin_GetIamPolicy_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _BigtableInstanceAdmin_SetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _BigtableInstanceAdmin_TestIamPermissions_Handler,
},
{
MethodName: "ListHotTablets",
Handler: _BigtableInstanceAdmin_ListHotTablets_Handler,
},
{
MethodName: "CreateLogicalView",
Handler: _BigtableInstanceAdmin_CreateLogicalView_Handler,
},
{
MethodName: "GetLogicalView",
Handler: _BigtableInstanceAdmin_GetLogicalView_Handler,
},
{
MethodName: "ListLogicalViews",
Handler: _BigtableInstanceAdmin_ListLogicalViews_Handler,
},
{
MethodName: "UpdateLogicalView",
Handler: _BigtableInstanceAdmin_UpdateLogicalView_Handler,
},
{
MethodName: "DeleteLogicalView",
Handler: _BigtableInstanceAdmin_DeleteLogicalView_Handler,
},
{
MethodName: "CreateMaterializedView",
Handler: _BigtableInstanceAdmin_CreateMaterializedView_Handler,
},
{
MethodName: "GetMaterializedView",
Handler: _BigtableInstanceAdmin_GetMaterializedView_Handler,
},
{
MethodName: "ListMaterializedViews",
Handler: _BigtableInstanceAdmin_ListMaterializedViews_Handler,
},
{
MethodName: "UpdateMaterializedView",
Handler: _BigtableInstanceAdmin_UpdateMaterializedView_Handler,
},
{
MethodName: "DeleteMaterializedView",
Handler: _BigtableInstanceAdmin_DeleteMaterializedView_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/bigtable/admin/v2/bigtable_instance_admin.proto",
}BigtableInstanceAdmin_ServiceDesc is the grpc.ServiceDesc for BigtableInstanceAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
BigtableTableAdmin_ServiceDesc
var BigtableTableAdmin_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.bigtable.admin.v2.BigtableTableAdmin",
HandlerType: (*BigtableTableAdminServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateTable",
Handler: _BigtableTableAdmin_CreateTable_Handler,
},
{
MethodName: "CreateTableFromSnapshot",
Handler: _BigtableTableAdmin_CreateTableFromSnapshot_Handler,
},
{
MethodName: "ListTables",
Handler: _BigtableTableAdmin_ListTables_Handler,
},
{
MethodName: "GetTable",
Handler: _BigtableTableAdmin_GetTable_Handler,
},
{
MethodName: "UpdateTable",
Handler: _BigtableTableAdmin_UpdateTable_Handler,
},
{
MethodName: "DeleteTable",
Handler: _BigtableTableAdmin_DeleteTable_Handler,
},
{
MethodName: "UndeleteTable",
Handler: _BigtableTableAdmin_UndeleteTable_Handler,
},
{
MethodName: "CreateAuthorizedView",
Handler: _BigtableTableAdmin_CreateAuthorizedView_Handler,
},
{
MethodName: "ListAuthorizedViews",
Handler: _BigtableTableAdmin_ListAuthorizedViews_Handler,
},
{
MethodName: "GetAuthorizedView",
Handler: _BigtableTableAdmin_GetAuthorizedView_Handler,
},
{
MethodName: "UpdateAuthorizedView",
Handler: _BigtableTableAdmin_UpdateAuthorizedView_Handler,
},
{
MethodName: "DeleteAuthorizedView",
Handler: _BigtableTableAdmin_DeleteAuthorizedView_Handler,
},
{
MethodName: "ModifyColumnFamilies",
Handler: _BigtableTableAdmin_ModifyColumnFamilies_Handler,
},
{
MethodName: "DropRowRange",
Handler: _BigtableTableAdmin_DropRowRange_Handler,
},
{
MethodName: "GenerateConsistencyToken",
Handler: _BigtableTableAdmin_GenerateConsistencyToken_Handler,
},
{
MethodName: "CheckConsistency",
Handler: _BigtableTableAdmin_CheckConsistency_Handler,
},
{
MethodName: "SnapshotTable",
Handler: _BigtableTableAdmin_SnapshotTable_Handler,
},
{
MethodName: "GetSnapshot",
Handler: _BigtableTableAdmin_GetSnapshot_Handler,
},
{
MethodName: "ListSnapshots",
Handler: _BigtableTableAdmin_ListSnapshots_Handler,
},
{
MethodName: "DeleteSnapshot",
Handler: _BigtableTableAdmin_DeleteSnapshot_Handler,
},
{
MethodName: "CreateBackup",
Handler: _BigtableTableAdmin_CreateBackup_Handler,
},
{
MethodName: "GetBackup",
Handler: _BigtableTableAdmin_GetBackup_Handler,
},
{
MethodName: "UpdateBackup",
Handler: _BigtableTableAdmin_UpdateBackup_Handler,
},
{
MethodName: "DeleteBackup",
Handler: _BigtableTableAdmin_DeleteBackup_Handler,
},
{
MethodName: "ListBackups",
Handler: _BigtableTableAdmin_ListBackups_Handler,
},
{
MethodName: "RestoreTable",
Handler: _BigtableTableAdmin_RestoreTable_Handler,
},
{
MethodName: "CopyBackup",
Handler: _BigtableTableAdmin_CopyBackup_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _BigtableTableAdmin_GetIamPolicy_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _BigtableTableAdmin_SetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _BigtableTableAdmin_TestIamPermissions_Handler,
},
{
MethodName: "CreateSchemaBundle",
Handler: _BigtableTableAdmin_CreateSchemaBundle_Handler,
},
{
MethodName: "UpdateSchemaBundle",
Handler: _BigtableTableAdmin_UpdateSchemaBundle_Handler,
},
{
MethodName: "GetSchemaBundle",
Handler: _BigtableTableAdmin_GetSchemaBundle_Handler,
},
{
MethodName: "ListSchemaBundles",
Handler: _BigtableTableAdmin_ListSchemaBundles_Handler,
},
{
MethodName: "DeleteSchemaBundle",
Handler: _BigtableTableAdmin_DeleteSchemaBundle_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/bigtable/admin/v2/bigtable_table_admin.proto",
}BigtableTableAdmin_ServiceDesc is the grpc.ServiceDesc for BigtableTableAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_bigtable_admin_v2_bigtable_instance_admin_proto
var File_google_bigtable_admin_v2_bigtable_instance_admin_proto protoreflect.FileDescriptorFile_google_bigtable_admin_v2_bigtable_table_admin_proto
var File_google_bigtable_admin_v2_bigtable_table_admin_proto protoreflect.FileDescriptorFile_google_bigtable_admin_v2_common_proto
var File_google_bigtable_admin_v2_common_proto protoreflect.FileDescriptorFile_google_bigtable_admin_v2_instance_proto
var File_google_bigtable_admin_v2_instance_proto protoreflect.FileDescriptorFile_google_bigtable_admin_v2_table_proto
var File_google_bigtable_admin_v2_table_proto protoreflect.FileDescriptorFile_google_bigtable_admin_v2_types_proto
var File_google_bigtable_admin_v2_types_proto protoreflect.FileDescriptorFunctions
func RegisterBigtableInstanceAdminServer
func RegisterBigtableInstanceAdminServer(s grpc.ServiceRegistrar, srv BigtableInstanceAdminServer)func RegisterBigtableTableAdminServer
func RegisterBigtableTableAdminServer(s grpc.ServiceRegistrar, srv BigtableTableAdminServer)AppProfile
type AppProfile struct {
// The unique name of the app profile. Values are of the form
// `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Strongly validated etag for optimistic concurrency control. Preserve the
// value returned from `GetAppProfile` when calling `UpdateAppProfile` to
// fail the request if there has been a modification in the mean time. The
// `update_mask` of the request need not include `etag` for this protection
// to apply.
// See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
// [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
// details.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// Long form description of the use case for this AppProfile.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The routing policy for all read/write requests that use this app profile.
// A value must be explicitly set.
//
// Types that are assignable to RoutingPolicy:
//
// *AppProfile_MultiClusterRoutingUseAny_
// *AppProfile_SingleClusterRouting_
RoutingPolicy isAppProfile_RoutingPolicy `protobuf_oneof:"routing_policy"`
// Options for isolating this app profile's traffic from other use cases.
//
// Types that are assignable to Isolation:
//
// *AppProfile_Priority_
// *AppProfile_StandardIsolation_
// *AppProfile_DataBoostIsolationReadOnly_
Isolation isAppProfile_Isolation `protobuf_oneof:"isolation"`
// contains filtered or unexported fields
}A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.
func (*AppProfile) Descriptor
func (*AppProfile) Descriptor() ([]byte, []int)Deprecated: Use AppProfile.ProtoReflect.Descriptor instead.
func (*AppProfile) GetDataBoostIsolationReadOnly
func (x *AppProfile) GetDataBoostIsolationReadOnly() *AppProfile_DataBoostIsolationReadOnlyfunc (*AppProfile) GetDescription
func (x *AppProfile) GetDescription() stringfunc (*AppProfile) GetEtag
func (x *AppProfile) GetEtag() stringfunc (*AppProfile) GetIsolation
func (m *AppProfile) GetIsolation() isAppProfile_Isolationfunc (*AppProfile) GetMultiClusterRoutingUseAny
func (x *AppProfile) GetMultiClusterRoutingUseAny() *AppProfile_MultiClusterRoutingUseAnyfunc (*AppProfile) GetName
func (x *AppProfile) GetName() stringfunc (*AppProfile) GetPriority
func (x *AppProfile) GetPriority() AppProfile_PriorityDeprecated: Marked as deprecated in google/bigtable/admin/v2/instance.proto.
func (*AppProfile) GetRoutingPolicy
func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicyfunc (*AppProfile) GetSingleClusterRouting
func (x *AppProfile) GetSingleClusterRouting() *AppProfile_SingleClusterRoutingfunc (*AppProfile) GetStandardIsolation
func (x *AppProfile) GetStandardIsolation() *AppProfile_StandardIsolationfunc (*AppProfile) ProtoMessage
func (*AppProfile) ProtoMessage()func (*AppProfile) ProtoReflect
func (x *AppProfile) ProtoReflect() protoreflect.Messagefunc (*AppProfile) Reset
func (x *AppProfile) Reset()func (*AppProfile) String
func (x *AppProfile) String() stringAppProfile_DataBoostIsolationReadOnly
type AppProfile_DataBoostIsolationReadOnly struct {
// The Compute Billing Owner for this Data Boost App Profile.
ComputeBillingOwner *AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner `protobuf:"varint,1,opt,name=compute_billing_owner,json=computeBillingOwner,proto3,enum=google.bigtable.admin.v2.AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner,oneof" json:"compute_billing_owner,omitempty"`
// contains filtered or unexported fields
}Data Boost is a serverless compute capability that lets you run high-throughput read jobs and queries on your Bigtable data, without impacting the performance of the clusters that handle your application traffic. Data Boost supports read-only use cases with single-cluster routing.
func (*AppProfile_DataBoostIsolationReadOnly) Descriptor
func (*AppProfile_DataBoostIsolationReadOnly) Descriptor() ([]byte, []int)Deprecated: Use AppProfile_DataBoostIsolationReadOnly.ProtoReflect.Descriptor instead.
func (*AppProfile_DataBoostIsolationReadOnly) GetComputeBillingOwner
func (x *AppProfile_DataBoostIsolationReadOnly) GetComputeBillingOwner() AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwnerfunc (*AppProfile_DataBoostIsolationReadOnly) ProtoMessage
func (*AppProfile_DataBoostIsolationReadOnly) ProtoMessage()func (*AppProfile_DataBoostIsolationReadOnly) ProtoReflect
func (x *AppProfile_DataBoostIsolationReadOnly) ProtoReflect() protoreflect.Messagefunc (*AppProfile_DataBoostIsolationReadOnly) Reset
func (x *AppProfile_DataBoostIsolationReadOnly) Reset()func (*AppProfile_DataBoostIsolationReadOnly) String
func (x *AppProfile_DataBoostIsolationReadOnly) String() stringAppProfile_DataBoostIsolationReadOnly_
type AppProfile_DataBoostIsolationReadOnly_ struct {
// Specifies that this app profile is intended for read-only usage via the
// Data Boost feature.
DataBoostIsolationReadOnly *AppProfile_DataBoostIsolationReadOnly `protobuf:"bytes,10,opt,name=data_boost_isolation_read_only,json=dataBoostIsolationReadOnly,proto3,oneof"`
}AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner
type AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner int32Compute Billing Owner specifies how usage should be accounted when using Data Boost. Compute Billing Owner also configures which Cloud Project is charged for relevant quota.
AppProfile_DataBoostIsolationReadOnly_COMPUTE_BILLING_OWNER_UNSPECIFIED, AppProfile_DataBoostIsolationReadOnly_HOST_PAYS
const (
// Unspecified value.
AppProfile_DataBoostIsolationReadOnly_COMPUTE_BILLING_OWNER_UNSPECIFIED AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner = 0
// The host Cloud Project containing the targeted Bigtable Instance /
// Table pays for compute.
AppProfile_DataBoostIsolationReadOnly_HOST_PAYS AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner = 1
)func (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Descriptor
func (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Descriptor() protoreflect.EnumDescriptorfunc (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Enum
func (x AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Enum() *AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwnerfunc (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) EnumDescriptor
func (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) EnumDescriptor() ([]byte, []int)Deprecated: Use AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner.Descriptor instead.
func (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Number
func (x AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Number() protoreflect.EnumNumberfunc (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) String
func (x AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) String() stringfunc (AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner) Type
AppProfile_MultiClusterRoutingUseAny
type AppProfile_MultiClusterRoutingUseAny struct {
// The set of clusters to route to. The order is ignored; clusters will be
// tried in order of distance. If left empty, all clusters are eligible.
ClusterIds []string `protobuf:"bytes,1,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"`
// Possible algorithms for routing affinity. If enabled, Bigtable will
// route between equidistant clusters in a deterministic order rather than
// choosing randomly.
//
// This mechanism gives read-your-writes consistency for *most* requests
// under *most* circumstances, without sacrificing availability. Consistency
// is *not* guaranteed, as requests might still fail over between clusters
// in the event of errors or latency.
//
// Types that are assignable to Affinity:
//
// *AppProfile_MultiClusterRoutingUseAny_RowAffinity_
Affinity isAppProfile_MultiClusterRoutingUseAny_Affinity `protobuf_oneof:"affinity"`
// contains filtered or unexported fields
}Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
func (*AppProfile_MultiClusterRoutingUseAny) Descriptor
func (*AppProfile_MultiClusterRoutingUseAny) Descriptor() ([]byte, []int)Deprecated: Use AppProfile_MultiClusterRoutingUseAny.ProtoReflect.Descriptor instead.
func (*AppProfile_MultiClusterRoutingUseAny) GetAffinity
func (m *AppProfile_MultiClusterRoutingUseAny) GetAffinity() isAppProfile_MultiClusterRoutingUseAny_Affinityfunc (*AppProfile_MultiClusterRoutingUseAny) GetClusterIds
func (x *AppProfile_MultiClusterRoutingUseAny) GetClusterIds() []stringfunc (*AppProfile_MultiClusterRoutingUseAny) GetRowAffinity
func (x *AppProfile_MultiClusterRoutingUseAny) GetRowAffinity() *AppProfile_MultiClusterRoutingUseAny_RowAffinityfunc (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage
func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage()func (*AppProfile_MultiClusterRoutingUseAny) ProtoReflect
func (x *AppProfile_MultiClusterRoutingUseAny) ProtoReflect() protoreflect.Messagefunc (*AppProfile_MultiClusterRoutingUseAny) Reset
func (x *AppProfile_MultiClusterRoutingUseAny) Reset()func (*AppProfile_MultiClusterRoutingUseAny) String
func (x *AppProfile_MultiClusterRoutingUseAny) String() stringAppProfile_MultiClusterRoutingUseAny_
type AppProfile_MultiClusterRoutingUseAny_ struct {
// Use a multi-cluster routing policy.
MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,proto3,oneof"`
}AppProfile_MultiClusterRoutingUseAny_RowAffinity
type AppProfile_MultiClusterRoutingUseAny_RowAffinity struct {
// contains filtered or unexported fields
}If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group.
func (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) Descriptor
func (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) Descriptor() ([]byte, []int)Deprecated: Use AppProfile_MultiClusterRoutingUseAny_RowAffinity.ProtoReflect.Descriptor instead.
func (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) ProtoMessage
func (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) ProtoMessage()func (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) ProtoReflect
func (x *AppProfile_MultiClusterRoutingUseAny_RowAffinity) ProtoReflect() protoreflect.Messagefunc (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) Reset
func (x *AppProfile_MultiClusterRoutingUseAny_RowAffinity) Reset()func (*AppProfile_MultiClusterRoutingUseAny_RowAffinity) String
func (x *AppProfile_MultiClusterRoutingUseAny_RowAffinity) String() stringAppProfile_MultiClusterRoutingUseAny_RowAffinity_
type AppProfile_MultiClusterRoutingUseAny_RowAffinity_ struct {
// Row affinity sticky routing based on the row key of the request.
// Requests that span multiple rows are routed non-deterministically.
RowAffinity *AppProfile_MultiClusterRoutingUseAny_RowAffinity `protobuf:"bytes,3,opt,name=row_affinity,json=rowAffinity,proto3,oneof"`
}AppProfile_Priority
type AppProfile_Priority int32Possible priorities for an app profile. Note that higher priority writes can sometimes queue behind lower priority writes to the same tablet, as writes must be strictly sequenced in the durability log.
AppProfile_PRIORITY_UNSPECIFIED, AppProfile_PRIORITY_LOW, AppProfile_PRIORITY_MEDIUM, AppProfile_PRIORITY_HIGH
const (
// Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.
AppProfile_PRIORITY_UNSPECIFIED AppProfile_Priority = 0
AppProfile_PRIORITY_LOW AppProfile_Priority = 1
AppProfile_PRIORITY_MEDIUM AppProfile_Priority = 2
AppProfile_PRIORITY_HIGH AppProfile_Priority = 3
)func (AppProfile_Priority) Descriptor
func (AppProfile_Priority) Descriptor() protoreflect.EnumDescriptorfunc (AppProfile_Priority) Enum
func (x AppProfile_Priority) Enum() *AppProfile_Priorityfunc (AppProfile_Priority) EnumDescriptor
func (AppProfile_Priority) EnumDescriptor() ([]byte, []int)Deprecated: Use AppProfile_Priority.Descriptor instead.
func (AppProfile_Priority) Number
func (x AppProfile_Priority) Number() protoreflect.EnumNumberfunc (AppProfile_Priority) String
func (x AppProfile_Priority) String() stringfunc (AppProfile_Priority) Type
func (AppProfile_Priority) Type() protoreflect.EnumTypeAppProfile_Priority_
type AppProfile_Priority_ struct {
// This field has been deprecated in favor of `standard_isolation.priority`.
// If you set this field, `standard_isolation.priority` will be set instead.
//
// The priority of requests sent using this app profile.
//
// Deprecated: Marked as deprecated in google/bigtable/admin/v2/instance.proto.
Priority AppProfile_Priority `protobuf:"varint,7,opt,name=priority,proto3,enum=google.bigtable.admin.v2.AppProfile_Priority,oneof"`
}AppProfile_SingleClusterRouting
type AppProfile_SingleClusterRouting struct {
// The cluster to which read/write requests should be routed.
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
// allowed by this app profile. It is unsafe to send these requests to
// the same table/row/column in multiple clusters.
AllowTransactionalWrites bool `protobuf:"varint,2,opt,name=allow_transactional_writes,json=allowTransactionalWrites,proto3" json:"allow_transactional_writes,omitempty"`
// contains filtered or unexported fields
}Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.
func (*AppProfile_SingleClusterRouting) Descriptor
func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int)Deprecated: Use AppProfile_SingleClusterRouting.ProtoReflect.Descriptor instead.
func (*AppProfile_SingleClusterRouting) GetAllowTransactionalWrites
func (x *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() boolfunc (*AppProfile_SingleClusterRouting) GetClusterId
func (x *AppProfile_SingleClusterRouting) GetClusterId() stringfunc (*AppProfile_SingleClusterRouting) ProtoMessage
func (*AppProfile_SingleClusterRouting) ProtoMessage()func (*AppProfile_SingleClusterRouting) ProtoReflect
func (x *AppProfile_SingleClusterRouting) ProtoReflect() protoreflect.Messagefunc (*AppProfile_SingleClusterRouting) Reset
func (x *AppProfile_SingleClusterRouting) Reset()func (*AppProfile_SingleClusterRouting) String
func (x *AppProfile_SingleClusterRouting) String() stringAppProfile_SingleClusterRouting_
type AppProfile_SingleClusterRouting_ struct {
// Use a single-cluster routing policy.
SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,proto3,oneof"`
}AppProfile_StandardIsolation
type AppProfile_StandardIsolation struct {
// The priority of requests sent using this app profile.
Priority AppProfile_Priority `protobuf:"varint,1,opt,name=priority,proto3,enum=google.bigtable.admin.v2.AppProfile_Priority" json:"priority,omitempty"`
// contains filtered or unexported fields
}Standard options for isolating this app profile's traffic from other use cases.
func (*AppProfile_StandardIsolation) Descriptor
func (*AppProfile_StandardIsolation) Descriptor() ([]byte, []int)Deprecated: Use AppProfile_StandardIsolation.ProtoReflect.Descriptor instead.
func (*AppProfile_StandardIsolation) GetPriority
func (x *AppProfile_StandardIsolation) GetPriority() AppProfile_Priorityfunc (*AppProfile_StandardIsolation) ProtoMessage
func (*AppProfile_StandardIsolation) ProtoMessage()func (*AppProfile_StandardIsolation) ProtoReflect
func (x *AppProfile_StandardIsolation) ProtoReflect() protoreflect.Messagefunc (*AppProfile_StandardIsolation) Reset
func (x *AppProfile_StandardIsolation) Reset()func (*AppProfile_StandardIsolation) String
func (x *AppProfile_StandardIsolation) String() stringAppProfile_StandardIsolation_
type AppProfile_StandardIsolation_ struct {
// The standard options used for isolating this app profile's traffic from
// other use cases.
StandardIsolation *AppProfile_StandardIsolation `protobuf:"bytes,11,opt,name=standard_isolation,json=standardIsolation,proto3,oneof"`
}AuthorizedView
type AuthorizedView struct {
// Identifier. The name of this AuthorizedView.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of this AuthorizedView.
//
// Types that are assignable to AuthorizedView:
//
// *AuthorizedView_SubsetView_
AuthorizedView isAuthorizedView_AuthorizedView `protobuf_oneof:"authorized_view"`
// The etag for this AuthorizedView.
// If this is provided on update, it must match the server's etag. The server
// returns ABORTED error on a mismatched etag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Set to true to make the AuthorizedView protected against deletion.
// The parent Table and containing Instance cannot be deleted if an
// AuthorizedView has this bit set.
DeletionProtection bool `protobuf:"varint,4,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
// contains filtered or unexported fields
}AuthorizedViews represent subsets of a particular Cloud Bigtable table. Users can configure access to each Authorized View independently from the table and use the existing Data APIs to access the subset of data.
func (*AuthorizedView) Descriptor
func (*AuthorizedView) Descriptor() ([]byte, []int)Deprecated: Use AuthorizedView.ProtoReflect.Descriptor instead.
func (*AuthorizedView) GetAuthorizedView
func (m *AuthorizedView) GetAuthorizedView() isAuthorizedView_AuthorizedViewfunc (*AuthorizedView) GetDeletionProtection
func (x *AuthorizedView) GetDeletionProtection() boolfunc (*AuthorizedView) GetEtag
func (x *AuthorizedView) GetEtag() stringfunc (*AuthorizedView) GetName
func (x *AuthorizedView) GetName() stringfunc (*AuthorizedView) GetSubsetView
func (x *AuthorizedView) GetSubsetView() *AuthorizedView_SubsetViewfunc (*AuthorizedView) ProtoMessage
func (*AuthorizedView) ProtoMessage()func (*AuthorizedView) ProtoReflect
func (x *AuthorizedView) ProtoReflect() protoreflect.Messagefunc (*AuthorizedView) Reset
func (x *AuthorizedView) Reset()func (*AuthorizedView) String
func (x *AuthorizedView) String() stringAuthorizedView_FamilySubsets
type AuthorizedView_FamilySubsets struct {
// Individual exact column qualifiers to be included in the AuthorizedView.
Qualifiers [][]byte `protobuf:"bytes,1,rep,name=qualifiers,proto3" json:"qualifiers,omitempty"`
// Prefixes for qualifiers to be included in the AuthorizedView. Every
// qualifier starting with one of these prefixes is included in the
// AuthorizedView. To provide access to all qualifiers, include the empty
// string as a prefix
// ("").
QualifierPrefixes [][]byte `protobuf:"bytes,2,rep,name=qualifier_prefixes,json=qualifierPrefixes,proto3" json:"qualifier_prefixes,omitempty"`
// contains filtered or unexported fields
}Subsets of a column family that are included in this AuthorizedView.
func (*AuthorizedView_FamilySubsets) Descriptor
func (*AuthorizedView_FamilySubsets) Descriptor() ([]byte, []int)Deprecated: Use AuthorizedView_FamilySubsets.ProtoReflect.Descriptor instead.
func (*AuthorizedView_FamilySubsets) GetQualifierPrefixes
func (x *AuthorizedView_FamilySubsets) GetQualifierPrefixes() [][]bytefunc (*AuthorizedView_FamilySubsets) GetQualifiers
func (x *AuthorizedView_FamilySubsets) GetQualifiers() [][]bytefunc (*AuthorizedView_FamilySubsets) ProtoMessage
func (*AuthorizedView_FamilySubsets) ProtoMessage()func (*AuthorizedView_FamilySubsets) ProtoReflect
func (x *AuthorizedView_FamilySubsets) ProtoReflect() protoreflect.Messagefunc (*AuthorizedView_FamilySubsets) Reset
func (x *AuthorizedView_FamilySubsets) Reset()func (*AuthorizedView_FamilySubsets) String
func (x *AuthorizedView_FamilySubsets) String() stringAuthorizedView_ResponseView
type AuthorizedView_ResponseView int32Defines a subset of an AuthorizedView's fields.
AuthorizedView_RESPONSE_VIEW_UNSPECIFIED, AuthorizedView_NAME_ONLY, AuthorizedView_BASIC, AuthorizedView_FULL
const (
// Uses the default view for each method as documented in the request.
AuthorizedView_RESPONSE_VIEW_UNSPECIFIED AuthorizedView_ResponseView = 0
// Only populates `name`.
AuthorizedView_NAME_ONLY AuthorizedView_ResponseView = 1
// Only populates the AuthorizedView's basic metadata. This includes:
// name, deletion_protection, etag.
AuthorizedView_BASIC AuthorizedView_ResponseView = 2
// Populates every fields.
AuthorizedView_FULL AuthorizedView_ResponseView = 3
)func (AuthorizedView_ResponseView) Descriptor
func (AuthorizedView_ResponseView) Descriptor() protoreflect.EnumDescriptorfunc (AuthorizedView_ResponseView) Enum
func (x AuthorizedView_ResponseView) Enum() *AuthorizedView_ResponseViewfunc (AuthorizedView_ResponseView) EnumDescriptor
func (AuthorizedView_ResponseView) EnumDescriptor() ([]byte, []int)Deprecated: Use AuthorizedView_ResponseView.Descriptor instead.
func (AuthorizedView_ResponseView) Number
func (x AuthorizedView_ResponseView) Number() protoreflect.EnumNumberfunc (AuthorizedView_ResponseView) String
func (x AuthorizedView_ResponseView) String() stringfunc (AuthorizedView_ResponseView) Type
func (AuthorizedView_ResponseView) Type() protoreflect.EnumTypeAuthorizedView_SubsetView
type AuthorizedView_SubsetView struct {
// Row prefixes to be included in the AuthorizedView.
// To provide access to all rows, include the empty string as a prefix ("").
RowPrefixes [][]byte `protobuf:"bytes,1,rep,name=row_prefixes,json=rowPrefixes,proto3" json:"row_prefixes,omitempty"`
// Map from column family name to the columns in this family to be included
// in the AuthorizedView.
FamilySubsets map[string]*AuthorizedView_FamilySubsets `protobuf:"bytes,2,rep,name=family_subsets,json=familySubsets,proto3" json:"family_subsets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Defines a simple AuthorizedView that is a subset of the underlying Table.
func (*AuthorizedView_SubsetView) Descriptor
func (*AuthorizedView_SubsetView) Descriptor() ([]byte, []int)Deprecated: Use AuthorizedView_SubsetView.ProtoReflect.Descriptor instead.
func (*AuthorizedView_SubsetView) GetFamilySubsets
func (x *AuthorizedView_SubsetView) GetFamilySubsets() map[string]*AuthorizedView_FamilySubsetsfunc (*AuthorizedView_SubsetView) GetRowPrefixes
func (x *AuthorizedView_SubsetView) GetRowPrefixes() [][]bytefunc (*AuthorizedView_SubsetView) ProtoMessage
func (*AuthorizedView_SubsetView) ProtoMessage()func (*AuthorizedView_SubsetView) ProtoReflect
func (x *AuthorizedView_SubsetView) ProtoReflect() protoreflect.Messagefunc (*AuthorizedView_SubsetView) Reset
func (x *AuthorizedView_SubsetView) Reset()func (*AuthorizedView_SubsetView) String
func (x *AuthorizedView_SubsetView) String() stringAuthorizedView_SubsetView_
type AuthorizedView_SubsetView_ struct {
// An AuthorizedView permitting access to an explicit subset of a Table.
SubsetView *AuthorizedView_SubsetView `protobuf:"bytes,2,opt,name=subset_view,json=subsetView,proto3,oneof"`
}AutoscalingLimits
type AutoscalingLimits struct {
// Required. Minimum number of nodes to scale down to.
MinServeNodes int32 `protobuf:"varint,1,opt,name=min_serve_nodes,json=minServeNodes,proto3" json:"min_serve_nodes,omitempty"`
// Required. Maximum number of nodes to scale up to.
MaxServeNodes int32 `protobuf:"varint,2,opt,name=max_serve_nodes,json=maxServeNodes,proto3" json:"max_serve_nodes,omitempty"`
// contains filtered or unexported fields
}Limits for the number of nodes a Cluster can autoscale up/down to.
func (*AutoscalingLimits) Descriptor
func (*AutoscalingLimits) Descriptor() ([]byte, []int)Deprecated: Use AutoscalingLimits.ProtoReflect.Descriptor instead.
func (*AutoscalingLimits) GetMaxServeNodes
func (x *AutoscalingLimits) GetMaxServeNodes() int32func (*AutoscalingLimits) GetMinServeNodes
func (x *AutoscalingLimits) GetMinServeNodes() int32func (*AutoscalingLimits) ProtoMessage
func (*AutoscalingLimits) ProtoMessage()func (*AutoscalingLimits) ProtoReflect
func (x *AutoscalingLimits) ProtoReflect() protoreflect.Messagefunc (*AutoscalingLimits) Reset
func (x *AutoscalingLimits) Reset()func (*AutoscalingLimits) String
func (x *AutoscalingLimits) String() stringAutoscalingTargets
type AutoscalingTargets struct {
// The cpu utilization that the Autoscaler should be trying to achieve.
// This number is on a scale from 0 (no utilization) to
// 100 (total utilization), and is limited between 10 and 80, otherwise it
// will return INVALID_ARGUMENT error.
CpuUtilizationPercent int32 `protobuf:"varint,2,opt,name=cpu_utilization_percent,json=cpuUtilizationPercent,proto3" json:"cpu_utilization_percent,omitempty"`
// The storage utilization that the Autoscaler should be trying to achieve.
// This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
// cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
// otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
// it will be treated as if it were set to the default value: 2560 for SSD,
// 8192 for HDD.
StorageUtilizationGibPerNode int32 `protobuf:"varint,3,opt,name=storage_utilization_gib_per_node,json=storageUtilizationGibPerNode,proto3" json:"storage_utilization_gib_per_node,omitempty"`
// contains filtered or unexported fields
}The Autoscaling targets for a Cluster. These determine the recommended nodes.
func (*AutoscalingTargets) Descriptor
func (*AutoscalingTargets) Descriptor() ([]byte, []int)Deprecated: Use AutoscalingTargets.ProtoReflect.Descriptor instead.
func (*AutoscalingTargets) GetCpuUtilizationPercent
func (x *AutoscalingTargets) GetCpuUtilizationPercent() int32func (*AutoscalingTargets) GetStorageUtilizationGibPerNode
func (x *AutoscalingTargets) GetStorageUtilizationGibPerNode() int32func (*AutoscalingTargets) ProtoMessage
func (*AutoscalingTargets) ProtoMessage()func (*AutoscalingTargets) ProtoReflect
func (x *AutoscalingTargets) ProtoReflect() protoreflect.Messagefunc (*AutoscalingTargets) Reset
func (x *AutoscalingTargets) Reset()func (*AutoscalingTargets) String
func (x *AutoscalingTargets) String() stringBackup
type Backup struct {
// A globally unique identifier for the backup which cannot be
// changed. Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/
//
// backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
//
// The final segment of the name must be between 1 and 50 characters
// in length.
//
// The backup is stored in the cluster identified by the prefix of the backup
// name of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. Name of the table from which this backup was created.
// This needs to be in the same instance as the backup. Values are of the form
// `projects/{project}/instances/{instance}/tables/{source_table}`.
SourceTable string `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
// Output only. Name of the backup from which this backup was copied. If a
// backup is not created by copying a backup, this field will be empty. Values
// are of the form:
// projects/A backup of a Cloud Bigtable table.
func (*Backup) Descriptor
Deprecated: Use Backup.ProtoReflect.Descriptor instead.
func (*Backup) GetBackupType
func (x *Backup) GetBackupType() Backup_BackupTypefunc (*Backup) GetEncryptionInfo
func (x *Backup) GetEncryptionInfo() *EncryptionInfofunc (*Backup) GetEndTime
func (x *Backup) GetEndTime() *timestamppb.Timestampfunc (*Backup) GetExpireTime
func (x *Backup) GetExpireTime() *timestamppb.Timestampfunc (*Backup) GetHotToStandardTime
func (x *Backup) GetHotToStandardTime() *timestamppb.Timestampfunc (*Backup) GetName
func (*Backup) GetSizeBytes
func (*Backup) GetSourceBackup
func (*Backup) GetSourceTable
func (*Backup) GetStartTime
func (x *Backup) GetStartTime() *timestamppb.Timestampfunc (*Backup) GetState
func (x *Backup) GetState() Backup_Statefunc (*Backup) ProtoMessage
func (*Backup) ProtoMessage()func (*Backup) ProtoReflect
func (x *Backup) ProtoReflect() protoreflect.Messagefunc (*Backup) Reset
func (x *Backup) Reset()func (*Backup) String
BackupInfo
type BackupInfo struct {
// Output only. Name of the backup.
Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
// Output only. The time that the backup was started. Row data in the backup
// will be no older than this timestamp.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. This time that the backup was finished. Row data in the
// backup will be no newer than this timestamp.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Name of the table the backup was created from.
SourceTable string `protobuf:"bytes,4,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
// Output only. Name of the backup from which this backup was copied. If a
// backup is not created by copying a backup, this field will be empty. Values
// are of the form:
// projects/Information about a backup.
func (*BackupInfo) Descriptor
func (*BackupInfo) Descriptor() ([]byte, []int)Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead.
func (*BackupInfo) GetBackup
func (x *BackupInfo) GetBackup() stringfunc (*BackupInfo) GetEndTime
func (x *BackupInfo) GetEndTime() *timestamppb.Timestampfunc (*BackupInfo) GetSourceBackup
func (x *BackupInfo) GetSourceBackup() stringfunc (*BackupInfo) GetSourceTable
func (x *BackupInfo) GetSourceTable() stringfunc (*BackupInfo) GetStartTime
func (x *BackupInfo) GetStartTime() *timestamppb.Timestampfunc (*BackupInfo) ProtoMessage
func (*BackupInfo) ProtoMessage()func (*BackupInfo) ProtoReflect
func (x *BackupInfo) ProtoReflect() protoreflect.Messagefunc (*BackupInfo) Reset
func (x *BackupInfo) Reset()func (*BackupInfo) String
func (x *BackupInfo) String() stringBackup_BackupType
type Backup_BackupType int32The type of the backup.
Backup_BACKUP_TYPE_UNSPECIFIED, Backup_STANDARD, Backup_HOT
const (
// Not specified.
Backup_BACKUP_TYPE_UNSPECIFIED Backup_BackupType = 0
// The default type for Cloud Bigtable managed backups. Supported for
// backups created in both HDD and SSD instances. Requires optimization when
// restored to a table in an SSD instance.
Backup_STANDARD Backup_BackupType = 1
// A backup type with faster restore to SSD performance. Only supported for
// backups created in SSD instances. A new SSD table restored from a hot
// backup reaches production performance more quickly than a standard
// backup.
Backup_HOT Backup_BackupType = 2
)func (Backup_BackupType) Descriptor
func (Backup_BackupType) Descriptor() protoreflect.EnumDescriptorfunc (Backup_BackupType) Enum
func (x Backup_BackupType) Enum() *Backup_BackupTypefunc (Backup_BackupType) EnumDescriptor
func (Backup_BackupType) EnumDescriptor() ([]byte, []int)Deprecated: Use Backup_BackupType.Descriptor instead.
func (Backup_BackupType) Number
func (x Backup_BackupType) Number() protoreflect.EnumNumberfunc (Backup_BackupType) String
func (x Backup_BackupType) String() stringfunc (Backup_BackupType) Type
func (Backup_BackupType) Type() protoreflect.EnumTypeBackup_State
type Backup_State int32Indicates the current state of the backup.
Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_READY
const (
// Not specified.
Backup_STATE_UNSPECIFIED Backup_State = 0
// The pending backup is still being created. Operations on the
// backup may fail with `FAILED_PRECONDITION` in this state.
Backup_CREATING Backup_State = 1
// The backup is complete and ready for use.
Backup_READY Backup_State = 2
)func (Backup_State) Descriptor
func (Backup_State) Descriptor() protoreflect.EnumDescriptorfunc (Backup_State) Enum
func (x Backup_State) Enum() *Backup_Statefunc (Backup_State) EnumDescriptor
func (Backup_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number
func (x Backup_State) Number() protoreflect.EnumNumberfunc (Backup_State) String
func (x Backup_State) String() stringfunc (Backup_State) Type
func (Backup_State) Type() protoreflect.EnumTypeBigtableInstanceAdminClient
type BigtableInstanceAdminClient interface {
// Create an instance within a project.
//
// Note that exactly one of Cluster.serve_nodes and
// Cluster.cluster_config.cluster_autoscaling_config can be set. If
// serve_nodes is set to non-zero, then the cluster is manually scaled. If
// cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
// enabled.
CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets information about an instance.
GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
// Lists information about instances in a project.
ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
// Updates an instance within a project. This method updates only the display
// name and type for an Instance. To update other Instance properties, such as
// labels, use PartialUpdateInstance.
UpdateInstance(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error)
// Partially updates an instance within a project. This method can modify all
// fields of an Instance and is the preferred way to update an Instance.
PartialUpdateInstance(ctx context.Context, in *PartialUpdateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Delete an instance from a project.
DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Creates a cluster within an instance.
//
// Note that exactly one of Cluster.serve_nodes and
// Cluster.cluster_config.cluster_autoscaling_config can be set. If
// serve_nodes is set to non-zero, then the cluster is manually scaled. If
// cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
// enabled.
CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets information about a cluster.
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
// Lists information about clusters in an instance.
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
// Updates a cluster within an instance.
//
// Note that UpdateCluster does not support updating
// cluster_config.cluster_autoscaling_config. In order to update it, you
// must use PartialUpdateCluster.
UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Partially updates a cluster within a project. This method is the preferred
// way to update a Cluster.
//
// To enable and update autoscaling, set
// cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
// serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
// are ignored. Note that an update cannot simultaneously set serve_nodes to
// non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
// also specify both in the update_mask.
//
// To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
// and explicitly set a serve_node count via the update_mask.
PartialUpdateCluster(ctx context.Context, in *PartialUpdateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a cluster from an instance.
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Creates an app profile within an instance.
CreateAppProfile(ctx context.Context, in *CreateAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error)
// Gets information about an app profile.
GetAppProfile(ctx context.Context, in *GetAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error)
// Lists information about app profiles in an instance.
ListAppProfiles(ctx context.Context, in *ListAppProfilesRequest, opts ...grpc.CallOption) (*ListAppProfilesResponse, error)
// Updates an app profile within an instance.
UpdateAppProfile(ctx context.Context, in *UpdateAppProfileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes an app profile from an instance.
DeleteAppProfile(ctx context.Context, in *DeleteAppProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Gets the access control policy for an instance resource. Returns an empty
// policy if an instance exists but does not have a policy set.
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Sets the access control policy on an instance resource. Replaces any
// existing policy.
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Returns permissions that the caller has on the specified instance resource.
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
// Lists hot tablets in a cluster, within the time range provided. Hot
// tablets are ordered based on CPU usage.
ListHotTablets(ctx context.Context, in *ListHotTabletsRequest, opts ...grpc.CallOption) (*ListHotTabletsResponse, error)
// Creates a logical view within an instance.
CreateLogicalView(ctx context.Context, in *CreateLogicalViewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets information about a logical view.
GetLogicalView(ctx context.Context, in *GetLogicalViewRequest, opts ...grpc.CallOption) (*LogicalView, error)
// Lists information about logical views in an instance.
ListLogicalViews(ctx context.Context, in *ListLogicalViewsRequest, opts ...grpc.CallOption) (*ListLogicalViewsResponse, error)
// Updates a logical view within an instance.
UpdateLogicalView(ctx context.Context, in *UpdateLogicalViewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a logical view from an instance.
DeleteLogicalView(ctx context.Context, in *DeleteLogicalViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Creates a materialized view within an instance.
CreateMaterializedView(ctx context.Context, in *CreateMaterializedViewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets information about a materialized view.
GetMaterializedView(ctx context.Context, in *GetMaterializedViewRequest, opts ...grpc.CallOption) (*MaterializedView, error)
// Lists information about materialized views in an instance.
ListMaterializedViews(ctx context.Context, in *ListMaterializedViewsRequest, opts ...grpc.CallOption) (*ListMaterializedViewsResponse, error)
// Updates a materialized view within an instance.
UpdateMaterializedView(ctx context.Context, in *UpdateMaterializedViewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a materialized view from an instance.
DeleteMaterializedView(ctx context.Context, in *DeleteMaterializedViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}BigtableInstanceAdminClient is the client API for BigtableInstanceAdmin 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 NewBigtableInstanceAdminClient
func NewBigtableInstanceAdminClient(cc grpc.ClientConnInterface) BigtableInstanceAdminClientBigtableInstanceAdminServer
type BigtableInstanceAdminServer interface {
// Create an instance within a project.
//
// Note that exactly one of Cluster.serve_nodes and
// Cluster.cluster_config.cluster_autoscaling_config can be set. If
// serve_nodes is set to non-zero, then the cluster is manually scaled. If
// cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
// enabled.
CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
// Gets information about an instance.
GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
// Lists information about instances in a project.
ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
// Updates an instance within a project. This method updates only the display
// name and type for an Instance. To update other Instance properties, such as
// labels, use PartialUpdateInstance.
UpdateInstance(context.Context, *Instance) (*Instance, error)
// Partially updates an instance within a project. This method can modify all
// fields of an Instance and is the preferred way to update an Instance.
PartialUpdateInstance(context.Context, *PartialUpdateInstanceRequest) (*longrunningpb.Operation, error)
// Delete an instance from a project.
DeleteInstance(context.Context, *DeleteInstanceRequest) (*emptypb.Empty, error)
// Creates a cluster within an instance.
//
// Note that exactly one of Cluster.serve_nodes and
// Cluster.cluster_config.cluster_autoscaling_config can be set. If
// serve_nodes is set to non-zero, then the cluster is manually scaled. If
// cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
// enabled.
CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
// Gets information about a cluster.
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
// Lists information about clusters in an instance.
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
// Updates a cluster within an instance.
//
// Note that UpdateCluster does not support updating
// cluster_config.cluster_autoscaling_config. In order to update it, you
// must use PartialUpdateCluster.
UpdateCluster(context.Context, *Cluster) (*longrunningpb.Operation, error)
// Partially updates a cluster within a project. This method is the preferred
// way to update a Cluster.
//
// To enable and update autoscaling, set
// cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
// serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
// are ignored. Note that an update cannot simultaneously set serve_nodes to
// non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
// also specify both in the update_mask.
//
// To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
// and explicitly set a serve_node count via the update_mask.
PartialUpdateCluster(context.Context, *PartialUpdateClusterRequest) (*longrunningpb.Operation, error)
// Deletes a cluster from an instance.
DeleteCluster(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error)
// Creates an app profile within an instance.
CreateAppProfile(context.Context, *CreateAppProfileRequest) (*AppProfile, error)
// Gets information about an app profile.
GetAppProfile(context.Context, *GetAppProfileRequest) (*AppProfile, error)
// Lists information about app profiles in an instance.
ListAppProfiles(context.Context, *ListAppProfilesRequest) (*ListAppProfilesResponse, error)
// Updates an app profile within an instance.
UpdateAppProfile(context.Context, *UpdateAppProfileRequest) (*longrunningpb.Operation, error)
// Deletes an app profile from an instance.
DeleteAppProfile(context.Context, *DeleteAppProfileRequest) (*emptypb.Empty, error)
// Gets the access control policy for an instance resource. Returns an empty
// policy if an instance exists but does not have a policy set.
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Sets the access control policy on an instance resource. Replaces any
// existing policy.
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Returns permissions that the caller has on the specified instance resource.
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
// Lists hot tablets in a cluster, within the time range provided. Hot
// tablets are ordered based on CPU usage.
ListHotTablets(context.Context, *ListHotTabletsRequest) (*ListHotTabletsResponse, error)
// Creates a logical view within an instance.
CreateLogicalView(context.Context, *CreateLogicalViewRequest) (*longrunningpb.Operation, error)
// Gets information about a logical view.
GetLogicalView(context.Context, *GetLogicalViewRequest) (*LogicalView, error)
// Lists information about logical views in an instance.
ListLogicalViews(context.Context, *ListLogicalViewsRequest) (*ListLogicalViewsResponse, error)
// Updates a logical view within an instance.
UpdateLogicalView(context.Context, *UpdateLogicalViewRequest) (*longrunningpb.Operation, error)
// Deletes a logical view from an instance.
DeleteLogicalView(context.Context, *DeleteLogicalViewRequest) (*emptypb.Empty, error)
// Creates a materialized view within an instance.
CreateMaterializedView(context.Context, *CreateMaterializedViewRequest) (*longrunningpb.Operation, error)
// Gets information about a materialized view.
GetMaterializedView(context.Context, *GetMaterializedViewRequest) (*MaterializedView, error)
// Lists information about materialized views in an instance.
ListMaterializedViews(context.Context, *ListMaterializedViewsRequest) (*ListMaterializedViewsResponse, error)
// Updates a materialized view within an instance.
UpdateMaterializedView(context.Context, *UpdateMaterializedViewRequest) (*longrunningpb.Operation, error)
// Deletes a materialized view from an instance.
DeleteMaterializedView(context.Context, *DeleteMaterializedViewRequest) (*emptypb.Empty, error)
}BigtableInstanceAdminServer is the server API for BigtableInstanceAdmin service. All implementations should embed UnimplementedBigtableInstanceAdminServer for forward compatibility
BigtableTableAdminClient
type BigtableTableAdminClient interface {
// Creates a new table in the specified instance.
// The table can be created with a full set of initial column families,
// specified in the request.
CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error)
// Creates a new table from the specified snapshot. The target table must
// not exist. The snapshot and the table must be in the same instance.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
CreateTableFromSnapshot(ctx context.Context, in *CreateTableFromSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists all tables served from a specified instance.
ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error)
// Gets metadata information about the specified table.
GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error)
// Updates a specified table.
UpdateTable(ctx context.Context, in *UpdateTableRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Permanently deletes a specified table and all of its data.
DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Restores a specified table which was accidentally deleted.
UndeleteTable(ctx context.Context, in *UndeleteTableRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new AuthorizedView in a table.
CreateAuthorizedView(ctx context.Context, in *CreateAuthorizedViewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists all AuthorizedViews from a specific table.
ListAuthorizedViews(ctx context.Context, in *ListAuthorizedViewsRequest, opts ...grpc.CallOption) (*ListAuthorizedViewsResponse, error)
// Gets information from a specified AuthorizedView.
GetAuthorizedView(ctx context.Context, in *GetAuthorizedViewRequest, opts ...grpc.CallOption) (*AuthorizedView, error)
// Updates an AuthorizedView in a table.
UpdateAuthorizedView(ctx context.Context, in *UpdateAuthorizedViewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Permanently deletes a specified AuthorizedView.
DeleteAuthorizedView(ctx context.Context, in *DeleteAuthorizedViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Performs a series of column family modifications on the specified table.
// Either all or none of the modifications will occur before this method
// returns, but data requests received prior to that point may see a table
// where only some modifications have taken effect.
ModifyColumnFamilies(ctx context.Context, in *ModifyColumnFamiliesRequest, opts ...grpc.CallOption) (*Table, error)
// Permanently drop/delete a row range from a specified table. The request can
// specify whether to delete all rows in a table, or only those that match a
// particular prefix.
DropRowRange(ctx context.Context, in *DropRowRangeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Generates a consistency token for a Table, which can be used in
// CheckConsistency to check whether mutations to the table that finished
// before this call started have been replicated. The tokens will be available
// for 90 days.
GenerateConsistencyToken(ctx context.Context, in *GenerateConsistencyTokenRequest, opts ...grpc.CallOption) (*GenerateConsistencyTokenResponse, error)
// Checks replication consistency based on a consistency token, that is, if
// replication has caught up based on the conditions specified in the token
// and the check request.
CheckConsistency(ctx context.Context, in *CheckConsistencyRequest, opts ...grpc.CallOption) (*CheckConsistencyResponse, error)
// Creates a new snapshot in the specified cluster from the specified
// source table. The cluster and the table must be in the same instance.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
SnapshotTable(ctx context.Context, in *SnapshotTableRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets metadata information about the specified snapshot.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error)
// Lists all snapshots associated with the specified cluster.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
// Permanently deletes the specified snapshot.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Starts creating a new Cloud Bigtable Backup. The returned backup
// [long-running operation][google.longrunning.Operation] can be used to
// track creation of the backup. The
// [metadata][google.longrunning.Operation.metadata] field type is
// [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
// [response][google.longrunning.Operation.response] field type is
// [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
// returned operation will stop the creation and delete the backup.
CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets metadata on a pending or completed Cloud Bigtable Backup.
GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Updates a pending or completed Cloud Bigtable Backup.
UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Deletes a pending or completed Cloud Bigtable backup.
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists Cloud Bigtable backups. Returns both completed and pending
// backups.
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// Create a new table by restoring from a completed backup. The
// returned table [long-running operation][google.longrunning.Operation] can
// be used to track the progress of the operation, and to cancel it. The
// [metadata][google.longrunning.Operation.metadata] field type is
// [RestoreTableMetadata][google.bigtable.admin.v2.RestoreTableMetadata]. The
// [response][google.longrunning.Operation.response] type is
// [Table][google.bigtable.admin.v2.Table], if successful.
RestoreTable(ctx context.Context, in *RestoreTableRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Copy a Cloud Bigtable backup to a new backup in the destination cluster
// located in the destination instance and project.
CopyBackup(ctx context.Context, in *CopyBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the access control policy for a Bigtable resource.
// Returns an empty policy if the resource exists but does not have a policy
// set.
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Sets the access control policy on a Bigtable resource.
// Replaces any existing policy.
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Returns permissions that the caller has on the specified Bigtable
// resource.
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
// Creates a new schema bundle in the specified table.
CreateSchemaBundle(ctx context.Context, in *CreateSchemaBundleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a schema bundle in the specified table.
UpdateSchemaBundle(ctx context.Context, in *UpdateSchemaBundleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets metadata information about the specified schema bundle.
GetSchemaBundle(ctx context.Context, in *GetSchemaBundleRequest, opts ...grpc.CallOption) (*SchemaBundle, error)
// Lists all schema bundles associated with the specified table.
ListSchemaBundles(ctx context.Context, in *ListSchemaBundlesRequest, opts ...grpc.CallOption) (*ListSchemaBundlesResponse, error)
// Deletes a schema bundle in the specified table.
DeleteSchemaBundle(ctx context.Context, in *DeleteSchemaBundleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}BigtableTableAdminClient is the client API for BigtableTableAdmin 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 NewBigtableTableAdminClient
func NewBigtableTableAdminClient(cc grpc.ClientConnInterface) BigtableTableAdminClientBigtableTableAdminServer
type BigtableTableAdminServer interface {
// Creates a new table in the specified instance.
// The table can be created with a full set of initial column families,
// specified in the request.
CreateTable(context.Context, *CreateTableRequest) (*Table, error)
// Creates a new table from the specified snapshot. The target table must
// not exist. The snapshot and the table must be in the same instance.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
CreateTableFromSnapshot(context.Context, *CreateTableFromSnapshotRequest) (*longrunningpb.Operation, error)
// Lists all tables served from a specified instance.
ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)
// Gets metadata information about the specified table.
GetTable(context.Context, *GetTableRequest) (*Table, error)
// Updates a specified table.
UpdateTable(context.Context, *UpdateTableRequest) (*longrunningpb.Operation, error)
// Permanently deletes a specified table and all of its data.
DeleteTable(context.Context, *DeleteTableRequest) (*emptypb.Empty, error)
// Restores a specified table which was accidentally deleted.
UndeleteTable(context.Context, *UndeleteTableRequest) (*longrunningpb.Operation, error)
// Creates a new AuthorizedView in a table.
CreateAuthorizedView(context.Context, *CreateAuthorizedViewRequest) (*longrunningpb.Operation, error)
// Lists all AuthorizedViews from a specific table.
ListAuthorizedViews(context.Context, *ListAuthorizedViewsRequest) (*ListAuthorizedViewsResponse, error)
// Gets information from a specified AuthorizedView.
GetAuthorizedView(context.Context, *GetAuthorizedViewRequest) (*AuthorizedView, error)
// Updates an AuthorizedView in a table.
UpdateAuthorizedView(context.Context, *UpdateAuthorizedViewRequest) (*longrunningpb.Operation, error)
// Permanently deletes a specified AuthorizedView.
DeleteAuthorizedView(context.Context, *DeleteAuthorizedViewRequest) (*emptypb.Empty, error)
// Performs a series of column family modifications on the specified table.
// Either all or none of the modifications will occur before this method
// returns, but data requests received prior to that point may see a table
// where only some modifications have taken effect.
ModifyColumnFamilies(context.Context, *ModifyColumnFamiliesRequest) (*Table, error)
// Permanently drop/delete a row range from a specified table. The request can
// specify whether to delete all rows in a table, or only those that match a
// particular prefix.
DropRowRange(context.Context, *DropRowRangeRequest) (*emptypb.Empty, error)
// Generates a consistency token for a Table, which can be used in
// CheckConsistency to check whether mutations to the table that finished
// before this call started have been replicated. The tokens will be available
// for 90 days.
GenerateConsistencyToken(context.Context, *GenerateConsistencyTokenRequest) (*GenerateConsistencyTokenResponse, error)
// Checks replication consistency based on a consistency token, that is, if
// replication has caught up based on the conditions specified in the token
// and the check request.
CheckConsistency(context.Context, *CheckConsistencyRequest) (*CheckConsistencyResponse, error)
// Creates a new snapshot in the specified cluster from the specified
// source table. The cluster and the table must be in the same instance.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
SnapshotTable(context.Context, *SnapshotTableRequest) (*longrunningpb.Operation, error)
// Gets metadata information about the specified snapshot.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error)
// Lists all snapshots associated with the specified cluster.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
// Permanently deletes the specified snapshot.
//
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
// feature is not currently available to most Cloud Bigtable customers. This
// feature might be changed in backward-incompatible ways and is not
// recommended for production use. It is not subject to any SLA or deprecation
// policy.
DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error)
// Starts creating a new Cloud Bigtable Backup. The returned backup
// [long-running operation][google.longrunning.Operation] can be used to
// track creation of the backup. The
// [metadata][google.longrunning.Operation.metadata] field type is
// [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
// [response][google.longrunning.Operation.response] field type is
// [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
// returned operation will stop the creation and delete the backup.
CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)
// Gets metadata on a pending or completed Cloud Bigtable Backup.
GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
// Updates a pending or completed Cloud Bigtable Backup.
UpdateBackup(context.Context, *UpdateBackupRequest) (*Backup, error)
// Deletes a pending or completed Cloud Bigtable backup.
DeleteBackup(context.Context, *DeleteBackupRequest) (*emptypb.Empty, error)
// Lists Cloud Bigtable backups. Returns both completed and pending
// backups.
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// Create a new table by restoring from a completed backup. The
// returned table [long-running operation][google.longrunning.Operation] can
// be used to track the progress of the operation, and to cancel it. The
// [metadata][google.longrunning.Operation.metadata] field type is
// [RestoreTableMetadata][google.bigtable.admin.v2.RestoreTableMetadata]. The
// [response][google.longrunning.Operation.response] type is
// [Table][google.bigtable.admin.v2.Table], if successful.
RestoreTable(context.Context, *RestoreTableRequest) (*longrunningpb.Operation, error)
// Copy a Cloud Bigtable backup to a new backup in the destination cluster
// located in the destination instance and project.
CopyBackup(context.Context, *CopyBackupRequest) (*longrunningpb.Operation, error)
// Gets the access control policy for a Bigtable resource.
// Returns an empty policy if the resource exists but does not have a policy
// set.
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Sets the access control policy on a Bigtable resource.
// Replaces any existing policy.
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Returns permissions that the caller has on the specified Bigtable
// resource.
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
// Creates a new schema bundle in the specified table.
CreateSchemaBundle(context.Context, *CreateSchemaBundleRequest) (*longrunningpb.Operation, error)
// Updates a schema bundle in the specified table.
UpdateSchemaBundle(context.Context, *UpdateSchemaBundleRequest) (*longrunningpb.Operation, error)
// Gets metadata information about the specified schema bundle.
GetSchemaBundle(context.Context, *GetSchemaBundleRequest) (*SchemaBundle, error)
// Lists all schema bundles associated with the specified table.
ListSchemaBundles(context.Context, *ListSchemaBundlesRequest) (*ListSchemaBundlesResponse, error)
// Deletes a schema bundle in the specified table.
DeleteSchemaBundle(context.Context, *DeleteSchemaBundleRequest) (*emptypb.Empty, error)
}BigtableTableAdminServer is the server API for BigtableTableAdmin service. All implementations should embed UnimplementedBigtableTableAdminServer for forward compatibility
ChangeStreamConfig
type ChangeStreamConfig struct {
// How long the change stream should be retained. Change stream data older
// than the retention period will not be returned when reading the change
// stream from the table.
// Values must be at least 1 day and at most 7 days, and will be truncated to
// microsecond granularity.
RetentionPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"`
// contains filtered or unexported fields
}Change stream configuration.
func (*ChangeStreamConfig) Descriptor
func (*ChangeStreamConfig) Descriptor() ([]byte, []int)Deprecated: Use ChangeStreamConfig.ProtoReflect.Descriptor instead.
func (*ChangeStreamConfig) GetRetentionPeriod
func (x *ChangeStreamConfig) GetRetentionPeriod() *durationpb.Durationfunc (*ChangeStreamConfig) ProtoMessage
func (*ChangeStreamConfig) ProtoMessage()func (*ChangeStreamConfig) ProtoReflect
func (x *ChangeStreamConfig) ProtoReflect() protoreflect.Messagefunc (*ChangeStreamConfig) Reset
func (x *ChangeStreamConfig) Reset()func (*ChangeStreamConfig) String
func (x *ChangeStreamConfig) String() stringCheckConsistencyRequest
type CheckConsistencyRequest struct {
// Required. The unique name of the Table for which to check replication
// consistency. Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The token created using GenerateConsistencyToken for the Table.
ConsistencyToken string `protobuf:"bytes,2,opt,name=consistency_token,json=consistencyToken,proto3" json:"consistency_token,omitempty"`
// Which type of read needs to consistently observe which type of write?
// Default: `standard_read_remote_writes`
//
// Types that are assignable to Mode:
//
// *CheckConsistencyRequest_StandardReadRemoteWrites
// *CheckConsistencyRequest_DataBoostReadLocalWrites
Mode isCheckConsistencyRequest_Mode `protobuf_oneof:"mode"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
func (*CheckConsistencyRequest) Descriptor
func (*CheckConsistencyRequest) Descriptor() ([]byte, []int)Deprecated: Use CheckConsistencyRequest.ProtoReflect.Descriptor instead.
func (*CheckConsistencyRequest) GetConsistencyToken
func (x *CheckConsistencyRequest) GetConsistencyToken() stringfunc (*CheckConsistencyRequest) GetDataBoostReadLocalWrites
func (x *CheckConsistencyRequest) GetDataBoostReadLocalWrites() *DataBoostReadLocalWritesfunc (*CheckConsistencyRequest) GetMode
func (m *CheckConsistencyRequest) GetMode() isCheckConsistencyRequest_Modefunc (*CheckConsistencyRequest) GetName
func (x *CheckConsistencyRequest) GetName() stringfunc (*CheckConsistencyRequest) GetStandardReadRemoteWrites
func (x *CheckConsistencyRequest) GetStandardReadRemoteWrites() *StandardReadRemoteWritesfunc (*CheckConsistencyRequest) ProtoMessage
func (*CheckConsistencyRequest) ProtoMessage()func (*CheckConsistencyRequest) ProtoReflect
func (x *CheckConsistencyRequest) ProtoReflect() protoreflect.Messagefunc (*CheckConsistencyRequest) Reset
func (x *CheckConsistencyRequest) Reset()func (*CheckConsistencyRequest) String
func (x *CheckConsistencyRequest) String() stringCheckConsistencyRequest_DataBoostReadLocalWrites
type CheckConsistencyRequest_DataBoostReadLocalWrites struct {
// Checks that reads using an app profile with `DataBoostIsolationReadOnly`
// can see all writes committed before the token was created, but only if
// the read and write target the same cluster.
DataBoostReadLocalWrites *DataBoostReadLocalWrites `protobuf:"bytes,4,opt,name=data_boost_read_local_writes,json=dataBoostReadLocalWrites,proto3,oneof"`
}CheckConsistencyRequest_StandardReadRemoteWrites
type CheckConsistencyRequest_StandardReadRemoteWrites struct {
// Checks that reads using an app profile with `StandardIsolation` can
// see all writes committed before the token was created, even if the
// read and write target different clusters.
StandardReadRemoteWrites *StandardReadRemoteWrites `protobuf:"bytes,3,opt,name=standard_read_remote_writes,json=standardReadRemoteWrites,proto3,oneof"`
}CheckConsistencyResponse
type CheckConsistencyResponse struct {
// True only if the token is consistent. A token is consistent if replication
// has caught up with the restrictions specified in the request.
Consistent bool `protobuf:"varint,1,opt,name=consistent,proto3" json:"consistent,omitempty"`
// contains filtered or unexported fields
}Response message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
func (*CheckConsistencyResponse) Descriptor
func (*CheckConsistencyResponse) Descriptor() ([]byte, []int)Deprecated: Use CheckConsistencyResponse.ProtoReflect.Descriptor instead.
func (*CheckConsistencyResponse) GetConsistent
func (x *CheckConsistencyResponse) GetConsistent() boolfunc (*CheckConsistencyResponse) ProtoMessage
func (*CheckConsistencyResponse) ProtoMessage()func (*CheckConsistencyResponse) ProtoReflect
func (x *CheckConsistencyResponse) ProtoReflect() protoreflect.Messagefunc (*CheckConsistencyResponse) Reset
func (x *CheckConsistencyResponse) Reset()func (*CheckConsistencyResponse) String
func (x *CheckConsistencyResponse) String() stringCluster
type Cluster struct {
// The unique name of the cluster. Values are of the form
// `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Immutable. The location where this cluster's nodes and storage reside. For
// best performance, clients should be located as close as possible to this
// cluster. Currently only zones are supported, so values should be of the
// form `projects/{project}/locations/{zone}`.
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// Output only. The current state of the cluster.
State Cluster_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"`
// The number of nodes in the cluster. If no value is set,
// Cloud Bigtable automatically allocates nodes based on your data footprint
// and optimized for 50% storage utilization.
ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"`
// Immutable. The node scaling factor of this cluster.
NodeScalingFactor Cluster_NodeScalingFactor `protobuf:"varint,9,opt,name=node_scaling_factor,json=nodeScalingFactor,proto3,enum=google.bigtable.admin.v2.Cluster_NodeScalingFactor" json:"node_scaling_factor,omitempty"`
// Types that are assignable to Config:
//
// *Cluster_ClusterConfig_
Config isCluster_Config `protobuf_oneof:"config"`
// Immutable. The type of storage used by this cluster to serve its
// parent instance's tables, unless explicitly overridden.
DefaultStorageType StorageType `protobuf:"varint,5,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.v2.StorageType" json:"default_storage_type,omitempty"`
// Immutable. The encryption configuration for CMEK-protected clusters.
EncryptionConfig *Cluster_EncryptionConfig `protobuf:"bytes,6,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`
// contains filtered or unexported fields
}A resizable group of nodes in a particular cloud location, capable of serving all [Tables][google.bigtable.admin.v2.Table] in the parent [Instance][google.bigtable.admin.v2.Instance].
func (*Cluster) Descriptor
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetClusterConfig
func (x *Cluster) GetClusterConfig() *Cluster_ClusterConfigfunc (*Cluster) GetConfig
func (m *Cluster) GetConfig() isCluster_Configfunc (*Cluster) GetDefaultStorageType
func (x *Cluster) GetDefaultStorageType() StorageTypefunc (*Cluster) GetEncryptionConfig
func (x *Cluster) GetEncryptionConfig() *Cluster_EncryptionConfigfunc (*Cluster) GetLocation
func (*Cluster) GetName
func (*Cluster) GetNodeScalingFactor
func (x *Cluster) GetNodeScalingFactor() Cluster_NodeScalingFactorfunc (*Cluster) GetServeNodes
func (*Cluster) GetState
func (x *Cluster) GetState() Cluster_Statefunc (*Cluster) ProtoMessage
func (*Cluster) ProtoMessage()func (*Cluster) ProtoReflect
func (x *Cluster) ProtoReflect() protoreflect.Messagefunc (*Cluster) Reset
func (x *Cluster) Reset()func (*Cluster) String
Cluster_ClusterAutoscalingConfig
type Cluster_ClusterAutoscalingConfig struct {
// Required. Autoscaling limits for this cluster.
AutoscalingLimits *AutoscalingLimits `protobuf:"bytes,1,opt,name=autoscaling_limits,json=autoscalingLimits,proto3" json:"autoscaling_limits,omitempty"`
// Required. Autoscaling targets for this cluster.
AutoscalingTargets *AutoscalingTargets `protobuf:"bytes,2,opt,name=autoscaling_targets,json=autoscalingTargets,proto3" json:"autoscaling_targets,omitempty"`
// contains filtered or unexported fields
}Autoscaling config for a cluster.
func (*Cluster_ClusterAutoscalingConfig) Descriptor
func (*Cluster_ClusterAutoscalingConfig) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ClusterAutoscalingConfig.ProtoReflect.Descriptor instead.
func (*Cluster_ClusterAutoscalingConfig) GetAutoscalingLimits
func (x *Cluster_ClusterAutoscalingConfig) GetAutoscalingLimits() *AutoscalingLimitsfunc (*Cluster_ClusterAutoscalingConfig) GetAutoscalingTargets
func (x *Cluster_ClusterAutoscalingConfig) GetAutoscalingTargets() *AutoscalingTargetsfunc (*Cluster_ClusterAutoscalingConfig) ProtoMessage
func (*Cluster_ClusterAutoscalingConfig) ProtoMessage()func (*Cluster_ClusterAutoscalingConfig) ProtoReflect
func (x *Cluster_ClusterAutoscalingConfig) ProtoReflect() protoreflect.Messagefunc (*Cluster_ClusterAutoscalingConfig) Reset
func (x *Cluster_ClusterAutoscalingConfig) Reset()func (*Cluster_ClusterAutoscalingConfig) String
func (x *Cluster_ClusterAutoscalingConfig) String() stringCluster_ClusterConfig
type Cluster_ClusterConfig struct {
// Autoscaling configuration for this cluster.
ClusterAutoscalingConfig *Cluster_ClusterAutoscalingConfig `protobuf:"bytes,1,opt,name=cluster_autoscaling_config,json=clusterAutoscalingConfig,proto3" json:"cluster_autoscaling_config,omitempty"`
// contains filtered or unexported fields
}Configuration for a cluster.
func (*Cluster_ClusterConfig) Descriptor
func (*Cluster_ClusterConfig) Descriptor() ([]byte, []int)Deprecated: Use Cluster_ClusterConfig.ProtoReflect.Descriptor instead.
func (*Cluster_ClusterConfig) GetClusterAutoscalingConfig
func (x *Cluster_ClusterConfig) GetClusterAutoscalingConfig() *Cluster_ClusterAutoscalingConfigfunc (*Cluster_ClusterConfig) ProtoMessage
func (*Cluster_ClusterConfig) ProtoMessage()func (*Cluster_ClusterConfig) ProtoReflect
func (x *Cluster_ClusterConfig) ProtoReflect() protoreflect.Messagefunc (*Cluster_ClusterConfig) Reset
func (x *Cluster_ClusterConfig) Reset()func (*Cluster_ClusterConfig) String
func (x *Cluster_ClusterConfig) String() stringCluster_ClusterConfig_
type Cluster_ClusterConfig_ struct {
// Configuration for this cluster.
ClusterConfig *Cluster_ClusterConfig `protobuf:"bytes,7,opt,name=cluster_config,json=clusterConfig,proto3,oneof"`
}Cluster_EncryptionConfig
type Cluster_EncryptionConfig struct {
// Describes the Cloud KMS encryption key that will be used to protect the
// destination Bigtable cluster. The requirements for this key are:
// 1. The Cloud Bigtable service account associated with the project that
// contains this cluster must be granted the
// `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key.
// 2. Only regional keys can be used and the region of the CMEK key must
// match the region of the cluster.
//
// Values are of the form
// `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
// contains filtered or unexported fields
}Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
func (*Cluster_EncryptionConfig) Descriptor
func (*Cluster_EncryptionConfig) Descriptor() ([]byte, []int)Deprecated: Use Cluster_EncryptionConfig.ProtoReflect.Descriptor instead.
func (*Cluster_EncryptionConfig) GetKmsKeyName
func (x *Cluster_EncryptionConfig) GetKmsKeyName() stringfunc (*Cluster_EncryptionConfig) ProtoMessage
func (*Cluster_EncryptionConfig) ProtoMessage()func (*Cluster_EncryptionConfig) ProtoReflect
func (x *Cluster_EncryptionConfig) ProtoReflect() protoreflect.Messagefunc (*Cluster_EncryptionConfig) Reset
func (x *Cluster_EncryptionConfig) Reset()func (*Cluster_EncryptionConfig) String
func (x *Cluster_EncryptionConfig) String() stringCluster_NodeScalingFactor
type Cluster_NodeScalingFactor int32Possible node scaling factors of the clusters. Node scaling delivers better latency and more throughput by removing node boundaries.
Cluster_NODE_SCALING_FACTOR_UNSPECIFIED, Cluster_NODE_SCALING_FACTOR_1X, Cluster_NODE_SCALING_FACTOR_2X
const (
// No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
Cluster_NODE_SCALING_FACTOR_UNSPECIFIED Cluster_NodeScalingFactor = 0
// The cluster is running with a scaling factor of 1.
Cluster_NODE_SCALING_FACTOR_1X Cluster_NodeScalingFactor = 1
// The cluster is running with a scaling factor of 2.
// All node count values must be in increments of 2 with this scaling factor
// enabled, otherwise an INVALID_ARGUMENT error will be returned.
Cluster_NODE_SCALING_FACTOR_2X Cluster_NodeScalingFactor = 2
)func (Cluster_NodeScalingFactor) Descriptor
func (Cluster_NodeScalingFactor) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_NodeScalingFactor) Enum
func (x Cluster_NodeScalingFactor) Enum() *Cluster_NodeScalingFactorfunc (Cluster_NodeScalingFactor) EnumDescriptor
func (Cluster_NodeScalingFactor) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_NodeScalingFactor.Descriptor instead.
func (Cluster_NodeScalingFactor) Number
func (x Cluster_NodeScalingFactor) Number() protoreflect.EnumNumberfunc (Cluster_NodeScalingFactor) String
func (x Cluster_NodeScalingFactor) String() stringfunc (Cluster_NodeScalingFactor) Type
func (Cluster_NodeScalingFactor) Type() protoreflect.EnumTypeCluster_State
type Cluster_State int32Possible states of a cluster.
Cluster_STATE_NOT_KNOWN, Cluster_READY, Cluster_CREATING, Cluster_RESIZING, Cluster_DISABLED
const (
// The state of the cluster could not be determined.
Cluster_STATE_NOT_KNOWN Cluster_State = 0
// The cluster has been successfully created and is ready to serve requests.
Cluster_READY Cluster_State = 1
// The cluster is currently being created, and may be destroyed
// if the creation process encounters an error.
// A cluster may not be able to serve requests while being created.
Cluster_CREATING Cluster_State = 2
// The cluster is currently being resized, and may revert to its previous
// node count if the process encounters an error.
// A cluster is still capable of serving requests while being resized,
// but may exhibit performance as if its number of allocated nodes is
// between the starting and requested states.
Cluster_RESIZING Cluster_State = 3
// The cluster has no backing nodes. The data (tables) still
// exist, but no operations can be performed on the cluster.
Cluster_DISABLED Cluster_State = 4
)func (Cluster_State) Descriptor
func (Cluster_State) Descriptor() protoreflect.EnumDescriptorfunc (Cluster_State) Enum
func (x Cluster_State) Enum() *Cluster_Statefunc (Cluster_State) EnumDescriptor
func (Cluster_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Cluster_State.Descriptor instead.
func (Cluster_State) Number
func (x Cluster_State) Number() protoreflect.EnumNumberfunc (Cluster_State) String
func (x Cluster_State) String() stringfunc (Cluster_State) Type
func (Cluster_State) Type() protoreflect.EnumTypeColumnFamily
type ColumnFamily struct {
// Garbage collection rule specified as a protobuf.
// Must serialize to at most 500 bytes.
//
// NOTE: Garbage collection executes opportunistically in the background, and
// so it's possible for reads to return a cell even if it matches the active
// GC expression for its family.
GcRule *GcRule `protobuf:"bytes,1,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"`
// The type of data stored in each of this family's cell values, including its
// full encoding. If omitted, the family only serves raw untyped bytes.
//
// For now, only the `Aggregate` type is supported.
//
// `Aggregate` can only be set at family creation and is immutable afterwards.
//
// If `value_type` is `Aggregate`, written data must be compatible with:
// - `value_type.input_type` for `AddInput` mutations
ValueType *Type `protobuf:"bytes,3,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
// contains filtered or unexported fields
}A set of columns within a table which share a common configuration.
func (*ColumnFamily) Descriptor
func (*ColumnFamily) Descriptor() ([]byte, []int)Deprecated: Use ColumnFamily.ProtoReflect.Descriptor instead.
func (*ColumnFamily) GetGcRule
func (x *ColumnFamily) GetGcRule() *GcRulefunc (*ColumnFamily) GetValueType
func (x *ColumnFamily) GetValueType() *Typefunc (*ColumnFamily) ProtoMessage
func (*ColumnFamily) ProtoMessage()func (*ColumnFamily) ProtoReflect
func (x *ColumnFamily) ProtoReflect() protoreflect.Messagefunc (*ColumnFamily) Reset
func (x *ColumnFamily) Reset()func (*ColumnFamily) String
func (x *ColumnFamily) String() stringCopyBackupMetadata
type CopyBackupMetadata struct {
// The name of the backup being created through the copy operation.
// Values are of the form
// `projects/Metadata type for the google.longrunning.Operation returned by [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
func (*CopyBackupMetadata) Descriptor
func (*CopyBackupMetadata) Descriptor() ([]byte, []int)Deprecated: Use CopyBackupMetadata.ProtoReflect.Descriptor instead.
func (*CopyBackupMetadata) GetName
func (x *CopyBackupMetadata) GetName() stringfunc (*CopyBackupMetadata) GetProgress
func (x *CopyBackupMetadata) GetProgress() *OperationProgressfunc (*CopyBackupMetadata) GetSourceBackupInfo
func (x *CopyBackupMetadata) GetSourceBackupInfo() *BackupInfofunc (*CopyBackupMetadata) ProtoMessage
func (*CopyBackupMetadata) ProtoMessage()func (*CopyBackupMetadata) ProtoReflect
func (x *CopyBackupMetadata) ProtoReflect() protoreflect.Messagefunc (*CopyBackupMetadata) Reset
func (x *CopyBackupMetadata) Reset()func (*CopyBackupMetadata) String
func (x *CopyBackupMetadata) String() stringCopyBackupRequest
type CopyBackupRequest struct {
// Required. The name of the destination cluster that will contain the backup
// copy. The cluster must already exist. Values are of the form:
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The id of the new backup. The `backup_id` along with `parent`
// are combined as {parent}/backups/{backup_id} to create the full backup
// name, of the form:
// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
// This string must be between 1 and 50 characters in length and match the
// regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
// Required. The source backup to be copied from.
// The source backup needs to be in READY state for it to be copied.
// Copying a copied backup is not allowed.
// Once CopyBackup is in progress, the source backup cannot be deleted or
// cleaned up on expiration until CopyBackup is finished.
// Values are of the form:
// `projects/The request for [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
func (*CopyBackupRequest) Descriptor
func (*CopyBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use CopyBackupRequest.ProtoReflect.Descriptor instead.
func (*CopyBackupRequest) GetBackupId
func (x *CopyBackupRequest) GetBackupId() stringfunc (*CopyBackupRequest) GetExpireTime
func (x *CopyBackupRequest) GetExpireTime() *timestamppb.Timestampfunc (*CopyBackupRequest) GetParent
func (x *CopyBackupRequest) GetParent() stringfunc (*CopyBackupRequest) GetSourceBackup
func (x *CopyBackupRequest) GetSourceBackup() stringfunc (*CopyBackupRequest) ProtoMessage
func (*CopyBackupRequest) ProtoMessage()func (*CopyBackupRequest) ProtoReflect
func (x *CopyBackupRequest) ProtoReflect() protoreflect.Messagefunc (*CopyBackupRequest) Reset
func (x *CopyBackupRequest) Reset()func (*CopyBackupRequest) String
func (x *CopyBackupRequest) String() stringCreateAppProfileRequest
type CreateAppProfileRequest struct {
// Required. The unique name of the instance in which to create the new app
// profile. Values are of the form `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to be used when referring to the new app profile within
// its instance, e.g., just `myprofile` rather than
// `projects/myproject/instances/myinstance/appProfiles/myprofile`.
AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
// Required. The app profile to be created.
// Fields marked `OutputOnly` will be ignored.
AppProfile *AppProfile `protobuf:"bytes,3,opt,name=app_profile,json=appProfile,proto3" json:"app_profile,omitempty"`
// If true, ignore safety checks when creating the app profile.
IgnoreWarnings bool `protobuf:"varint,4,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.CreateAppProfile.
func (*CreateAppProfileRequest) Descriptor
func (*CreateAppProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateAppProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateAppProfileRequest) GetAppProfile
func (x *CreateAppProfileRequest) GetAppProfile() *AppProfilefunc (*CreateAppProfileRequest) GetAppProfileId
func (x *CreateAppProfileRequest) GetAppProfileId() stringfunc (*CreateAppProfileRequest) GetIgnoreWarnings
func (x *CreateAppProfileRequest) GetIgnoreWarnings() boolfunc (*CreateAppProfileRequest) GetParent
func (x *CreateAppProfileRequest) GetParent() stringfunc (*CreateAppProfileRequest) ProtoMessage
func (*CreateAppProfileRequest) ProtoMessage()func (*CreateAppProfileRequest) ProtoReflect
func (x *CreateAppProfileRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAppProfileRequest) Reset
func (x *CreateAppProfileRequest) Reset()func (*CreateAppProfileRequest) String
func (x *CreateAppProfileRequest) String() stringCreateAuthorizedViewMetadata
type CreateAuthorizedViewMetadata struct {
// The request that prompted the initiation of this CreateAuthorizedView
// operation.
OriginalRequest *CreateAuthorizedViewRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by CreateAuthorizedView.
func (*CreateAuthorizedViewMetadata) Descriptor
func (*CreateAuthorizedViewMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateAuthorizedViewMetadata.ProtoReflect.Descriptor instead.
func (*CreateAuthorizedViewMetadata) GetFinishTime
func (x *CreateAuthorizedViewMetadata) GetFinishTime() *timestamppb.Timestampfunc (*CreateAuthorizedViewMetadata) GetOriginalRequest
func (x *CreateAuthorizedViewMetadata) GetOriginalRequest() *CreateAuthorizedViewRequestfunc (*CreateAuthorizedViewMetadata) GetRequestTime
func (x *CreateAuthorizedViewMetadata) GetRequestTime() *timestamppb.Timestampfunc (*CreateAuthorizedViewMetadata) ProtoMessage
func (*CreateAuthorizedViewMetadata) ProtoMessage()func (*CreateAuthorizedViewMetadata) ProtoReflect
func (x *CreateAuthorizedViewMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateAuthorizedViewMetadata) Reset
func (x *CreateAuthorizedViewMetadata) Reset()func (*CreateAuthorizedViewMetadata) String
func (x *CreateAuthorizedViewMetadata) String() stringCreateAuthorizedViewRequest
type CreateAuthorizedViewRequest struct {
// Required. This is the name of the table the AuthorizedView belongs to.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The id of the AuthorizedView to create. This AuthorizedView must
// not already exist. The `authorized_view_id` appended to `parent` forms the
// full AuthorizedView name of the form
// `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
AuthorizedViewId string `protobuf:"bytes,2,opt,name=authorized_view_id,json=authorizedViewId,proto3" json:"authorized_view_id,omitempty"`
// Required. The AuthorizedView to create.
AuthorizedView *AuthorizedView `protobuf:"bytes,3,opt,name=authorized_view,json=authorizedView,proto3" json:"authorized_view,omitempty"`
// contains filtered or unexported fields
}The request for [CreateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.CreateAuthorizedView]
func (*CreateAuthorizedViewRequest) Descriptor
func (*CreateAuthorizedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateAuthorizedViewRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthorizedViewRequest) GetAuthorizedView
func (x *CreateAuthorizedViewRequest) GetAuthorizedView() *AuthorizedViewfunc (*CreateAuthorizedViewRequest) GetAuthorizedViewId
func (x *CreateAuthorizedViewRequest) GetAuthorizedViewId() stringfunc (*CreateAuthorizedViewRequest) GetParent
func (x *CreateAuthorizedViewRequest) GetParent() stringfunc (*CreateAuthorizedViewRequest) ProtoMessage
func (*CreateAuthorizedViewRequest) ProtoMessage()func (*CreateAuthorizedViewRequest) ProtoReflect
func (x *CreateAuthorizedViewRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAuthorizedViewRequest) Reset
func (x *CreateAuthorizedViewRequest) Reset()func (*CreateAuthorizedViewRequest) String
func (x *CreateAuthorizedViewRequest) String() stringCreateBackupMetadata
type CreateBackupMetadata struct {
// The name of the backup being created.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The name of the table the backup is created from.
SourceTable string `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was cancelled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Metadata type for the operation returned by [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
func (*CreateBackupMetadata) Descriptor
func (*CreateBackupMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateBackupMetadata.ProtoReflect.Descriptor instead.
func (*CreateBackupMetadata) GetEndTime
func (x *CreateBackupMetadata) GetEndTime() *timestamppb.Timestampfunc (*CreateBackupMetadata) GetName
func (x *CreateBackupMetadata) GetName() stringfunc (*CreateBackupMetadata) GetSourceTable
func (x *CreateBackupMetadata) GetSourceTable() stringfunc (*CreateBackupMetadata) GetStartTime
func (x *CreateBackupMetadata) GetStartTime() *timestamppb.Timestampfunc (*CreateBackupMetadata) ProtoMessage
func (*CreateBackupMetadata) ProtoMessage()func (*CreateBackupMetadata) ProtoReflect
func (x *CreateBackupMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateBackupMetadata) Reset
func (x *CreateBackupMetadata) Reset()func (*CreateBackupMetadata) String
func (x *CreateBackupMetadata) String() stringCreateBackupRequest
type CreateBackupRequest struct {
// Required. This must be one of the clusters in the instance in which this
// table is located. The backup will be stored in this cluster. Values are
// of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The id of the backup to be created. The `backup_id` along with
// the parent `parent` are combined as {parent}/backups/{backup_id} to create
// the full backup name, of the form:
// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
// This string must be between 1 and 50 characters in length and match the
// regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
// Required. The backup to create.
Backup *Backup `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
// contains filtered or unexported fields
}The request for [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
func (*CreateBackupRequest) Descriptor
func (*CreateBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupRequest) GetBackup
func (x *CreateBackupRequest) GetBackup() *Backupfunc (*CreateBackupRequest) GetBackupId
func (x *CreateBackupRequest) GetBackupId() stringfunc (*CreateBackupRequest) GetParent
func (x *CreateBackupRequest) GetParent() stringfunc (*CreateBackupRequest) ProtoMessage
func (*CreateBackupRequest) ProtoMessage()func (*CreateBackupRequest) ProtoReflect
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBackupRequest) Reset
func (x *CreateBackupRequest) Reset()func (*CreateBackupRequest) String
func (x *CreateBackupRequest) String() stringCreateClusterMetadata
type CreateClusterMetadata struct {
// The request that prompted the initiation of this CreateCluster operation.
OriginalRequest *CreateClusterRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// Keys: the full `name` of each table that existed in the instance when
// CreateCluster was first called, i.e.
// `projects/The metadata for the Operation returned by CreateCluster.
func (*CreateClusterMetadata) Descriptor
func (*CreateClusterMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateClusterMetadata.ProtoReflect.Descriptor instead.
func (*CreateClusterMetadata) GetFinishTime
func (x *CreateClusterMetadata) GetFinishTime() *timestamppb.Timestampfunc (*CreateClusterMetadata) GetOriginalRequest
func (x *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequestfunc (*CreateClusterMetadata) GetRequestTime
func (x *CreateClusterMetadata) GetRequestTime() *timestamppb.Timestampfunc (*CreateClusterMetadata) GetTables
func (x *CreateClusterMetadata) GetTables() map[string]*CreateClusterMetadata_TableProgressfunc (*CreateClusterMetadata) ProtoMessage
func (*CreateClusterMetadata) ProtoMessage()func (*CreateClusterMetadata) ProtoReflect
func (x *CreateClusterMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateClusterMetadata) Reset
func (x *CreateClusterMetadata) Reset()func (*CreateClusterMetadata) String
func (x *CreateClusterMetadata) String() stringCreateClusterMetadata_TableProgress
type CreateClusterMetadata_TableProgress struct {
// Estimate of the size of the table to be copied.
EstimatedSizeBytes int64 `protobuf:"varint,2,opt,name=estimated_size_bytes,json=estimatedSizeBytes,proto3" json:"estimated_size_bytes,omitempty"`
// Estimate of the number of bytes copied so far for this table.
// This will eventually reach 'estimated_size_bytes' unless the table copy
// is CANCELLED.
EstimatedCopiedBytes int64 `protobuf:"varint,3,opt,name=estimated_copied_bytes,json=estimatedCopiedBytes,proto3" json:"estimated_copied_bytes,omitempty"`
State CreateClusterMetadata_TableProgress_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.bigtable.admin.v2.CreateClusterMetadata_TableProgress_State" json:"state,omitempty"`
// contains filtered or unexported fields
}Progress info for copying a table's data to the new cluster.
func (*CreateClusterMetadata_TableProgress) Descriptor
func (*CreateClusterMetadata_TableProgress) Descriptor() ([]byte, []int)Deprecated: Use CreateClusterMetadata_TableProgress.ProtoReflect.Descriptor instead.
func (*CreateClusterMetadata_TableProgress) GetEstimatedCopiedBytes
func (x *CreateClusterMetadata_TableProgress) GetEstimatedCopiedBytes() int64func (*CreateClusterMetadata_TableProgress) GetEstimatedSizeBytes
func (x *CreateClusterMetadata_TableProgress) GetEstimatedSizeBytes() int64func (*CreateClusterMetadata_TableProgress) GetState
func (x *CreateClusterMetadata_TableProgress) GetState() CreateClusterMetadata_TableProgress_Statefunc (*CreateClusterMetadata_TableProgress) ProtoMessage
func (*CreateClusterMetadata_TableProgress) ProtoMessage()func (*CreateClusterMetadata_TableProgress) ProtoReflect
func (x *CreateClusterMetadata_TableProgress) ProtoReflect() protoreflect.Messagefunc (*CreateClusterMetadata_TableProgress) Reset
func (x *CreateClusterMetadata_TableProgress) Reset()func (*CreateClusterMetadata_TableProgress) String
func (x *CreateClusterMetadata_TableProgress) String() stringCreateClusterMetadata_TableProgress_State
type CreateClusterMetadata_TableProgress_State int32CreateClusterMetadata_TableProgress_STATE_UNSPECIFIED, CreateClusterMetadata_TableProgress_PENDING, CreateClusterMetadata_TableProgress_COPYING, CreateClusterMetadata_TableProgress_COMPLETED, CreateClusterMetadata_TableProgress_CANCELLED
const (
CreateClusterMetadata_TableProgress_STATE_UNSPECIFIED CreateClusterMetadata_TableProgress_State = 0
// The table has not yet begun copying to the new cluster.
CreateClusterMetadata_TableProgress_PENDING CreateClusterMetadata_TableProgress_State = 1
// The table is actively being copied to the new cluster.
CreateClusterMetadata_TableProgress_COPYING CreateClusterMetadata_TableProgress_State = 2
// The table has been fully copied to the new cluster.
CreateClusterMetadata_TableProgress_COMPLETED CreateClusterMetadata_TableProgress_State = 3
// The table was deleted before it finished copying to the new cluster.
// Note that tables deleted after completion will stay marked as
// COMPLETED, not CANCELLED.
CreateClusterMetadata_TableProgress_CANCELLED CreateClusterMetadata_TableProgress_State = 4
)func (CreateClusterMetadata_TableProgress_State) Descriptor
func (CreateClusterMetadata_TableProgress_State) Descriptor() protoreflect.EnumDescriptorfunc (CreateClusterMetadata_TableProgress_State) Enum
func (x CreateClusterMetadata_TableProgress_State) Enum() *CreateClusterMetadata_TableProgress_Statefunc (CreateClusterMetadata_TableProgress_State) EnumDescriptor
func (CreateClusterMetadata_TableProgress_State) EnumDescriptor() ([]byte, []int)Deprecated: Use CreateClusterMetadata_TableProgress_State.Descriptor instead.
func (CreateClusterMetadata_TableProgress_State) Number
func (x CreateClusterMetadata_TableProgress_State) Number() protoreflect.EnumNumberfunc (CreateClusterMetadata_TableProgress_State) String
func (x CreateClusterMetadata_TableProgress_State) String() stringfunc (CreateClusterMetadata_TableProgress_State) Type
func (CreateClusterMetadata_TableProgress_State) Type() protoreflect.EnumTypeCreateClusterRequest
type CreateClusterRequest struct {
// Required. The unique name of the instance in which to create the new
// cluster. Values are of the form `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to be used when referring to the new cluster within its
// instance, e.g., just `mycluster` rather than
// `projects/myproject/instances/myinstance/clusters/mycluster`.
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The cluster to be created.
// Fields marked `OutputOnly` must be left blank.
Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.CreateCluster.
func (*CreateClusterRequest) Descriptor
func (*CreateClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetCluster
func (x *CreateClusterRequest) GetCluster() *Clusterfunc (*CreateClusterRequest) GetClusterId
func (x *CreateClusterRequest) GetClusterId() stringfunc (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() stringfunc (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() stringCreateInstanceMetadata
type CreateInstanceMetadata struct {
// The request that prompted the initiation of this CreateInstance operation.
OriginalRequest *CreateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by CreateInstance.
func (*CreateInstanceMetadata) Descriptor
func (*CreateInstanceMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateInstanceMetadata.ProtoReflect.Descriptor instead.
func (*CreateInstanceMetadata) GetFinishTime
func (x *CreateInstanceMetadata) GetFinishTime() *timestamppb.Timestampfunc (*CreateInstanceMetadata) GetOriginalRequest
func (x *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequestfunc (*CreateInstanceMetadata) GetRequestTime
func (x *CreateInstanceMetadata) GetRequestTime() *timestamppb.Timestampfunc (*CreateInstanceMetadata) ProtoMessage
func (*CreateInstanceMetadata) ProtoMessage()func (*CreateInstanceMetadata) ProtoReflect
func (x *CreateInstanceMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateInstanceMetadata) Reset
func (x *CreateInstanceMetadata) Reset()func (*CreateInstanceMetadata) String
func (x *CreateInstanceMetadata) String() stringCreateInstanceRequest
type CreateInstanceRequest struct {
// Required. The unique name of the project in which to create the new
// instance. Values are of the form `projects/{project}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to be used when referring to the new instance within its
// project, e.g., just `myinstance` rather than
// `projects/myproject/instances/myinstance`.
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The instance to create.
// Fields marked `OutputOnly` must be left blank.
Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. The clusters to be created within the instance, mapped by desired
// cluster ID, e.g., just `mycluster` rather than
// `projects/myproject/instances/myinstance/clusters/mycluster`.
// Fields marked `OutputOnly` must be left blank.
Clusters map[string]*Cluster `protobuf:"bytes,4,rep,name=clusters,proto3" json:"clusters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.CreateInstance.
func (*CreateInstanceRequest) Descriptor
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetClusters
func (x *CreateInstanceRequest) GetClusters() map[string]*Clusterfunc (*CreateInstanceRequest) GetInstance
func (x *CreateInstanceRequest) GetInstance() *Instancefunc (*CreateInstanceRequest) GetInstanceId
func (x *CreateInstanceRequest) GetInstanceId() stringfunc (*CreateInstanceRequest) GetParent
func (x *CreateInstanceRequest) GetParent() stringfunc (*CreateInstanceRequest) ProtoMessage
func (*CreateInstanceRequest) ProtoMessage()func (*CreateInstanceRequest) ProtoReflect
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*CreateInstanceRequest) Reset
func (x *CreateInstanceRequest) Reset()func (*CreateInstanceRequest) String
func (x *CreateInstanceRequest) String() stringCreateLogicalViewMetadata
type CreateLogicalViewMetadata struct {
// The request that prompted the initiation of this CreateLogicalView
// operation.
OriginalRequest *CreateLogicalViewRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by CreateLogicalView.
func (*CreateLogicalViewMetadata) Descriptor
func (*CreateLogicalViewMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateLogicalViewMetadata.ProtoReflect.Descriptor instead.
func (*CreateLogicalViewMetadata) GetEndTime
func (x *CreateLogicalViewMetadata) GetEndTime() *timestamppb.Timestampfunc (*CreateLogicalViewMetadata) GetOriginalRequest
func (x *CreateLogicalViewMetadata) GetOriginalRequest() *CreateLogicalViewRequestfunc (*CreateLogicalViewMetadata) GetStartTime
func (x *CreateLogicalViewMetadata) GetStartTime() *timestamppb.Timestampfunc (*CreateLogicalViewMetadata) ProtoMessage
func (*CreateLogicalViewMetadata) ProtoMessage()func (*CreateLogicalViewMetadata) ProtoReflect
func (x *CreateLogicalViewMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateLogicalViewMetadata) Reset
func (x *CreateLogicalViewMetadata) Reset()func (*CreateLogicalViewMetadata) String
func (x *CreateLogicalViewMetadata) String() stringCreateLogicalViewRequest
type CreateLogicalViewRequest struct {
// Required. The parent instance where this logical view will be created.
// Format: `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the logical view, which will become the final
// component of the logical view's resource name.
LogicalViewId string `protobuf:"bytes,2,opt,name=logical_view_id,json=logicalViewId,proto3" json:"logical_view_id,omitempty"`
// Required. The logical view to create.
LogicalView *LogicalView `protobuf:"bytes,3,opt,name=logical_view,json=logicalView,proto3" json:"logical_view,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.CreateLogicalView.
func (*CreateLogicalViewRequest) Descriptor
func (*CreateLogicalViewRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateLogicalViewRequest.ProtoReflect.Descriptor instead.
func (*CreateLogicalViewRequest) GetLogicalView
func (x *CreateLogicalViewRequest) GetLogicalView() *LogicalViewfunc (*CreateLogicalViewRequest) GetLogicalViewId
func (x *CreateLogicalViewRequest) GetLogicalViewId() stringfunc (*CreateLogicalViewRequest) GetParent
func (x *CreateLogicalViewRequest) GetParent() stringfunc (*CreateLogicalViewRequest) ProtoMessage
func (*CreateLogicalViewRequest) ProtoMessage()func (*CreateLogicalViewRequest) ProtoReflect
func (x *CreateLogicalViewRequest) ProtoReflect() protoreflect.Messagefunc (*CreateLogicalViewRequest) Reset
func (x *CreateLogicalViewRequest) Reset()func (*CreateLogicalViewRequest) String
func (x *CreateLogicalViewRequest) String() stringCreateMaterializedViewMetadata
type CreateMaterializedViewMetadata struct {
// The request that prompted the initiation of this CreateMaterializedView
// operation.
OriginalRequest *CreateMaterializedViewRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by CreateMaterializedView.
func (*CreateMaterializedViewMetadata) Descriptor
func (*CreateMaterializedViewMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateMaterializedViewMetadata.ProtoReflect.Descriptor instead.
func (*CreateMaterializedViewMetadata) GetEndTime
func (x *CreateMaterializedViewMetadata) GetEndTime() *timestamppb.Timestampfunc (*CreateMaterializedViewMetadata) GetOriginalRequest
func (x *CreateMaterializedViewMetadata) GetOriginalRequest() *CreateMaterializedViewRequestfunc (*CreateMaterializedViewMetadata) GetStartTime
func (x *CreateMaterializedViewMetadata) GetStartTime() *timestamppb.Timestampfunc (*CreateMaterializedViewMetadata) ProtoMessage
func (*CreateMaterializedViewMetadata) ProtoMessage()func (*CreateMaterializedViewMetadata) ProtoReflect
func (x *CreateMaterializedViewMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateMaterializedViewMetadata) Reset
func (x *CreateMaterializedViewMetadata) Reset()func (*CreateMaterializedViewMetadata) String
func (x *CreateMaterializedViewMetadata) String() stringCreateMaterializedViewRequest
type CreateMaterializedViewRequest struct {
// Required. The parent instance where this materialized view will be created.
// Format: `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the materialized view, which will become the
// final component of the materialized view's resource name.
MaterializedViewId string `protobuf:"bytes,2,opt,name=materialized_view_id,json=materializedViewId,proto3" json:"materialized_view_id,omitempty"`
// Required. The materialized view to create.
MaterializedView *MaterializedView `protobuf:"bytes,3,opt,name=materialized_view,json=materializedView,proto3" json:"materialized_view,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.CreateMaterializedView.
func (*CreateMaterializedViewRequest) Descriptor
func (*CreateMaterializedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateMaterializedViewRequest.ProtoReflect.Descriptor instead.
func (*CreateMaterializedViewRequest) GetMaterializedView
func (x *CreateMaterializedViewRequest) GetMaterializedView() *MaterializedViewfunc (*CreateMaterializedViewRequest) GetMaterializedViewId
func (x *CreateMaterializedViewRequest) GetMaterializedViewId() stringfunc (*CreateMaterializedViewRequest) GetParent
func (x *CreateMaterializedViewRequest) GetParent() stringfunc (*CreateMaterializedViewRequest) ProtoMessage
func (*CreateMaterializedViewRequest) ProtoMessage()func (*CreateMaterializedViewRequest) ProtoReflect
func (x *CreateMaterializedViewRequest) ProtoReflect() protoreflect.Messagefunc (*CreateMaterializedViewRequest) Reset
func (x *CreateMaterializedViewRequest) Reset()func (*CreateMaterializedViewRequest) String
func (x *CreateMaterializedViewRequest) String() stringCreateSchemaBundleMetadata
type CreateSchemaBundleMetadata struct {
// The unique name identifying this schema bundle.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by [CreateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.CreateSchemaBundle].
func (*CreateSchemaBundleMetadata) Descriptor
func (*CreateSchemaBundleMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateSchemaBundleMetadata.ProtoReflect.Descriptor instead.
func (*CreateSchemaBundleMetadata) GetEndTime
func (x *CreateSchemaBundleMetadata) GetEndTime() *timestamppb.Timestampfunc (*CreateSchemaBundleMetadata) GetName
func (x *CreateSchemaBundleMetadata) GetName() stringfunc (*CreateSchemaBundleMetadata) GetStartTime
func (x *CreateSchemaBundleMetadata) GetStartTime() *timestamppb.Timestampfunc (*CreateSchemaBundleMetadata) ProtoMessage
func (*CreateSchemaBundleMetadata) ProtoMessage()func (*CreateSchemaBundleMetadata) ProtoReflect
func (x *CreateSchemaBundleMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateSchemaBundleMetadata) Reset
func (x *CreateSchemaBundleMetadata) Reset()func (*CreateSchemaBundleMetadata) String
func (x *CreateSchemaBundleMetadata) String() stringCreateSchemaBundleRequest
type CreateSchemaBundleRequest struct {
// Required. The parent resource where this schema bundle will be created.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The unique ID to use for the schema bundle, which will become the
// final component of the schema bundle's resource name.
SchemaBundleId string `protobuf:"bytes,2,opt,name=schema_bundle_id,json=schemaBundleId,proto3" json:"schema_bundle_id,omitempty"`
// Required. The schema bundle to create.
SchemaBundle *SchemaBundle `protobuf:"bytes,3,opt,name=schema_bundle,json=schemaBundle,proto3" json:"schema_bundle,omitempty"`
// contains filtered or unexported fields
}The request for [CreateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.CreateSchemaBundle].
func (*CreateSchemaBundleRequest) Descriptor
func (*CreateSchemaBundleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSchemaBundleRequest.ProtoReflect.Descriptor instead.
func (*CreateSchemaBundleRequest) GetParent
func (x *CreateSchemaBundleRequest) GetParent() stringfunc (*CreateSchemaBundleRequest) GetSchemaBundle
func (x *CreateSchemaBundleRequest) GetSchemaBundle() *SchemaBundlefunc (*CreateSchemaBundleRequest) GetSchemaBundleId
func (x *CreateSchemaBundleRequest) GetSchemaBundleId() stringfunc (*CreateSchemaBundleRequest) ProtoMessage
func (*CreateSchemaBundleRequest) ProtoMessage()func (*CreateSchemaBundleRequest) ProtoReflect
func (x *CreateSchemaBundleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSchemaBundleRequest) Reset
func (x *CreateSchemaBundleRequest) Reset()func (*CreateSchemaBundleRequest) String
func (x *CreateSchemaBundleRequest) String() stringCreateTableFromSnapshotMetadata
type CreateTableFromSnapshotMetadata struct {
// The request that prompted the initiation of this CreateTableFromSnapshot
// operation.
OriginalRequest *CreateTableFromSnapshotRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by CreateTableFromSnapshot.
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*CreateTableFromSnapshotMetadata) Descriptor
func (*CreateTableFromSnapshotMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateTableFromSnapshotMetadata.ProtoReflect.Descriptor instead.
func (*CreateTableFromSnapshotMetadata) GetFinishTime
func (x *CreateTableFromSnapshotMetadata) GetFinishTime() *timestamppb.Timestampfunc (*CreateTableFromSnapshotMetadata) GetOriginalRequest
func (x *CreateTableFromSnapshotMetadata) GetOriginalRequest() *CreateTableFromSnapshotRequestfunc (*CreateTableFromSnapshotMetadata) GetRequestTime
func (x *CreateTableFromSnapshotMetadata) GetRequestTime() *timestamppb.Timestampfunc (*CreateTableFromSnapshotMetadata) ProtoMessage
func (*CreateTableFromSnapshotMetadata) ProtoMessage()func (*CreateTableFromSnapshotMetadata) ProtoReflect
func (x *CreateTableFromSnapshotMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateTableFromSnapshotMetadata) Reset
func (x *CreateTableFromSnapshotMetadata) Reset()func (*CreateTableFromSnapshotMetadata) String
func (x *CreateTableFromSnapshotMetadata) String() stringCreateTableFromSnapshotRequest
type CreateTableFromSnapshotRequest struct {
// Required. The unique name of the instance in which to create the table.
// Values are of the form `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name by which the new table should be referred to within the
// parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
// Required. The unique name of the snapshot from which to restore the table.
// The snapshot and the table must be in the same instance. Values are of the
// form
// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
SourceSnapshot string `protobuf:"bytes,3,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*CreateTableFromSnapshotRequest) Descriptor
func (*CreateTableFromSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTableFromSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateTableFromSnapshotRequest) GetParent
func (x *CreateTableFromSnapshotRequest) GetParent() stringfunc (*CreateTableFromSnapshotRequest) GetSourceSnapshot
func (x *CreateTableFromSnapshotRequest) GetSourceSnapshot() stringfunc (*CreateTableFromSnapshotRequest) GetTableId
func (x *CreateTableFromSnapshotRequest) GetTableId() stringfunc (*CreateTableFromSnapshotRequest) ProtoMessage
func (*CreateTableFromSnapshotRequest) ProtoMessage()func (*CreateTableFromSnapshotRequest) ProtoReflect
func (x *CreateTableFromSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTableFromSnapshotRequest) Reset
func (x *CreateTableFromSnapshotRequest) Reset()func (*CreateTableFromSnapshotRequest) String
func (x *CreateTableFromSnapshotRequest) String() stringCreateTableRequest
type CreateTableRequest struct {
// Required. The unique name of the instance in which to create the table.
// Values are of the form `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name by which the new table should be referred to within the
// parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
// Maximum 50 characters.
TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
// Required. The Table to create.
Table *Table `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
// The optional list of row keys that will be used to initially split the
// table into several tablets (tablets are similar to HBase regions).
// Given two split keys, `s1` and `s2`, three tablets will be created,
// spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
//
// Example:
//
// - Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
// `"other", "zz"]`
// - initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
// - Key assignment:
// - Tablet 1 `[, apple) => {"a"}.`
// - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
// - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
// - Tablet 4 `[customer_2, other) => {"customer_2"}.`
// - Tablet 5 `[other, ) => {"other", "zz"}.`
InitialSplits []*CreateTableRequest_Split `protobuf:"bytes,4,rep,name=initial_splits,json=initialSplits,proto3" json:"initial_splits,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
func (*CreateTableRequest) Descriptor
func (*CreateTableRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTableRequest.ProtoReflect.Descriptor instead.
func (*CreateTableRequest) GetInitialSplits
func (x *CreateTableRequest) GetInitialSplits() []*CreateTableRequest_Splitfunc (*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() stringCreateTableRequest_Split
type CreateTableRequest_Split struct {
// Row key to use as an initial tablet boundary.
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}An initial split point for a newly created table.
func (*CreateTableRequest_Split) Descriptor
func (*CreateTableRequest_Split) Descriptor() ([]byte, []int)Deprecated: Use CreateTableRequest_Split.ProtoReflect.Descriptor instead.
func (*CreateTableRequest_Split) GetKey
func (x *CreateTableRequest_Split) GetKey() []bytefunc (*CreateTableRequest_Split) ProtoMessage
func (*CreateTableRequest_Split) ProtoMessage()func (*CreateTableRequest_Split) ProtoReflect
func (x *CreateTableRequest_Split) ProtoReflect() protoreflect.Messagefunc (*CreateTableRequest_Split) Reset
func (x *CreateTableRequest_Split) Reset()func (*CreateTableRequest_Split) String
func (x *CreateTableRequest_Split) String() stringDataBoostReadLocalWrites
type DataBoostReadLocalWrites struct {
// contains filtered or unexported fields
}Checks that all writes before the consistency token was generated in the same cluster are readable by Databoost.
func (*DataBoostReadLocalWrites) Descriptor
func (*DataBoostReadLocalWrites) Descriptor() ([]byte, []int)Deprecated: Use DataBoostReadLocalWrites.ProtoReflect.Descriptor instead.
func (*DataBoostReadLocalWrites) ProtoMessage
func (*DataBoostReadLocalWrites) ProtoMessage()func (*DataBoostReadLocalWrites) ProtoReflect
func (x *DataBoostReadLocalWrites) ProtoReflect() protoreflect.Messagefunc (*DataBoostReadLocalWrites) Reset
func (x *DataBoostReadLocalWrites) Reset()func (*DataBoostReadLocalWrites) String
func (x *DataBoostReadLocalWrites) String() stringDeleteAppProfileRequest
type DeleteAppProfileRequest struct {
// Required. The unique name of the app profile to be deleted. Values are of
// the form
// `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. If true, ignore safety checks when deleting the app profile.
IgnoreWarnings bool `protobuf:"varint,2,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.DeleteAppProfile.
func (*DeleteAppProfileRequest) Descriptor
func (*DeleteAppProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteAppProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteAppProfileRequest) GetIgnoreWarnings
func (x *DeleteAppProfileRequest) GetIgnoreWarnings() boolfunc (*DeleteAppProfileRequest) GetName
func (x *DeleteAppProfileRequest) GetName() stringfunc (*DeleteAppProfileRequest) ProtoMessage
func (*DeleteAppProfileRequest) ProtoMessage()func (*DeleteAppProfileRequest) ProtoReflect
func (x *DeleteAppProfileRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAppProfileRequest) Reset
func (x *DeleteAppProfileRequest) Reset()func (*DeleteAppProfileRequest) String
func (x *DeleteAppProfileRequest) String() stringDeleteAuthorizedViewRequest
type DeleteAuthorizedViewRequest struct {
// Required. The unique name of the AuthorizedView to be deleted.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The current etag of the AuthorizedView.
// If an etag is provided and does not match the current etag of the
// AuthorizedView, deletion will be blocked and an ABORTED error will be
// returned.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView]
func (*DeleteAuthorizedViewRequest) Descriptor
func (*DeleteAuthorizedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteAuthorizedViewRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthorizedViewRequest) GetEtag
func (x *DeleteAuthorizedViewRequest) GetEtag() stringfunc (*DeleteAuthorizedViewRequest) GetName
func (x *DeleteAuthorizedViewRequest) GetName() stringfunc (*DeleteAuthorizedViewRequest) ProtoMessage
func (*DeleteAuthorizedViewRequest) ProtoMessage()func (*DeleteAuthorizedViewRequest) ProtoReflect
func (x *DeleteAuthorizedViewRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAuthorizedViewRequest) Reset
func (x *DeleteAuthorizedViewRequest) Reset()func (*DeleteAuthorizedViewRequest) String
func (x *DeleteAuthorizedViewRequest) String() stringDeleteBackupRequest
type DeleteBackupRequest struct {
// Required. Name of the backup to delete.
// Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
func (*DeleteBackupRequest) Descriptor
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName
func (x *DeleteBackupRequest) GetName() stringfunc (*DeleteBackupRequest) ProtoMessage
func (*DeleteBackupRequest) ProtoMessage()func (*DeleteBackupRequest) ProtoReflect
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBackupRequest) Reset
func (x *DeleteBackupRequest) Reset()func (*DeleteBackupRequest) String
func (x *DeleteBackupRequest) String() stringDeleteClusterRequest
type DeleteClusterRequest struct {
// Required. The unique name of the cluster to be deleted. Values are of the
// form `projects/{project}/instances/{instance}/clusters/{cluster}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.DeleteCluster.
func (*DeleteClusterRequest) Descriptor
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetName
func (x *DeleteClusterRequest) GetName() stringfunc (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() stringDeleteInstanceRequest
type DeleteInstanceRequest struct {
// Required. The unique name of the instance to be deleted.
// Values are of the form `projects/{project}/instances/{instance}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.DeleteInstance.
func (*DeleteInstanceRequest) Descriptor
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetName
func (x *DeleteInstanceRequest) GetName() stringfunc (*DeleteInstanceRequest) ProtoMessage
func (*DeleteInstanceRequest) ProtoMessage()func (*DeleteInstanceRequest) ProtoReflect
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInstanceRequest) Reset
func (x *DeleteInstanceRequest) Reset()func (*DeleteInstanceRequest) String
func (x *DeleteInstanceRequest) String() stringDeleteLogicalViewRequest
type DeleteLogicalViewRequest struct {
// Required. The unique name of the logical view to be deleted.
// Format:
// `projects/{project}/instances/{instance}/logicalViews/{logical_view}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The current etag of the logical view.
// If an etag is provided and does not match the current etag of the
// logical view, deletion will be blocked and an ABORTED error will be
// returned.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.DeleteLogicalView.
func (*DeleteLogicalViewRequest) Descriptor
func (*DeleteLogicalViewRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteLogicalViewRequest.ProtoReflect.Descriptor instead.
func (*DeleteLogicalViewRequest) GetEtag
func (x *DeleteLogicalViewRequest) GetEtag() stringfunc (*DeleteLogicalViewRequest) GetName
func (x *DeleteLogicalViewRequest) GetName() stringfunc (*DeleteLogicalViewRequest) ProtoMessage
func (*DeleteLogicalViewRequest) ProtoMessage()func (*DeleteLogicalViewRequest) ProtoReflect
func (x *DeleteLogicalViewRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteLogicalViewRequest) Reset
func (x *DeleteLogicalViewRequest) Reset()func (*DeleteLogicalViewRequest) String
func (x *DeleteLogicalViewRequest) String() stringDeleteMaterializedViewRequest
type DeleteMaterializedViewRequest struct {
// Required. The unique name of the materialized view to be deleted.
// Format:
// `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The current etag of the materialized view.
// If an etag is provided and does not match the current etag of the
// materialized view, deletion will be blocked and an ABORTED error will be
// returned.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.DeleteMaterializedView.
func (*DeleteMaterializedViewRequest) Descriptor
func (*DeleteMaterializedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteMaterializedViewRequest.ProtoReflect.Descriptor instead.
func (*DeleteMaterializedViewRequest) GetEtag
func (x *DeleteMaterializedViewRequest) GetEtag() stringfunc (*DeleteMaterializedViewRequest) GetName
func (x *DeleteMaterializedViewRequest) GetName() stringfunc (*DeleteMaterializedViewRequest) ProtoMessage
func (*DeleteMaterializedViewRequest) ProtoMessage()func (*DeleteMaterializedViewRequest) ProtoReflect
func (x *DeleteMaterializedViewRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteMaterializedViewRequest) Reset
func (x *DeleteMaterializedViewRequest) Reset()func (*DeleteMaterializedViewRequest) String
func (x *DeleteMaterializedViewRequest) String() stringDeleteSchemaBundleRequest
type DeleteSchemaBundleRequest struct {
// Required. The unique name of the schema bundle to delete.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The etag of the schema bundle.
// If this is provided, it must match the server's etag. The server
// returns an ABORTED error on a mismatched etag.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request for [DeleteSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSchemaBundle].
func (*DeleteSchemaBundleRequest) Descriptor
func (*DeleteSchemaBundleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSchemaBundleRequest.ProtoReflect.Descriptor instead.
func (*DeleteSchemaBundleRequest) GetEtag
func (x *DeleteSchemaBundleRequest) GetEtag() stringfunc (*DeleteSchemaBundleRequest) GetName
func (x *DeleteSchemaBundleRequest) GetName() stringfunc (*DeleteSchemaBundleRequest) ProtoMessage
func (*DeleteSchemaBundleRequest) ProtoMessage()func (*DeleteSchemaBundleRequest) ProtoReflect
func (x *DeleteSchemaBundleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSchemaBundleRequest) Reset
func (x *DeleteSchemaBundleRequest) Reset()func (*DeleteSchemaBundleRequest) String
func (x *DeleteSchemaBundleRequest) String() stringDeleteSnapshotRequest
type DeleteSnapshotRequest struct {
// Required. The unique name of the snapshot to be deleted.
// Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*DeleteSnapshotRequest) Descriptor
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotRequest) GetName
func (x *DeleteSnapshotRequest) GetName() stringfunc (*DeleteSnapshotRequest) ProtoMessage
func (*DeleteSnapshotRequest) ProtoMessage()func (*DeleteSnapshotRequest) ProtoReflect
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSnapshotRequest) Reset
func (x *DeleteSnapshotRequest) Reset()func (*DeleteSnapshotRequest) String
func (x *DeleteSnapshotRequest) String() stringDeleteTableRequest
type DeleteTableRequest struct {
// Required. The unique name of the table to be deleted.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
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() stringDropRowRangeRequest
type DropRowRangeRequest struct {
// Required. The unique name of the table on which to drop a range of rows.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Delete all rows or by prefix.
//
// Types that are assignable to Target:
//
// *DropRowRangeRequest_RowKeyPrefix
// *DropRowRangeRequest_DeleteAllDataFromTable
Target isDropRowRangeRequest_Target `protobuf_oneof:"target"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
func (*DropRowRangeRequest) Descriptor
func (*DropRowRangeRequest) Descriptor() ([]byte, []int)Deprecated: Use DropRowRangeRequest.ProtoReflect.Descriptor instead.
func (*DropRowRangeRequest) GetDeleteAllDataFromTable
func (x *DropRowRangeRequest) GetDeleteAllDataFromTable() boolfunc (*DropRowRangeRequest) GetName
func (x *DropRowRangeRequest) GetName() stringfunc (*DropRowRangeRequest) GetRowKeyPrefix
func (x *DropRowRangeRequest) GetRowKeyPrefix() []bytefunc (*DropRowRangeRequest) GetTarget
func (m *DropRowRangeRequest) GetTarget() isDropRowRangeRequest_Targetfunc (*DropRowRangeRequest) ProtoMessage
func (*DropRowRangeRequest) ProtoMessage()func (*DropRowRangeRequest) ProtoReflect
func (x *DropRowRangeRequest) ProtoReflect() protoreflect.Messagefunc (*DropRowRangeRequest) Reset
func (x *DropRowRangeRequest) Reset()func (*DropRowRangeRequest) String
func (x *DropRowRangeRequest) String() stringDropRowRangeRequest_DeleteAllDataFromTable
type DropRowRangeRequest_DeleteAllDataFromTable struct {
// Delete all rows in the table. Setting this to false is a no-op.
DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,proto3,oneof"`
}DropRowRangeRequest_RowKeyPrefix
type DropRowRangeRequest_RowKeyPrefix struct {
// Delete all rows that start with this row key prefix. Prefix cannot be
// zero length.
RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"`
}EncryptionInfo
type EncryptionInfo struct {
// Output only. The type of encryption used to protect this resource.
EncryptionType EncryptionInfo_EncryptionType `protobuf:"varint,3,opt,name=encryption_type,json=encryptionType,proto3,enum=google.bigtable.admin.v2.EncryptionInfo_EncryptionType" json:"encryption_type,omitempty"`
// Output only. The status of encrypt/decrypt calls on underlying data for
// this resource. Regardless of status, the existing data is always encrypted
// at rest.
EncryptionStatus *status.Status `protobuf:"bytes,4,opt,name=encryption_status,json=encryptionStatus,proto3" json:"encryption_status,omitempty"`
// Output only. The version of the Cloud KMS key specified in the parent
// cluster that is in use for the data underlying this table.
KmsKeyVersion string `protobuf:"bytes,2,opt,name=kms_key_version,json=kmsKeyVersion,proto3" json:"kms_key_version,omitempty"`
// contains filtered or unexported fields
}Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status.
func (*EncryptionInfo) Descriptor
func (*EncryptionInfo) Descriptor() ([]byte, []int)Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.
func (*EncryptionInfo) GetEncryptionStatus
func (x *EncryptionInfo) GetEncryptionStatus() *status.Statusfunc (*EncryptionInfo) GetEncryptionType
func (x *EncryptionInfo) GetEncryptionType() EncryptionInfo_EncryptionTypefunc (*EncryptionInfo) GetKmsKeyVersion
func (x *EncryptionInfo) GetKmsKeyVersion() stringfunc (*EncryptionInfo) ProtoMessage
func (*EncryptionInfo) ProtoMessage()func (*EncryptionInfo) ProtoReflect
func (x *EncryptionInfo) ProtoReflect() protoreflect.Messagefunc (*EncryptionInfo) Reset
func (x *EncryptionInfo) Reset()func (*EncryptionInfo) String
func (x *EncryptionInfo) String() stringEncryptionInfo_EncryptionType
type EncryptionInfo_EncryptionType int32Possible encryption types for a resource.
EncryptionInfo_ENCRYPTION_TYPE_UNSPECIFIED, EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION, EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION
const (
// Encryption type was not specified, though data at rest remains encrypted.
EncryptionInfo_ENCRYPTION_TYPE_UNSPECIFIED EncryptionInfo_EncryptionType = 0
// The data backing this resource is encrypted at rest with a key that is
// fully managed by Google. No key version or status will be populated.
// This is the default state.
EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION EncryptionInfo_EncryptionType = 1
// The data backing this resource is encrypted at rest with a key that is
// managed by the customer.
// The in-use version of the key and its status are populated for
// CMEK-protected tables.
// CMEK-protected backups are pinned to the key version that was in use at
// the time the backup was taken. This key version is populated but its
// status is not tracked and is reported as `UNKNOWN`.
EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION EncryptionInfo_EncryptionType = 2
)func (EncryptionInfo_EncryptionType) Descriptor
func (EncryptionInfo_EncryptionType) Descriptor() protoreflect.EnumDescriptorfunc (EncryptionInfo_EncryptionType) Enum
func (x EncryptionInfo_EncryptionType) Enum() *EncryptionInfo_EncryptionTypefunc (EncryptionInfo_EncryptionType) EnumDescriptor
func (EncryptionInfo_EncryptionType) EnumDescriptor() ([]byte, []int)Deprecated: Use EncryptionInfo_EncryptionType.Descriptor instead.
func (EncryptionInfo_EncryptionType) Number
func (x EncryptionInfo_EncryptionType) Number() protoreflect.EnumNumberfunc (EncryptionInfo_EncryptionType) String
func (x EncryptionInfo_EncryptionType) String() stringfunc (EncryptionInfo_EncryptionType) Type
func (EncryptionInfo_EncryptionType) Type() protoreflect.EnumTypeGcRule
type GcRule struct {
// Garbage collection rules.
//
// Types that are assignable to Rule:
//
// *GcRule_MaxNumVersions
// *GcRule_MaxAge
// *GcRule_Intersection_
// *GcRule_Union_
Rule isGcRule_Rule `protobuf_oneof:"rule"`
// contains filtered or unexported fields
}Rule for determining which cells to delete during garbage collection.
func (*GcRule) Descriptor
Deprecated: Use GcRule.ProtoReflect.Descriptor instead.
func (*GcRule) GetIntersection
func (x *GcRule) GetIntersection() *GcRule_Intersectionfunc (*GcRule) GetMaxAge
func (x *GcRule) GetMaxAge() *durationpb.Durationfunc (*GcRule) GetMaxNumVersions
func (*GcRule) GetRule
func (m *GcRule) GetRule() isGcRule_Rulefunc (*GcRule) GetUnion
func (x *GcRule) GetUnion() *GcRule_Unionfunc (*GcRule) ProtoMessage
func (*GcRule) ProtoMessage()func (*GcRule) ProtoReflect
func (x *GcRule) ProtoReflect() protoreflect.Messagefunc (*GcRule) Reset
func (x *GcRule) Reset()func (*GcRule) String
GcRule_Intersection
type GcRule_Intersection struct {
// Only delete cells which would be deleted by every element of `rules`.
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}A GcRule which deletes cells matching all of the given rules.
func (*GcRule_Intersection) Descriptor
func (*GcRule_Intersection) Descriptor() ([]byte, []int)Deprecated: Use GcRule_Intersection.ProtoReflect.Descriptor instead.
func (*GcRule_Intersection) GetRules
func (x *GcRule_Intersection) GetRules() []*GcRulefunc (*GcRule_Intersection) ProtoMessage
func (*GcRule_Intersection) ProtoMessage()func (*GcRule_Intersection) ProtoReflect
func (x *GcRule_Intersection) ProtoReflect() protoreflect.Messagefunc (*GcRule_Intersection) Reset
func (x *GcRule_Intersection) Reset()func (*GcRule_Intersection) String
func (x *GcRule_Intersection) String() stringGcRule_Intersection_
type GcRule_Intersection_ struct {
// Delete cells that would be deleted by every nested rule.
Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,proto3,oneof"`
}GcRule_MaxAge
type GcRule_MaxAge struct {
// Delete cells in a column older than the given age.
// Values must be at least one millisecond, and will be truncated to
// microsecond granularity.
MaxAge *durationpb.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"`
}GcRule_MaxNumVersions
type GcRule_MaxNumVersions struct {
// Delete all cells in a column except the most recent N.
MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,proto3,oneof"`
}GcRule_Union
type GcRule_Union struct {
// Delete cells which would be deleted by any element of `rules`.
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}A GcRule which deletes cells matching any of the given rules.
func (*GcRule_Union) Descriptor
func (*GcRule_Union) Descriptor() ([]byte, []int)Deprecated: Use GcRule_Union.ProtoReflect.Descriptor instead.
func (*GcRule_Union) GetRules
func (x *GcRule_Union) GetRules() []*GcRulefunc (*GcRule_Union) ProtoMessage
func (*GcRule_Union) ProtoMessage()func (*GcRule_Union) ProtoReflect
func (x *GcRule_Union) ProtoReflect() protoreflect.Messagefunc (*GcRule_Union) Reset
func (x *GcRule_Union) Reset()func (*GcRule_Union) String
func (x *GcRule_Union) String() stringGcRule_Union_
type GcRule_Union_ struct {
// Delete cells that would be deleted by any nested rule.
Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,proto3,oneof"`
}GenerateConsistencyTokenRequest
type GenerateConsistencyTokenRequest struct {
// Required. The unique name of the Table for which to create a consistency
// token. Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
func (*GenerateConsistencyTokenRequest) Descriptor
func (*GenerateConsistencyTokenRequest) Descriptor() ([]byte, []int)Deprecated: Use GenerateConsistencyTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateConsistencyTokenRequest) GetName
func (x *GenerateConsistencyTokenRequest) GetName() stringfunc (*GenerateConsistencyTokenRequest) ProtoMessage
func (*GenerateConsistencyTokenRequest) ProtoMessage()func (*GenerateConsistencyTokenRequest) ProtoReflect
func (x *GenerateConsistencyTokenRequest) ProtoReflect() protoreflect.Messagefunc (*GenerateConsistencyTokenRequest) Reset
func (x *GenerateConsistencyTokenRequest) Reset()func (*GenerateConsistencyTokenRequest) String
func (x *GenerateConsistencyTokenRequest) String() stringGenerateConsistencyTokenResponse
type GenerateConsistencyTokenResponse struct {
// The generated consistency token.
ConsistencyToken string `protobuf:"bytes,1,opt,name=consistency_token,json=consistencyToken,proto3" json:"consistency_token,omitempty"`
// contains filtered or unexported fields
}Response message for [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
func (*GenerateConsistencyTokenResponse) Descriptor
func (*GenerateConsistencyTokenResponse) Descriptor() ([]byte, []int)Deprecated: Use GenerateConsistencyTokenResponse.ProtoReflect.Descriptor instead.
func (*GenerateConsistencyTokenResponse) GetConsistencyToken
func (x *GenerateConsistencyTokenResponse) GetConsistencyToken() stringfunc (*GenerateConsistencyTokenResponse) ProtoMessage
func (*GenerateConsistencyTokenResponse) ProtoMessage()func (*GenerateConsistencyTokenResponse) ProtoReflect
func (x *GenerateConsistencyTokenResponse) ProtoReflect() protoreflect.Messagefunc (*GenerateConsistencyTokenResponse) Reset
func (x *GenerateConsistencyTokenResponse) Reset()func (*GenerateConsistencyTokenResponse) String
func (x *GenerateConsistencyTokenResponse) String() stringGetAppProfileRequest
type GetAppProfileRequest struct {
// Required. The unique name of the requested app profile. Values are of the
// form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.GetAppProfile.
func (*GetAppProfileRequest) Descriptor
func (*GetAppProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAppProfileRequest.ProtoReflect.Descriptor instead.
func (*GetAppProfileRequest) GetName
func (x *GetAppProfileRequest) GetName() stringfunc (*GetAppProfileRequest) ProtoMessage
func (*GetAppProfileRequest) ProtoMessage()func (*GetAppProfileRequest) ProtoReflect
func (x *GetAppProfileRequest) ProtoReflect() protoreflect.Messagefunc (*GetAppProfileRequest) Reset
func (x *GetAppProfileRequest) Reset()func (*GetAppProfileRequest) String
func (x *GetAppProfileRequest) String() stringGetAuthorizedViewRequest
type GetAuthorizedViewRequest struct {
// Required. The unique name of the requested AuthorizedView.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The resource_view to be applied to the returned AuthorizedView's
// fields. Default to BASIC.
View AuthorizedView_ResponseView `protobuf:"varint,2,opt,name=view,proto3,enum=google.bigtable.admin.v2.AuthorizedView_ResponseView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView]
func (*GetAuthorizedViewRequest) Descriptor
func (*GetAuthorizedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAuthorizedViewRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorizedViewRequest) GetName
func (x *GetAuthorizedViewRequest) GetName() stringfunc (*GetAuthorizedViewRequest) GetView
func (x *GetAuthorizedViewRequest) GetView() AuthorizedView_ResponseViewfunc (*GetAuthorizedViewRequest) ProtoMessage
func (*GetAuthorizedViewRequest) ProtoMessage()func (*GetAuthorizedViewRequest) ProtoReflect
func (x *GetAuthorizedViewRequest) ProtoReflect() protoreflect.Messagefunc (*GetAuthorizedViewRequest) Reset
func (x *GetAuthorizedViewRequest) Reset()func (*GetAuthorizedViewRequest) String
func (x *GetAuthorizedViewRequest) String() stringGetBackupRequest
type GetBackupRequest struct {
// Required. Name of the backup.
// Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
func (*GetBackupRequest) Descriptor
func (*GetBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName
func (x *GetBackupRequest) GetName() stringfunc (*GetBackupRequest) ProtoMessage
func (*GetBackupRequest) ProtoMessage()func (*GetBackupRequest) ProtoReflect
func (x *GetBackupRequest) ProtoReflect() protoreflect.Messagefunc (*GetBackupRequest) Reset
func (x *GetBackupRequest) Reset()func (*GetBackupRequest) String
func (x *GetBackupRequest) String() stringGetClusterRequest
type GetClusterRequest struct {
// Required. The unique name of the requested cluster. Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.GetCluster.
func (*GetClusterRequest) Descriptor
func (*GetClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetName
func (x *GetClusterRequest) GetName() stringfunc (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Messagefunc (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()func (*GetClusterRequest) String
func (x *GetClusterRequest) String() stringGetInstanceRequest
type GetInstanceRequest struct {
// Required. The unique name of the requested instance. Values are of the form
// `projects/{project}/instances/{instance}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.GetInstance.
func (*GetInstanceRequest) Descriptor
func (*GetInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName
func (x *GetInstanceRequest) GetName() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringGetLogicalViewRequest
type GetLogicalViewRequest struct {
// Required. The unique name of the requested logical view. Values are of the
// form `projects/{project}/instances/{instance}/logicalViews/{logical_view}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.GetLogicalView.
func (*GetLogicalViewRequest) Descriptor
func (*GetLogicalViewRequest) Descriptor() ([]byte, []int)Deprecated: Use GetLogicalViewRequest.ProtoReflect.Descriptor instead.
func (*GetLogicalViewRequest) GetName
func (x *GetLogicalViewRequest) GetName() stringfunc (*GetLogicalViewRequest) ProtoMessage
func (*GetLogicalViewRequest) ProtoMessage()func (*GetLogicalViewRequest) ProtoReflect
func (x *GetLogicalViewRequest) ProtoReflect() protoreflect.Messagefunc (*GetLogicalViewRequest) Reset
func (x *GetLogicalViewRequest) Reset()func (*GetLogicalViewRequest) String
func (x *GetLogicalViewRequest) String() stringGetMaterializedViewRequest
type GetMaterializedViewRequest struct {
// Required. The unique name of the requested materialized view. Values are of
// the form
// `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.GetMaterializedView.
func (*GetMaterializedViewRequest) Descriptor
func (*GetMaterializedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMaterializedViewRequest.ProtoReflect.Descriptor instead.
func (*GetMaterializedViewRequest) GetName
func (x *GetMaterializedViewRequest) GetName() stringfunc (*GetMaterializedViewRequest) ProtoMessage
func (*GetMaterializedViewRequest) ProtoMessage()func (*GetMaterializedViewRequest) ProtoReflect
func (x *GetMaterializedViewRequest) ProtoReflect() protoreflect.Messagefunc (*GetMaterializedViewRequest) Reset
func (x *GetMaterializedViewRequest) Reset()func (*GetMaterializedViewRequest) String
func (x *GetMaterializedViewRequest) String() stringGetSchemaBundleRequest
type GetSchemaBundleRequest struct {
// Required. The unique name of the schema bundle to retrieve.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [GetSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.GetSchemaBundle].
func (*GetSchemaBundleRequest) Descriptor
func (*GetSchemaBundleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSchemaBundleRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaBundleRequest) GetName
func (x *GetSchemaBundleRequest) GetName() stringfunc (*GetSchemaBundleRequest) ProtoMessage
func (*GetSchemaBundleRequest) ProtoMessage()func (*GetSchemaBundleRequest) ProtoReflect
func (x *GetSchemaBundleRequest) ProtoReflect() protoreflect.Messagefunc (*GetSchemaBundleRequest) Reset
func (x *GetSchemaBundleRequest) Reset()func (*GetSchemaBundleRequest) String
func (x *GetSchemaBundleRequest) String() stringGetSnapshotRequest
type GetSnapshotRequest struct {
// Required. The unique name of the requested snapshot.
// Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*GetSnapshotRequest) Descriptor
func (*GetSnapshotRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotRequest) GetName
func (x *GetSnapshotRequest) GetName() stringfunc (*GetSnapshotRequest) ProtoMessage
func (*GetSnapshotRequest) ProtoMessage()func (*GetSnapshotRequest) ProtoReflect
func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Messagefunc (*GetSnapshotRequest) Reset
func (x *GetSnapshotRequest) Reset()func (*GetSnapshotRequest) String
func (x *GetSnapshotRequest) String() stringGetTableRequest
type GetTableRequest struct {
// Required. The unique name of the requested table.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The view to be applied to the returned table's fields.
// Defaults to `SCHEMA_VIEW` if unspecified.
View Table_View `protobuf:"varint,2,opt,name=view,proto3,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
func (*GetTableRequest) Descriptor
func (*GetTableRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTableRequest.ProtoReflect.Descriptor instead.
func (*GetTableRequest) GetName
func (x *GetTableRequest) GetName() stringfunc (*GetTableRequest) GetView
func (x *GetTableRequest) GetView() Table_Viewfunc (*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() stringHotTablet
type HotTablet struct {
// The unique name of the hot tablet. Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Name of the table that contains the tablet. Values are of the form
// `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
// Output only. The start time of the hot tablet.
StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The end time of the hot tablet.
EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Tablet Start Key (inclusive).
StartKey string `protobuf:"bytes,5,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"`
// Tablet End Key (inclusive).
EndKey string `protobuf:"bytes,6,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"`
// Output only. The average CPU usage spent by a node on this tablet over the
// start_time to end_time time range. The percentage is the amount of CPU used
// by the node to serve the tablet, from 0% (tablet was not interacted with)
// to 100% (the node spent all cycles serving the hot tablet).
NodeCpuUsagePercent float32 `protobuf:"fixed32,7,opt,name=node_cpu_usage_percent,json=nodeCpuUsagePercent,proto3" json:"node_cpu_usage_percent,omitempty"`
// contains filtered or unexported fields
}A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.
func (*HotTablet) Descriptor
Deprecated: Use HotTablet.ProtoReflect.Descriptor instead.
func (*HotTablet) GetEndKey
func (*HotTablet) GetEndTime
func (x *HotTablet) GetEndTime() *timestamppb.Timestampfunc (*HotTablet) GetName
func (*HotTablet) GetNodeCpuUsagePercent
func (*HotTablet) GetStartKey
func (*HotTablet) GetStartTime
func (x *HotTablet) GetStartTime() *timestamppb.Timestampfunc (*HotTablet) GetTableName
func (*HotTablet) ProtoMessage
func (*HotTablet) ProtoMessage()func (*HotTablet) ProtoReflect
func (x *HotTablet) ProtoReflect() protoreflect.Messagefunc (*HotTablet) Reset
func (x *HotTablet) Reset()func (*HotTablet) String
Instance
type Instance struct {
// The unique name of the instance. Values are of the form
// `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The descriptive name for this instance as it appears in UIs.
// Can be changed at any time, but should be kept globally unique
// to avoid confusion.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The current state of the instance.
State Instance_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"`
// The type of the instance. Defaults to `PRODUCTION`.
Type Instance_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.bigtable.admin.v2.Instance_Type" json:"type,omitempty"`
// Labels are a flexible and lightweight mechanism for organizing cloud
// resources into groups that reflect a customer's organizational needs and
// deployment strategies. They can be used to filter resources and aggregate
// metrics.
//
// - Label keys must be between 1 and 63 characters long and must conform to
// the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
// - Label values must be between 0 and 63 characters long and must conform to
// the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
// - No more than 64 labels can be associated with a given resource.
// - Keys and values must both be under 128 bytes.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. A commit timestamp representing when this Instance was
// created. For instances created before this field was added (August 2021),
// this value is `seconds: 0, nanos: 1`.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzs *bool `protobuf:"varint,8,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzi *bool `protobuf:"varint,11,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
// Optional. Input only. Immutable. Tag keys/values directly bound to this
// resource. For example:
// - "123/environment": "production",
// - "123/costCenter": "marketing"
//
// Tags and Labels (above) are both used to bind metadata to resources, with
// different use-cases. See
// https://cloud.google.com/resource-manager/docs/tags/tags-overview for an
// in-depth overview on the difference between tags and labels.
Tags map[string]string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and the resources that serve them. All tables in an instance are served from all [Clusters][google.bigtable.admin.v2.Cluster] in the instance.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestampfunc (*Instance) GetDisplayName
func (*Instance) GetLabels
func (*Instance) GetName
func (*Instance) GetSatisfiesPzi
func (*Instance) GetSatisfiesPzs
func (*Instance) GetState
func (x *Instance) GetState() Instance_Statefunc (*Instance) GetTags
func (*Instance) GetType
func (x *Instance) GetType() Instance_Typefunc (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*Instance) Reset
func (x *Instance) Reset()func (*Instance) String
Instance_State
type Instance_State int32Possible states of an instance.
Instance_STATE_NOT_KNOWN, Instance_READY, Instance_CREATING
const (
// The state of the instance could not be determined.
Instance_STATE_NOT_KNOWN Instance_State = 0
// The instance has been successfully created and can serve requests
// to its tables.
Instance_READY Instance_State = 1
// The instance is currently being created, and may be destroyed
// if the creation process encounters an error.
Instance_CREATING Instance_State = 2
)func (Instance_State) Descriptor
func (Instance_State) Descriptor() protoreflect.EnumDescriptorfunc (Instance_State) Enum
func (x Instance_State) Enum() *Instance_Statefunc (Instance_State) EnumDescriptor
func (Instance_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number
func (x Instance_State) Number() protoreflect.EnumNumberfunc (Instance_State) String
func (x Instance_State) String() stringfunc (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumTypeInstance_Type
type Instance_Type int32The type of the instance.
Instance_TYPE_UNSPECIFIED, Instance_PRODUCTION, Instance_DEVELOPMENT
const (
// The type of the instance is unspecified. If set when creating an
// instance, a `PRODUCTION` instance will be created. If set when updating
// an instance, the type will be left unchanged.
Instance_TYPE_UNSPECIFIED Instance_Type = 0
// An instance meant for production use. `serve_nodes` must be set
// on the cluster.
Instance_PRODUCTION Instance_Type = 1
// DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
// a higher minimum node count than DEVELOPMENT.
Instance_DEVELOPMENT Instance_Type = 2
)func (Instance_Type) Descriptor
func (Instance_Type) Descriptor() protoreflect.EnumDescriptorfunc (Instance_Type) Enum
func (x Instance_Type) Enum() *Instance_Typefunc (Instance_Type) EnumDescriptor
func (Instance_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_Type.Descriptor instead.
func (Instance_Type) Number
func (x Instance_Type) Number() protoreflect.EnumNumberfunc (Instance_Type) String
func (x Instance_Type) String() stringfunc (Instance_Type) Type
func (Instance_Type) Type() protoreflect.EnumTypeListAppProfilesRequest
type ListAppProfilesRequest struct {
// Required. The unique name of the instance for which a list of app profiles
// is requested. Values are of the form
// `projects/{project}/instances/{instance}`.
// Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
// e.g., `projects/myproject/instances/-`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of results per page.
//
// A page_size of zero lets the server choose the number of items to return.
// A page_size which is strictly positive will return at most that many items.
// A negative page_size will cause an error.
//
// Following the first request, subsequent paginated calls are not required
// to pass a page_size. If a page_size is set in subsequent calls, it must
// match the page_size given in the first request.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value of `next_page_token` returned by a previous call.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.ListAppProfiles.
func (*ListAppProfilesRequest) Descriptor
func (*ListAppProfilesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAppProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListAppProfilesRequest) GetPageSize
func (x *ListAppProfilesRequest) GetPageSize() int32func (*ListAppProfilesRequest) GetPageToken
func (x *ListAppProfilesRequest) GetPageToken() stringfunc (*ListAppProfilesRequest) GetParent
func (x *ListAppProfilesRequest) GetParent() stringfunc (*ListAppProfilesRequest) ProtoMessage
func (*ListAppProfilesRequest) ProtoMessage()func (*ListAppProfilesRequest) ProtoReflect
func (x *ListAppProfilesRequest) ProtoReflect() protoreflect.Messagefunc (*ListAppProfilesRequest) Reset
func (x *ListAppProfilesRequest) Reset()func (*ListAppProfilesRequest) String
func (x *ListAppProfilesRequest) String() stringListAppProfilesResponse
type ListAppProfilesResponse struct {
// The list of requested app profiles.
AppProfiles []*AppProfile `protobuf:"bytes,1,rep,name=app_profiles,json=appProfiles,proto3" json:"app_profiles,omitempty"`
// Set if not all app profiles could be returned in a single response.
// Pass this value to `page_token` in another request to get the next
// page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations from which AppProfile information could not be retrieved,
// due to an outage or some other transient condition.
// AppProfiles from these locations may be missing from `app_profiles`.
// Values are of the form `projects/Response message for BigtableInstanceAdmin.ListAppProfiles.
func (*ListAppProfilesResponse) Descriptor
func (*ListAppProfilesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAppProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListAppProfilesResponse) GetAppProfiles
func (x *ListAppProfilesResponse) GetAppProfiles() []*AppProfilefunc (*ListAppProfilesResponse) GetFailedLocations
func (x *ListAppProfilesResponse) GetFailedLocations() []stringfunc (*ListAppProfilesResponse) GetNextPageToken
func (x *ListAppProfilesResponse) GetNextPageToken() stringfunc (*ListAppProfilesResponse) ProtoMessage
func (*ListAppProfilesResponse) ProtoMessage()func (*ListAppProfilesResponse) ProtoReflect
func (x *ListAppProfilesResponse) ProtoReflect() protoreflect.Messagefunc (*ListAppProfilesResponse) Reset
func (x *ListAppProfilesResponse) Reset()func (*ListAppProfilesResponse) String
func (x *ListAppProfilesResponse) String() stringListAuthorizedViewsRequest
type ListAuthorizedViewsRequest struct {
// Required. The unique name of the table for which AuthorizedViews should be
// listed. Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of results per page.
//
// A page_size of zero lets the server choose the number of items to return.
// A page_size which is strictly positive will return at most that many items.
// A negative page_size will cause an error.
//
// Following the first request, subsequent paginated calls are not required
// to pass a page_size. If a page_size is set in subsequent calls, it must
// match the page_size given in the first request.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value of `next_page_token` returned by a previous call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The resource_view to be applied to the returned AuthorizedViews'
// fields. Default to NAME_ONLY.
View AuthorizedView_ResponseView `protobuf:"varint,4,opt,name=view,proto3,enum=google.bigtable.admin.v2.AuthorizedView_ResponseView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews][google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews]
func (*ListAuthorizedViewsRequest) Descriptor
func (*ListAuthorizedViewsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAuthorizedViewsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthorizedViewsRequest) GetPageSize
func (x *ListAuthorizedViewsRequest) GetPageSize() int32func (*ListAuthorizedViewsRequest) GetPageToken
func (x *ListAuthorizedViewsRequest) GetPageToken() stringfunc (*ListAuthorizedViewsRequest) GetParent
func (x *ListAuthorizedViewsRequest) GetParent() stringfunc (*ListAuthorizedViewsRequest) GetView
func (x *ListAuthorizedViewsRequest) GetView() AuthorizedView_ResponseViewfunc (*ListAuthorizedViewsRequest) ProtoMessage
func (*ListAuthorizedViewsRequest) ProtoMessage()func (*ListAuthorizedViewsRequest) ProtoReflect
func (x *ListAuthorizedViewsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizedViewsRequest) Reset
func (x *ListAuthorizedViewsRequest) Reset()func (*ListAuthorizedViewsRequest) String
func (x *ListAuthorizedViewsRequest) String() stringListAuthorizedViewsResponse
type ListAuthorizedViewsResponse struct {
// The AuthorizedViews present in the requested table.
AuthorizedViews []*AuthorizedView `protobuf:"bytes,1,rep,name=authorized_views,json=authorizedViews,proto3" json:"authorized_views,omitempty"`
// Set if not all tables could be returned in a single response.
// Pass this value to `page_token` in another request to get the next
// page of results.
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 [google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews][google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews]
func (*ListAuthorizedViewsResponse) Descriptor
func (*ListAuthorizedViewsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAuthorizedViewsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthorizedViewsResponse) GetAuthorizedViews
func (x *ListAuthorizedViewsResponse) GetAuthorizedViews() []*AuthorizedViewfunc (*ListAuthorizedViewsResponse) GetNextPageToken
func (x *ListAuthorizedViewsResponse) GetNextPageToken() stringfunc (*ListAuthorizedViewsResponse) ProtoMessage
func (*ListAuthorizedViewsResponse) ProtoMessage()func (*ListAuthorizedViewsResponse) ProtoReflect
func (x *ListAuthorizedViewsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAuthorizedViewsResponse) Reset
func (x *ListAuthorizedViewsResponse) Reset()func (*ListAuthorizedViewsResponse) String
func (x *ListAuthorizedViewsResponse) String() stringListBackupsRequest
type ListBackupsRequest struct {
// Required. The cluster to list backups from. Values are of the
// form `projects/{project}/instances/{instance}/clusters/{cluster}`.
// Use `{cluster} = '-'` to list backups for all clusters in an instance,
// e.g., `projects/{project}/instances/{instance}/clusters/-`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// A filter expression that filters backups listed in the response.
// The expression must specify the field name, a comparison operator,
// and the value that you want to use for filtering. The value must be a
// string, a number, or a boolean. The comparison operator must be
// <,>, <=,>=, !=, =, or :. Colon ':' represents a HAS operator which is
// roughly synonymous with equality. Filter rules are case insensitive.
//
// The fields eligible for filtering are:
//
// * `name`
// * `source_table`
// * `state`
// * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
// * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
// * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
// * `size_bytes`
//
// To filter on multiple expressions, provide each separate expression within
// parentheses. By default, each expression is an AND expression. However,
// you can include AND, OR, and NOT expressions explicitly.
//
// Some examples of using filters are:
//
// - `name:"exact"` --> The backup's name is the string "exact".
// - `name:howl` --> The backup's name contains the string "howl".
// - `source_table:prod`
// --> The source_table's name contains the string "prod".
// - `state:CREATING` --> The backup is pending creation.
// - `state:READY` --> The backup is fully created and ready for use.
// - `(name:howl) AND (start_time < \"2018-03-28t14:50:00z\")`="" --=""> The backup name contains the string "howl" and start_time
// of the backup is before 2018-03-28T14:50:00Z.
// - `size_bytes > 10000000000` --> The backup's size is greater than 10GB
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// An expression for specifying the sort order of the results of the request.
// The string value should specify one or more fields in
// [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at
// https://aip.dev/132#ordering.
//
// Fields supported are:
//
// * name
// * source_table
// * expire_time
// * start_time
// * end_time
// * size_bytes
// * state
//
// For example, "start_time". The default sorting order is ascending.
// To specify descending order for the field, a suffix " desc" should
// be appended to the field name. For example, "start_time desc".
// Redundant space characters in the syntax are insigificant.
//
// If order_by is empty, results will be sorted by `start_time` in descending
// order starting from the most recently created backup.
OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Number of backups to be returned in the response. If 0 or
// less, defaults to the server's maximum allowed page size.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// If non-empty, `page_token` should contain a
// [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
// from a previous
// [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the
// same `parent` and with the same `filter`.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}The request for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
func (*ListBackupsRequest) Descriptor
func (*ListBackupsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetFilter
func (x *ListBackupsRequest) GetFilter() stringfunc (*ListBackupsRequest) GetOrderBy
func (x *ListBackupsRequest) GetOrderBy() stringfunc (*ListBackupsRequest) GetPageSize
func (x *ListBackupsRequest) GetPageSize() int32func (*ListBackupsRequest) GetPageToken
func (x *ListBackupsRequest) GetPageToken() stringfunc (*ListBackupsRequest) GetParent
func (x *ListBackupsRequest) GetParent() stringfunc (*ListBackupsRequest) ProtoMessage
func (*ListBackupsRequest) ProtoMessage()func (*ListBackupsRequest) ProtoReflect
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Messagefunc (*ListBackupsRequest) Reset
func (x *ListBackupsRequest) Reset()func (*ListBackupsRequest) String
func (x *ListBackupsRequest) String() stringListBackupsResponse
type ListBackupsResponse struct {
// The list of matching backups.
Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
// `next_page_token` can be sent in a subsequent
// [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
// to fetch more of the matching backups.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
func (*ListBackupsResponse) Descriptor
func (*ListBackupsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups
func (x *ListBackupsResponse) GetBackups() []*Backupfunc (*ListBackupsResponse) GetNextPageToken
func (x *ListBackupsResponse) GetNextPageToken() stringfunc (*ListBackupsResponse) ProtoMessage
func (*ListBackupsResponse) ProtoMessage()func (*ListBackupsResponse) ProtoReflect
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Messagefunc (*ListBackupsResponse) Reset
func (x *ListBackupsResponse) Reset()func (*ListBackupsResponse) String
func (x *ListBackupsResponse) String() stringListClustersRequest
type ListClustersRequest struct {
// Required. The unique name of the instance for which a list of clusters is
// requested. Values are of the form
// `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
// Clusters for all Instances in a project, e.g.,
// `projects/myproject/instances/-`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// DEPRECATED: This field is unused and ignored.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.ListClusters.
func (*ListClustersRequest) Descriptor
func (*ListClustersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) GetPageToken
func (x *ListClustersRequest) GetPageToken() stringfunc (*ListClustersRequest) GetParent
func (x *ListClustersRequest) GetParent() stringfunc (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Messagefunc (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()func (*ListClustersRequest) String
func (x *ListClustersRequest) String() stringListClustersResponse
type ListClustersResponse struct {
// The list of requested clusters.
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
// Locations from which Cluster information could not be retrieved,
// due to an outage or some other transient condition.
// Clusters from these locations may be missing from `clusters`,
// or may only have partial information returned.
// Values are of the form `projects/Response message for BigtableInstanceAdmin.ListClusters.
func (*ListClustersResponse) Descriptor
func (*ListClustersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters
func (x *ListClustersResponse) GetClusters() []*Clusterfunc (*ListClustersResponse) GetFailedLocations
func (x *ListClustersResponse) GetFailedLocations() []stringfunc (*ListClustersResponse) GetNextPageToken
func (x *ListClustersResponse) GetNextPageToken() stringfunc (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Messagefunc (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()func (*ListClustersResponse) String
func (x *ListClustersResponse) String() stringListHotTabletsRequest
type ListHotTabletsRequest struct {
// Required. The cluster name to list hot tablets.
// Value is in the following form:
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The start time to list hot tablets. The hot tablets in the response will
// have start times between the requested start time and end time. Start time
// defaults to Now if it is unset, and end time defaults to Now - 24 hours if
// it is unset. The start time should be less than the end time, and the
// maximum allowed time range between start time and end time is 48 hours.
// Start time and end time should have values between Now and Now - 14 days.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The end time to list hot tablets.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Maximum number of results per page.
//
// A page_size that is empty or zero lets the server choose the number of
// items to return. A page_size which is strictly positive will return at most
// that many items. A negative page_size will cause an error.
//
// Following the first request, subsequent paginated calls do not need a
// page_size field. If a page_size is set in subsequent calls, it must match
// the page_size given in the first request.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value of `next_page_token` returned by a previous call.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.ListHotTablets.
func (*ListHotTabletsRequest) Descriptor
func (*ListHotTabletsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListHotTabletsRequest.ProtoReflect.Descriptor instead.
func (*ListHotTabletsRequest) GetEndTime
func (x *ListHotTabletsRequest) GetEndTime() *timestamppb.Timestampfunc (*ListHotTabletsRequest) GetPageSize
func (x *ListHotTabletsRequest) GetPageSize() int32func (*ListHotTabletsRequest) GetPageToken
func (x *ListHotTabletsRequest) GetPageToken() stringfunc (*ListHotTabletsRequest) GetParent
func (x *ListHotTabletsRequest) GetParent() stringfunc (*ListHotTabletsRequest) GetStartTime
func (x *ListHotTabletsRequest) GetStartTime() *timestamppb.Timestampfunc (*ListHotTabletsRequest) ProtoMessage
func (*ListHotTabletsRequest) ProtoMessage()func (*ListHotTabletsRequest) ProtoReflect
func (x *ListHotTabletsRequest) ProtoReflect() protoreflect.Messagefunc (*ListHotTabletsRequest) Reset
func (x *ListHotTabletsRequest) Reset()func (*ListHotTabletsRequest) String
func (x *ListHotTabletsRequest) String() stringListHotTabletsResponse
type ListHotTabletsResponse struct {
// List of hot tablets in the tables of the requested cluster that fall
// within the requested time range. Hot tablets are ordered by node cpu usage
// percent. If there are multiple hot tablets that correspond to the same
// tablet within a 15-minute interval, only the hot tablet with the highest
// node cpu usage will be included in the response.
HotTablets []*HotTablet `protobuf:"bytes,1,rep,name=hot_tablets,json=hotTablets,proto3" json:"hot_tablets,omitempty"`
// Set if not all hot tablets could be returned in a single response.
// Pass this value to `page_token` in another request to get the next
// page of results.
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 BigtableInstanceAdmin.ListHotTablets.
func (*ListHotTabletsResponse) Descriptor
func (*ListHotTabletsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListHotTabletsResponse.ProtoReflect.Descriptor instead.
func (*ListHotTabletsResponse) GetHotTablets
func (x *ListHotTabletsResponse) GetHotTablets() []*HotTabletfunc (*ListHotTabletsResponse) GetNextPageToken
func (x *ListHotTabletsResponse) GetNextPageToken() stringfunc (*ListHotTabletsResponse) ProtoMessage
func (*ListHotTabletsResponse) ProtoMessage()func (*ListHotTabletsResponse) ProtoReflect
func (x *ListHotTabletsResponse) ProtoReflect() protoreflect.Messagefunc (*ListHotTabletsResponse) Reset
func (x *ListHotTabletsResponse) Reset()func (*ListHotTabletsResponse) String
func (x *ListHotTabletsResponse) String() stringListInstancesRequest
type ListInstancesRequest struct {
// Required. The unique name of the project for which a list of instances is
// requested. Values are of the form `projects/{project}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// DEPRECATED: This field is unused and ignored.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.ListInstances.
func (*ListInstancesRequest) Descriptor
func (*ListInstancesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() stringfunc (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() stringfunc (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() stringListInstancesResponse
type ListInstancesResponse struct {
// The list of requested instances.
Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// Locations from which Instance information could not be retrieved,
// due to an outage or some other transient condition.
// Instances whose Clusters are all in one of the failed locations
// may be missing from `instances`, and Instances with at least one
// Cluster in a failed location may only have partial information returned.
// Values are of the form `projects/Response message for BigtableInstanceAdmin.ListInstances.
func (*ListInstancesResponse) Descriptor
func (*ListInstancesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetFailedLocations
func (x *ListInstancesResponse) GetFailedLocations() []stringfunc (*ListInstancesResponse) GetInstances
func (x *ListInstancesResponse) GetInstances() []*Instancefunc (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() stringfunc (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() stringListLogicalViewsRequest
type ListLogicalViewsRequest struct {
// Required. The unique name of the instance for which the list of logical
// views is requested. Values are of the form
// `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of logical views to return. The service may
// return fewer than this value
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListLogicalViews` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListLogicalViews` 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 BigtableInstanceAdmin.ListLogicalViews.
func (*ListLogicalViewsRequest) Descriptor
func (*ListLogicalViewsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListLogicalViewsRequest.ProtoReflect.Descriptor instead.
func (*ListLogicalViewsRequest) GetPageSize
func (x *ListLogicalViewsRequest) GetPageSize() int32func (*ListLogicalViewsRequest) GetPageToken
func (x *ListLogicalViewsRequest) GetPageToken() stringfunc (*ListLogicalViewsRequest) GetParent
func (x *ListLogicalViewsRequest) GetParent() stringfunc (*ListLogicalViewsRequest) ProtoMessage
func (*ListLogicalViewsRequest) ProtoMessage()func (*ListLogicalViewsRequest) ProtoReflect
func (x *ListLogicalViewsRequest) ProtoReflect() protoreflect.Messagefunc (*ListLogicalViewsRequest) Reset
func (x *ListLogicalViewsRequest) Reset()func (*ListLogicalViewsRequest) String
func (x *ListLogicalViewsRequest) String() stringListLogicalViewsResponse
type ListLogicalViewsResponse struct {
// The list of requested logical views.
LogicalViews []*LogicalView `protobuf:"bytes,1,rep,name=logical_views,json=logicalViews,proto3" json:"logical_views,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 BigtableInstanceAdmin.ListLogicalViews.
func (*ListLogicalViewsResponse) Descriptor
func (*ListLogicalViewsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListLogicalViewsResponse.ProtoReflect.Descriptor instead.
func (*ListLogicalViewsResponse) GetLogicalViews
func (x *ListLogicalViewsResponse) GetLogicalViews() []*LogicalViewfunc (*ListLogicalViewsResponse) GetNextPageToken
func (x *ListLogicalViewsResponse) GetNextPageToken() stringfunc (*ListLogicalViewsResponse) ProtoMessage
func (*ListLogicalViewsResponse) ProtoMessage()func (*ListLogicalViewsResponse) ProtoReflect
func (x *ListLogicalViewsResponse) ProtoReflect() protoreflect.Messagefunc (*ListLogicalViewsResponse) Reset
func (x *ListLogicalViewsResponse) Reset()func (*ListLogicalViewsResponse) String
func (x *ListLogicalViewsResponse) String() stringListMaterializedViewsRequest
type ListMaterializedViewsRequest struct {
// Required. The unique name of the instance for which the list of
// materialized views is requested. Values are of the form
// `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of materialized views to return. The service
// may return fewer than this value
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListMaterializedViews`
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListMaterializedViews`
// 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 BigtableInstanceAdmin.ListMaterializedViews.
func (*ListMaterializedViewsRequest) Descriptor
func (*ListMaterializedViewsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMaterializedViewsRequest.ProtoReflect.Descriptor instead.
func (*ListMaterializedViewsRequest) GetPageSize
func (x *ListMaterializedViewsRequest) GetPageSize() int32func (*ListMaterializedViewsRequest) GetPageToken
func (x *ListMaterializedViewsRequest) GetPageToken() stringfunc (*ListMaterializedViewsRequest) GetParent
func (x *ListMaterializedViewsRequest) GetParent() stringfunc (*ListMaterializedViewsRequest) ProtoMessage
func (*ListMaterializedViewsRequest) ProtoMessage()func (*ListMaterializedViewsRequest) ProtoReflect
func (x *ListMaterializedViewsRequest) ProtoReflect() protoreflect.Messagefunc (*ListMaterializedViewsRequest) Reset
func (x *ListMaterializedViewsRequest) Reset()func (*ListMaterializedViewsRequest) String
func (x *ListMaterializedViewsRequest) String() stringListMaterializedViewsResponse
type ListMaterializedViewsResponse struct {
// The list of requested materialized views.
MaterializedViews []*MaterializedView `protobuf:"bytes,1,rep,name=materialized_views,json=materializedViews,proto3" json:"materialized_views,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 BigtableInstanceAdmin.ListMaterializedViews.
func (*ListMaterializedViewsResponse) Descriptor
func (*ListMaterializedViewsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMaterializedViewsResponse.ProtoReflect.Descriptor instead.
func (*ListMaterializedViewsResponse) GetMaterializedViews
func (x *ListMaterializedViewsResponse) GetMaterializedViews() []*MaterializedViewfunc (*ListMaterializedViewsResponse) GetNextPageToken
func (x *ListMaterializedViewsResponse) GetNextPageToken() stringfunc (*ListMaterializedViewsResponse) ProtoMessage
func (*ListMaterializedViewsResponse) ProtoMessage()func (*ListMaterializedViewsResponse) ProtoReflect
func (x *ListMaterializedViewsResponse) ProtoReflect() protoreflect.Messagefunc (*ListMaterializedViewsResponse) Reset
func (x *ListMaterializedViewsResponse) Reset()func (*ListMaterializedViewsResponse) String
func (x *ListMaterializedViewsResponse) String() stringListSchemaBundlesRequest
type ListSchemaBundlesRequest struct {
// Required. The parent, which owns this collection of schema bundles.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of schema bundles to return. If the value is positive,
// the server may return at most this value. If unspecified, the server will
// return the maximum allowed page size.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListSchemaBundles` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListSchemaBundles` 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
}The request for [ListSchemaBundles][google.bigtable.admin.v2.BigtableTableAdmin.ListSchemaBundles].
func (*ListSchemaBundlesRequest) Descriptor
func (*ListSchemaBundlesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSchemaBundlesRequest.ProtoReflect.Descriptor instead.
func (*ListSchemaBundlesRequest) GetPageSize
func (x *ListSchemaBundlesRequest) GetPageSize() int32func (*ListSchemaBundlesRequest) GetPageToken
func (x *ListSchemaBundlesRequest) GetPageToken() stringfunc (*ListSchemaBundlesRequest) GetParent
func (x *ListSchemaBundlesRequest) GetParent() stringfunc (*ListSchemaBundlesRequest) ProtoMessage
func (*ListSchemaBundlesRequest) ProtoMessage()func (*ListSchemaBundlesRequest) ProtoReflect
func (x *ListSchemaBundlesRequest) ProtoReflect() protoreflect.Messagefunc (*ListSchemaBundlesRequest) Reset
func (x *ListSchemaBundlesRequest) Reset()func (*ListSchemaBundlesRequest) String
func (x *ListSchemaBundlesRequest) String() stringListSchemaBundlesResponse
type ListSchemaBundlesResponse struct {
// The schema bundles from the specified table.
SchemaBundles []*SchemaBundle `protobuf:"bytes,1,rep,name=schema_bundles,json=schemaBundles,proto3" json:"schema_bundles,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
}The response for [ListSchemaBundles][google.bigtable.admin.v2.BigtableTableAdmin.ListSchemaBundles].
func (*ListSchemaBundlesResponse) Descriptor
func (*ListSchemaBundlesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSchemaBundlesResponse.ProtoReflect.Descriptor instead.
func (*ListSchemaBundlesResponse) GetNextPageToken
func (x *ListSchemaBundlesResponse) GetNextPageToken() stringfunc (*ListSchemaBundlesResponse) GetSchemaBundles
func (x *ListSchemaBundlesResponse) GetSchemaBundles() []*SchemaBundlefunc (*ListSchemaBundlesResponse) ProtoMessage
func (*ListSchemaBundlesResponse) ProtoMessage()func (*ListSchemaBundlesResponse) ProtoReflect
func (x *ListSchemaBundlesResponse) ProtoReflect() protoreflect.Messagefunc (*ListSchemaBundlesResponse) Reset
func (x *ListSchemaBundlesResponse) Reset()func (*ListSchemaBundlesResponse) String
func (x *ListSchemaBundlesResponse) String() stringListSnapshotsRequest
type ListSnapshotsRequest struct {
// Required. The unique name of the cluster for which snapshots should be
// listed. Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
// Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
// e.g., `projects/{project}/instances/{instance}/clusters/-`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of snapshots to return per page.
// CURRENTLY UNIMPLEMENTED AND IGNORED.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value of `next_page_token` returned by a previous call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*ListSnapshotsRequest) Descriptor
func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListSnapshotsRequest) GetPageSize
func (x *ListSnapshotsRequest) GetPageSize() int32func (*ListSnapshotsRequest) GetPageToken
func (x *ListSnapshotsRequest) GetPageToken() stringfunc (*ListSnapshotsRequest) GetParent
func (x *ListSnapshotsRequest) GetParent() stringfunc (*ListSnapshotsRequest) ProtoMessage
func (*ListSnapshotsRequest) ProtoMessage()func (*ListSnapshotsRequest) ProtoReflect
func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSnapshotsRequest) Reset
func (x *ListSnapshotsRequest) Reset()func (*ListSnapshotsRequest) String
func (x *ListSnapshotsRequest) String() stringListSnapshotsResponse
type ListSnapshotsResponse struct {
// The snapshots present in the requested cluster.
Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
// Set if not all snapshots could be returned in a single response.
// Pass this value to `page_token` in another request to get the next
// page of results.
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 [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*ListSnapshotsResponse) Descriptor
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListSnapshotsResponse) GetNextPageToken
func (x *ListSnapshotsResponse) GetNextPageToken() stringfunc (*ListSnapshotsResponse) GetSnapshots
func (x *ListSnapshotsResponse) GetSnapshots() []*Snapshotfunc (*ListSnapshotsResponse) ProtoMessage
func (*ListSnapshotsResponse) ProtoMessage()func (*ListSnapshotsResponse) ProtoReflect
func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSnapshotsResponse) Reset
func (x *ListSnapshotsResponse) Reset()func (*ListSnapshotsResponse) String
func (x *ListSnapshotsResponse) String() stringListTablesRequest
type ListTablesRequest struct {
// Required. The unique name of the instance for which tables should be
// listed. Values are of the form `projects/{project}/instances/{instance}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The view to be applied to the returned tables' fields.
// NAME_ONLY view (default) and REPLICATION_VIEW are supported.
View Table_View `protobuf:"varint,2,opt,name=view,proto3,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"`
// Maximum number of results per page.
//
// A page_size of zero lets the server choose the number of items to return.
// A page_size which is strictly positive will return at most that many items.
// A negative page_size will cause an error.
//
// Following the first request, subsequent paginated calls are not required
// to pass a page_size. If a page_size is set in subsequent calls, it must
// match the page_size given in the first request.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value of `next_page_token` returned by a previous call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
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() Table_Viewfunc (*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 present in the requested instance.
Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
// Set if not all tables could be returned in a single response.
// Pass this value to `page_token` in another request to get the next
// page of results.
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 [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
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() stringLogicalView
type LogicalView struct {
// Identifier. The unique name of the logical view.
// Format:
// `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The logical view's select query.
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// Optional. The etag for this logical view.
// This may be sent on update requests to ensure that the client has an
// up-to-date value before proceeding. The server returns an ABORTED error on
// a mismatched etag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Set to true to make the LogicalView protected against deletion.
DeletionProtection bool `protobuf:"varint,6,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
// contains filtered or unexported fields
}A SQL logical view object that can be referenced in SQL queries.
func (*LogicalView) Descriptor
func (*LogicalView) Descriptor() ([]byte, []int)Deprecated: Use LogicalView.ProtoReflect.Descriptor instead.
func (*LogicalView) GetDeletionProtection
func (x *LogicalView) GetDeletionProtection() boolfunc (*LogicalView) GetEtag
func (x *LogicalView) GetEtag() stringfunc (*LogicalView) GetName
func (x *LogicalView) GetName() stringfunc (*LogicalView) GetQuery
func (x *LogicalView) GetQuery() stringfunc (*LogicalView) ProtoMessage
func (*LogicalView) ProtoMessage()func (*LogicalView) ProtoReflect
func (x *LogicalView) ProtoReflect() protoreflect.Messagefunc (*LogicalView) Reset
func (x *LogicalView) Reset()func (*LogicalView) String
func (x *LogicalView) String() stringMaterializedView
type MaterializedView struct {
// Identifier. The unique name of the materialized view.
// Format:
// `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. The materialized view's select query.
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// Optional. The etag for this materialized view.
// This may be sent on update requests to ensure that the client has an
// up-to-date value before proceeding. The server returns an ABORTED error on
// a mismatched etag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Set to true to make the MaterializedView protected against deletion.
DeletionProtection bool `protobuf:"varint,6,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
// contains filtered or unexported fields
}A materialized view object that can be referenced in SQL queries.
func (*MaterializedView) Descriptor
func (*MaterializedView) Descriptor() ([]byte, []int)Deprecated: Use MaterializedView.ProtoReflect.Descriptor instead.
func (*MaterializedView) GetDeletionProtection
func (x *MaterializedView) GetDeletionProtection() boolfunc (*MaterializedView) GetEtag
func (x *MaterializedView) GetEtag() stringfunc (*MaterializedView) GetName
func (x *MaterializedView) GetName() stringfunc (*MaterializedView) GetQuery
func (x *MaterializedView) GetQuery() stringfunc (*MaterializedView) ProtoMessage
func (*MaterializedView) ProtoMessage()func (*MaterializedView) ProtoReflect
func (x *MaterializedView) ProtoReflect() protoreflect.Messagefunc (*MaterializedView) Reset
func (x *MaterializedView) Reset()func (*MaterializedView) String
func (x *MaterializedView) String() stringModifyColumnFamiliesRequest
type ModifyColumnFamiliesRequest struct {
// Required. The unique name of the table whose families should be modified.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Modifications to be atomically applied to the specified table's
// families. Entries are applied in order, meaning that earlier modifications
// can be masked by later ones (in the case of repeated updates to the same
// family, for example).
Modifications []*ModifyColumnFamiliesRequest_Modification `protobuf:"bytes,2,rep,name=modifications,proto3" json:"modifications,omitempty"`
// Optional. If true, ignore safety checks when modifying the column families.
IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
func (*ModifyColumnFamiliesRequest) Descriptor
func (*ModifyColumnFamiliesRequest) Descriptor() ([]byte, []int)Deprecated: Use ModifyColumnFamiliesRequest.ProtoReflect.Descriptor instead.
func (*ModifyColumnFamiliesRequest) GetIgnoreWarnings
func (x *ModifyColumnFamiliesRequest) GetIgnoreWarnings() boolfunc (*ModifyColumnFamiliesRequest) GetModifications
func (x *ModifyColumnFamiliesRequest) GetModifications() []*ModifyColumnFamiliesRequest_Modificationfunc (*ModifyColumnFamiliesRequest) GetName
func (x *ModifyColumnFamiliesRequest) GetName() stringfunc (*ModifyColumnFamiliesRequest) ProtoMessage
func (*ModifyColumnFamiliesRequest) ProtoMessage()func (*ModifyColumnFamiliesRequest) ProtoReflect
func (x *ModifyColumnFamiliesRequest) ProtoReflect() protoreflect.Messagefunc (*ModifyColumnFamiliesRequest) Reset
func (x *ModifyColumnFamiliesRequest) Reset()func (*ModifyColumnFamiliesRequest) String
func (x *ModifyColumnFamiliesRequest) String() stringModifyColumnFamiliesRequest_Modification
type ModifyColumnFamiliesRequest_Modification struct {
// The ID of the column family to be modified.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Column family modifications.
//
// Types that are assignable to Mod:
//
// *ModifyColumnFamiliesRequest_Modification_Create
// *ModifyColumnFamiliesRequest_Modification_Update
// *ModifyColumnFamiliesRequest_Modification_Drop
Mod isModifyColumnFamiliesRequest_Modification_Mod `protobuf_oneof:"mod"`
// Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update`
// mod should be updated, ignored for other modification types. If unset or
// empty, we treat it as updating `gc_rule` to be backward compatible.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}A create, update, or delete of a particular column family.
func (*ModifyColumnFamiliesRequest_Modification) Descriptor
func (*ModifyColumnFamiliesRequest_Modification) Descriptor() ([]byte, []int)Deprecated: Use ModifyColumnFamiliesRequest_Modification.ProtoReflect.Descriptor instead.
func (*ModifyColumnFamiliesRequest_Modification) GetCreate
func (x *ModifyColumnFamiliesRequest_Modification) GetCreate() *ColumnFamilyfunc (*ModifyColumnFamiliesRequest_Modification) GetDrop
func (x *ModifyColumnFamiliesRequest_Modification) GetDrop() boolfunc (*ModifyColumnFamiliesRequest_Modification) GetId
func (x *ModifyColumnFamiliesRequest_Modification) GetId() stringfunc (*ModifyColumnFamiliesRequest_Modification) GetMod
func (m *ModifyColumnFamiliesRequest_Modification) GetMod() isModifyColumnFamiliesRequest_Modification_Modfunc (*ModifyColumnFamiliesRequest_Modification) GetUpdate
func (x *ModifyColumnFamiliesRequest_Modification) GetUpdate() *ColumnFamilyfunc (*ModifyColumnFamiliesRequest_Modification) GetUpdateMask
func (x *ModifyColumnFamiliesRequest_Modification) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*ModifyColumnFamiliesRequest_Modification) ProtoMessage
func (*ModifyColumnFamiliesRequest_Modification) ProtoMessage()func (*ModifyColumnFamiliesRequest_Modification) ProtoReflect
func (x *ModifyColumnFamiliesRequest_Modification) ProtoReflect() protoreflect.Messagefunc (*ModifyColumnFamiliesRequest_Modification) Reset
func (x *ModifyColumnFamiliesRequest_Modification) Reset()func (*ModifyColumnFamiliesRequest_Modification) String
func (x *ModifyColumnFamiliesRequest_Modification) String() stringModifyColumnFamiliesRequest_Modification_Create
type ModifyColumnFamiliesRequest_Modification_Create struct {
// Create a new column family with the specified schema, or fail if
// one already exists with the given ID.
Create *ColumnFamily `protobuf:"bytes,2,opt,name=create,proto3,oneof"`
}ModifyColumnFamiliesRequest_Modification_Drop
type ModifyColumnFamiliesRequest_Modification_Drop struct {
// Drop (delete) the column family with the given ID, or fail if no such
// family exists.
Drop bool `protobuf:"varint,4,opt,name=drop,proto3,oneof"`
}ModifyColumnFamiliesRequest_Modification_Update
type ModifyColumnFamiliesRequest_Modification_Update struct {
// Update an existing column family to the specified schema, or fail
// if no column family exists with the given ID.
Update *ColumnFamily `protobuf:"bytes,3,opt,name=update,proto3,oneof"`
}OperationProgress
type OperationProgress struct {
// Percent completion of the operation.
// Values are between 0 and 100 inclusive.
ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
// Time the request was received.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation failed or was completed
// successfully.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Encapsulates progress related information for a Cloud Bigtable long running operation.
func (*OperationProgress) Descriptor
func (*OperationProgress) Descriptor() ([]byte, []int)Deprecated: Use OperationProgress.ProtoReflect.Descriptor instead.
func (*OperationProgress) GetEndTime
func (x *OperationProgress) GetEndTime() *timestamppb.Timestampfunc (*OperationProgress) GetProgressPercent
func (x *OperationProgress) GetProgressPercent() int32func (*OperationProgress) GetStartTime
func (x *OperationProgress) GetStartTime() *timestamppb.Timestampfunc (*OperationProgress) ProtoMessage
func (*OperationProgress) ProtoMessage()func (*OperationProgress) ProtoReflect
func (x *OperationProgress) ProtoReflect() protoreflect.Messagefunc (*OperationProgress) Reset
func (x *OperationProgress) Reset()func (*OperationProgress) String
func (x *OperationProgress) String() stringOptimizeRestoredTableMetadata
type OptimizeRestoredTableMetadata struct {
// Name of the restored table being optimized.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The progress of the post-restore optimizations.
Progress *OperationProgress `protobuf:"bytes,2,opt,name=progress,proto3" json:"progress,omitempty"`
// contains filtered or unexported fields
}Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.
func (*OptimizeRestoredTableMetadata) Descriptor
func (*OptimizeRestoredTableMetadata) Descriptor() ([]byte, []int)Deprecated: Use OptimizeRestoredTableMetadata.ProtoReflect.Descriptor instead.
func (*OptimizeRestoredTableMetadata) GetName
func (x *OptimizeRestoredTableMetadata) GetName() stringfunc (*OptimizeRestoredTableMetadata) GetProgress
func (x *OptimizeRestoredTableMetadata) GetProgress() *OperationProgressfunc (*OptimizeRestoredTableMetadata) ProtoMessage
func (*OptimizeRestoredTableMetadata) ProtoMessage()func (*OptimizeRestoredTableMetadata) ProtoReflect
func (x *OptimizeRestoredTableMetadata) ProtoReflect() protoreflect.Messagefunc (*OptimizeRestoredTableMetadata) Reset
func (x *OptimizeRestoredTableMetadata) Reset()func (*OptimizeRestoredTableMetadata) String
func (x *OptimizeRestoredTableMetadata) String() stringPartialUpdateClusterMetadata
type PartialUpdateClusterMetadata struct {
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// The original request for PartialUpdateCluster.
OriginalRequest *PartialUpdateClusterRequest `protobuf:"bytes,3,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by PartialUpdateCluster.
func (*PartialUpdateClusterMetadata) Descriptor
func (*PartialUpdateClusterMetadata) Descriptor() ([]byte, []int)Deprecated: Use PartialUpdateClusterMetadata.ProtoReflect.Descriptor instead.
func (*PartialUpdateClusterMetadata) GetFinishTime
func (x *PartialUpdateClusterMetadata) GetFinishTime() *timestamppb.Timestampfunc (*PartialUpdateClusterMetadata) GetOriginalRequest
func (x *PartialUpdateClusterMetadata) GetOriginalRequest() *PartialUpdateClusterRequestfunc (*PartialUpdateClusterMetadata) GetRequestTime
func (x *PartialUpdateClusterMetadata) GetRequestTime() *timestamppb.Timestampfunc (*PartialUpdateClusterMetadata) ProtoMessage
func (*PartialUpdateClusterMetadata) ProtoMessage()func (*PartialUpdateClusterMetadata) ProtoReflect
func (x *PartialUpdateClusterMetadata) ProtoReflect() protoreflect.Messagefunc (*PartialUpdateClusterMetadata) Reset
func (x *PartialUpdateClusterMetadata) Reset()func (*PartialUpdateClusterMetadata) String
func (x *PartialUpdateClusterMetadata) String() stringPartialUpdateClusterRequest
type PartialUpdateClusterRequest struct {
// Required. The Cluster which contains the partial updates to be applied,
// subject to the update_mask.
Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Required. The subset of Cluster fields which should be replaced.
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 BigtableInstanceAdmin.PartialUpdateCluster.
func (*PartialUpdateClusterRequest) Descriptor
func (*PartialUpdateClusterRequest) Descriptor() ([]byte, []int)Deprecated: Use PartialUpdateClusterRequest.ProtoReflect.Descriptor instead.
func (*PartialUpdateClusterRequest) GetCluster
func (x *PartialUpdateClusterRequest) GetCluster() *Clusterfunc (*PartialUpdateClusterRequest) GetUpdateMask
func (x *PartialUpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*PartialUpdateClusterRequest) ProtoMessage
func (*PartialUpdateClusterRequest) ProtoMessage()func (*PartialUpdateClusterRequest) ProtoReflect
func (x *PartialUpdateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*PartialUpdateClusterRequest) Reset
func (x *PartialUpdateClusterRequest) Reset()func (*PartialUpdateClusterRequest) String
func (x *PartialUpdateClusterRequest) String() stringPartialUpdateInstanceRequest
type PartialUpdateInstanceRequest struct {
// Required. The Instance which will (partially) replace the current value.
Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. The subset of Instance fields which should be replaced.
// Must be explicitly set.
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 BigtableInstanceAdmin.PartialUpdateInstance.
func (*PartialUpdateInstanceRequest) Descriptor
func (*PartialUpdateInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use PartialUpdateInstanceRequest.ProtoReflect.Descriptor instead.
func (*PartialUpdateInstanceRequest) GetInstance
func (x *PartialUpdateInstanceRequest) GetInstance() *Instancefunc (*PartialUpdateInstanceRequest) GetUpdateMask
func (x *PartialUpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*PartialUpdateInstanceRequest) ProtoMessage
func (*PartialUpdateInstanceRequest) ProtoMessage()func (*PartialUpdateInstanceRequest) ProtoReflect
func (x *PartialUpdateInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*PartialUpdateInstanceRequest) Reset
func (x *PartialUpdateInstanceRequest) Reset()func (*PartialUpdateInstanceRequest) String
func (x *PartialUpdateInstanceRequest) String() stringProtoSchema
type ProtoSchema struct {
// Required. Contains a protobuf-serialized
// [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto),
// which could include multiple proto files.
// To generate it, [install](https://grpc.io/docs/protoc-installation/) and
// run `protoc` with
// `--include_imports` and `--descriptor_set_out`. For example, to generate
// for moon/shot/app.proto, run
// ```
//
// $protoc --proto_path=/app_path --proto_path=/lib_path \
// --include_imports \
// --descriptor_set_out=descriptors.pb \
// moon/shot/app.proto
//
// ```
// For more details, see protobuffer [self
// description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
ProtoDescriptors []byte `protobuf:"bytes,2,opt,name=proto_descriptors,json=protoDescriptors,proto3" json:"proto_descriptors,omitempty"`
// contains filtered or unexported fields
}Represents a protobuf schema.
func (*ProtoSchema) Descriptor
func (*ProtoSchema) Descriptor() ([]byte, []int)Deprecated: Use ProtoSchema.ProtoReflect.Descriptor instead.
func (*ProtoSchema) GetProtoDescriptors
func (x *ProtoSchema) GetProtoDescriptors() []bytefunc (*ProtoSchema) ProtoMessage
func (*ProtoSchema) ProtoMessage()func (*ProtoSchema) ProtoReflect
func (x *ProtoSchema) ProtoReflect() protoreflect.Messagefunc (*ProtoSchema) Reset
func (x *ProtoSchema) Reset()func (*ProtoSchema) String
func (x *ProtoSchema) String() stringRestoreInfo
type RestoreInfo struct {
// The type of the restore source.
SourceType RestoreSourceType `protobuf:"varint,1,opt,name=source_type,json=sourceType,proto3,enum=google.bigtable.admin.v2.RestoreSourceType" json:"source_type,omitempty"`
// Information about the source used to restore the table.
//
// Types that are assignable to SourceInfo:
//
// *RestoreInfo_BackupInfo
SourceInfo isRestoreInfo_SourceInfo `protobuf_oneof:"source_info"`
// contains filtered or unexported fields
}Information about a table restore.
func (*RestoreInfo) Descriptor
func (*RestoreInfo) Descriptor() ([]byte, []int)Deprecated: Use RestoreInfo.ProtoReflect.Descriptor instead.
func (*RestoreInfo) GetBackupInfo
func (x *RestoreInfo) GetBackupInfo() *BackupInfofunc (*RestoreInfo) GetSourceInfo
func (m *RestoreInfo) GetSourceInfo() isRestoreInfo_SourceInfofunc (*RestoreInfo) GetSourceType
func (x *RestoreInfo) GetSourceType() RestoreSourceTypefunc (*RestoreInfo) ProtoMessage
func (*RestoreInfo) ProtoMessage()func (*RestoreInfo) ProtoReflect
func (x *RestoreInfo) ProtoReflect() protoreflect.Messagefunc (*RestoreInfo) Reset
func (x *RestoreInfo) Reset()func (*RestoreInfo) String
func (x *RestoreInfo) String() stringRestoreInfo_BackupInfo
type RestoreInfo_BackupInfo struct {
// Information about the backup used to restore the table. The backup
// may no longer exist.
BackupInfo *BackupInfo `protobuf:"bytes,2,opt,name=backup_info,json=backupInfo,proto3,oneof"`
}RestoreSourceType
type RestoreSourceType int32Indicates the type of the restore source.
RestoreSourceType_RESTORE_SOURCE_TYPE_UNSPECIFIED, RestoreSourceType_BACKUP
const (
// No restore associated.
RestoreSourceType_RESTORE_SOURCE_TYPE_UNSPECIFIED RestoreSourceType = 0
// A backup was used as the source of the restore.
RestoreSourceType_BACKUP RestoreSourceType = 1
)func (RestoreSourceType) Descriptor
func (RestoreSourceType) Descriptor() protoreflect.EnumDescriptorfunc (RestoreSourceType) Enum
func (x RestoreSourceType) Enum() *RestoreSourceTypefunc (RestoreSourceType) EnumDescriptor
func (RestoreSourceType) EnumDescriptor() ([]byte, []int)Deprecated: Use RestoreSourceType.Descriptor instead.
func (RestoreSourceType) Number
func (x RestoreSourceType) Number() protoreflect.EnumNumberfunc (RestoreSourceType) String
func (x RestoreSourceType) String() stringfunc (RestoreSourceType) Type
func (RestoreSourceType) Type() protoreflect.EnumTypeRestoreTableMetadata
type RestoreTableMetadata struct {
// Name of the table being created and restored to.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of the restore source.
SourceType RestoreSourceType `protobuf:"varint,2,opt,name=source_type,json=sourceType,proto3,enum=google.bigtable.admin.v2.RestoreSourceType" json:"source_type,omitempty"`
// Information about the source used to restore the table, as specified by
// `source` in
// [RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest].
//
// Types that are assignable to SourceInfo:
//
// *RestoreTableMetadata_BackupInfo
SourceInfo isRestoreTableMetadata_SourceInfo `protobuf_oneof:"source_info"`
// If exists, the name of the long-running operation that will be used to
// track the post-restore optimization process to optimize the performance of
// the restored table. The metadata type of the long-running operation is
// [OptimizeRestoreTableMetadata][]. The response type is
// [Empty][google.protobuf.Empty]. This long-running operation may be
// automatically created by the system if applicable after the
// RestoreTable long-running operation completes successfully. This operation
// may not be created if the table is already optimized or the restore was
// not successful.
OptimizeTableOperationName string `protobuf:"bytes,4,opt,name=optimize_table_operation_name,json=optimizeTableOperationName,proto3" json:"optimize_table_operation_name,omitempty"`
// The progress of the
// [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
// operation.
Progress *OperationProgress `protobuf:"bytes,5,opt,name=progress,proto3" json:"progress,omitempty"`
// contains filtered or unexported fields
}Metadata type for the long-running operation returned by [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
func (*RestoreTableMetadata) Descriptor
func (*RestoreTableMetadata) Descriptor() ([]byte, []int)Deprecated: Use RestoreTableMetadata.ProtoReflect.Descriptor instead.
func (*RestoreTableMetadata) GetBackupInfo
func (x *RestoreTableMetadata) GetBackupInfo() *BackupInfofunc (*RestoreTableMetadata) GetName
func (x *RestoreTableMetadata) GetName() stringfunc (*RestoreTableMetadata) GetOptimizeTableOperationName
func (x *RestoreTableMetadata) GetOptimizeTableOperationName() stringfunc (*RestoreTableMetadata) GetProgress
func (x *RestoreTableMetadata) GetProgress() *OperationProgressfunc (*RestoreTableMetadata) GetSourceInfo
func (m *RestoreTableMetadata) GetSourceInfo() isRestoreTableMetadata_SourceInfofunc (*RestoreTableMetadata) GetSourceType
func (x *RestoreTableMetadata) GetSourceType() RestoreSourceTypefunc (*RestoreTableMetadata) ProtoMessage
func (*RestoreTableMetadata) ProtoMessage()func (*RestoreTableMetadata) ProtoReflect
func (x *RestoreTableMetadata) ProtoReflect() protoreflect.Messagefunc (*RestoreTableMetadata) Reset
func (x *RestoreTableMetadata) Reset()func (*RestoreTableMetadata) String
func (x *RestoreTableMetadata) String() stringRestoreTableMetadata_BackupInfo
type RestoreTableMetadata_BackupInfo struct {
BackupInfo *BackupInfo `protobuf:"bytes,3,opt,name=backup_info,json=backupInfo,proto3,oneof"`
}RestoreTableRequest
type RestoreTableRequest struct {
// Required. The name of the instance in which to create the restored
// table. Values are of the form `projects/The request for [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
func (*RestoreTableRequest) Descriptor
func (*RestoreTableRequest) Descriptor() ([]byte, []int)Deprecated: Use RestoreTableRequest.ProtoReflect.Descriptor instead.
func (*RestoreTableRequest) GetBackup
func (x *RestoreTableRequest) GetBackup() stringfunc (*RestoreTableRequest) GetParent
func (x *RestoreTableRequest) GetParent() stringfunc (*RestoreTableRequest) GetSource
func (m *RestoreTableRequest) GetSource() isRestoreTableRequest_Sourcefunc (*RestoreTableRequest) GetTableId
func (x *RestoreTableRequest) GetTableId() stringfunc (*RestoreTableRequest) ProtoMessage
func (*RestoreTableRequest) ProtoMessage()func (*RestoreTableRequest) ProtoReflect
func (x *RestoreTableRequest) ProtoReflect() protoreflect.Messagefunc (*RestoreTableRequest) Reset
func (x *RestoreTableRequest) Reset()func (*RestoreTableRequest) String
func (x *RestoreTableRequest) String() stringRestoreTableRequest_Backup
type RestoreTableRequest_Backup struct {
// Name of the backup from which to restore. Values are of the form
// `projects/SchemaBundle
type SchemaBundle struct {
// Identifier. The unique name identifying this schema bundle.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of this schema bundle. The oneof case cannot change after
// creation.
//
// Types that are assignable to Type:
//
// *SchemaBundle_ProtoSchema
Type isSchemaBundle_Type `protobuf_oneof:"type"`
// Optional. The etag for this schema bundle.
// This may be sent on update and delete requests to ensure the
// client has an up-to-date value before proceeding. The server
// returns an ABORTED error on a mismatched etag.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}A named collection of related schemas.
func (*SchemaBundle) Descriptor
func (*SchemaBundle) Descriptor() ([]byte, []int)Deprecated: Use SchemaBundle.ProtoReflect.Descriptor instead.
func (*SchemaBundle) GetEtag
func (x *SchemaBundle) GetEtag() stringfunc (*SchemaBundle) GetName
func (x *SchemaBundle) GetName() stringfunc (*SchemaBundle) GetProtoSchema
func (x *SchemaBundle) GetProtoSchema() *ProtoSchemafunc (*SchemaBundle) GetType
func (m *SchemaBundle) GetType() isSchemaBundle_Typefunc (*SchemaBundle) ProtoMessage
func (*SchemaBundle) ProtoMessage()func (*SchemaBundle) ProtoReflect
func (x *SchemaBundle) ProtoReflect() protoreflect.Messagefunc (*SchemaBundle) Reset
func (x *SchemaBundle) Reset()func (*SchemaBundle) String
func (x *SchemaBundle) String() stringSchemaBundle_ProtoSchema
type SchemaBundle_ProtoSchema struct {
// Schema for Protobufs.
ProtoSchema *ProtoSchema `protobuf:"bytes,2,opt,name=proto_schema,json=protoSchema,proto3,oneof"`
}Snapshot
type Snapshot struct {
// The unique name of the snapshot.
// Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The source table at the time the snapshot was taken.
SourceTable *Table `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
// Output only. The size of the data in the source table at the time the
// snapshot was taken. In some cases, this value may be computed
// asynchronously via a background process and a placeholder of 0 will be used
// in the meantime.
DataSizeBytes int64 `protobuf:"varint,3,opt,name=data_size_bytes,json=dataSizeBytes,proto3" json:"data_size_bytes,omitempty"`
// Output only. The time when the snapshot is created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The time when the snapshot will be deleted. The maximum amount of time a
// snapshot can stay active is 365 days. If 'ttl' is not specified,
// the default maximum of 365 days will be used.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Output only. The current state of the snapshot.
State Snapshot_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.bigtable.admin.v2.Snapshot_State" json:"state,omitempty"`
// Description of the snapshot.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}A snapshot of a table at a particular time. A snapshot can be used as a checkpoint for data restoration or a data source for a new table.
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*Snapshot) Descriptor
Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
func (*Snapshot) GetCreateTime
func (x *Snapshot) GetCreateTime() *timestamppb.Timestampfunc (*Snapshot) GetDataSizeBytes
func (*Snapshot) GetDeleteTime
func (x *Snapshot) GetDeleteTime() *timestamppb.Timestampfunc (*Snapshot) GetDescription
func (*Snapshot) GetName
func (*Snapshot) GetSourceTable
func (*Snapshot) GetState
func (x *Snapshot) GetState() Snapshot_Statefunc (*Snapshot) ProtoMessage
func (*Snapshot) ProtoMessage()func (*Snapshot) ProtoReflect
func (x *Snapshot) ProtoReflect() protoreflect.Messagefunc (*Snapshot) Reset
func (x *Snapshot) Reset()func (*Snapshot) String
SnapshotTableMetadata
type SnapshotTableMetadata struct {
// The request that prompted the initiation of this SnapshotTable operation.
OriginalRequest *SnapshotTableRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by SnapshotTable.
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*SnapshotTableMetadata) Descriptor
func (*SnapshotTableMetadata) Descriptor() ([]byte, []int)Deprecated: Use SnapshotTableMetadata.ProtoReflect.Descriptor instead.
func (*SnapshotTableMetadata) GetFinishTime
func (x *SnapshotTableMetadata) GetFinishTime() *timestamppb.Timestampfunc (*SnapshotTableMetadata) GetOriginalRequest
func (x *SnapshotTableMetadata) GetOriginalRequest() *SnapshotTableRequestfunc (*SnapshotTableMetadata) GetRequestTime
func (x *SnapshotTableMetadata) GetRequestTime() *timestamppb.Timestampfunc (*SnapshotTableMetadata) ProtoMessage
func (*SnapshotTableMetadata) ProtoMessage()func (*SnapshotTableMetadata) ProtoReflect
func (x *SnapshotTableMetadata) ProtoReflect() protoreflect.Messagefunc (*SnapshotTableMetadata) Reset
func (x *SnapshotTableMetadata) Reset()func (*SnapshotTableMetadata) String
func (x *SnapshotTableMetadata) String() stringSnapshotTableRequest
type SnapshotTableRequest struct {
// Required. The unique name of the table to have the snapshot taken.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The name of the cluster where the snapshot will be created in.
// Values are of the form
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Required. The ID by which the new snapshot should be referred to within the
// parent cluster, e.g., `mysnapshot` of the form:
// `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
SnapshotId string `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
// The amount of time that the new snapshot can stay active after it is
// created. Once 'ttl' expires, the snapshot will get deleted. The maximum
// amount of time a snapshot can stay active is 7 days. If 'ttl' is not
// specified, the default value of 24 hours will be used.
Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
// Description of the snapshot.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
func (*SnapshotTableRequest) Descriptor
func (*SnapshotTableRequest) Descriptor() ([]byte, []int)Deprecated: Use SnapshotTableRequest.ProtoReflect.Descriptor instead.
func (*SnapshotTableRequest) GetCluster
func (x *SnapshotTableRequest) GetCluster() stringfunc (*SnapshotTableRequest) GetDescription
func (x *SnapshotTableRequest) GetDescription() stringfunc (*SnapshotTableRequest) GetName
func (x *SnapshotTableRequest) GetName() stringfunc (*SnapshotTableRequest) GetSnapshotId
func (x *SnapshotTableRequest) GetSnapshotId() stringfunc (*SnapshotTableRequest) GetTtl
func (x *SnapshotTableRequest) GetTtl() *durationpb.Durationfunc (*SnapshotTableRequest) ProtoMessage
func (*SnapshotTableRequest) ProtoMessage()func (*SnapshotTableRequest) ProtoReflect
func (x *SnapshotTableRequest) ProtoReflect() protoreflect.Messagefunc (*SnapshotTableRequest) Reset
func (x *SnapshotTableRequest) Reset()func (*SnapshotTableRequest) String
func (x *SnapshotTableRequest) String() stringSnapshot_State
type Snapshot_State int32Possible states of a snapshot.
Snapshot_STATE_NOT_KNOWN, Snapshot_READY, Snapshot_CREATING
const (
// The state of the snapshot could not be determined.
Snapshot_STATE_NOT_KNOWN Snapshot_State = 0
// The snapshot has been successfully created and can serve all requests.
Snapshot_READY Snapshot_State = 1
// The snapshot is currently being created, and may be destroyed if the
// creation process encounters an error. A snapshot may not be restored to a
// table while it is being created.
Snapshot_CREATING Snapshot_State = 2
)func (Snapshot_State) Descriptor
func (Snapshot_State) Descriptor() protoreflect.EnumDescriptorfunc (Snapshot_State) Enum
func (x Snapshot_State) Enum() *Snapshot_Statefunc (Snapshot_State) EnumDescriptor
func (Snapshot_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Snapshot_State.Descriptor instead.
func (Snapshot_State) Number
func (x Snapshot_State) Number() protoreflect.EnumNumberfunc (Snapshot_State) String
func (x Snapshot_State) String() stringfunc (Snapshot_State) Type
func (Snapshot_State) Type() protoreflect.EnumTypeStandardReadRemoteWrites
type StandardReadRemoteWrites struct {
// contains filtered or unexported fields
}Checks that all writes before the consistency token was generated are replicated in every cluster and readable.
func (*StandardReadRemoteWrites) Descriptor
func (*StandardReadRemoteWrites) Descriptor() ([]byte, []int)Deprecated: Use StandardReadRemoteWrites.ProtoReflect.Descriptor instead.
func (*StandardReadRemoteWrites) ProtoMessage
func (*StandardReadRemoteWrites) ProtoMessage()func (*StandardReadRemoteWrites) ProtoReflect
func (x *StandardReadRemoteWrites) ProtoReflect() protoreflect.Messagefunc (*StandardReadRemoteWrites) Reset
func (x *StandardReadRemoteWrites) Reset()func (*StandardReadRemoteWrites) String
func (x *StandardReadRemoteWrites) String() stringStorageType
type StorageType int32Storage media types for persisting Bigtable data.
StorageType_STORAGE_TYPE_UNSPECIFIED, StorageType_SSD, StorageType_HDD
const (
// The user did not specify a storage type.
StorageType_STORAGE_TYPE_UNSPECIFIED StorageType = 0
// Flash (SSD) storage should be used.
StorageType_SSD StorageType = 1
// Magnetic drive (HDD) storage should be used.
StorageType_HDD StorageType = 2
)func (StorageType) Descriptor
func (StorageType) Descriptor() protoreflect.EnumDescriptorfunc (StorageType) Enum
func (x StorageType) Enum() *StorageTypefunc (StorageType) EnumDescriptor
func (StorageType) EnumDescriptor() ([]byte, []int)Deprecated: Use StorageType.Descriptor instead.
func (StorageType) Number
func (x StorageType) Number() protoreflect.EnumNumberfunc (StorageType) String
func (x StorageType) String() stringfunc (StorageType) Type
func (StorageType) Type() protoreflect.EnumTypeTable
type Table struct {
// The unique name of the table. Values are of the form
// `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
// Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Map from cluster ID to per-cluster table state.
// If it could not be determined whether or not the table has data in a
// particular cluster (for example, if its zone is unavailable), then
// there will be an entry for the cluster with UNKNOWN `replication_status`.
// Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
ClusterStates map[string]*Table_ClusterState `protobuf:"bytes,2,rep,name=cluster_states,json=clusterStates,proto3" json:"cluster_states,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The column families configured for this table, mapped by column family ID.
// Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
// in this table. Timestamps not matching the granularity will be rejected. If
// unspecified at creation time, the value will be set to `MILLIS`. Views:
// `SCHEMA_VIEW`, `FULL`.
Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=google.bigtable.admin.v2.Table_TimestampGranularity" json:"granularity,omitempty"`
// Output only. If this table was restored from another data source (e.g. a
// backup), this field will be populated with information about the restore.
RestoreInfo *RestoreInfo `protobuf:"bytes,6,opt,name=restore_info,json=restoreInfo,proto3" json:"restore_info,omitempty"`
// If specified, enable the change stream on this table.
// Otherwise, the change stream is disabled and the change stream is not
// retained.
ChangeStreamConfig *ChangeStreamConfig `protobuf:"bytes,8,opt,name=change_stream_config,json=changeStreamConfig,proto3" json:"change_stream_config,omitempty"`
// Set to true to make the table protected against data loss. i.e. deleting
// the following resources through Admin APIs are prohibited:
//
// * The table.
// * The column families in the table.
// * The instance containing the table.
//
// Note one can still delete the data stored in the table through Data APIs.
DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
// Types that are assignable to AutomatedBackupConfig:
//
// *Table_AutomatedBackupPolicy_
AutomatedBackupConfig isTable_AutomatedBackupConfig `protobuf_oneof:"automated_backup_config"`
// The row key schema for this table. The schema is used to decode the raw row
// key bytes into a structured format. The order of field declarations in this
// schema is important, as it reflects how the raw row key bytes are
// structured. Currently, this only affects how the key is read via a
// GoogleSQL query from the ExecuteQuery API.
//
// For a SQL query, the _key column is still read as raw bytes. But queries
// can reference the key fields by name, which will be decoded from _key using
// provided type and encoding. Queries that reference key fields will fail if
// they encounter an invalid row key.
//
// For example, if _key = "some_id#2024-04-30#\x00\x13\x00\xf3" with the
// following schema:
//
// {
// fields {
// field_name: "id"
// type { string { encoding: utf8_bytes {} } }
// }
// fields {
// field_name: "date"
// type { string { encoding: utf8_bytes {} } }
// }
// fields {
// field_name: "product_code"
// type { int64 { encoding: big_endian_bytes {} } }
// }
// encoding { delimited_bytes { delimiter: "#" } }
// }
//
// The decoded key parts would be:
//
// id = "some_id", date = "2024-04-30", product_code = 1245427
//
// The query "SELECT _key, product_code FROM table" will return two columns:
// /------------------------------------------------------\
// | _key | product_code |
// | --------------------------------------|--------------|
// | "some_id#2024-04-30#\x00\x13\x00\xf3" | 1245427 |
// \------------------------------------------------------/
//
// The schema has the following invariants:
// (1) The decoded field values are order-preserved. For read, the field
// values will be decoded in sorted mode from the raw bytes.
// (2) Every field in the schema must specify a non-empty name.
// (3) Every field must specify a type with an associated encoding. The type
// is limited to scalar types only: Array, Map, Aggregate, and Struct are not
// allowed.
// (4) The field names must not collide with existing column family
// names and reserved keywords "_key" and "_timestamp".
//
// The following update operations are allowed for row_key_schema:
// - Update from an empty schema to a new schema.
// - Remove the existing schema. This operation requires setting the
// `ignore_warnings` flag to `true`, since it might be a backward
// incompatible change. Without the flag, the update request will fail with
// an INVALID_ARGUMENT error.
//
// Any other row key schema update operation (e.g. update existing schema
// columns names or types) is currently unsupported.
RowKeySchema *Type_Struct `protobuf:"bytes,15,opt,name=row_key_schema,json=rowKeySchema,proto3" json:"row_key_schema,omitempty"`
// contains filtered or unexported fields
}A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
func (*Table) Descriptor
Deprecated: Use Table.ProtoReflect.Descriptor instead.
func (*Table) GetAutomatedBackupConfig
func (m *Table) GetAutomatedBackupConfig() isTable_AutomatedBackupConfigfunc (*Table) GetAutomatedBackupPolicy
func (x *Table) GetAutomatedBackupPolicy() *Table_AutomatedBackupPolicyfunc (*Table) GetChangeStreamConfig
func (x *Table) GetChangeStreamConfig() *ChangeStreamConfigfunc (*Table) GetClusterStates
func (x *Table) GetClusterStates() map[string]*Table_ClusterStatefunc (*Table) GetColumnFamilies
func (x *Table) GetColumnFamilies() map[string]*ColumnFamilyfunc (*Table) GetDeletionProtection
func (*Table) GetGranularity
func (x *Table) GetGranularity() Table_TimestampGranularityfunc (*Table) GetName
func (*Table) GetRestoreInfo
func (x *Table) GetRestoreInfo() *RestoreInfofunc (*Table) GetRowKeySchema
func (x *Table) GetRowKeySchema() *Type_Structfunc (*Table) ProtoMessage
func (*Table) ProtoMessage()func (*Table) ProtoReflect
func (x *Table) ProtoReflect() protoreflect.Messagefunc (*Table) Reset
func (x *Table) Reset()func (*Table) String
Table_AutomatedBackupPolicy
type Table_AutomatedBackupPolicy struct {
// Required. How long the automated backups should be retained. The only
// supported value at this time is 3 days.
RetentionPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"`
// Required. How frequently automated backups should occur. The only
// supported value at this time is 24 hours.
Frequency *durationpb.Duration `protobuf:"bytes,2,opt,name=frequency,proto3" json:"frequency,omitempty"`
// contains filtered or unexported fields
}Defines an automated backup policy for a table
func (*Table_AutomatedBackupPolicy) Descriptor
func (*Table_AutomatedBackupPolicy) Descriptor() ([]byte, []int)Deprecated: Use Table_AutomatedBackupPolicy.ProtoReflect.Descriptor instead.
func (*Table_AutomatedBackupPolicy) GetFrequency
func (x *Table_AutomatedBackupPolicy) GetFrequency() *durationpb.Durationfunc (*Table_AutomatedBackupPolicy) GetRetentionPeriod
func (x *Table_AutomatedBackupPolicy) GetRetentionPeriod() *durationpb.Durationfunc (*Table_AutomatedBackupPolicy) ProtoMessage
func (*Table_AutomatedBackupPolicy) ProtoMessage()func (*Table_AutomatedBackupPolicy) ProtoReflect
func (x *Table_AutomatedBackupPolicy) ProtoReflect() protoreflect.Messagefunc (*Table_AutomatedBackupPolicy) Reset
func (x *Table_AutomatedBackupPolicy) Reset()func (*Table_AutomatedBackupPolicy) String
func (x *Table_AutomatedBackupPolicy) String() stringTable_AutomatedBackupPolicy_
type Table_AutomatedBackupPolicy_ struct {
// If specified, automated backups are enabled for this table.
// Otherwise, automated backups are disabled.
AutomatedBackupPolicy *Table_AutomatedBackupPolicy `protobuf:"bytes,13,opt,name=automated_backup_policy,json=automatedBackupPolicy,proto3,oneof"`
}Table_ClusterState
type Table_ClusterState struct {
// Output only. The state of replication for the table in this cluster.
ReplicationState Table_ClusterState_ReplicationState `protobuf:"varint,1,opt,name=replication_state,json=replicationState,proto3,enum=google.bigtable.admin.v2.Table_ClusterState_ReplicationState" json:"replication_state,omitempty"`
// Output only. The encryption information for the table in this cluster.
// If the encryption key protecting this resource is customer managed, then
// its version can be rotated in Cloud Key Management Service (Cloud KMS).
// The primary version of the key and its status will be reflected here when
// changes propagate from Cloud KMS.
EncryptionInfo []*EncryptionInfo `protobuf:"bytes,2,rep,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`
// contains filtered or unexported fields
}The state of a table's data in a particular cluster.
func (*Table_ClusterState) Descriptor
func (*Table_ClusterState) Descriptor() ([]byte, []int)Deprecated: Use Table_ClusterState.ProtoReflect.Descriptor instead.
func (*Table_ClusterState) GetEncryptionInfo
func (x *Table_ClusterState) GetEncryptionInfo() []*EncryptionInfofunc (*Table_ClusterState) GetReplicationState
func (x *Table_ClusterState) GetReplicationState() Table_ClusterState_ReplicationStatefunc (*Table_ClusterState) ProtoMessage
func (*Table_ClusterState) ProtoMessage()func (*Table_ClusterState) ProtoReflect
func (x *Table_ClusterState) ProtoReflect() protoreflect.Messagefunc (*Table_ClusterState) Reset
func (x *Table_ClusterState) Reset()func (*Table_ClusterState) String
func (x *Table_ClusterState) String() stringTable_ClusterState_ReplicationState
type Table_ClusterState_ReplicationState int32Table replication states.
Table_ClusterState_STATE_NOT_KNOWN, Table_ClusterState_INITIALIZING, Table_ClusterState_PLANNED_MAINTENANCE, Table_ClusterState_UNPLANNED_MAINTENANCE, Table_ClusterState_READY, Table_ClusterState_READY_OPTIMIZING
const (
// The replication state of the table is unknown in this cluster.
Table_ClusterState_STATE_NOT_KNOWN Table_ClusterState_ReplicationState = 0
// The cluster was recently created, and the table must finish copying
// over pre-existing data from other clusters before it can begin
// receiving live replication updates and serving Data API requests.
Table_ClusterState_INITIALIZING Table_ClusterState_ReplicationState = 1
// The table is temporarily unable to serve Data API requests from this
// cluster due to planned internal maintenance.
Table_ClusterState_PLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 2
// The table is temporarily unable to serve Data API requests from this
// cluster due to unplanned or emergency maintenance.
Table_ClusterState_UNPLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 3
// The table can serve Data API requests from this cluster. Depending on
// replication delay, reads may not immediately reflect the state of the
// table in other clusters.
Table_ClusterState_READY Table_ClusterState_ReplicationState = 4
// The table is fully created and ready for use after a restore, and is
// being optimized for performance. When optimizations are complete, the
// table will transition to `READY` state.
Table_ClusterState_READY_OPTIMIZING Table_ClusterState_ReplicationState = 5
)func (Table_ClusterState_ReplicationState) Descriptor
func (Table_ClusterState_ReplicationState) Descriptor() protoreflect.EnumDescriptorfunc (Table_ClusterState_ReplicationState) Enum
func (x Table_ClusterState_ReplicationState) Enum() *Table_ClusterState_ReplicationStatefunc (Table_ClusterState_ReplicationState) EnumDescriptor
func (Table_ClusterState_ReplicationState) EnumDescriptor() ([]byte, []int)Deprecated: Use Table_ClusterState_ReplicationState.Descriptor instead.
func (Table_ClusterState_ReplicationState) Number
func (x Table_ClusterState_ReplicationState) Number() protoreflect.EnumNumberfunc (Table_ClusterState_ReplicationState) String
func (x Table_ClusterState_ReplicationState) String() stringfunc (Table_ClusterState_ReplicationState) Type
func (Table_ClusterState_ReplicationState) Type() protoreflect.EnumTypeTable_TimestampGranularity
type Table_TimestampGranularity int32Possible timestamp granularities to use when keeping multiple versions of data in a table.
Table_TIMESTAMP_GRANULARITY_UNSPECIFIED, Table_MILLIS
const (
// The user did not specify a granularity. Should not be returned.
// When specified during table creation, MILLIS will be used.
Table_TIMESTAMP_GRANULARITY_UNSPECIFIED Table_TimestampGranularity = 0
// The table keeps data versioned at a granularity of 1ms.
Table_MILLIS Table_TimestampGranularity = 1
)func (Table_TimestampGranularity) Descriptor
func (Table_TimestampGranularity) Descriptor() protoreflect.EnumDescriptorfunc (Table_TimestampGranularity) Enum
func (x Table_TimestampGranularity) Enum() *Table_TimestampGranularityfunc (Table_TimestampGranularity) EnumDescriptor
func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int)Deprecated: Use Table_TimestampGranularity.Descriptor instead.
func (Table_TimestampGranularity) Number
func (x Table_TimestampGranularity) Number() protoreflect.EnumNumberfunc (Table_TimestampGranularity) String
func (x Table_TimestampGranularity) String() stringfunc (Table_TimestampGranularity) Type
func (Table_TimestampGranularity) Type() protoreflect.EnumTypeTable_View
type Table_View int32Defines a view over a table's fields.
Table_VIEW_UNSPECIFIED, Table_NAME_ONLY, Table_SCHEMA_VIEW, Table_REPLICATION_VIEW, Table_ENCRYPTION_VIEW, Table_FULL
const (
// Uses the default view for each method as documented in its request.
Table_VIEW_UNSPECIFIED Table_View = 0
// Only populates `name`.
Table_NAME_ONLY Table_View = 1
// Only populates `name` and fields related to the table's schema.
Table_SCHEMA_VIEW Table_View = 2
// Only populates `name` and fields related to the table's replication
// state.
Table_REPLICATION_VIEW Table_View = 3
// Only populates `name` and fields related to the table's encryption state.
Table_ENCRYPTION_VIEW Table_View = 5
// Populates all fields.
Table_FULL Table_View = 4
)func (Table_View) Descriptor
func (Table_View) Descriptor() protoreflect.EnumDescriptorfunc (Table_View) Enum
func (x Table_View) Enum() *Table_Viewfunc (Table_View) EnumDescriptor
func (Table_View) EnumDescriptor() ([]byte, []int)Deprecated: Use Table_View.Descriptor instead.
func (Table_View) Number
func (x Table_View) Number() protoreflect.EnumNumberfunc (Table_View) String
func (x Table_View) String() stringfunc (Table_View) Type
func (Table_View) Type() protoreflect.EnumTypeType
type Type struct {
// The kind of type that this represents.
//
// Types that are assignable to Kind:
//
// *Type_BytesType
// *Type_StringType
// *Type_Int64Type
// *Type_Float32Type
// *Type_Float64Type
// *Type_BoolType
// *Type_TimestampType
// *Type_DateType
// *Type_AggregateType
// *Type_StructType
// *Type_ArrayType
// *Type_MapType
// *Type_ProtoType
// *Type_EnumType
Kind isType_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}Type represents the type of data that is written to, read from, or stored
in Bigtable. It is heavily based on the GoogleSQL standard to help maintain
familiarity and consistency across products and features.
For compatibility with Bigtable's existing untyped APIs, each Type includes
an Encoding which describes how to convert to or from the underlying data.
Each encoding can operate in one of two modes:
- Sorted: In this mode, Bigtable guarantees that
Encode(X) <= Encode(Y)if and only ifX <= Y. This is useful anywhere sort order is important, for example when encoding keys. - Distinct: In this mode, Bigtable guarantees that if
X != YthenEncode(X) != Encode(Y). However, the converse is not guaranteed. For example, both "{'foo': '1', 'bar': '2'}" and "{'bar': '2', 'foo': '1'}" are valid encodings of the same JSON value.
The API clearly documents which mode is used wherever an encoding can be
configured. Each encoding also documents which values are supported in which
modes. For example, when encoding INT64 as a numeric STRING, negative numbers
cannot be encoded in sorted mode. This is because INT64(1) > INT64(-1), but
STRING("-00001") > STRING("00001").
func (*Type) Descriptor
Deprecated: Use Type.ProtoReflect.Descriptor instead.
func (*Type) GetAggregateType
func (x *Type) GetAggregateType() *Type_Aggregatefunc (*Type) GetArrayType
func (x *Type) GetArrayType() *Type_Arrayfunc (*Type) GetBoolType
func (*Type) GetBytesType
func (x *Type) GetBytesType() *Type_Bytesfunc (*Type) GetDateType
func (*Type) GetEnumType
func (*Type) GetFloat32Type
func (x *Type) GetFloat32Type() *Type_Float32func (*Type) GetFloat64Type
func (x *Type) GetFloat64Type() *Type_Float64func (*Type) GetInt64Type
func (x *Type) GetInt64Type() *Type_Int64func (*Type) GetKind
func (m *Type) GetKind() isType_Kindfunc (*Type) GetMapType
func (*Type) GetProtoType
func (x *Type) GetProtoType() *Type_Protofunc (*Type) GetStringType
func (x *Type) GetStringType() *Type_Stringfunc (*Type) GetStructType
func (x *Type) GetStructType() *Type_Structfunc (*Type) GetTimestampType
func (x *Type) GetTimestampType() *Type_Timestampfunc (*Type) ProtoMessage
func (*Type) ProtoMessage()func (*Type) ProtoReflect
func (x *Type) ProtoReflect() protoreflect.Messagefunc (*Type) Reset
func (x *Type) Reset()func (*Type) String
Type_Aggregate
type Type_Aggregate struct {
// Type of the inputs that are accumulated by this `Aggregate`, which must
// specify a full encoding.
// Use `AddInput` mutations to accumulate new inputs.
InputType *Type `protobuf:"bytes,1,opt,name=input_type,json=inputType,proto3" json:"input_type,omitempty"`
// Output only. Type that holds the internal accumulator state for the
// `Aggregate`. This is a function of the `input_type` and `aggregator`
// chosen, and will always specify a full encoding.
StateType *Type `protobuf:"bytes,2,opt,name=state_type,json=stateType,proto3" json:"state_type,omitempty"`
// Which aggregator function to use. The configured types must match.
//
// Types that are assignable to Aggregator:
//
// *Type_Aggregate_Sum_
// *Type_Aggregate_HllppUniqueCount
// *Type_Aggregate_Max_
// *Type_Aggregate_Min_
Aggregator isType_Aggregate_Aggregator `protobuf_oneof:"aggregator"`
// contains filtered or unexported fields
}A value that combines incremental updates into a summarized value.
Data is never directly written or read using type Aggregate. Writes will
provide either the input_type or state_type, and reads will always
return the state_type .
func (*Type_Aggregate) Descriptor
func (*Type_Aggregate) Descriptor() ([]byte, []int)Deprecated: Use Type_Aggregate.ProtoReflect.Descriptor instead.
func (*Type_Aggregate) GetAggregator
func (m *Type_Aggregate) GetAggregator() isType_Aggregate_Aggregatorfunc (*Type_Aggregate) GetHllppUniqueCount
func (x *Type_Aggregate) GetHllppUniqueCount() *Type_Aggregate_HyperLogLogPlusPlusUniqueCountfunc (*Type_Aggregate) GetInputType
func (x *Type_Aggregate) GetInputType() *Typefunc (*Type_Aggregate) GetMax
func (x *Type_Aggregate) GetMax() *Type_Aggregate_Maxfunc (*Type_Aggregate) GetMin
func (x *Type_Aggregate) GetMin() *Type_Aggregate_Minfunc (*Type_Aggregate) GetStateType
func (x *Type_Aggregate) GetStateType() *Typefunc (*Type_Aggregate) GetSum
func (x *Type_Aggregate) GetSum() *Type_Aggregate_Sumfunc (*Type_Aggregate) ProtoMessage
func (*Type_Aggregate) ProtoMessage()func (*Type_Aggregate) ProtoReflect
func (x *Type_Aggregate) ProtoReflect() protoreflect.Messagefunc (*Type_Aggregate) Reset
func (x *Type_Aggregate) Reset()func (*Type_Aggregate) String
func (x *Type_Aggregate) String() stringType_AggregateType
type Type_AggregateType struct {
// Aggregate
AggregateType *Type_Aggregate `protobuf:"bytes,6,opt,name=aggregate_type,json=aggregateType,proto3,oneof"`
}Type_Aggregate_HllppUniqueCount
type Type_Aggregate_HllppUniqueCount struct {
// HyperLogLogPlusPlusUniqueCount aggregator.
HllppUniqueCount *Type_Aggregate_HyperLogLogPlusPlusUniqueCount `protobuf:"bytes,5,opt,name=hllpp_unique_count,json=hllppUniqueCount,proto3,oneof"`
}Type_Aggregate_HyperLogLogPlusPlusUniqueCount
type Type_Aggregate_HyperLogLogPlusPlusUniqueCount struct {
// contains filtered or unexported fields
}Computes an approximate unique count over the input values. When using
raw data as input, be careful to use a consistent encoding. Otherwise
the same value encoded differently could count more than once, or two
distinct values could count as identical.
Input: Any, or omit for Raw
State: TBD
Special state conversions: Int64 (the unique count estimate)
func (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) Descriptor
func (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) Descriptor() ([]byte, []int)Deprecated: Use Type_Aggregate_HyperLogLogPlusPlusUniqueCount.ProtoReflect.Descriptor instead.
func (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) ProtoMessage
func (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) ProtoMessage()func (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) ProtoReflect
func (x *Type_Aggregate_HyperLogLogPlusPlusUniqueCount) ProtoReflect() protoreflect.Messagefunc (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) Reset
func (x *Type_Aggregate_HyperLogLogPlusPlusUniqueCount) Reset()func (*Type_Aggregate_HyperLogLogPlusPlusUniqueCount) String
func (x *Type_Aggregate_HyperLogLogPlusPlusUniqueCount) String() stringType_Aggregate_Max
type Type_Aggregate_Max struct {
// contains filtered or unexported fields
}Computes the max of the input values.
Allowed input: Int64
State: same as input
func (*Type_Aggregate_Max) Descriptor
func (*Type_Aggregate_Max) Descriptor() ([]byte, []int)Deprecated: Use Type_Aggregate_Max.ProtoReflect.Descriptor instead.
func (*Type_Aggregate_Max) ProtoMessage
func (*Type_Aggregate_Max) ProtoMessage()func (*Type_Aggregate_Max) ProtoReflect
func (x *Type_Aggregate_Max) ProtoReflect() protoreflect.Messagefunc (*Type_Aggregate_Max) Reset
func (x *Type_Aggregate_Max) Reset()func (*Type_Aggregate_Max) String
func (x *Type_Aggregate_Max) String() stringType_Aggregate_Max_
type Type_Aggregate_Max_ struct {
// Max aggregator.
Max *Type_Aggregate_Max `protobuf:"bytes,6,opt,name=max,proto3,oneof"`
}Type_Aggregate_Min
type Type_Aggregate_Min struct {
// contains filtered or unexported fields
}Computes the min of the input values.
Allowed input: Int64
State: same as input
func (*Type_Aggregate_Min) Descriptor
func (*Type_Aggregate_Min) Descriptor() ([]byte, []int)Deprecated: Use Type_Aggregate_Min.ProtoReflect.Descriptor instead.
func (*Type_Aggregate_Min) ProtoMessage
func (*Type_Aggregate_Min) ProtoMessage()func (*Type_Aggregate_Min) ProtoReflect
func (x *Type_Aggregate_Min) ProtoReflect() protoreflect.Messagefunc (*Type_Aggregate_Min) Reset
func (x *Type_Aggregate_Min) Reset()func (*Type_Aggregate_Min) String
func (x *Type_Aggregate_Min) String() stringType_Aggregate_Min_
type Type_Aggregate_Min_ struct {
// Min aggregator.
Min *Type_Aggregate_Min `protobuf:"bytes,7,opt,name=min,proto3,oneof"`
}Type_Aggregate_Sum
type Type_Aggregate_Sum struct {
// contains filtered or unexported fields
}Computes the sum of the input values.
Allowed input: Int64
State: same as input
func (*Type_Aggregate_Sum) Descriptor
func (*Type_Aggregate_Sum) Descriptor() ([]byte, []int)Deprecated: Use Type_Aggregate_Sum.ProtoReflect.Descriptor instead.
func (*Type_Aggregate_Sum) ProtoMessage
func (*Type_Aggregate_Sum) ProtoMessage()func (*Type_Aggregate_Sum) ProtoReflect
func (x *Type_Aggregate_Sum) ProtoReflect() protoreflect.Messagefunc (*Type_Aggregate_Sum) Reset
func (x *Type_Aggregate_Sum) Reset()func (*Type_Aggregate_Sum) String
func (x *Type_Aggregate_Sum) String() stringType_Aggregate_Sum_
type Type_Aggregate_Sum_ struct {
// Sum aggregator.
Sum *Type_Aggregate_Sum `protobuf:"bytes,4,opt,name=sum,proto3,oneof"`
}Type_Array
type Type_Array struct {
// The type of the elements in the array. This must not be `Array`.
ElementType *Type `protobuf:"bytes,1,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"`
// contains filtered or unexported fields
}An ordered list of elements of a given type.
Values of type Array are stored in Value.array_value.
func (*Type_Array) Descriptor
func (*Type_Array) Descriptor() ([]byte, []int)Deprecated: Use Type_Array.ProtoReflect.Descriptor instead.
func (*Type_Array) GetElementType
func (x *Type_Array) GetElementType() *Typefunc (*Type_Array) ProtoMessage
func (*Type_Array) ProtoMessage()func (*Type_Array) ProtoReflect
func (x *Type_Array) ProtoReflect() protoreflect.Messagefunc (*Type_Array) Reset
func (x *Type_Array) Reset()func (*Type_Array) String
func (x *Type_Array) String() stringType_ArrayType
type Type_ArrayType struct {
// Array
ArrayType *Type_Array `protobuf:"bytes,3,opt,name=array_type,json=arrayType,proto3,oneof"`
}Type_Bool
type Type_Bool struct {
// contains filtered or unexported fields
}bool
Values of type Bool are stored in Value.bool_value.
func (*Type_Bool) Descriptor
Deprecated: Use Type_Bool.ProtoReflect.Descriptor instead.
func (*Type_Bool) ProtoMessage
func (*Type_Bool) ProtoMessage()func (*Type_Bool) ProtoReflect
func (x *Type_Bool) ProtoReflect() protoreflect.Messagefunc (*Type_Bool) Reset
func (x *Type_Bool) Reset()func (*Type_Bool) String
Type_BoolType
type Type_BoolType struct {
// Bool
BoolType *Type_Bool `protobuf:"bytes,8,opt,name=bool_type,json=boolType,proto3,oneof"`
}Type_Bytes
type Type_Bytes struct {
// The encoding to use when converting to or from lower level types.
Encoding *Type_Bytes_Encoding `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"`
// contains filtered or unexported fields
}Bytes
Values of type Bytes are stored in Value.bytes_value.
func (*Type_Bytes) Descriptor
func (*Type_Bytes) Descriptor() ([]byte, []int)Deprecated: Use Type_Bytes.ProtoReflect.Descriptor instead.
func (*Type_Bytes) GetEncoding
func (x *Type_Bytes) GetEncoding() *Type_Bytes_Encodingfunc (*Type_Bytes) ProtoMessage
func (*Type_Bytes) ProtoMessage()func (*Type_Bytes) ProtoReflect
func (x *Type_Bytes) ProtoReflect() protoreflect.Messagefunc (*Type_Bytes) Reset
func (x *Type_Bytes) Reset()func (*Type_Bytes) String
func (x *Type_Bytes) String() stringType_BytesType
type Type_BytesType struct {
// Bytes
BytesType *Type_Bytes `protobuf:"bytes,1,opt,name=bytes_type,json=bytesType,proto3,oneof"`
}Type_Bytes_Encoding
type Type_Bytes_Encoding struct {
// Which encoding to use.
//
// Types that are assignable to Encoding:
//
// *Type_Bytes_Encoding_Raw_
Encoding isType_Bytes_Encoding_Encoding `protobuf_oneof:"encoding"`
// contains filtered or unexported fields
}Rules used to convert to or from lower level types.
func (*Type_Bytes_Encoding) Descriptor
func (*Type_Bytes_Encoding) Descriptor() ([]byte, []int)Deprecated: Use Type_Bytes_Encoding.ProtoReflect.Descriptor instead.
func (*Type_Bytes_Encoding) GetEncoding
func (m *Type_Bytes_Encoding) GetEncoding() isType_Bytes_Encoding_Encodingfunc (*Type_Bytes_Encoding) GetRaw
func (x *Type_Bytes_Encoding) GetRaw() *Type_Bytes_Encoding_Rawfunc (*Type_Bytes_Encoding) ProtoMessage
func (*Type_Bytes_Encoding) ProtoMessage()func (*Type_Bytes_Encoding) ProtoReflect
func (x *Type_Bytes_Encoding) ProtoReflect() protoreflect.Messagefunc (*Type_Bytes_Encoding) Reset
func (x *Type_Bytes_Encoding) Reset()func (*Type_Bytes_Encoding) String
func (x *Type_Bytes_Encoding) String() stringType_Bytes_Encoding_Raw
type Type_Bytes_Encoding_Raw struct {
// contains filtered or unexported fields
}Leaves the value as-is.
Sorted mode: all values are supported.
Distinct mode: all values are supported.
func (*Type_Bytes_Encoding_Raw) Descriptor
func (*Type_Bytes_Encoding_Raw) Descriptor() ([]byte, []int)Deprecated: Use Type_Bytes_Encoding_Raw.ProtoReflect.Descriptor instead.
func (*Type_Bytes_Encoding_Raw) ProtoMessage
func (*Type_Bytes_Encoding_Raw) ProtoMessage()func (*Type_Bytes_Encoding_Raw) ProtoReflect
func (x *Type_Bytes_Encoding_Raw) ProtoReflect() protoreflect.Messagefunc (*Type_Bytes_Encoding_Raw) Reset
func (x *Type_Bytes_Encoding_Raw) Reset()func (*Type_Bytes_Encoding_Raw) String
func (x *Type_Bytes_Encoding_Raw) String() stringType_Bytes_Encoding_Raw_
type Type_Bytes_Encoding_Raw_ struct {
// Use `Raw` encoding.
Raw *Type_Bytes_Encoding_Raw `protobuf:"bytes,1,opt,name=raw,proto3,oneof"`
}Type_Date
type Type_Date struct {
// contains filtered or unexported fields
}Date
Values of type Date are stored in Value.date_value.
func (*Type_Date) Descriptor
Deprecated: Use Type_Date.ProtoReflect.Descriptor instead.
func (*Type_Date) ProtoMessage
func (*Type_Date) ProtoMessage()func (*Type_Date) ProtoReflect
func (x *Type_Date) ProtoReflect() protoreflect.Messagefunc (*Type_Date) Reset
func (x *Type_Date) Reset()func (*Type_Date) String
Type_DateType
type Type_DateType struct {
// Date
DateType *Type_Date `protobuf:"bytes,11,opt,name=date_type,json=dateType,proto3,oneof"`
}Type_Enum
type Type_Enum struct {
// The ID of the schema bundle that this enum is defined in.
SchemaBundleId string `protobuf:"bytes,1,opt,name=schema_bundle_id,json=schemaBundleId,proto3" json:"schema_bundle_id,omitempty"`
// The fully qualified name of the protobuf enum message, including package.
// In the format of "foo.bar.EnumMessage".
EnumName string `protobuf:"bytes,2,opt,name=enum_name,json=enumName,proto3" json:"enum_name,omitempty"`
// contains filtered or unexported fields
}A protobuf enum type.
Values of type Enum are stored in Value.int_value.
func (*Type_Enum) Descriptor
Deprecated: Use Type_Enum.ProtoReflect.Descriptor instead.
func (*Type_Enum) GetEnumName
func (*Type_Enum) GetSchemaBundleId
func (*Type_Enum) ProtoMessage
func (*Type_Enum) ProtoMessage()func (*Type_Enum) ProtoReflect
func (x *Type_Enum) ProtoReflect() protoreflect.Messagefunc (*Type_Enum) Reset
func (x *Type_Enum) Reset()func (*Type_Enum) String
Type_EnumType
type Type_EnumType struct {
// Enum
EnumType *Type_Enum `protobuf:"bytes,14,opt,name=enum_type,json=enumType,proto3,oneof"`
}Type_Float32
type Type_Float32 struct {
// contains filtered or unexported fields
}Float32
Values of type Float32 are stored in Value.float_value.
func (*Type_Float32) Descriptor
func (*Type_Float32) Descriptor() ([]byte, []int)Deprecated: Use Type_Float32.ProtoReflect.Descriptor instead.
func (*Type_Float32) ProtoMessage
func (*Type_Float32) ProtoMessage()func (*Type_Float32) ProtoReflect
func (x *Type_Float32) ProtoReflect() protoreflect.Messagefunc (*Type_Float32) Reset
func (x *Type_Float32) Reset()func (*Type_Float32) String
func (x *Type_Float32) String() stringType_Float32Type
type Type_Float32Type struct {
// Float32
Float32Type *Type_Float32 `protobuf:"bytes,12,opt,name=float32_type,json=float32Type,proto3,oneof"`
}Type_Float64
type Type_Float64 struct {
// contains filtered or unexported fields
}Float64
Values of type Float64 are stored in Value.float_value.
func (*Type_Float64) Descriptor
func (*Type_Float64) Descriptor() ([]byte, []int)Deprecated: Use Type_Float64.ProtoReflect.Descriptor instead.
func (*Type_Float64) ProtoMessage
func (*Type_Float64) ProtoMessage()func (*Type_Float64) ProtoReflect
func (x *Type_Float64) ProtoReflect() protoreflect.Messagefunc (*Type_Float64) Reset
func (x *Type_Float64) Reset()func (*Type_Float64) String
func (x *Type_Float64) String() stringType_Float64Type
type Type_Float64Type struct {
// Float64
Float64Type *Type_Float64 `protobuf:"bytes,9,opt,name=float64_type,json=float64Type,proto3,oneof"`
}Type_Int64
type Type_Int64 struct {
// The encoding to use when converting to or from lower level types.
Encoding *Type_Int64_Encoding `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"`
// contains filtered or unexported fields
}Int64
Values of type Int64 are stored in Value.int_value.
func (*Type_Int64) Descriptor
func (*Type_Int64) Descriptor() ([]byte, []int)Deprecated: Use Type_Int64.ProtoReflect.Descriptor instead.
func (*Type_Int64) GetEncoding
func (x *Type_Int64) GetEncoding() *Type_Int64_Encodingfunc (*Type_Int64) ProtoMessage
func (*Type_Int64) ProtoMessage()func (*Type_Int64) ProtoReflect
func (x *Type_Int64) ProtoReflect() protoreflect.Messagefunc (*Type_Int64) Reset
func (x *Type_Int64) Reset()func (*Type_Int64) String
func (x *Type_Int64) String() stringType_Int64Type
type Type_Int64Type struct {
// Int64
Int64Type *Type_Int64 `protobuf:"bytes,5,opt,name=int64_type,json=int64Type,proto3,oneof"`
}Type_Int64_Encoding
type Type_Int64_Encoding struct {
// Which encoding to use.
//
// Types that are assignable to Encoding:
//
// *Type_Int64_Encoding_BigEndianBytes_
// *Type_Int64_Encoding_OrderedCodeBytes_
Encoding isType_Int64_Encoding_Encoding `protobuf_oneof:"encoding"`
// contains filtered or unexported fields
}Rules used to convert to or from lower level types.
func (*Type_Int64_Encoding) Descriptor
func (*Type_Int64_Encoding) Descriptor() ([]byte, []int)Deprecated: Use Type_Int64_Encoding.ProtoReflect.Descriptor instead.
func (*Type_Int64_Encoding) GetBigEndianBytes
func (x *Type_Int64_Encoding) GetBigEndianBytes() *Type_Int64_Encoding_BigEndianBytesfunc (*Type_Int64_Encoding) GetEncoding
func (m *Type_Int64_Encoding) GetEncoding() isType_Int64_Encoding_Encodingfunc (*Type_Int64_Encoding) GetOrderedCodeBytes
func (x *Type_Int64_Encoding) GetOrderedCodeBytes() *Type_Int64_Encoding_OrderedCodeBytesfunc (*Type_Int64_Encoding) ProtoMessage
func (*Type_Int64_Encoding) ProtoMessage()func (*Type_Int64_Encoding) ProtoReflect
func (x *Type_Int64_Encoding) ProtoReflect() protoreflect.Messagefunc (*Type_Int64_Encoding) Reset
func (x *Type_Int64_Encoding) Reset()func (*Type_Int64_Encoding) String
func (x *Type_Int64_Encoding) String() stringType_Int64_Encoding_BigEndianBytes
type Type_Int64_Encoding_BigEndianBytes struct {
// Deprecated: ignored if set.
//
// Deprecated: Marked as deprecated in google/bigtable/admin/v2/types.proto.
BytesType *Type_Bytes `protobuf:"bytes,1,opt,name=bytes_type,json=bytesType,proto3" json:"bytes_type,omitempty"`
// contains filtered or unexported fields
}Encodes the value as an 8-byte big-endian two's complement value.
Sorted mode: non-negative values are supported.
Distinct mode: all values are supported.
Compatible with:
- BigQuery
BINARYencoding - HBase
Bytes.toBytes - Java
ByteBuffer.putLong()withByteOrder.BIG_ENDIAN
func (*Type_Int64_Encoding_BigEndianBytes) Descriptor
func (*Type_Int64_Encoding_BigEndianBytes) Descriptor() ([]byte, []int)Deprecated: Use Type_Int64_Encoding_BigEndianBytes.ProtoReflect.Descriptor instead.
func (*Type_Int64_Encoding_BigEndianBytes) GetBytesType
func (x *Type_Int64_Encoding_BigEndianBytes) GetBytesType() *Type_BytesDeprecated: Marked as deprecated in google/bigtable/admin/v2/types.proto.
func (*Type_Int64_Encoding_BigEndianBytes) ProtoMessage
func (*Type_Int64_Encoding_BigEndianBytes) ProtoMessage()func (*Type_Int64_Encoding_BigEndianBytes) ProtoReflect
func (x *Type_Int64_Encoding_BigEndianBytes) ProtoReflect() protoreflect.Messagefunc (*Type_Int64_Encoding_BigEndianBytes) Reset
func (x *Type_Int64_Encoding_BigEndianBytes) Reset()func (*Type_Int64_Encoding_BigEndianBytes) String
func (x *Type_Int64_Encoding_BigEndianBytes) String() stringType_Int64_Encoding_BigEndianBytes_
type Type_Int64_Encoding_BigEndianBytes_ struct {
// Use `BigEndianBytes` encoding.
BigEndianBytes *Type_Int64_Encoding_BigEndianBytes `protobuf:"bytes,1,opt,name=big_endian_bytes,json=bigEndianBytes,proto3,oneof"`
}Type_Int64_Encoding_OrderedCodeBytes
type Type_Int64_Encoding_OrderedCodeBytes struct {
// contains filtered or unexported fields
}Encodes the value in a variable length binary format of up to 10 bytes. Values that are closer to zero use fewer bytes.
Sorted mode: all values are supported.
Distinct mode: all values are supported.
func (*Type_Int64_Encoding_OrderedCodeBytes) Descriptor
func (*Type_Int64_Encoding_OrderedCodeBytes) Descriptor() ([]byte, []int)Deprecated: Use Type_Int64_Encoding_OrderedCodeBytes.ProtoReflect.Descriptor instead.
func (*Type_Int64_Encoding_OrderedCodeBytes) ProtoMessage
func (*Type_Int64_Encoding_OrderedCodeBytes) ProtoMessage()func (*Type_Int64_Encoding_OrderedCodeBytes) ProtoReflect
func (x *Type_Int64_Encoding_OrderedCodeBytes) ProtoReflect() protoreflect.Messagefunc (*Type_Int64_Encoding_OrderedCodeBytes) Reset
func (x *Type_Int64_Encoding_OrderedCodeBytes) Reset()func (*Type_Int64_Encoding_OrderedCodeBytes) String
func (x *Type_Int64_Encoding_OrderedCodeBytes) String() stringType_Int64_Encoding_OrderedCodeBytes_
type Type_Int64_Encoding_OrderedCodeBytes_ struct {
// Use `OrderedCodeBytes` encoding.
OrderedCodeBytes *Type_Int64_Encoding_OrderedCodeBytes `protobuf:"bytes,2,opt,name=ordered_code_bytes,json=orderedCodeBytes,proto3,oneof"`
}Type_Map
type Type_Map struct {
// The type of a map key.
// Only `Bytes`, `String`, and `Int64` are allowed as key types.
KeyType *Type `protobuf:"bytes,1,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
// The type of the values in a map.
ValueType *Type `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
// contains filtered or unexported fields
}A mapping of keys to values of a given type.
Values of type Map are stored in a Value.array_value where each entry
is another Value.array_value with two elements (the key and the value,
in that order).
Normally encoded Map values won't have repeated keys, however, clients are
expected to handle the case in which they do. If the same key appears
multiple times, the last value takes precedence.
func (*Type_Map) Descriptor
Deprecated: Use Type_Map.ProtoReflect.Descriptor instead.
func (*Type_Map) GetKeyType
func (*Type_Map) GetValueType
func (*Type_Map) ProtoMessage
func (*Type_Map) ProtoMessage()func (*Type_Map) ProtoReflect
func (x *Type_Map) ProtoReflect() protoreflect.Messagefunc (*Type_Map) Reset
func (x *Type_Map) Reset()func (*Type_Map) String
Type_MapType
type Type_MapType struct {
// Map
MapType *Type_Map `protobuf:"bytes,4,opt,name=map_type,json=mapType,proto3,oneof"`
}Type_Proto
type Type_Proto struct {
// The ID of the schema bundle that this proto is defined in.
SchemaBundleId string `protobuf:"bytes,1,opt,name=schema_bundle_id,json=schemaBundleId,proto3" json:"schema_bundle_id,omitempty"`
// The fully qualified name of the protobuf message, including package. In
// the format of "foo.bar.Message".
MessageName string `protobuf:"bytes,2,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"`
// contains filtered or unexported fields
}A protobuf message type.
Values of type Proto are stored in Value.bytes_value.
func (*Type_Proto) Descriptor
func (*Type_Proto) Descriptor() ([]byte, []int)Deprecated: Use Type_Proto.ProtoReflect.Descriptor instead.
func (*Type_Proto) GetMessageName
func (x *Type_Proto) GetMessageName() stringfunc (*Type_Proto) GetSchemaBundleId
func (x *Type_Proto) GetSchemaBundleId() stringfunc (*Type_Proto) ProtoMessage
func (*Type_Proto) ProtoMessage()func (*Type_Proto) ProtoReflect
func (x *Type_Proto) ProtoReflect() protoreflect.Messagefunc (*Type_Proto) Reset
func (x *Type_Proto) Reset()func (*Type_Proto) String
func (x *Type_Proto) String() stringType_ProtoType
type Type_ProtoType struct {
// Proto
ProtoType *Type_Proto `protobuf:"bytes,13,opt,name=proto_type,json=protoType,proto3,oneof"`
}Type_String
type Type_String struct {
// The encoding to use when converting to or from lower level types.
Encoding *Type_String_Encoding `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"`
// contains filtered or unexported fields
}String
Values of type String are stored in Value.string_value.
func (*Type_String) Descriptor
func (*Type_String) Descriptor() ([]byte, []int)Deprecated: Use Type_String.ProtoReflect.Descriptor instead.
func (*Type_String) GetEncoding
func (x *Type_String) GetEncoding() *Type_String_Encodingfunc (*Type_String) ProtoMessage
func (*Type_String) ProtoMessage()func (*Type_String) ProtoReflect
func (x *Type_String) ProtoReflect() protoreflect.Messagefunc (*Type_String) Reset
func (x *Type_String) Reset()func (*Type_String) String
func (x *Type_String) String() stringType_StringType
type Type_StringType struct {
// String
StringType *Type_String `protobuf:"bytes,2,opt,name=string_type,json=stringType,proto3,oneof"`
}Type_String_Encoding
type Type_String_Encoding struct {
// Which encoding to use.
//
// Types that are assignable to Encoding:
//
// *Type_String_Encoding_Utf8Raw_
// *Type_String_Encoding_Utf8Bytes_
Encoding isType_String_Encoding_Encoding `protobuf_oneof:"encoding"`
// contains filtered or unexported fields
}Rules used to convert to or from lower level types.
func (*Type_String_Encoding) Descriptor
func (*Type_String_Encoding) Descriptor() ([]byte, []int)Deprecated: Use Type_String_Encoding.ProtoReflect.Descriptor instead.
func (*Type_String_Encoding) GetEncoding
func (m *Type_String_Encoding) GetEncoding() isType_String_Encoding_Encodingfunc (*Type_String_Encoding) GetUtf8Bytes
func (x *Type_String_Encoding) GetUtf8Bytes() *Type_String_Encoding_Utf8Bytesfunc (*Type_String_Encoding) GetUtf8Raw
func (x *Type_String_Encoding) GetUtf8Raw() *Type_String_Encoding_Utf8RawDeprecated: Marked as deprecated in google/bigtable/admin/v2/types.proto.
func (*Type_String_Encoding) ProtoMessage
func (*Type_String_Encoding) ProtoMessage()func (*Type_String_Encoding) ProtoReflect
func (x *Type_String_Encoding) ProtoReflect() protoreflect.Messagefunc (*Type_String_Encoding) Reset
func (x *Type_String_Encoding) Reset()func (*Type_String_Encoding) String
func (x *Type_String_Encoding) String() stringType_String_Encoding_Utf8Bytes
type Type_String_Encoding_Utf8Bytes struct {
// contains filtered or unexported fields
}UTF-8 encoding.
Sorted mode:
- All values are supported.
- Code point order is preserved.
Distinct mode: all values are supported.
Compatible with:
- BigQuery
TEXTencoding - HBase
Bytes.toBytes - Java
String#getBytes(StandardCharsets.UTF_8)
func (*Type_String_Encoding_Utf8Bytes) Descriptor
func (*Type_String_Encoding_Utf8Bytes) Descriptor() ([]byte, []int)Deprecated: Use Type_String_Encoding_Utf8Bytes.ProtoReflect.Descriptor instead.
func (*Type_String_Encoding_Utf8Bytes) ProtoMessage
func (*Type_String_Encoding_Utf8Bytes) ProtoMessage()func (*Type_String_Encoding_Utf8Bytes) ProtoReflect
func (x *Type_String_Encoding_Utf8Bytes) ProtoReflect() protoreflect.Messagefunc (*Type_String_Encoding_Utf8Bytes) Reset
func (x *Type_String_Encoding_Utf8Bytes) Reset()func (*Type_String_Encoding_Utf8Bytes) String
func (x *Type_String_Encoding_Utf8Bytes) String() stringType_String_Encoding_Utf8Bytes_
type Type_String_Encoding_Utf8Bytes_ struct {
// Use `Utf8Bytes` encoding.
Utf8Bytes *Type_String_Encoding_Utf8Bytes `protobuf:"bytes,2,opt,name=utf8_bytes,json=utf8Bytes,proto3,oneof"`
}Type_String_Encoding_Utf8Raw (deprecated)
type Type_String_Encoding_Utf8Raw struct {
// contains filtered or unexported fields
}Deprecated: prefer the equivalent Utf8Bytes.
Deprecated: Marked as deprecated in google/bigtable/admin/v2/types.proto.
func (*Type_String_Encoding_Utf8Raw) Descriptor (deprecated)
func (*Type_String_Encoding_Utf8Raw) Descriptor() ([]byte, []int)Deprecated: Use Type_String_Encoding_Utf8Raw.ProtoReflect.Descriptor instead.
func (*Type_String_Encoding_Utf8Raw) ProtoMessage (deprecated)
func (*Type_String_Encoding_Utf8Raw) ProtoMessage()func (*Type_String_Encoding_Utf8Raw) ProtoReflect (deprecated)
func (x *Type_String_Encoding_Utf8Raw) ProtoReflect() protoreflect.Messagefunc (*Type_String_Encoding_Utf8Raw) Reset (deprecated)
func (x *Type_String_Encoding_Utf8Raw) Reset()func (*Type_String_Encoding_Utf8Raw) String (deprecated)
func (x *Type_String_Encoding_Utf8Raw) String() stringType_String_Encoding_Utf8Raw_
type Type_String_Encoding_Utf8Raw_ struct {
// Deprecated: if set, converts to an empty `utf8_bytes`.
//
// Deprecated: Marked as deprecated in google/bigtable/admin/v2/types.proto.
Utf8Raw *Type_String_Encoding_Utf8Raw `protobuf:"bytes,1,opt,name=utf8_raw,json=utf8Raw,proto3,oneof"`
}Type_Struct
type Type_Struct struct {
// The names and types of the fields in this struct.
Fields []*Type_Struct_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// The encoding to use when converting to or from lower level types.
Encoding *Type_Struct_Encoding `protobuf:"bytes,2,opt,name=encoding,proto3" json:"encoding,omitempty"`
// contains filtered or unexported fields
}A structured data value, consisting of fields which map to dynamically
typed values.
Values of type Struct are stored in Value.array_value where entries are
in the same order and number as field_types.
func (*Type_Struct) Descriptor
func (*Type_Struct) Descriptor() ([]byte, []int)Deprecated: Use Type_Struct.ProtoReflect.Descriptor instead.
func (*Type_Struct) GetEncoding
func (x *Type_Struct) GetEncoding() *Type_Struct_Encodingfunc (*Type_Struct) GetFields
func (x *Type_Struct) GetFields() []*Type_Struct_Fieldfunc (*Type_Struct) ProtoMessage
func (*Type_Struct) ProtoMessage()func (*Type_Struct) ProtoReflect
func (x *Type_Struct) ProtoReflect() protoreflect.Messagefunc (*Type_Struct) Reset
func (x *Type_Struct) Reset()func (*Type_Struct) String
func (x *Type_Struct) String() stringType_StructType
type Type_StructType struct {
// Struct
StructType *Type_Struct `protobuf:"bytes,7,opt,name=struct_type,json=structType,proto3,oneof"`
}Type_Struct_Encoding
type Type_Struct_Encoding struct {
// Which encoding to use.
//
// Types that are assignable to Encoding:
//
// *Type_Struct_Encoding_Singleton_
// *Type_Struct_Encoding_DelimitedBytes_
// *Type_Struct_Encoding_OrderedCodeBytes_
Encoding isType_Struct_Encoding_Encoding `protobuf_oneof:"encoding"`
// contains filtered or unexported fields
}Rules used to convert to or from lower level types.
func (*Type_Struct_Encoding) Descriptor
func (*Type_Struct_Encoding) Descriptor() ([]byte, []int)Deprecated: Use Type_Struct_Encoding.ProtoReflect.Descriptor instead.
func (*Type_Struct_Encoding) GetDelimitedBytes
func (x *Type_Struct_Encoding) GetDelimitedBytes() *Type_Struct_Encoding_DelimitedBytesfunc (*Type_Struct_Encoding) GetEncoding
func (m *Type_Struct_Encoding) GetEncoding() isType_Struct_Encoding_Encodingfunc (*Type_Struct_Encoding) GetOrderedCodeBytes
func (x *Type_Struct_Encoding) GetOrderedCodeBytes() *Type_Struct_Encoding_OrderedCodeBytesfunc (*Type_Struct_Encoding) GetSingleton
func (x *Type_Struct_Encoding) GetSingleton() *Type_Struct_Encoding_Singletonfunc (*Type_Struct_Encoding) ProtoMessage
func (*Type_Struct_Encoding) ProtoMessage()func (*Type_Struct_Encoding) ProtoReflect
func (x *Type_Struct_Encoding) ProtoReflect() protoreflect.Messagefunc (*Type_Struct_Encoding) Reset
func (x *Type_Struct_Encoding) Reset()func (*Type_Struct_Encoding) String
func (x *Type_Struct_Encoding) String() stringType_Struct_Encoding_DelimitedBytes
type Type_Struct_Encoding_DelimitedBytes struct {
// Byte sequence used to delimit concatenated fields. The delimiter must
// contain at least 1 character and at most 50 characters.
Delimiter []byte `protobuf:"bytes,1,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
// contains filtered or unexported fields
}Fields are encoded independently and concatenated with a configurable
delimiter in between.
A struct with no fields defined is encoded as a single delimiter.
Sorted mode:
- Fields are encoded in sorted mode.
- Encoded field values must not contain any bytes <=
delimiter[0] - Element-wise order is preserved:
A < BifA[0] < B[0], or ifA[0] == B[0] && A[1] < B[1], etc. Strict prefixes sort first.
Distinct mode:
- Fields are encoded in distinct mode.
- Encoded field values must not contain
delimiter[0].
func (*Type_Struct_Encoding_DelimitedBytes) Descriptor
func (*Type_Struct_Encoding_DelimitedBytes) Descriptor() ([]byte, []int)Deprecated: Use Type_Struct_Encoding_DelimitedBytes.ProtoReflect.Descriptor instead.
func (*Type_Struct_Encoding_DelimitedBytes) GetDelimiter
func (x *Type_Struct_Encoding_DelimitedBytes) GetDelimiter() []bytefunc (*Type_Struct_Encoding_DelimitedBytes) ProtoMessage
func (*Type_Struct_Encoding_DelimitedBytes) ProtoMessage()func (*Type_Struct_Encoding_DelimitedBytes) ProtoReflect
func (x *Type_Struct_Encoding_DelimitedBytes) ProtoReflect() protoreflect.Messagefunc (*Type_Struct_Encoding_DelimitedBytes) Reset
func (x *Type_Struct_Encoding_DelimitedBytes) Reset()func (*Type_Struct_Encoding_DelimitedBytes) String
func (x *Type_Struct_Encoding_DelimitedBytes) String() stringType_Struct_Encoding_DelimitedBytes_
type Type_Struct_Encoding_DelimitedBytes_ struct {
// Use `DelimitedBytes` encoding.
DelimitedBytes *Type_Struct_Encoding_DelimitedBytes `protobuf:"bytes,2,opt,name=delimited_bytes,json=delimitedBytes,proto3,oneof"`
}Type_Struct_Encoding_OrderedCodeBytes
type Type_Struct_Encoding_OrderedCodeBytes struct {
// contains filtered or unexported fields
}Fields are encoded independently and concatenated with the fixed byte pair {0x00, 0x01} in between.
Any null (0x00) byte in an encoded field is replaced by the fixed byte pair {0x00, 0xFF}.
Fields that encode to the empty string "" have special handling:
- If every field encodes to "", or if the STRUCT has no fields defined, then the STRUCT is encoded as the fixed byte pair {0x00, 0x00}.
- Otherwise, the STRUCT only encodes until the last non-empty field, omitting any trailing empty fields. Any empty fields that aren't omitted are replaced with the fixed byte pair {0x00, 0x00}.
Examples:
- STRUCT() -> "\00\00"
- STRUCT("") -> "\00\00"
- STRUCT("", "") -> "\00\00"
- STRUCT("", "B") -> "\00\00" + "\00\01" + "B"
- STRUCT("A", "") -> "A"
- STRUCT("", "B", "") -> "\00\00" + "\00\01" + "B"
- STRUCT("A", "", "C") -> "A" + "\00\01" + "\00\00" + "\00\01" + "C"
Since null bytes are always escaped, this encoding can cause size
blowup for encodings like Int64.BigEndianBytes that are likely to
produce many such bytes.
Sorted mode:
- Fields are encoded in sorted mode.
- All values supported by the field encodings are allowed
- Element-wise order is preserved:
A < BifA[0] < B[0], or ifA[0] == B[0] && A[1] < B[1], etc. Strict prefixes sort first.
Distinct mode:
- Fields are encoded in distinct mode.
- All values supported by the field encodings are allowed.
func (*Type_Struct_Encoding_OrderedCodeBytes) Descriptor
func (*Type_Struct_Encoding_OrderedCodeBytes) Descriptor() ([]byte, []int)Deprecated: Use Type_Struct_Encoding_OrderedCodeBytes.ProtoReflect.Descriptor instead.
func (*Type_Struct_Encoding_OrderedCodeBytes) ProtoMessage
func (*Type_Struct_Encoding_OrderedCodeBytes) ProtoMessage()func (*Type_Struct_Encoding_OrderedCodeBytes) ProtoReflect
func (x *Type_Struct_Encoding_OrderedCodeBytes) ProtoReflect() protoreflect.Messagefunc (*Type_Struct_Encoding_OrderedCodeBytes) Reset
func (x *Type_Struct_Encoding_OrderedCodeBytes) Reset()func (*Type_Struct_Encoding_OrderedCodeBytes) String
func (x *Type_Struct_Encoding_OrderedCodeBytes) String() stringType_Struct_Encoding_OrderedCodeBytes_
type Type_Struct_Encoding_OrderedCodeBytes_ struct {
// User `OrderedCodeBytes` encoding.
OrderedCodeBytes *Type_Struct_Encoding_OrderedCodeBytes `protobuf:"bytes,3,opt,name=ordered_code_bytes,json=orderedCodeBytes,proto3,oneof"`
}Type_Struct_Encoding_Singleton
type Type_Struct_Encoding_Singleton struct {
// contains filtered or unexported fields
}Uses the encoding of fields[0].type as-is.
Only valid if fields.size == 1.
func (*Type_Struct_Encoding_Singleton) Descriptor
func (*Type_Struct_Encoding_Singleton) Descriptor() ([]byte, []int)Deprecated: Use Type_Struct_Encoding_Singleton.ProtoReflect.Descriptor instead.
func (*Type_Struct_Encoding_Singleton) ProtoMessage
func (*Type_Struct_Encoding_Singleton) ProtoMessage()func (*Type_Struct_Encoding_Singleton) ProtoReflect
func (x *Type_Struct_Encoding_Singleton) ProtoReflect() protoreflect.Messagefunc (*Type_Struct_Encoding_Singleton) Reset
func (x *Type_Struct_Encoding_Singleton) Reset()func (*Type_Struct_Encoding_Singleton) String
func (x *Type_Struct_Encoding_Singleton) String() stringType_Struct_Encoding_Singleton_
type Type_Struct_Encoding_Singleton_ struct {
// Use `Singleton` encoding.
Singleton *Type_Struct_Encoding_Singleton `protobuf:"bytes,1,opt,name=singleton,proto3,oneof"`
}Type_Struct_Field
type Type_Struct_Field struct {
// The field name (optional). Fields without a `field_name` are considered
// anonymous and cannot be referenced by name.
FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// The type of values in this field.
Type *Type `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}A struct field and its type.
func (*Type_Struct_Field) Descriptor
func (*Type_Struct_Field) Descriptor() ([]byte, []int)Deprecated: Use Type_Struct_Field.ProtoReflect.Descriptor instead.
func (*Type_Struct_Field) GetFieldName
func (x *Type_Struct_Field) GetFieldName() stringfunc (*Type_Struct_Field) GetType
func (x *Type_Struct_Field) GetType() *Typefunc (*Type_Struct_Field) ProtoMessage
func (*Type_Struct_Field) ProtoMessage()func (*Type_Struct_Field) ProtoReflect
func (x *Type_Struct_Field) ProtoReflect() protoreflect.Messagefunc (*Type_Struct_Field) Reset
func (x *Type_Struct_Field) Reset()func (*Type_Struct_Field) String
func (x *Type_Struct_Field) String() stringType_Timestamp
type Type_Timestamp struct {
// The encoding to use when converting to or from lower level types.
Encoding *Type_Timestamp_Encoding `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"`
// contains filtered or unexported fields
}Timestamp
Values of type Timestamp are stored in Value.timestamp_value.
func (*Type_Timestamp) Descriptor
func (*Type_Timestamp) Descriptor() ([]byte, []int)Deprecated: Use Type_Timestamp.ProtoReflect.Descriptor instead.
func (*Type_Timestamp) GetEncoding
func (x *Type_Timestamp) GetEncoding() *Type_Timestamp_Encodingfunc (*Type_Timestamp) ProtoMessage
func (*Type_Timestamp) ProtoMessage()func (*Type_Timestamp) ProtoReflect
func (x *Type_Timestamp) ProtoReflect() protoreflect.Messagefunc (*Type_Timestamp) Reset
func (x *Type_Timestamp) Reset()func (*Type_Timestamp) String
func (x *Type_Timestamp) String() stringType_TimestampType
type Type_TimestampType struct {
// Timestamp
TimestampType *Type_Timestamp `protobuf:"bytes,10,opt,name=timestamp_type,json=timestampType,proto3,oneof"`
}Type_Timestamp_Encoding
type Type_Timestamp_Encoding struct {
// Which encoding to use.
//
// Types that are assignable to Encoding:
//
// *Type_Timestamp_Encoding_UnixMicrosInt64
Encoding isType_Timestamp_Encoding_Encoding `protobuf_oneof:"encoding"`
// contains filtered or unexported fields
}Rules used to convert to or from lower level types.
func (*Type_Timestamp_Encoding) Descriptor
func (*Type_Timestamp_Encoding) Descriptor() ([]byte, []int)Deprecated: Use Type_Timestamp_Encoding.ProtoReflect.Descriptor instead.
func (*Type_Timestamp_Encoding) GetEncoding
func (m *Type_Timestamp_Encoding) GetEncoding() isType_Timestamp_Encoding_Encodingfunc (*Type_Timestamp_Encoding) GetUnixMicrosInt64
func (x *Type_Timestamp_Encoding) GetUnixMicrosInt64() *Type_Int64_Encodingfunc (*Type_Timestamp_Encoding) ProtoMessage
func (*Type_Timestamp_Encoding) ProtoMessage()func (*Type_Timestamp_Encoding) ProtoReflect
func (x *Type_Timestamp_Encoding) ProtoReflect() protoreflect.Messagefunc (*Type_Timestamp_Encoding) Reset
func (x *Type_Timestamp_Encoding) Reset()func (*Type_Timestamp_Encoding) String
func (x *Type_Timestamp_Encoding) String() stringType_Timestamp_Encoding_UnixMicrosInt64
type Type_Timestamp_Encoding_UnixMicrosInt64 struct {
// Encodes the number of microseconds since the Unix epoch using the
// given `Int64` encoding. Values must be microsecond-aligned.
//
// Compatible with:
//
// - Java `Instant.truncatedTo()` with `ChronoUnit.MICROS`
UnixMicrosInt64 *Type_Int64_Encoding `protobuf:"bytes,1,opt,name=unix_micros_int64,json=unixMicrosInt64,proto3,oneof"`
}UndeleteTableMetadata
type UndeleteTableMetadata struct {
// The name of the table being restored.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was cancelled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Metadata type for the operation returned by [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
func (*UndeleteTableMetadata) Descriptor
func (*UndeleteTableMetadata) Descriptor() ([]byte, []int)Deprecated: Use UndeleteTableMetadata.ProtoReflect.Descriptor instead.
func (*UndeleteTableMetadata) GetEndTime
func (x *UndeleteTableMetadata) GetEndTime() *timestamppb.Timestampfunc (*UndeleteTableMetadata) GetName
func (x *UndeleteTableMetadata) GetName() stringfunc (*UndeleteTableMetadata) GetStartTime
func (x *UndeleteTableMetadata) GetStartTime() *timestamppb.Timestampfunc (*UndeleteTableMetadata) ProtoMessage
func (*UndeleteTableMetadata) ProtoMessage()func (*UndeleteTableMetadata) ProtoReflect
func (x *UndeleteTableMetadata) ProtoReflect() protoreflect.Messagefunc (*UndeleteTableMetadata) Reset
func (x *UndeleteTableMetadata) Reset()func (*UndeleteTableMetadata) String
func (x *UndeleteTableMetadata) String() stringUndeleteTableRequest
type UndeleteTableRequest struct {
// Required. The unique name of the table to be restored.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
func (*UndeleteTableRequest) Descriptor
func (*UndeleteTableRequest) Descriptor() ([]byte, []int)Deprecated: Use UndeleteTableRequest.ProtoReflect.Descriptor instead.
func (*UndeleteTableRequest) GetName
func (x *UndeleteTableRequest) GetName() stringfunc (*UndeleteTableRequest) ProtoMessage
func (*UndeleteTableRequest) ProtoMessage()func (*UndeleteTableRequest) ProtoReflect
func (x *UndeleteTableRequest) ProtoReflect() protoreflect.Messagefunc (*UndeleteTableRequest) Reset
func (x *UndeleteTableRequest) Reset()func (*UndeleteTableRequest) String
func (x *UndeleteTableRequest) String() stringUnimplementedBigtableInstanceAdminServer
type UnimplementedBigtableInstanceAdminServer struct {
}UnimplementedBigtableInstanceAdminServer should be embedded to have forward compatible implementations.
func (UnimplementedBigtableInstanceAdminServer) CreateAppProfile
func (UnimplementedBigtableInstanceAdminServer) CreateAppProfile(context.Context, *CreateAppProfileRequest) (*AppProfile, error)func (UnimplementedBigtableInstanceAdminServer) CreateCluster
func (UnimplementedBigtableInstanceAdminServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) CreateInstance
func (UnimplementedBigtableInstanceAdminServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) CreateLogicalView
func (UnimplementedBigtableInstanceAdminServer) CreateLogicalView(context.Context, *CreateLogicalViewRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) CreateMaterializedView
func (UnimplementedBigtableInstanceAdminServer) CreateMaterializedView(context.Context, *CreateMaterializedViewRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) DeleteAppProfile
func (UnimplementedBigtableInstanceAdminServer) DeleteAppProfile(context.Context, *DeleteAppProfileRequest) (*emptypb.Empty, error)func (UnimplementedBigtableInstanceAdminServer) DeleteCluster
func (UnimplementedBigtableInstanceAdminServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error)func (UnimplementedBigtableInstanceAdminServer) DeleteInstance
func (UnimplementedBigtableInstanceAdminServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*emptypb.Empty, error)func (UnimplementedBigtableInstanceAdminServer) DeleteLogicalView
func (UnimplementedBigtableInstanceAdminServer) DeleteLogicalView(context.Context, *DeleteLogicalViewRequest) (*emptypb.Empty, error)func (UnimplementedBigtableInstanceAdminServer) DeleteMaterializedView
func (UnimplementedBigtableInstanceAdminServer) DeleteMaterializedView(context.Context, *DeleteMaterializedViewRequest) (*emptypb.Empty, error)func (UnimplementedBigtableInstanceAdminServer) GetAppProfile
func (UnimplementedBigtableInstanceAdminServer) GetAppProfile(context.Context, *GetAppProfileRequest) (*AppProfile, error)func (UnimplementedBigtableInstanceAdminServer) GetCluster
func (UnimplementedBigtableInstanceAdminServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)func (UnimplementedBigtableInstanceAdminServer) GetIamPolicy
func (UnimplementedBigtableInstanceAdminServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedBigtableInstanceAdminServer) GetInstance
func (UnimplementedBigtableInstanceAdminServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)func (UnimplementedBigtableInstanceAdminServer) GetLogicalView
func (UnimplementedBigtableInstanceAdminServer) GetLogicalView(context.Context, *GetLogicalViewRequest) (*LogicalView, error)func (UnimplementedBigtableInstanceAdminServer) GetMaterializedView
func (UnimplementedBigtableInstanceAdminServer) GetMaterializedView(context.Context, *GetMaterializedViewRequest) (*MaterializedView, error)func (UnimplementedBigtableInstanceAdminServer) ListAppProfiles
func (UnimplementedBigtableInstanceAdminServer) ListAppProfiles(context.Context, *ListAppProfilesRequest) (*ListAppProfilesResponse, error)func (UnimplementedBigtableInstanceAdminServer) ListClusters
func (UnimplementedBigtableInstanceAdminServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)func (UnimplementedBigtableInstanceAdminServer) ListHotTablets
func (UnimplementedBigtableInstanceAdminServer) ListHotTablets(context.Context, *ListHotTabletsRequest) (*ListHotTabletsResponse, error)func (UnimplementedBigtableInstanceAdminServer) ListInstances
func (UnimplementedBigtableInstanceAdminServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)func (UnimplementedBigtableInstanceAdminServer) ListLogicalViews
func (UnimplementedBigtableInstanceAdminServer) ListLogicalViews(context.Context, *ListLogicalViewsRequest) (*ListLogicalViewsResponse, error)func (UnimplementedBigtableInstanceAdminServer) ListMaterializedViews
func (UnimplementedBigtableInstanceAdminServer) ListMaterializedViews(context.Context, *ListMaterializedViewsRequest) (*ListMaterializedViewsResponse, error)func (UnimplementedBigtableInstanceAdminServer) PartialUpdateCluster
func (UnimplementedBigtableInstanceAdminServer) PartialUpdateCluster(context.Context, *PartialUpdateClusterRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) PartialUpdateInstance
func (UnimplementedBigtableInstanceAdminServer) PartialUpdateInstance(context.Context, *PartialUpdateInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) SetIamPolicy
func (UnimplementedBigtableInstanceAdminServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedBigtableInstanceAdminServer) TestIamPermissions
func (UnimplementedBigtableInstanceAdminServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)func (UnimplementedBigtableInstanceAdminServer) UpdateAppProfile
func (UnimplementedBigtableInstanceAdminServer) UpdateAppProfile(context.Context, *UpdateAppProfileRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) UpdateCluster
func (UnimplementedBigtableInstanceAdminServer) UpdateCluster(context.Context, *Cluster) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) UpdateInstance
func (UnimplementedBigtableInstanceAdminServer) UpdateInstance(context.Context, *Instance) (*Instance, error)func (UnimplementedBigtableInstanceAdminServer) UpdateLogicalView
func (UnimplementedBigtableInstanceAdminServer) UpdateLogicalView(context.Context, *UpdateLogicalViewRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableInstanceAdminServer) UpdateMaterializedView
func (UnimplementedBigtableInstanceAdminServer) UpdateMaterializedView(context.Context, *UpdateMaterializedViewRequest) (*longrunningpb.Operation, error)UnimplementedBigtableTableAdminServer
type UnimplementedBigtableTableAdminServer struct {
}UnimplementedBigtableTableAdminServer should be embedded to have forward compatible implementations.
func (UnimplementedBigtableTableAdminServer) CheckConsistency
func (UnimplementedBigtableTableAdminServer) CheckConsistency(context.Context, *CheckConsistencyRequest) (*CheckConsistencyResponse, error)func (UnimplementedBigtableTableAdminServer) CopyBackup
func (UnimplementedBigtableTableAdminServer) CopyBackup(context.Context, *CopyBackupRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) CreateAuthorizedView
func (UnimplementedBigtableTableAdminServer) CreateAuthorizedView(context.Context, *CreateAuthorizedViewRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) CreateBackup
func (UnimplementedBigtableTableAdminServer) CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) CreateSchemaBundle
func (UnimplementedBigtableTableAdminServer) CreateSchemaBundle(context.Context, *CreateSchemaBundleRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) CreateTable
func (UnimplementedBigtableTableAdminServer) CreateTable(context.Context, *CreateTableRequest) (*Table, error)func (UnimplementedBigtableTableAdminServer) CreateTableFromSnapshot
func (UnimplementedBigtableTableAdminServer) CreateTableFromSnapshot(context.Context, *CreateTableFromSnapshotRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) DeleteAuthorizedView
func (UnimplementedBigtableTableAdminServer) DeleteAuthorizedView(context.Context, *DeleteAuthorizedViewRequest) (*emptypb.Empty, error)func (UnimplementedBigtableTableAdminServer) DeleteBackup
func (UnimplementedBigtableTableAdminServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*emptypb.Empty, error)func (UnimplementedBigtableTableAdminServer) DeleteSchemaBundle
func (UnimplementedBigtableTableAdminServer) DeleteSchemaBundle(context.Context, *DeleteSchemaBundleRequest) (*emptypb.Empty, error)func (UnimplementedBigtableTableAdminServer) DeleteSnapshot
func (UnimplementedBigtableTableAdminServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error)func (UnimplementedBigtableTableAdminServer) DeleteTable
func (UnimplementedBigtableTableAdminServer) DeleteTable(context.Context, *DeleteTableRequest) (*emptypb.Empty, error)func (UnimplementedBigtableTableAdminServer) DropRowRange
func (UnimplementedBigtableTableAdminServer) DropRowRange(context.Context, *DropRowRangeRequest) (*emptypb.Empty, error)func (UnimplementedBigtableTableAdminServer) GenerateConsistencyToken
func (UnimplementedBigtableTableAdminServer) GenerateConsistencyToken(context.Context, *GenerateConsistencyTokenRequest) (*GenerateConsistencyTokenResponse, error)func (UnimplementedBigtableTableAdminServer) GetAuthorizedView
func (UnimplementedBigtableTableAdminServer) GetAuthorizedView(context.Context, *GetAuthorizedViewRequest) (*AuthorizedView, error)func (UnimplementedBigtableTableAdminServer) GetBackup
func (UnimplementedBigtableTableAdminServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)func (UnimplementedBigtableTableAdminServer) GetIamPolicy
func (UnimplementedBigtableTableAdminServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedBigtableTableAdminServer) GetSchemaBundle
func (UnimplementedBigtableTableAdminServer) GetSchemaBundle(context.Context, *GetSchemaBundleRequest) (*SchemaBundle, error)func (UnimplementedBigtableTableAdminServer) GetSnapshot
func (UnimplementedBigtableTableAdminServer) GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error)func (UnimplementedBigtableTableAdminServer) GetTable
func (UnimplementedBigtableTableAdminServer) GetTable(context.Context, *GetTableRequest) (*Table, error)func (UnimplementedBigtableTableAdminServer) ListAuthorizedViews
func (UnimplementedBigtableTableAdminServer) ListAuthorizedViews(context.Context, *ListAuthorizedViewsRequest) (*ListAuthorizedViewsResponse, error)func (UnimplementedBigtableTableAdminServer) ListBackups
func (UnimplementedBigtableTableAdminServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)func (UnimplementedBigtableTableAdminServer) ListSchemaBundles
func (UnimplementedBigtableTableAdminServer) ListSchemaBundles(context.Context, *ListSchemaBundlesRequest) (*ListSchemaBundlesResponse, error)func (UnimplementedBigtableTableAdminServer) ListSnapshots
func (UnimplementedBigtableTableAdminServer) ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)func (UnimplementedBigtableTableAdminServer) ListTables
func (UnimplementedBigtableTableAdminServer) ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)func (UnimplementedBigtableTableAdminServer) ModifyColumnFamilies
func (UnimplementedBigtableTableAdminServer) ModifyColumnFamilies(context.Context, *ModifyColumnFamiliesRequest) (*Table, error)func (UnimplementedBigtableTableAdminServer) RestoreTable
func (UnimplementedBigtableTableAdminServer) RestoreTable(context.Context, *RestoreTableRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) SetIamPolicy
func (UnimplementedBigtableTableAdminServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedBigtableTableAdminServer) SnapshotTable
func (UnimplementedBigtableTableAdminServer) SnapshotTable(context.Context, *SnapshotTableRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) TestIamPermissions
func (UnimplementedBigtableTableAdminServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)func (UnimplementedBigtableTableAdminServer) UndeleteTable
func (UnimplementedBigtableTableAdminServer) UndeleteTable(context.Context, *UndeleteTableRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) UpdateAuthorizedView
func (UnimplementedBigtableTableAdminServer) UpdateAuthorizedView(context.Context, *UpdateAuthorizedViewRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) UpdateBackup
func (UnimplementedBigtableTableAdminServer) UpdateBackup(context.Context, *UpdateBackupRequest) (*Backup, error)func (UnimplementedBigtableTableAdminServer) UpdateSchemaBundle
func (UnimplementedBigtableTableAdminServer) UpdateSchemaBundle(context.Context, *UpdateSchemaBundleRequest) (*longrunningpb.Operation, error)func (UnimplementedBigtableTableAdminServer) UpdateTable
func (UnimplementedBigtableTableAdminServer) UpdateTable(context.Context, *UpdateTableRequest) (*longrunningpb.Operation, error)UnsafeBigtableInstanceAdminServer
type UnsafeBigtableInstanceAdminServer interface {
// contains filtered or unexported methods
}UnsafeBigtableInstanceAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BigtableInstanceAdminServer will result in compilation errors.
UnsafeBigtableTableAdminServer
type UnsafeBigtableTableAdminServer interface {
// contains filtered or unexported methods
}UnsafeBigtableTableAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BigtableTableAdminServer will result in compilation errors.
UpdateAppProfileMetadata
type UpdateAppProfileMetadata struct {
// contains filtered or unexported fields
}The metadata for the Operation returned by UpdateAppProfile.
func (*UpdateAppProfileMetadata) Descriptor
func (*UpdateAppProfileMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateAppProfileMetadata.ProtoReflect.Descriptor instead.
func (*UpdateAppProfileMetadata) ProtoMessage
func (*UpdateAppProfileMetadata) ProtoMessage()func (*UpdateAppProfileMetadata) ProtoReflect
func (x *UpdateAppProfileMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateAppProfileMetadata) Reset
func (x *UpdateAppProfileMetadata) Reset()func (*UpdateAppProfileMetadata) String
func (x *UpdateAppProfileMetadata) String() stringUpdateAppProfileRequest
type UpdateAppProfileRequest struct {
// Required. The app profile which will (partially) replace the current value.
AppProfile *AppProfile `protobuf:"bytes,1,opt,name=app_profile,json=appProfile,proto3" json:"app_profile,omitempty"`
// Required. The subset of app profile fields which should be replaced.
// If unset, all fields will be replaced.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// If true, ignore safety checks when updating the app profile.
IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}Request message for BigtableInstanceAdmin.UpdateAppProfile.
func (*UpdateAppProfileRequest) Descriptor
func (*UpdateAppProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateAppProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppProfileRequest) GetAppProfile
func (x *UpdateAppProfileRequest) GetAppProfile() *AppProfilefunc (*UpdateAppProfileRequest) GetIgnoreWarnings
func (x *UpdateAppProfileRequest) GetIgnoreWarnings() boolfunc (*UpdateAppProfileRequest) GetUpdateMask
func (x *UpdateAppProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAppProfileRequest) ProtoMessage
func (*UpdateAppProfileRequest) ProtoMessage()func (*UpdateAppProfileRequest) ProtoReflect
func (x *UpdateAppProfileRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAppProfileRequest) Reset
func (x *UpdateAppProfileRequest) Reset()func (*UpdateAppProfileRequest) String
func (x *UpdateAppProfileRequest) String() stringUpdateAuthorizedViewMetadata
type UpdateAuthorizedViewMetadata struct {
// The request that prompted the initiation of this UpdateAuthorizedView
// operation.
OriginalRequest *UpdateAuthorizedViewRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}Metadata for the google.longrunning.Operation returned by [UpdateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView].
func (*UpdateAuthorizedViewMetadata) Descriptor
func (*UpdateAuthorizedViewMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateAuthorizedViewMetadata.ProtoReflect.Descriptor instead.
func (*UpdateAuthorizedViewMetadata) GetFinishTime
func (x *UpdateAuthorizedViewMetadata) GetFinishTime() *timestamppb.Timestampfunc (*UpdateAuthorizedViewMetadata) GetOriginalRequest
func (x *UpdateAuthorizedViewMetadata) GetOriginalRequest() *UpdateAuthorizedViewRequestfunc (*UpdateAuthorizedViewMetadata) GetRequestTime
func (x *UpdateAuthorizedViewMetadata) GetRequestTime() *timestamppb.Timestampfunc (*UpdateAuthorizedViewMetadata) ProtoMessage
func (*UpdateAuthorizedViewMetadata) ProtoMessage()func (*UpdateAuthorizedViewMetadata) ProtoReflect
func (x *UpdateAuthorizedViewMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateAuthorizedViewMetadata) Reset
func (x *UpdateAuthorizedViewMetadata) Reset()func (*UpdateAuthorizedViewMetadata) String
func (x *UpdateAuthorizedViewMetadata) String() stringUpdateAuthorizedViewRequest
type UpdateAuthorizedViewRequest struct {
// Required. The AuthorizedView to update. The `name` in `authorized_view` is
// used to identify the AuthorizedView. AuthorizedView name must in this
// format:
// `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
AuthorizedView *AuthorizedView `protobuf:"bytes,1,opt,name=authorized_view,json=authorizedView,proto3" json:"authorized_view,omitempty"`
// Optional. The list of fields to update.
// A mask specifying which fields in the AuthorizedView resource should be
// updated. This mask is relative to the AuthorizedView resource, not to the
// request message. A field will be overwritten if it is in the mask. If
// empty, all fields set in the request will be overwritten. A special value
// `*` means to overwrite all fields (including fields not set in the
// request).
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If true, ignore the safety checks when updating the
// AuthorizedView.
IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}The request for [UpdateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView].
func (*UpdateAuthorizedViewRequest) Descriptor
func (*UpdateAuthorizedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateAuthorizedViewRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthorizedViewRequest) GetAuthorizedView
func (x *UpdateAuthorizedViewRequest) GetAuthorizedView() *AuthorizedViewfunc (*UpdateAuthorizedViewRequest) GetIgnoreWarnings
func (x *UpdateAuthorizedViewRequest) GetIgnoreWarnings() boolfunc (*UpdateAuthorizedViewRequest) GetUpdateMask
func (x *UpdateAuthorizedViewRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAuthorizedViewRequest) ProtoMessage
func (*UpdateAuthorizedViewRequest) ProtoMessage()func (*UpdateAuthorizedViewRequest) ProtoReflect
func (x *UpdateAuthorizedViewRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAuthorizedViewRequest) Reset
func (x *UpdateAuthorizedViewRequest) Reset()func (*UpdateAuthorizedViewRequest) String
func (x *UpdateAuthorizedViewRequest) String() stringUpdateBackupRequest
type UpdateBackupRequest struct {
// Required. The backup to update. `backup.name`, and the fields to be updated
// as specified by `update_mask` are required. Other fields are ignored.
// Update is only supported for the following fields:
//
// - `backup.expire_time`.
Backup *Backup `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
// Required. A mask specifying which fields (e.g. `expire_time`) in the
// Backup resource should be updated. This mask is relative to the Backup
// resource, not to the request message. The field mask must always be
// specified; this prevents any future fields from being erased accidentally
// by clients that do not know about them.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request for [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
func (*UpdateBackupRequest) Descriptor
func (*UpdateBackupRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupRequest) GetBackup
func (x *UpdateBackupRequest) GetBackup() *Backupfunc (*UpdateBackupRequest) GetUpdateMask
func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBackupRequest) ProtoMessage
func (*UpdateBackupRequest) ProtoMessage()func (*UpdateBackupRequest) ProtoReflect
func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBackupRequest) Reset
func (x *UpdateBackupRequest) Reset()func (*UpdateBackupRequest) String
func (x *UpdateBackupRequest) String() stringUpdateClusterMetadata
type UpdateClusterMetadata struct {
// The request that prompted the initiation of this UpdateCluster operation.
OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by UpdateCluster.
func (*UpdateClusterMetadata) Descriptor
func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateClusterMetadata.ProtoReflect.Descriptor instead.
func (*UpdateClusterMetadata) GetFinishTime
func (x *UpdateClusterMetadata) GetFinishTime() *timestamppb.Timestampfunc (*UpdateClusterMetadata) GetOriginalRequest
func (x *UpdateClusterMetadata) GetOriginalRequest() *Clusterfunc (*UpdateClusterMetadata) GetRequestTime
func (x *UpdateClusterMetadata) GetRequestTime() *timestamppb.Timestampfunc (*UpdateClusterMetadata) ProtoMessage
func (*UpdateClusterMetadata) ProtoMessage()func (*UpdateClusterMetadata) ProtoReflect
func (x *UpdateClusterMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateClusterMetadata) Reset
func (x *UpdateClusterMetadata) Reset()func (*UpdateClusterMetadata) String
func (x *UpdateClusterMetadata) String() stringUpdateInstanceMetadata
type UpdateInstanceMetadata struct {
// The request that prompted the initiation of this UpdateInstance operation.
OriginalRequest *PartialUpdateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which the original request was received.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// The time at which the operation failed or was completed successfully.
FinishTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by UpdateInstance.
func (*UpdateInstanceMetadata) Descriptor
func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateInstanceMetadata.ProtoReflect.Descriptor instead.
func (*UpdateInstanceMetadata) GetFinishTime
func (x *UpdateInstanceMetadata) GetFinishTime() *timestamppb.Timestampfunc (*UpdateInstanceMetadata) GetOriginalRequest
func (x *UpdateInstanceMetadata) GetOriginalRequest() *PartialUpdateInstanceRequestfunc (*UpdateInstanceMetadata) GetRequestTime
func (x *UpdateInstanceMetadata) GetRequestTime() *timestamppb.Timestampfunc (*UpdateInstanceMetadata) ProtoMessage
func (*UpdateInstanceMetadata) ProtoMessage()func (*UpdateInstanceMetadata) ProtoReflect
func (x *UpdateInstanceMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateInstanceMetadata) Reset
func (x *UpdateInstanceMetadata) Reset()func (*UpdateInstanceMetadata) String
func (x *UpdateInstanceMetadata) String() stringUpdateLogicalViewMetadata
type UpdateLogicalViewMetadata struct {
// The request that prompted the initiation of this UpdateLogicalView
// operation.
OriginalRequest *UpdateLogicalViewRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which this operation was started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by UpdateLogicalView.
func (*UpdateLogicalViewMetadata) Descriptor
func (*UpdateLogicalViewMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateLogicalViewMetadata.ProtoReflect.Descriptor instead.
func (*UpdateLogicalViewMetadata) GetEndTime
func (x *UpdateLogicalViewMetadata) GetEndTime() *timestamppb.Timestampfunc (*UpdateLogicalViewMetadata) GetOriginalRequest
func (x *UpdateLogicalViewMetadata) GetOriginalRequest() *UpdateLogicalViewRequestfunc (*UpdateLogicalViewMetadata) GetStartTime
func (x *UpdateLogicalViewMetadata) GetStartTime() *timestamppb.Timestampfunc (*UpdateLogicalViewMetadata) ProtoMessage
func (*UpdateLogicalViewMetadata) ProtoMessage()func (*UpdateLogicalViewMetadata) ProtoReflect
func (x *UpdateLogicalViewMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateLogicalViewMetadata) Reset
func (x *UpdateLogicalViewMetadata) Reset()func (*UpdateLogicalViewMetadata) String
func (x *UpdateLogicalViewMetadata) String() stringUpdateLogicalViewRequest
type UpdateLogicalViewRequest struct {
// Required. The logical view to update.
//
// The logical view's `name` field is used to identify the view to update.
// Format:
// `projects/{project}/instances/{instance}/logicalViews/{logical_view}`.
LogicalView *LogicalView `protobuf:"bytes,1,opt,name=logical_view,json=logicalView,proto3" json:"logical_view,omitempty"`
// Optional. The list of fields 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 BigtableInstanceAdmin.UpdateLogicalView.
func (*UpdateLogicalViewRequest) Descriptor
func (*UpdateLogicalViewRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateLogicalViewRequest.ProtoReflect.Descriptor instead.
func (*UpdateLogicalViewRequest) GetLogicalView
func (x *UpdateLogicalViewRequest) GetLogicalView() *LogicalViewfunc (*UpdateLogicalViewRequest) GetUpdateMask
func (x *UpdateLogicalViewRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateLogicalViewRequest) ProtoMessage
func (*UpdateLogicalViewRequest) ProtoMessage()func (*UpdateLogicalViewRequest) ProtoReflect
func (x *UpdateLogicalViewRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateLogicalViewRequest) Reset
func (x *UpdateLogicalViewRequest) Reset()func (*UpdateLogicalViewRequest) String
func (x *UpdateLogicalViewRequest) String() stringUpdateMaterializedViewMetadata
type UpdateMaterializedViewMetadata struct {
// The request that prompted the initiation of this UpdateMaterializedView
// operation.
OriginalRequest *UpdateMaterializedViewRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
// The time at which this operation was started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by UpdateMaterializedView.
func (*UpdateMaterializedViewMetadata) Descriptor
func (*UpdateMaterializedViewMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateMaterializedViewMetadata.ProtoReflect.Descriptor instead.
func (*UpdateMaterializedViewMetadata) GetEndTime
func (x *UpdateMaterializedViewMetadata) GetEndTime() *timestamppb.Timestampfunc (*UpdateMaterializedViewMetadata) GetOriginalRequest
func (x *UpdateMaterializedViewMetadata) GetOriginalRequest() *UpdateMaterializedViewRequestfunc (*UpdateMaterializedViewMetadata) GetStartTime
func (x *UpdateMaterializedViewMetadata) GetStartTime() *timestamppb.Timestampfunc (*UpdateMaterializedViewMetadata) ProtoMessage
func (*UpdateMaterializedViewMetadata) ProtoMessage()func (*UpdateMaterializedViewMetadata) ProtoReflect
func (x *UpdateMaterializedViewMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateMaterializedViewMetadata) Reset
func (x *UpdateMaterializedViewMetadata) Reset()func (*UpdateMaterializedViewMetadata) String
func (x *UpdateMaterializedViewMetadata) String() stringUpdateMaterializedViewRequest
type UpdateMaterializedViewRequest struct {
// Required. The materialized view to update.
//
// The materialized view's `name` field is used to identify the view to
// update. Format:
// `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`.
MaterializedView *MaterializedView `protobuf:"bytes,1,opt,name=materialized_view,json=materializedView,proto3" json:"materialized_view,omitempty"`
// Optional. The list of fields 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 BigtableInstanceAdmin.UpdateMaterializedView.
func (*UpdateMaterializedViewRequest) Descriptor
func (*UpdateMaterializedViewRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateMaterializedViewRequest.ProtoReflect.Descriptor instead.
func (*UpdateMaterializedViewRequest) GetMaterializedView
func (x *UpdateMaterializedViewRequest) GetMaterializedView() *MaterializedViewfunc (*UpdateMaterializedViewRequest) GetUpdateMask
func (x *UpdateMaterializedViewRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateMaterializedViewRequest) ProtoMessage
func (*UpdateMaterializedViewRequest) ProtoMessage()func (*UpdateMaterializedViewRequest) ProtoReflect
func (x *UpdateMaterializedViewRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateMaterializedViewRequest) Reset
func (x *UpdateMaterializedViewRequest) Reset()func (*UpdateMaterializedViewRequest) String
func (x *UpdateMaterializedViewRequest) String() stringUpdateSchemaBundleMetadata
type UpdateSchemaBundleMetadata struct {
// The unique name identifying this schema bundle.
// Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}The metadata for the Operation returned by [UpdateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.UpdateSchemaBundle].
func (*UpdateSchemaBundleMetadata) Descriptor
func (*UpdateSchemaBundleMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateSchemaBundleMetadata.ProtoReflect.Descriptor instead.
func (*UpdateSchemaBundleMetadata) GetEndTime
func (x *UpdateSchemaBundleMetadata) GetEndTime() *timestamppb.Timestampfunc (*UpdateSchemaBundleMetadata) GetName
func (x *UpdateSchemaBundleMetadata) GetName() stringfunc (*UpdateSchemaBundleMetadata) GetStartTime
func (x *UpdateSchemaBundleMetadata) GetStartTime() *timestamppb.Timestampfunc (*UpdateSchemaBundleMetadata) ProtoMessage
func (*UpdateSchemaBundleMetadata) ProtoMessage()func (*UpdateSchemaBundleMetadata) ProtoReflect
func (x *UpdateSchemaBundleMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateSchemaBundleMetadata) Reset
func (x *UpdateSchemaBundleMetadata) Reset()func (*UpdateSchemaBundleMetadata) String
func (x *UpdateSchemaBundleMetadata) String() stringUpdateSchemaBundleRequest
type UpdateSchemaBundleRequest struct {
// Required. The schema bundle to update.
//
// The schema bundle's `name` field is used to identify the schema bundle to
// update. Values are of the form
// `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
SchemaBundle *SchemaBundle `protobuf:"bytes,1,opt,name=schema_bundle,json=schemaBundle,proto3" json:"schema_bundle,omitempty"`
// Optional. The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If set, ignore the safety checks when updating the Schema Bundle.
// The safety checks are:
// - The new Schema Bundle is backwards compatible with the existing Schema
// Bundle.
IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}The request for [UpdateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.UpdateSchemaBundle].
func (*UpdateSchemaBundleRequest) Descriptor
func (*UpdateSchemaBundleRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSchemaBundleRequest.ProtoReflect.Descriptor instead.
func (*UpdateSchemaBundleRequest) GetIgnoreWarnings
func (x *UpdateSchemaBundleRequest) GetIgnoreWarnings() boolfunc (*UpdateSchemaBundleRequest) GetSchemaBundle
func (x *UpdateSchemaBundleRequest) GetSchemaBundle() *SchemaBundlefunc (*UpdateSchemaBundleRequest) GetUpdateMask
func (x *UpdateSchemaBundleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSchemaBundleRequest) ProtoMessage
func (*UpdateSchemaBundleRequest) ProtoMessage()func (*UpdateSchemaBundleRequest) ProtoReflect
func (x *UpdateSchemaBundleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSchemaBundleRequest) Reset
func (x *UpdateSchemaBundleRequest) Reset()func (*UpdateSchemaBundleRequest) String
func (x *UpdateSchemaBundleRequest) String() stringUpdateTableMetadata
type UpdateTableMetadata struct {
// The name of the table being updated.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The time at which this operation started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// If set, the time at which this operation finished or was canceled.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Metadata type for the operation returned by [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
func (*UpdateTableMetadata) Descriptor
func (*UpdateTableMetadata) Descriptor() ([]byte, []int)Deprecated: Use UpdateTableMetadata.ProtoReflect.Descriptor instead.
func (*UpdateTableMetadata) GetEndTime
func (x *UpdateTableMetadata) GetEndTime() *timestamppb.Timestampfunc (*UpdateTableMetadata) GetName
func (x *UpdateTableMetadata) GetName() stringfunc (*UpdateTableMetadata) GetStartTime
func (x *UpdateTableMetadata) GetStartTime() *timestamppb.Timestampfunc (*UpdateTableMetadata) ProtoMessage
func (*UpdateTableMetadata) ProtoMessage()func (*UpdateTableMetadata) ProtoReflect
func (x *UpdateTableMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateTableMetadata) Reset
func (x *UpdateTableMetadata) Reset()func (*UpdateTableMetadata) String
func (x *UpdateTableMetadata) String() stringUpdateTableRequest
type UpdateTableRequest struct {
// Required. The table to update.
// The table's `name` field is used to identify the table to update.
Table *Table `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
// Required. The list of fields to update.
// A mask specifying which fields (e.g. `change_stream_config`) in the `table`
// field should be updated. This mask is relative to the `table` field, not to
// the request message. The wildcard (*) path is currently not supported.
// Currently UpdateTable is only supported for the following fields:
//
// * `change_stream_config`
// * `change_stream_config.retention_period`
// * `deletion_protection`
// * `row_key_schema`
//
// If `column_families` is set in `update_mask`, it will return an
// UNIMPLEMENTED error.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. If true, ignore safety checks when updating the table.
IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"`
// contains filtered or unexported fields
}The request for [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
func (*UpdateTableRequest) Descriptor
func (*UpdateTableRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTableRequest.ProtoReflect.Descriptor instead.
func (*UpdateTableRequest) GetIgnoreWarnings
func (x *UpdateTableRequest) GetIgnoreWarnings() boolfunc (*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