public static final class DatastoreFirestoreMigrationMetadata.Builder extends GeneratedMessageV3.Builder<DatastoreFirestoreMigrationMetadata.Builder> implements DatastoreFirestoreMigrationMetadataOrBuilder
Metadata for Datastore to Firestore migration operations.
The DatastoreFirestoreMigration operation is not started by the end-user via
an explicit "creation" method. This is an intentional deviation from the LRO
design pattern.
This singleton resource can be accessed at:
"projects/{project_id}/operations/datastore-firestore-migration"
Protobuf type google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DatastoreFirestoreMigrationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DatastoreFirestoreMigrationMetadata build()
Returns
public DatastoreFirestoreMigrationMetadata buildPartial()
Returns
public DatastoreFirestoreMigrationMetadata.Builder clear()
Returns
Overrides
public DatastoreFirestoreMigrationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DatastoreFirestoreMigrationMetadata.Builder clearMigrationState()
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Returns
public DatastoreFirestoreMigrationMetadata.Builder clearMigrationStep()
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Returns
public DatastoreFirestoreMigrationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DatastoreFirestoreMigrationMetadata.Builder clone()
Returns
Overrides
public DatastoreFirestoreMigrationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public 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
public 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 |
int | The enum numeric value on the wire for migrationState.
|
public 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
public 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 |
int | The enum numeric value on the wire for migrationStep.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(DatastoreFirestoreMigrationMetadata other)
Parameter
Returns
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DatastoreFirestoreMigrationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DatastoreFirestoreMigrationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DatastoreFirestoreMigrationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DatastoreFirestoreMigrationMetadata.Builder setMigrationState(MigrationState value)
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Parameter
Returns
public DatastoreFirestoreMigrationMetadata.Builder setMigrationStateValue(int value)
The current state of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationState migration_state = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for migrationState to set.
|
Returns
public DatastoreFirestoreMigrationMetadata.Builder setMigrationStep(MigrationStep value)
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Parameter
Returns
public DatastoreFirestoreMigrationMetadata.Builder setMigrationStepValue(int value)
The current step of migration from Cloud Datastore to Cloud Firestore in
Datastore mode.
.google.datastore.admin.v1.MigrationStep migration_step = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for migrationStep to set.
|
Returns
public DatastoreFirestoreMigrationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DatastoreFirestoreMigrationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides