# Interface DatastoreFirestoreMigrationMetadataOrBuilder (3.1.0)

3.1.0 (latest) 2.40.0 2.37.0 2.36.0 2.34.0 2.33.3 2.32.3 2.31.4 2.30.0 2.29.1 2.28.2 2.27.1 2.26.4 2.25.2 2.24.3 2.23.0 2.22.0 2.21.3 2.20.2 2.19.2 2.18.5 2.17.6

    public interface DatastoreFirestoreMigrationMetadataOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getMigrationState()

    public abstract MigrationState getMigrationState()

The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.

`.google.datastore.admin.v1.MigrationState migration_state = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.datastore.admin.v1.MigrationState` | The migrationState. |

### getMigrationStateValue()

    public abstract int getMigrationStateValue()

The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.

`.google.datastore.admin.v1.MigrationState migration_state = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for migrationState. |

### getMigrationStep()

    public abstract MigrationStep getMigrationStep()

The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.

`.google.datastore.admin.v1.MigrationStep migration_step = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.datastore.admin.v1.MigrationStep` | The migrationStep. |

### getMigrationStepValue()

    public abstract int getMigrationStepValue()

The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.

`.google.datastore.admin.v1.MigrationStep migration_step = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for migrationStep. |